SAP Reports / Programs

BBP_PCH_INDEX_TEST SAP ABAP Report - Report BBP_PCH_INDEX_TEST







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


Text pool values


Selection Text: CATEGORY = Category ID
Selection Text: LEVEL1 = Child Categories (Level 1)
Selection Text: LOGSYS = Logical System
Selection Text: PARENT = Parent Category
Selection Text: PATH = Path to Root Category
Selection Text: SUBTREE = Child Categories (Subtree)
Title: Report BBP_PCH_INDEX_TEST
Text Symbol: 001 = Options for Searching in the Product Category Hierarchy
Text Symbol: 002 = Definition of Source Category
Text Symbol: 003 = Enter a category ID
Text Symbol: 004 = Direct Child Categories (Level 1)
Text Symbol: 005 = Path of Category (Right Up to Root Category):
Text Symbol: 006 = Parent Category:
Text Symbol: 007 = Category:
Text Symbol: 008 = List of All Subcategories (Subtree):
Text Symbol: 009 = Category ID
Text Symbol: 010 = Category GUID
Text Symbol: 011 = No. of Direct Child Categories:
Text Symbol: 012 = No. of Child Categories:
Text Symbol: 013 = Find Source Category
Text Symbol: 014 = Parent Category GUID


INCLUDES used within this REPORT BBP_PCH_INDEX_TEST

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 CALL FUNCTION 'COM_CATEGORY_GET_GUID' EXPORTING iv_hierarchy_guid = gv_hierarchy_guid iv_category_id = gv_category_id iv_logsys = gv_logsys iv_show_popup = abap_false iv_object_categories = abap_true IMPORTING ev_category_guid = gv_category_guid EXCEPTIONS not_found = 1 wrong_call = 2 hierarchy_not_found = 3 error = 4 OTHERS = 5.

BBP_CATEGORY_READ CALL FUNCTION 'BBP_CATEGORY_READ' EXPORTING iv_category_guid = ls_children-category_guid IMPORTING es_category = ls_category EXCEPTIONS not_found = 1 hierarchy_not_found = 2 wrong_hierarchy = 3 OTHERS = 4.

BBP_CATEGORY_READ CALL FUNCTION 'BBP_CATEGORY_READ' EXPORTING iv_category_guid = ls_children-category_guid IMPORTING es_category = ls_category EXCEPTIONS not_found = 1 hierarchy_not_found = 2 wrong_hierarchy = 3 OTHERS = 4.

BBP_CATEGORY_READ CALL FUNCTION 'BBP_CATEGORY_READ' EXPORTING iv_category_guid = ls_path-category_guid IMPORTING es_category = ls_category EXCEPTIONS not_found = 1 hierarchy_not_found = 2 wrong_hierarchy = 3 OTHERS = 4.

BBP_CATEGORY_READ CALL FUNCTION 'BBP_CATEGORY_READ' EXPORTING iv_category_guid = gv_parent IMPORTING es_category = ls_category EXCEPTIONS not_found = 1 hierarchy_not_found = 2 wrong_hierarchy = 3 OTHERS = 4.



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