ISM_BP_DEFAULT_VALUES_GET is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ISM_BP_DEFAULT_VALUES_GET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JGBP03
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISM_BP_DEFAULT_VALUES_GET' "BADI Call for Preassignment
EXPORTING
i_busadrdata = " busadrdata CBP: Complete address data
* i_bus0rltyp_tab = " jgtbp_bus0rltyp_tab IS-M: Standard Table for Structure BUS0RLTYP
i_bprole_tab = " jgbp_bup_bprole IS-M: Table Type for BUP_BPROLE
* i_debitor = " xfeld Checkbox Field
* i_kreditor = " xfeld Checkbox Field
* i_natur_pers = " xfeld Checkbox Field
* i_bukrs = " bukrs Company Code
* i_vkorg = " vkorg Sales Organization
* i_vtweg = " vtweg Distribution Channel
* i_spart = " spart Division
* i_ekorg = " ekorg Purchasing Organization
* CHANGING
* c_but000 = " but000 BP: General Data I
* c_jgtbp00 = " jgtbp00 IS-M: Business Partner Master Data (General Data)
* c_jgteuwv = " jgteuwv IS-M/SD: Retailer
* c_jgtvsg = " jgtvsg IS-M/SD: Service Companies
* c_jgtzust = " jgtzust IS-M/SD: Carrier
* c_jgtverm = " jgtverm IS-M/SD: Sales Agent
* c_jjtvm = " jjtvm IS-M/AM: Media Sales Area Customer
* c_jgteuwvv = " jgteuwvv IS-M/SD: Retailer - Sales Data
* c_kna1 = " kna1 Customer Master (General Part)
* c_knb1 = " knb1 Customer Master (Company Code)
* c_knb5_tab = " jgtbp_knb5_tab IS-M: Standard Table for Structure KNB5
* c_knvv = " knvv Customer Master Sales Data
* c_knvi_tab = " jgtbp_knvi_tab IS-M: Standard Table for Structure KNVI
* c_lfa1 = " lfa1 Vendor Master (General Part)
* c_lfb1 = " lfb1 Vendor Master (Company Code)
. " ISM_BP_DEFAULT_VALUES_GET
The ABAP code below is a full code listing to execute function module ISM_BP_DEFAULT_VALUES_GET including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
DATA(ld_c_but000) = 'Check type of data required'.
DATA(ld_c_jgtbp00) = 'Check type of data required'.
DATA(ld_c_jgteuwv) = 'Check type of data required'.
DATA(ld_c_jgtvsg) = 'Check type of data required'.
DATA(ld_c_jgtzust) = 'Check type of data required'.
DATA(ld_c_jgtverm) = 'Check type of data required'.
DATA(ld_c_jjtvm) = 'Check type of data required'.
DATA(ld_c_jgteuwvv) = 'Check type of data required'.
DATA(ld_c_kna1) = 'Check type of data required'.
DATA(ld_c_knb1) = 'Check type of data required'.
DATA(ld_c_knb5_tab) = 'Check type of data required'.
DATA(ld_c_knvv) = 'Check type of data required'.
DATA(ld_c_knvi_tab) = 'Check type of data required'.
DATA(ld_c_lfa1) = 'Check type of data required'.
DATA(ld_c_lfb1) = 'Check type of data required'.
DATA(ld_i_busadrdata) = 'Check type of data required'.
DATA(ld_i_bus0rltyp_tab) = 'Check type of data required'.
DATA(ld_i_bprole_tab) = 'Check type of data required'.
DATA(ld_i_debitor) = 'Check type of data required'.
DATA(ld_i_kreditor) = 'Check type of data required'.
DATA(ld_i_natur_pers) = 'Check type of data required'.
DATA(ld_i_bukrs) = 'Check type of data required'.
DATA(ld_i_vkorg) = 'Check type of data required'.
DATA(ld_i_vtweg) = 'Check type of data required'.
DATA(ld_i_spart) = 'Check type of data required'.
DATA(ld_i_ekorg) = 'Check type of data required'. . CALL FUNCTION 'ISM_BP_DEFAULT_VALUES_GET' EXPORTING i_busadrdata = ld_i_busadrdata * i_bus0rltyp_tab = ld_i_bus0rltyp_tab i_bprole_tab = ld_i_bprole_tab * i_debitor = ld_i_debitor * i_kreditor = ld_i_kreditor * i_natur_pers = ld_i_natur_pers * i_bukrs = ld_i_bukrs * i_vkorg = ld_i_vkorg * i_vtweg = ld_i_vtweg * i_spart = ld_i_spart * i_ekorg = ld_i_ekorg * CHANGING * c_but000 = ld_c_but000 * c_jgtbp00 = ld_c_jgtbp00 * c_jgteuwv = ld_c_jgteuwv * c_jgtvsg = ld_c_jgtvsg * c_jgtzust = ld_c_jgtzust * c_jgtverm = ld_c_jgtverm * c_jjtvm = ld_c_jjtvm * c_jgteuwvv = ld_c_jgteuwvv * c_kna1 = ld_c_kna1 * c_knb1 = ld_c_knb1 * c_knb5_tab = ld_c_knb5_tab * c_knvv = ld_c_knvv * c_knvi_tab = ld_c_knvi_tab * c_lfa1 = ld_c_lfa1 * c_lfb1 = ld_c_lfb1 . " ISM_BP_DEFAULT_VALUES_GET
IF SY-SUBRC EQ 0. "All OK ENDIF.
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_c_but000 | TYPE BUT000 , |
| ld_i_busadrdata | TYPE BUSADRDATA , |
| ld_c_jgtbp00 | TYPE JGTBP00 , |
| ld_i_bus0rltyp_tab | TYPE JGTBP_BUS0RLTYP_TAB , |
| ld_c_jgteuwv | TYPE JGTEUWV , |
| ld_i_bprole_tab | TYPE JGBP_BUP_BPROLE , |
| ld_c_jgtvsg | TYPE JGTVSG , |
| ld_i_debitor | TYPE XFELD , |
| ld_c_jgtzust | TYPE JGTZUST , |
| ld_i_kreditor | TYPE XFELD , |
| ld_c_jgtverm | TYPE JGTVERM , |
| ld_i_natur_pers | TYPE XFELD , |
| ld_c_jjtvm | TYPE JJTVM , |
| ld_i_bukrs | TYPE BUKRS , |
| ld_c_jgteuwvv | TYPE JGTEUWVV , |
| ld_i_vkorg | TYPE VKORG , |
| ld_c_kna1 | TYPE KNA1 , |
| ld_i_vtweg | TYPE VTWEG , |
| ld_c_knb1 | TYPE KNB1 , |
| ld_i_spart | TYPE SPART , |
| ld_i_ekorg | TYPE EKORG , |
| ld_c_knb5_tab | TYPE JGTBP_KNB5_TAB , |
| ld_c_knvv | TYPE KNVV , |
| ld_c_knvi_tab | TYPE JGTBP_KNVI_TAB , |
| ld_c_lfa1 | TYPE LFA1 , |
| ld_c_lfb1 | TYPE LFB1 . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISM_BP_DEFAULT_VALUES_GET or its description.
ISM_BP_DEFAULT_VALUES_GET - BADI Call for Preassignment ISM_BP_DEFAULT_DATA_SET - Enter Default Business Partner Data ISM_BP_C_VOUCHER_SHIPPING - Check for Voucher Shipping ISM_BP_C_VALIDITY_PERIOD - Check for Contract Start/End ISM_BP_C_UNLOADING_POINT - Check for Unloading Point ISM_BP_C_TERMS_OF_PAYMENTGROUP - Check for Terms of Payment Group