BBP_UNASSIGN_VEND_FROM_ORGUNIT 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_UNASSIGN_VEND_FROM_ORGUNIT into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: P_TEST = Test (no DB changes)
Selection Text: S_OBJID = Organizatinal Unit(s)
Title: Report BBP_UNASSIGN_VEND_FROM_ORGUNIT
Text Symbol: 001 = Delete the Assignment of Suppliers and Organizational Units
Text Symbol: 002 = Error: failed to determine active plan variant
Text Symbol: 003 = Node does not exist:
Text Symbol: 004 = Node is currently not valid:
Text Symbol: 005 = Node does not have a partner assigned:
Text Symbol: 006 = Error locking node:
Text Symbol: 007 = No valid nodes left
Text Symbol: 008 = Error reading relationship of node:
Text Symbol: 014 = Specify the ObjectID(s) of your Organizational Unit(s)
Text Symbol: 015 = The partner assigned to the node is not a supplier
Text Symbol: 016 = Error deleting relationship of node:
Text Symbol: 017 = Processed node:
Text Symbol: 018 = (changes rolled back)
Text Symbol: 019 = Number of nodes processed:
INCLUDE BBP_UNASSIGN_VEND_FROM_ORGUF01.
INCLUDE BBP_UNASSIGN_VEND_FROM_ORGUF02.
INCLUDE BBP_UNASSIGN_VEND_FROM_ORGUF03.
INCLUDE BBP_UNASSIGN_VEND_FROM_ORGUF04.
No SAP DATABASE tables are accessed within this REPORT code!
FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING funcname = lv_function EXCEPTIONS function_not_exist = 1 OTHERS = 2.
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING restriction = ls_restriction EXCEPTIONS too_late = 1 repeated = 2 selopt_without_options = 3 selopt_without_signs = 4 invalid_sign = 5 empty_option_list = 6 invalid_kind = 7 repeated_kind_a = 8 OTHERS = 9.
RH_DELETE_INFTY CALL FUNCTION 'RH_DELETE_INFTY' EXPORTING vtask = 'B' COMMIT_FLG = space AUTHY = space WORKF_ACTV = space tables innnn = lt_p1001 EXCEPTIONS ERROR_DURING_DELETE = 1 NO_AUTHORIZATION = 2 DELETE_FIRST_RECORD = 3 CORR_EXIT = 4 OTHERS = 5.
RH_UPDATE_DATABASE CALL FUNCTION 'RH_UPDATE_DATABASE' EXPORTING VTASK = 'D' COMMIT_FLG = 'X' EXCEPTIONS CORR_EXIT = 0 OTHERS = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
BBP_UNASSIGN_VEND_FROM_ORGUNIT - Report BBP_UNASSIGN_VEND_FROM_ORGUNIT BBP_UNASSIGN_VEND_FROM_ORGUNIT - Report BBP_UNASSIGN_VEND_FROM_ORGUNIT BBP_UNASSIGN_VEND_FROM_ORGUF04 - Include BBP_UNASSIGN_VEND_FROM_ORGUF04 BBP_UNASSIGN_VEND_FROM_ORGUF03 - Include BBP_UNASSIGN_VEND_FROM_ORGUF03 BBP_UNASSIGN_VEND_FROM_ORGUF02 - Include BBP_UNASSIGN_VEND_FROM_ORGUF02 BBP_UNASSIGN_VEND_FROM_ORGUF01 - Include BBP_UNASSIGN_VEND_FROM_ORGUF01