SAP ABAP IMG Activity ISM_EDITFAST_SUBSCRE (Customer Subscreen in Fast Processing Dialog)
Hierarchy
IS-M (Software Component) SAP MEDIA
   IS-M-MD (Application Component) Master Data
     JMDGEN (Package) Generic Master Data Media
IMG Activity
ID ISM_EDITFAST_SUBSCRE Customer Subscreen in Fast Processing Dialog  
Transaction Code S_P7I_68000224   (empty) 
Created on 20120404    
Customizing Attributes ISM_EDITFAST_SUBSCRE   Customer Subscreen in Fast Processing Dialog 
Customizing Activity ISM_EDITFAST_SUBSCRE   Customer Subscreen in Fast Processing Dialog 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name ISM_EDITFAST_SUBSCREEN    

Use

You can use this business add-in (BAdI) to extend the fast processing dialog for business partner data by adding customer-specific fields to a customer subscreen.

Requirements

This implementation assumes you have expert knowledge of ABAP, ABAP-OO and screen development.

Standard settings

The SET and GET methods that are found in this BAdI contain the following:

  • Import and export parameters that identify the business partner and the program status
  • Change parameters that you can use to implement the following changes:
    • - Address-dependent and independent communication data
    • - Central business partner data

      Change parameters that contain "_DFA_" (for "Dependent From Address") in the parameter names involve the address-dependent data.

      Change parameters that contain "_IFA_" (for "Independent From Address") in the parameter names involve the address-independent data.

      Change parameters are created with a similar structure to the following BAPI function modules:

    • BAPIBUSISM007_CHANGE
    • Used to change address-dependent communication data and central business partner data.
    • BAPI_BUPA_CENTRAL_CHANGE
    • Used to change address-independent communication data and central business partner data.

Notes

This BAdI only updates change parameters that are not already processed by the standard user interface for the fast processing dialog. If the standard user interface for example contains telephone numbers for address-dependent communication data, this BAdI does not update an additional address-dependent telephone number (address-independent telephone numbers are however updated).

You can can use the data flow to define which communication data is processed by the standard user interface when you incorporate fast processing of business partner attributes. You can do this in the following activities in Customizing:

The parameter structure IS_EDITFAST_CRT contains this setting for the Telephone Number(XTEL_NUMBER), Cell Phone Number (XMOB_NUMBER) uad E-Mail Address (XSMTP_ADDR) and can contain the following values:

  • ' ' (blank)
    The standard user interface processes address-dependent communication data.
  • 'X'
    The standard user interface processes address-independent communication data.
  • o'-'
    The standard user interface does not process this communication data and hides the fields affected from the fast processing dialog.

This BAdI does not update any sales area or company code-dependent data.

Activities

Create an implementation for the BAdI.

For more information, see SAP Library for SAP NetWeaver under Application Development on AS ABAP -> ABAP Customer Development -> Enhancement Framework -> Enhancement Technologies-> Business Add-Ins -> Step-By-Step Examples with BAdIs -> Function Code and Screen Enhancements.

You can copy the implementation of the example class 1:1.

Note during the implementation of the dynpro for the customer subscreen, that the dynpro must be defined as a subscreen and also contains the BAdI calls (see example below) in addition to the customer-specific fields (and their processing logic).

Example

You can for example use this BAdI to provide several address-independent e-mail addresses for processing (assuming that these are not already being processed by the standard user interface).

Example Coding Sections of BAdI Calls:

TOP Include

* BAdI Reference
DATA gr_editfast_subscreen TYPE REF TO ism_editfast_subscreen.

* BAdI Interface
DATA: gv_partner TYPE bu_partner,
gv_fcode TYPE fcode,
gv_aktyp TYPE bu_aktyp,
gs_editfast_crt TYPE rjg_bp_editfast_crt,
gs_dfa_ism007 TYPE rjgbusism007_all_str,
gs_dfa_ism007x TYPE rjgbusism007_all_x_str,
gs_dfa_ism007_adr TYPE rjgbusism007_bus006_addr,
gs_dfa_ism007_adrx TYPE rjgbusism007_bus006_addr_x,
gs_ifa_bupa_central TYPE rjgbapi_bupa_central_all,
gs_ifa_bupa_centralx TYPE rjgbapi_bupa_central_all_x,
gt_dfa_commusage TYPE bp_comuse_tty.

Dynpro Flow Logic

PROCESS BEFORE OUTPUT.
MODULE STATUS_0310.

PROCESS AFTER INPUT.
MODULE USER_COMMAND_0310.

PBO Include

*&---------------------------------------------------------------------*
*& Module STATUS_0310 OUTPUT
*&---------------------------------------------------------------------*
MODULE status_0310 OUTPUT.
IF gr_editfast_subscreen IS NOT BOUND.
TRY .
GET BADI gr_editfast_subscreen.
CATCH cx_badi_multiply_implemented.
CATCH cx_badi_not_implemented.
ENDTRY.
ENDIF.
IF gr_editfast_subscreen IS BOUND.
TRY .
CALL BADI gr_editfast_subscreen->get_data
IMPORTING
iv_partner = gv_partner
iv_fcode = gv_fcode
iv_aktyp = gv_aktyp
is_editfast_crt = gs_editfast_crt
CHANGING
cs_dfa_ism007 = gs_dfa_ism007
cs_dfa_ism007_x = gs_dfa_ism007x
cs_dfa_ism007_adr = gs_dfa_ism007_adr
cs_dfa_ism007_adr_x = gs_dfa_ism007_adrx
cs_ifa_bupa_central_all = gs_ifa_bupa_central
cs_ifa_bupa_central_all_x = gs_ifa_bupa_centralx
ct_dfa_commusage = gt_dfa_commusage.
CATCH cx_badi_not_implemented.
ENDTRY.
ENDIF.
ENDMODULE. " STATUS_0310 OUTPUT

PAI Include

*&---------------------------------------------------------------------*
*& Module USER_COMMAND_0310 INPUT
*&---------------------------------------------------------------------*
MODULE user_command_0310 INPUT.
IF gr_editfast_subscreen IS BOUND.
TRY .
CALL BADI gr_editfast_subscreen->set_data
EXPORTING
iv_partner = gv_partner
iv_fcode = gv_fcode
iv_aktyp = gv_aktyp
is_editfast_crt = gs_editfast_crt
CHANGING
cs_dfa_ism007 = gs_dfa_ism007
cs_dfa_ism007_x = gs_dfa_ism007x
cs_dfa_ism007_adr = gs_dfa_ism007_adr
cs_dfa_ism007_adr_x = gs_dfa_ism007_adrx
cs_ifa_bupa_central_all = gs_ifa_bupa_central
cs_ifa_bupa_central_all_x = gs_ifa_bupa_centralx
ct_dfa_commusage = gt_dfa_commusage.
CATCH cx_badi_not_implemented.
ENDTRY.
ENDIF.
ENDMODULE. " USER_COMMAND_0310 INPUT

-------------------


Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20120419 
SAP Release Created in