SAP Reports / Programs | Basis Components | Middleware | ALE Integration Technology(BC-MID-ALE) SAP BC

BDIMP_SB SAP ABAP INCLUDE - Templates for mapping code SAP -> BAPI







BDIMP_SB 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 BDIMP_SB 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 BDIMP_SB. "Basic submit
SUBMIT BDIMP_SB AND RETURN. "Return to original report after report execution complete
SUBMIT BDIMP_SB VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Templates for mapping code SAP -> BAPI


INCLUDES used within this REPORT BDIMP_SB

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:

PSPNUM_INTERN_TO_EXTERN_CONV CALL FUNCTION 'PSPNUM_INTERN_TO_EXTERN_CONV' EXPORTING * EDIT_IMP = ' ' INT_NUM = &SAP_TABLE_FIELD IMPORTING EXT_NUM = &BAPI_TABLE_FIELD EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

PDFNUM_INTERN_TO_EXTERN_CONV CALL FUNCTION 'PDFNUM_INTERN_TO_EXTERN_CONV' EXPORTING * EDIT_IMP = INT_NUM = &SAP_TABLE_FIELD IMPORTING EXT_NUM = &BAPI_TABLE_FIELD EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

UNIT_OF_MEASURE_SAP_TO_ISO CALL FUNCTION 'UNIT_OF_MEASURE_SAP_TO_ISO' EXPORTING SAP_CODE = &SAP_TABLE_FIELD IMPORTING ISO_CODE = &BAPI_TABLE_FIELD EXCEPTIONS NOT_FOUND = 1 NO_ISO_CODE = 2 OTHERS = 3.

LANGUAGE_CODE_SAP_TO_ISO CALL FUNCTION 'LANGUAGE_CODE_SAP_TO_ISO' EXPORTING SAP_CODE = &SAP_TABLE_FIELD IMPORTING ISO_CODE = &BAPI_TABLE_FIELD EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

CURRENCY_CODE_SAP_TO_ISO CALL FUNCTION 'CURRENCY_CODE_SAP_TO_ISO' EXPORTING SAP_CODE = &SAP_TABLE_FIELD IMPORTING ISO_CODE = &BAPI_TABLE_FIELD EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

COUNTRY_CODE_SAP_TO_ISO CALL FUNCTION 'COUNTRY_CODE_SAP_TO_ISO' EXPORTING SAP_CODE = &SAP_TABLE_FIELD IMPORTING ISO_CODE = &BAPI_TABLE_FIELD EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

UNIT_OF_MEASURE_SAP_TO_ISO CALL FUNCTION 'UNIT_OF_MEASURE_SAP_TO_ISO' EXPORTING SAP_CODE = &SAP_TABLE_FIELD IMPORTING ISO_CODE = &BAPI_TABLE_FIELD EXCEPTIONS NOT_FOUND = 1 NO_ISO_CODE = 2 OTHERS = 3.

CURRENCY_CODE_SAP_TO_ISO CALL FUNCTION 'CURRENCY_CODE_SAP_TO_ISO' EXPORTING SAP_CODE = &SAP_TABLE_FIELD IMPORTING ISO_CODE = &BAPI_TABLE_FIELD EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

COUNTRY_CODE_SAP_TO_ISO CALL FUNCTION 'COUNTRY_CODE_SAP_TO_ISO' EXPORTING SAP_CODE = &SAP_TABLE_FIELD IMPORTING ISO_CODE = &BAPI_TABLE_FIELD EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

LANGUAGE_CODE_SAP_TO_ISO CALL FUNCTION 'LANGUAGE_CODE_SAP_TO_ISO' EXPORTING SAP_CODE = &SAP_TABLE_FIELD IMPORTING ISO_CODE = &BAPI_TABLE_FIELD EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

CURRENCY_AMOUNT_SAP_TO_BAPI CALL FUNCTION 'CURRENCY_AMOUNT_SAP_TO_BAPI' EXPORTING CURRENCY = &SAP_ADD_FIELD SAP_AMOUNT = TMP_AMOUNT IMPORTING BAPI_AMOUNT = &BAPI_TABLE_FIELD EXCEPTIONS OTHERS = 0.

CURRENCY_AMOUNT_SAP_TO_BAPI CALL FUNCTION 'CURRENCY_AMOUNT_SAP_TO_BAPI' EXPORTING CURRENCY = &ADD_FIELD SAP_AMOUNT = TMP_AMOUNT IMPORTING BAPI_AMOUNT = &BAPI_TABLE_FIELD EXCEPTIONS OTHERS = 0.



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 BDIMP_SB or its description.