SAP Reports / Programs | Logistics - General | Logistics Basic Data | Customer Master(LO-MD-BP-CM) SAP LO

MF02DI10 SAP ABAP INCLUDE - Customer Master: PAI Module (P-Z)







MF02DI10 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter MF02DI10 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT MF02DI10. "Basic submit
SUBMIT MF02DI10 AND RETURN. "Return to original report after report execution complete
SUBMIT MF02DI10 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Customer Master: PAI Module (P-Z)


INCLUDES used within this REPORT MF02DI10

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

CMD_DEQUEUE_EXKNA1 CALL FUNCTION 'CMD_DEQUEUE_EXKNA1' EXPORTING KUNNR = ENQ_KEY EXCEPTIONS SYSTEM_FAILURE = 1.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' "HD1540311 EXPORTING "HD1540311 I_ARBGB = 'F2' "HD1540311 I_DTYPE = 'E' "HD1540311 I_MSGNR = '141' "HD1540311 I_VAR01 = t005-intca. "HD1540311

TAX_NUMBER_CHECK CALL FUNCTION 'TAX_NUMBER_CHECK' EXPORTING COUNTRY = S_T001W-LAND1 NATURAL_PERSON_FLAG = KNA1-STKZN REGION = KNA1-REGIO STKZU = KNA1-STKZU TAX_CODE_1 = KNA1-STCD1 TAX_CODE_2 = KNA1-STCD2 TYPE_OF_TAX_CODE_1 = KNA1-STCDT TAX_CODE_3 = KNA1-STCD3 TAX_CODE_4 = KNA1-STCD4.

TAX_NUMBER_CHECK CALL FUNCTION 'TAX_NUMBER_CHECK' EXPORTING COUNTRY = KNA1-LAND1 NATURAL_PERSON_FLAG = KNA1-STKZN REGION = KNA1-REGIO STKZU = KNA1-STKZU TAX_CODE_1 = KNA1-STCD1 TAX_CODE_2 = KNA1-STCD2 TYPE_OF_TAX_CODE_1 = KNA1-STCDT TAX_CODE_3 = KNA1-STCD3 TAX_CODE_4 = KNA1-STCD4.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' " note 1694540 EXPORTING I_ARBGB = 'F2' I_DTYPE = 'E' I_MSGNR = '116'.

DELETE_FROM_MEMORY CALL FUNCTION 'DELETE_FROM_MEMORY' EXPORTING I_BANKS = KNBK-BANKS I_BANKL = BANK_KEY "1155423 I_BANKN = KNBK-BANKN I_BKONT = KNBK-BKONT I_BKREF = KNBK-BKREF EXCEPTIONS IBAN_NOT_FOUND = 1 OTHERS = 2.

FI_TECH_ACCNO_CHECK_TRY call function 'FI_TECH_ACCNO_CHECK_TRY' " \TP 957820 exporting i_bankn = knbk-bankn " \TP 957820 importing e_xtech = l_xtech. " \TP 957820

READ_IBAN_FROM_DB CALL FUNCTION 'READ_IBAN_FROM_DB' EXPORTING I_BANKS = KNBK-BANKS I_BANKL = BANK_KEY "1155423 I_BANKN = KNBK-BANKN I_BKONT = KNBK-BKONT I_BKREF = KNBK-BKREF IMPORTING E_SUBRC = LV_IBAN_EXIST.

CUSTOMIZED_MESSAGE CALL FUNCTION 'CUSTOMIZED_MESSAGE' " note 1694540 EXPORTING I_ARBGB = 'F2' I_DTYPE = 'E' I_MSGNR = '116'.

READ_IBAN_EXT CALL FUNCTION 'READ_IBAN_EXT' EXPORTING I_BANKS = XKNBK-BANKS I_BANKL = X_BANK_KEY "1155423 I_BANKN = XKNBK-BANKN I_BKONT = XKNBK-BKONT I_BKREF = XKNBK-BKREF IMPORTING E_IBAN = L_IBAN E_SUBRC = LV_IBAN_EXIST.

DELETE_FROM_MEMORY CALL FUNCTION 'DELETE_FROM_MEMORY' EXPORTING I_BANKS = XKNBK-BANKS I_BANKL = X_BANK_KEY "1155423 I_BANKN = XKNBK-BANKN I_BKONT = XKNBK-BKONT I_BKREF = XKNBK-BKREF EXCEPTIONS IBAN_NOT_FOUND = 1 OTHERS = 2.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = 'VPE3' EXCEPTIONS OK = 0 NOT_OK = 4.

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' "P30K119201/31G EXPORTING " TCODE = 'VPE2' " EXCEPTIONS " OK = 0 " NOT_OK = 4. "

AUTHORITY_CHECK_TCODE CALL FUNCTION 'AUTHORITY_CHECK_TCODE' EXPORTING TCODE = 'VPE3' EXCEPTIONS OK = 0 NOT_OK = 4.

OPEN_FI_PERFORM_00001350_E CALL FUNCTION 'OPEN_FI_PERFORM_00001350_E' EXPORTING I_KNA1 = KNA1 I_AKTYP = T020-AKTYP I_DYNNR = SY-DYNNR.

ADDR_COPY_COMPLETE_2_TO_1 * CALL FUNCTION 'ADDR_COPY_COMPLETE_2_TO_1' * EXPORTING * old_address_handle = pers_complete-addrhandle * old_address_number = pers_complete-addrnumber * old_person_handle = pers_complete-pershandle * old_person_number = pers_complete-persnumber * address_handle = addr_complete-addrhandle ** ADDRESS_NUMBER = ** UPDATEFLAG = 'I' * address_group = c_address_group * address_reference = addr_ref * get_number = ' ' * numberrange_number = '01' * check_address = ' ' ** OWNER = 'X' * IMPORTING * returncode = returncode ** RETURNCODE_NUMBERRANGE = ** NEW_ADDRESS_NUMBER = * TABLES * error_table = error_table * EXCEPTIONS * parameter_error = 1 * old_address_not_exist = 2 * old_person_not_exist = 3 * address_handle_exist = 4 * internal_error = 5 * OTHERS = 6 * .

ADDR_GET_COMPLETE * CALL FUNCTION 'ADDR_GET_COMPLETE' * EXPORTING ** ADDRNUMBER = * addrhandle = addr_complete-addrhandle * IMPORTING * addr1_complete = addr_complete * EXCEPTIONS * parameter_error = 1 * address_not_exist = 2 * internal_error = 3 * OTHERS = 4 * .

ADDR_DELETE * CALL FUNCTION 'ADDR_DELETE' * EXPORTING * address_handle = addr_complete-addrhandle ** ADDRESS_NUMBER = ' ' * address_reference = addr_ref ** DATE_FROM = '00010101' * IMPORTING * returncode = returncode * TABLES * error_table = error_table * EXCEPTIONS * address_not_exist = 1 * parameter_error = 2 * internal_error = 3 * reference_not_exist = 4 * OTHERS = 5 * .

ADDR_CONVERT_COMPLETE_2_TO_1





CALL FUNCTION 'ADDR_CONVERT_COMPLETE_2_TO_1' EXPORTING ADDRESS_HANDLE = PERS_COMPLETE-ADDRHANDLE ADDRESS_NUMBER = PERS_COMPLETE-ADDRNUMBER PERSON_HANDLE = PERS_COMPLETE-PERSHANDLE PERSON_NUMBER = PERS_COMPLETE-PERSNUMBER IMPORTING ADDR1_COMPLETE = ADDR_COMPLETE EXCEPTIONS PARAMETER_ERROR = 1 PERSON_NOT_EXIST = 2 ADDRESS_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MF02DI10 or its description.