SAP Reports / Programs

BBP_XPRA_ORGEH_TO_VENDOR_GROUP SAP ABAP Report - Convert Organizational Units to 'Supplier Groups'







BBP_XPRA_ORGEH_TO_VENDOR_GROUP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report converts the HR organizational model for external business p artners (bidders, vendors, and their employees)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter BBP_XPRA_ORGEH_TO_VENDOR_GROUP 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_XPRA_ORGEH_TO_VENDOR_GROUP. "Basic submit
SUBMIT BBP_XPRA_ORGEH_TO_VENDOR_GROUP AND RETURN. "Return to original report after report execution complete
SUBMIT BBP_XPRA_ORGEH_TO_VENDOR_GROUP 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: P_OBJID = 'Supplier Root Node'
Selection Text: P_NORUN = Only Run Checks
Selection Text: P_NOLOG = Direct Output (No Log)
Selection Text: P_LOG = Write Application Log
Selection Text: P_DETAIL = Detailed Message Output
Selection Text: P_CHKLVL = Check Mode
Selection Text: P_BASIC = Restricted Message Output
Title: Convert Organizational Units to 'Supplier Groups'
Text Symbol: 301 = Log Options:
Text Symbol: 302 = Application Log
Text Symbol: 303 = No Application Log
Text Symbol: 304 = Detailed Message Output
Text Symbol: 305 = Restricted Message Output
Text Symbol: 306 = BBP_XPRA_O_TO_VG
Text Symbol: 307 = Vendor Root Node:
Text Symbol: 308 = Error Generating Application Log Object
Text Symbol: 417 = Start of Checks for Check Mode 1
Text Symbol: 418 = Start of Checks for Check Mode 2
Text Symbol: 419 = Start of Checks for Check Mode 3
Text Symbol: 420 = Start of Checks for Check Mode 4
Text Symbol: 421 = Start of Checks for Check Mode 5
Text Symbol: 422 = Start of Checks for Check Mode 6
Text Symbol: 423 = Start of Checks for Check Mode 7
Text Symbol: 424 = Start of Checks for Check Mode 8
Text Symbol: 425 = Start of Checks for Check Mode 9
Text Symbol: 426 = Check Mode 1: Partner for organizational unit (supplier root node) missing:
Text Symbol: 427 = Use the following report to assign a partner:
Text Symbol: 428 = Check Mode 2: Partner for root node does not have 'Organizational Unit' role:
Text Symbol: 300 = Log Options (No effect if 'Only Carry Out Checks')
Text Symbol: 212 = Conversion could only be partially carried out
Text Symbol: 211 = Conversion completed successfully:
Text Symbol: 210 = Conversion terminated because of errors
Text Symbol: 209 = Start of Conversion:
Text Symbol: 208 = End of Program
Text Symbol: 207 = End of Check
Text Symbol: 206 = Start of Check
Text Symbol: 205 = Check and Convert
Text Symbol: 204 = Check Only





Text Symbol: 203 = Program Mode:
Text Symbol: 202 = Check Mode:
Text Symbol: 201 = Root Organizational Unit:
Text Symbol: 200 = Program start:
Text Symbol: 095 = CheckLevel5: Check Continued (As Per Check Mode)
Text Symbol: 094 = CheckLevel5: No Partner for Intermediate Node, Role Check Not Possible
Text Symbol: 093 = . . . . . . . . . . Missing role was assigned
Text Symbol: 092 = Partner
Text Symbol: 091 = Organizational Unit
Text Symbol: 090 = Restored:
Text Symbol: 429 = Use the following report to assign the role:
Text Symbol: 475 = Level 6 Checks: Substructure of Intermediate Node
Text Symbol: 474 = Level 5 Checks: Roles of Partners of Intermediate Nodes at Root Node
Text Symbol: 473 = Level 4 Checks: Partners of Intermediate Nodes at Root Node
Text Symbol: 472 = Level 3 Checks: Intermediate Nodes of Root Node
Text Symbol: 471 = Level 2 Check: Root Node
Text Symbol: 470 = Level 1 Check: Root Node
Text Symbol: 465 = There is little point in invoking the check program with 'No Checks' mode
Text Symbol: 464 = Rectify the errors and repeat the structure check until no further errors occur
Text Symbol: 463 = Check Mode 8: 'Organizational Unit' role added to partner of supplier node
Text Symbol: 462 = Check Mode 5: 'Organizational Unit' role added to partner of intermediate node
Text Symbol: 461 = Check Mode 4: Partner with 'Organizational Unit' role added to intermediate node
Text Symbol: 460 = Check Mode 2: 'Organizational Unit' role added to partner of root node
Text Symbol: 459 = Check Mode 1: Partner with 'Organizational Unit' role added to root node
Text Symbol: 458 = Check Mode 9: Invalid object at supplier node
Text Symbol: 456 = Check mode 8: Partner for supplier node has no supplier (bidder) role
Text Symbol: 455 = Check Mode 8: Partner for supplier node lacks 'Organizational Unit' role (non-critical):
Text Symbol: 454 = Check Mode 7: A node below the intermediate node has no partner assigned
Text Symbol: 453 = Correct the structure or check whether you have to work with subtrees
Text Symbol: 452 = Check Mode 7: Nodes below intermediate node have no partner assigned
Text Symbol: 451 = Check Mode 6: Invalid object at intermediate node:
Text Symbol: 450 = Check Mode 6: There is no structure for the intermediate node
Text Symbol: 448 = Check Mode 5: No role check could be carried out due to the missing partners (non-critical)
Text Symbol: 447 = Check Mode 5: The role can be assigned using the following report:
Text Symbol: 446 = Check Mode 5: The partner for the intermediate node lacks the 'Organizational Unit' role (non-critical):
Text Symbol: 445 = Check Mode 5: A partner with an invalid role is assigned to some of the intermediate nodes
Text Symbol: 444 = If it really is an intermediate node, use the following report to adjust the roles
Text Symbol: 443 = Check Mode 5: Partner for intermediate node has an invalid role
Text Symbol: 442 = Check Mode 5: A supplier is assigned as partner to some of the intermediate nodes





Text Symbol: 441 = Check Mode 5: Intermediate node invalid - partner for intermediate node is a supplier
Text Symbol: 440 = Check Mode 4: No partner exists for any of the intermediate nodes (non-critical)
Text Symbol: 439 = A partner can be assigned using the following report:
Text Symbol: 438 = Check Mode 4: There is no partner for the intermediate node (non-critical):
Text Symbol: 437 = Check Mode 3: There is no valid structure for the supplier root node
Text Symbol: 436 = Check Mode 3: Invalid object at supplier root node:
Text Symbol: 435 = No further checks are possible
Text Symbol: 434 = Check Mode 3: The supplier root node does not contain an organizational structure
Text Symbol: 433 = If it really is the root node, use the following report to adjust the roles
Text Symbol: 432 = Check Mode 2: Partner for supplier root node has invalid role
Text Symbol: 431 = The structure must be corrected/repaired manually
Text Symbol: 430 = Check Mode 2: Root node invalid. The partner for the root node is a supplier
Text Symbol: 023 = CheckLevel6: Further Checks Not Possible
Text Symbol: 024 = CheckLevel6: No Structure Exists for Dummy Node:
Text Symbol: 025 = CheckLevel6: Invalid Object on Dummy Node:
Text Symbol: 026 = CheckLevel7: No Supplier Organizational Units for 'Dummy Node':
Text Symbol: 027 = CheckLevel7: No Partner Exists for Supplier Node:
Text Symbol: 028 = CheckLevel7: No Valid Objects Exist for Dummy Node:
Text Symbol: 029 = CheckLevel8: Missing Role Org. Unit on Supplier Node, Partner:
Text Symbol: 030 = CheckLevel8: Missing Role Org. Unit on Supplier Node, Org. Unit:
Text Symbol: 031 = CheckLevel8: No Valid roles on Supplier Node, Partner:
Text Symbol: 032 = CheckLevel8: No Valid roles on Supplier Node, Org. Unit:
Text Symbol: 033 = CheckLevel9: System Error Reading Structure for Supplier Node:
Text Symbol: 034 = CheckLevel9: Invalid Object on Supplier Node:
Text Symbol: 035 = Structure Check Ended with Errors, Conversion not Started
Text Symbol: 036 = Customizing error, no attributes created
Text Symbol: 037 = Error reading infotype 1000 for root organizational unit
Text Symbol: 038 = Error reading infotype 1001 for root organizational unit
Text Symbol: 039 = Program execution terminated because of errors
Text Symbol: 040 = Internal error creating 'VG' (RH_GET_NEXT_NUMBER)
Text Symbol: 041 = Internal error creating 'VG' (RH_INSERT_INFTY)
Text Symbol: 042 = Internal error for 'Attribute for 'VG' (RH_INSERT_INFTY_EXP)
Text Symbol: 043 = New root object was created:
Text Symbol: 044 = Root organizational unit does not contain intermediate nodes
Text Symbol: 001 = Convert Organizational Model for External Business Partners
Text Symbol: 002 = Error reading active plan variant
Text Symbol: 003 = Unable to execute program
Text Symbol: 004 = The organizational unit (supplier root node) you specified does not exist
Text Symbol: 005 = The organizational unit (supplier root node) you specified is not valid



Text Symbol: 006 = CheckLevel1: Partner for Organizational Unit (Supplier Root Node) Missing
Text Symbol: 007 = CheckLevel1: Further Checks Not Possible
Text Symbol: 008 = CheckLevel2: Partner for Supplier Root Node Does Not Have Role Org. Unit
Text Symbol: 009 = CheckLevel2: Partner for Supplier Root Node Has Invalid Role
Text Symbol: 010 = CheckLevel3: Supplier Root Node Does Not Contain Org. Structure
Text Symbol: 011 = CheckLevel3: Further Checks Not Possible
Text Symbol: 012 = CheckLevel3: Invalid Object on Supplier Root Node:
Text Symbol: 013 = CheckLevel3: No Valid Structure Exists for Supplier Root Node
Text Symbol: 014 = CheckLevel4: No Dummy Node Could Be Found (Non-Critical)
Text Symbol: 015 = CheckLevel4: Check Continued (As Per Check Mode)
Text Symbol: 016 = CheckLevel4: No Partner Exists for Dummy Node (Non-Critical)
Text Symbol: 017 = CheckLevel4: No Valid Dummy Node Could Be Found
Text Symbol: 018 = CheckLevel5: Missing Role Org. Unit on Dummy Node, Partner:
Text Symbol: 019 = CheckLevel5: Invalid Role on Dummy Node, Partner:
Text Symbol: 020 = CheckLevel5: All Dummy Nodes are Invalid
Text Symbol: 021 = CheckLevel5: Further Checks Not Possible
Text Symbol: 022 = CheckLevel6: System Error Reading Structure of Dummy Node:
Text Symbol: 045 = Warning: Following intermediate node does not exist:
Text Symbol: 068 = Start Check: CheckLevel2
Text Symbol: 069 = Start Check: CheckLevel3
Text Symbol: 070 = Start Check: CheckLevel4
Text Symbol: 071 = Start Check: CheckLevel5
Text Symbol: 072 = Start Check: CheckLevel6
Text Symbol: 073 = Start Check: CheckLevel7
Text Symbol: 074 = Start Check: CheckLevel8
Text Symbol: 075 = Start Check: CheckLevel9
Text Symbol: 076 = In BBP_MARKETP_INFO registration adapted to root org. unit
Text Symbol: 077 = Error registering new root org. unit in BBP_MARKETP_INFO
Text Symbol: 078 = Intermediate Nodes (Dummies)
Text Symbol: 079 = Supplier/Bidder Node
Text Symbol: 080 = Positions
Text Symbol: 081 = The new root object already exists:
Text Symbol: 082 = The new intermediate node already exists:
Text Symbol: 083 = The new supplier node already exists:
Text Symbol: 084 = The new relationship VG<-->BP already exists:
Text Symbol: 085 = The new relationship VG<-->VG already exists:
Text Symbol: 086 = The new relationship BP<-->Dummy already exists:
Text Symbol: 087 = The new relationship Dummy<-->Wurzel already exists:
Text Symbol: 088 = The new relationship BP/VG<-->Dummy already exists:
Text Symbol: 089 = Conversion of Intermediate Nodes:
Text Symbol: 046 = Warning: Error reading infotype 1000 for intermediate node:
Text Symbol: 047 = Warning: Error reading infotype 1001 for intermediate node:
Text Symbol: 048 = 'Empty' intermediate node is deleted:
Text Symbol: 049 = New intermediate node object was created:
Text Symbol: 050 = Intermediate node does not contain any suppliers:
Text Symbol: 051 = The unlinked intermediate node is deleted
Text Symbol: 052 = Info: Unoccupied position is deleted:
Text Symbol: 053 = Info: Unlinked supplier node will be deleted:
Text Symbol: 054 = Supplier node could not be converted:
Text Symbol: 055 = Info: New link created:
Text Symbol: 056 = Internal error creating 'VG-->BP' relationship (RH_INSERT_INFTY)
Text Symbol: 057 = Info: New VG object generated for supplier:
Text Symbol: 058 = No new links, intermediate node is deleted:
Text Symbol: 059 = Internal error creating 'VG-->VG' relationship (RH_INSERT_INFTY)
Text Symbol: 060 = All relationships converted, intermediate node is deleted:
Text Symbol: 061 = Internal error creating 'Root-->VG' relationship (RH_INSERT_INFTY)
Text Symbol: 062 = Info: New link 'Root-->VG' generated:
Text Symbol: 063 = Old supplier root node is deleted:
Text Symbol: 064 = Subtree below intermediate node is not converted:
Text Symbol: 065 = Incomplete conversion, intermediate node is not deleted:
Text Symbol: 066 = Incomplete conversion, root node is not deleted:
Text Symbol: 067 = Start Check: CheckLevel1


INCLUDES used within this REPORT BBP_XPRA_ORGEH_TO_VENDOR_GROUP

INCLUDE BBP_ORGEH_TO_VENDOR_GROUP_TOP.
INCLUDE BBP_ORGEH_TO_VENDOR_GROUP_F12. " NEEDED HERE (MACRO DEFS !!)
INCLUDE BBP_ORGEH_TO_VENDOR_GROUP_F01.
INCLUDE BBP_ORGEH_TO_VENDOR_GROUP_F02.
INCLUDE BBP_ORGEH_TO_VENDOR_GROUP_F03.
INCLUDE BBP_ORGEH_TO_VENDOR_GROUP_F04.
INCLUDE BBP_ORGEH_TO_VENDOR_GROUP_F05.
INCLUDE BBP_ORGEH_TO_VENDOR_GROUP_F06.
INCLUDE BBP_ORGEH_TO_VENDOR_GROUP_F07.
INCLUDE BBP_ORGEH_TO_VENDOR_GROUP_F08.
INCLUDE BBP_ORGEH_TO_VENDOR_GROUP_F09.
INCLUDE BBP_ORGEH_TO_VENDOR_GROUP_F10.
INCLUDE BBP_ORGEH_TO_VENDOR_GROUP_F11.
INCLUDE BBP_ORGEH_TO_VENDOR_GROUP_F13.


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:

RH_GET_ACTIVE_WF_PLVAR CALL FUNCTION 'RH_GET_ACTIVE_WF_PLVAR' EXPORTING ASK_PLVAR_DIALOG = SPACE IMPORTING ACT_PLVAR = LV_PLVAR EXCEPTIONS NO_ACTIVE_PLVAR = 1 ERROR_MESSAGE = 2 OTHERS = 3.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = LV_PLVAR OTYPE = 'O ' OBJID = LV_ROOT ISTAT = '1' CHECK_STRU_AUTH = SPACE IMPORTING OBEG = LV_ROOT_FROMDATE OEND = LV_ROOT_TODATE SHORT = LV_ROOT_SHORT STEXT = LV_ROOT_STEXT EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

BBP_LOCMAP_MIGRATION_START CALL FUNCTION 'BBP_LOCMAP_MIGRATION_START'.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING FUNCNAME = 'HR_ALEOX_INTEGRATION_SWITCH' EXCEPTIONS FUNCTION_NOT_EXIST = 1 OTHERS = 2.

HR_ALEOX_INTEGRATION_SWITCH CALL FUNCTION 'HR_ALEOX_INTEGRATION_SWITCH' EXPORTING IV_NO_INTEGRATION = 'X' EXCEPTIONS OTHERS = 0.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = LV_STATUS.

RH_INSERT_INFTY CALL FUNCTION 'RH_INSERT_INFTY' EXPORTING FCODE = 'INSE' VTASK = 'B' COMMIT_FLG = SPACE AUTHY = SPACE WORKF_ACTV = SPACE OLD_TABNR = SPACE TABLES INNNN = LT_INFOTYPES EXCEPTIONS NO_AUTHORIZATION = 1 ERROR_DURING_INSERT = 2 REPID_FORM_INITIAL = 3 CORR_EXIT = 4 BEGDA_GREATER_ENDDA = 5 OTHERS = 6.

RH_INSERT_INFTY CALL FUNCTION 'RH_INSERT_INFTY' EXPORTING FCODE = 'INSE' VTASK = 'B' COMMIT_FLG = SPACE AUTHY = SPACE WORKF_ACTV = SPACE OLD_TABNR = SPACE TABLES INNNN = LT_INFOTYPES EXCEPTIONS NO_AUTHORIZATION = 1 ERROR_DURING_INSERT = 2 REPID_FORM_INITIAL = 3 CORR_EXIT = 4 BEGDA_GREATER_ENDDA = 5 OTHERS = 6.



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