SAP Reports / Programs | Application Platform | Master Data | Central Part of Product Master(AP-MD-PRO) SAP AP

COM_PRODUCT_CONFIG_API_TESTF01 SAP ABAP INCLUDE - COMPRODUCTCONFIGAPITESTF01







COM_PRODUCT_CONFIG_API_TESTF01 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 COM_PRODUCT_CONFIG_API_TESTF01 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 COM_PRODUCT_CONFIG_API_TESTF01. "Basic submit
SUBMIT COM_PRODUCT_CONFIG_API_TESTF01 AND RETURN. "Return to original report after report execution complete
SUBMIT COM_PRODUCT_CONFIG_API_TESTF01 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 COM_PRODUCT_CONFIG_API_TESTF01

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:

COM_CATEGORY_GET_GUID_2 CALL FUNCTION 'COM_CATEGORY_GET_GUID_2' EXPORTING iv_category_id = pcatid IMPORTING ev_category_guid = pcatguid EXCEPTIONS not_found = 1 OTHERS = 2.

COM_PR_CFG_PRODUCT_CREATE CALL FUNCTION 'COM_PR_CFG_PRODUCT_CREATE' EXPORTING iv_product_id = pdstprid iv_product_type = pdsttype is_product_shtext = ls_shtext is_template_product = ls_template_product iv_category_guid = pcatguid IMPORTING ev_product_guid = pdstguid et_bapireturn = ct_bapireturn ev_product_already_exists = lv_product_already_exists.

COM_PR_CFG_PRODUCT_SAVE CALL FUNCTION 'COM_PR_CFG_PRODUCT_SAVE' EXPORTING iv_update_task = upd_task IMPORTING et_bapireturn = ct_bapireturn.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = lv_logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

COM_PRODUCT_GUID_GET CALL FUNCTION 'COM_PRODUCT_GUID_GET' EXPORTING iv_product_id = pdstprid iv_product_type = pdsttype iv_logsys = lv_logsys IMPORTING ev_product_guid = lv_product_guid EXCEPTIONS not_found = 1 wrong_call = 2 internal_error = 3 OTHERS = 4.

COM_PR_CFG_PRODUCT_DEL_BUFFER CALL FUNCTION 'COM_PR_CFG_PRODUCT_DEL_BUFFER' EXPORTING iv_product_guid = lv_product_guid IMPORTING et_bapireturn = ct_bapireturn.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = ls_product-logsys EXCEPTIONS own_logical_system_not_defined = 1 OTHERS = 2.

COM_PR_CFG_PRODUCT_CHANGE CALL FUNCTION 'COM_PR_CFG_PRODUCT_CHANGE' EXPORTING is_product = ls_product it_product_shtext = lt_product_shtext IMPORTING et_bapireturn = ct_bapireturn.

COM_CATEGORY_GET_GUID_2 CALL FUNCTION 'COM_CATEGORY_GET_GUID_2' EXPORTING iv_category_id = pcatid IMPORTING ev_category_guid = pcatguid EXCEPTIONS not_found = 1 OTHERS = 2.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = ls_product-logsys.

COM_PR_CFG_PRODUCT_CHECK_CAT CALL FUNCTION 'COM_PR_CFG_PRODUCT_CHECK_CAT' EXPORTING is_product = ls_product iv_category_guid = pcatguid IMPORTING ev_is_assigned = lv_is_assigned et_bapireturn = ct_bapireturn.



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