BBP_ASSIGN_BP_TO_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_ASSIGN_BP_TO_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 = Organizational Unit(s)
Title: Report BBP_ASSIGN_BP_TO_ORGUNIT
Text Symbol: 001 = Create and Link Business Partners to Organizational Units
Text Symbol: 002 = Error reading active plan variant
Text Symbol: 003 = Specified organizational unit does not exist
Text Symbol: 004 = Specified organizational unit not valid as at today's date
Text Symbol: 005 = A business partner already exists for the specified organizational unit
Text Symbol: 006 = Error locking organizational unit
Text Symbol: 007 = No further valid organizational units exist
Text Symbol: 008 = Error reading data for organizational unit
Text Symbol: 009 = Error creating business partner for organizational unit
Text Symbol: 010 = Business partner created
Text Symbol: 011 = Organizational Unit
Text Symbol: 012 = Specify the number(s) of the organizational unit(s)
INCLUDE BBP_ASSIGN_BP_TO_ORGUNIT_F01.
INCLUDE BBP_ASSIGN_BP_TO_ORGUNIT_F02.
INCLUDE BBP_ASSIGN_BP_TO_ORGUNIT_F03.
INCLUDE BBP_ASSIGN_BP_TO_ORGUNIT_F04.
INCLUDE BBP_ASSIGN_BP_TO_ORGUNIT_F05.
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.
BAPI_TRANSACTION_ROLLBACK CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
BAPI_TRANSACTION_ROLLBACK CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
BAPI_TRANSACTION_COMMIT CALL FUNCTION 'BAPI_TRANSACTION_COMMIT' EXPORTING wait = 'X'.
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_ASSIGN_BP_TO_ORGUNIT - Report BBP_ASSIGN_BP_TO_ORGUNIT BBP_ASSIGN_BP_TO_ORGUNIT - Report BBP_ASSIGN_BP_TO_ORGUNIT BBP_APO_CONTRACT_UPLOAD - Replication of a Purchase Contract in APO System BBP_APO_CONTRACT_UPLOAD - Replication of a Purchase Contract in APO System BBP_APO_CONTRACT_F05 - BBPAPOCONTRACTF05 BBP_APO_CONTRACT_F04 - BBPAPOCONTRACTF04