SAP Reports / Programs | Materials Management(MM) SAP MM

MBBPOF02 SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT MBBPOF02

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:

BAPI_ADV_MED_GET_ITEMS CALL FUNCTION 'BAPI_ADV_MED_GET_ITEMS' EXPORTING CATALOG = ADVERT-MED VARIANT = VARIANT AREA = HIERARCHIE-AREA * WITH_PRICES = ' ' * importing * return = TABLES ITEMS = RBAPILAYIT TEXTS = RBAPILAYTX_ITEM * PRICES = EXCEPTIONS OTHERS = 1.

BAPI_ADV_MED_GET_LAYOBJ_DOCS CALL FUNCTION 'BAPI_ADV_MED_GET_LAYOBJ_DOCS' EXPORTING CATALOG = ADVERT-MED VARIANT = VARIANT AREA = SHOPS-AREA * ITEM = ' ' CARRIER_TYPE = TWIK-TYPDT * importing * return = TABLES DOCUMENTS = L_DOKUMENTE EXCEPTIONS OTHERS = 1.

BAPI_ADV_MED_GET_LAYOBJ_DOCS CALL FUNCTION 'BAPI_ADV_MED_GET_LAYOBJ_DOCS' EXPORTING CATALOG = ADVERT-MED VARIANT = VARIANT AREA = PRODUKTE-AREA ITEM = PRODUKTE-ITEM CARRIER_TYPE = TWIK-TYPDT IMPORTING RETURN = L_RETCODE " P30K149103 TABLES DOCUMENTS = L_DOKUMENTE EXCEPTIONS OTHERS = 1.

BAPI_ADV_MED_GET_PRICES CALL FUNCTION 'BAPI_ADV_MED_GET_PRICES' EXPORTING CATALOG = ADVERT-MED VARIANT = VARIANT * importing * return = TABLES MATERIALS = L_BAPIADMM PRICES = L_BAPIADMMP EXCEPTIONS OTHERS = 1.

BAPI_CURRENCY_CONV_TO_INTERNAL CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_INTERNAL' " P30K157803 EXPORTING " P30K157803 CURRENCY = L_BAPIADMMP-CURRNCY " P30K157803 AMOUNT_EXTERNAL = L_BAPIADMMP-CONDVAL " P30K157803 MAX_NUMBER_OF_DIGITS = 11 " P30K157803 IMPORTING " P30K157803 AMOUNT_INTERNAL = PRODUKTE-PRICE " P30K157803 * RETURN = " P30K157803 EXCEPTIONS " P30K157803 OTHERS = 1. " P30K157803

BAPI_ADV_MED_GET_ITEMS CALL FUNCTION 'BAPI_ADV_MED_GET_ITEMS' EXPORTING CATALOG = ADVERT-MED VARIANT = VARIANT AREA = AREA * WITH_PRICES = ' ' * importing * return = TABLES ITEMS = RBAPILAYIT TEXTS = RBAPILAYTX_ITEM * PRICES = EXCEPTIONS OTHERS = 1.



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