SAP Reports / Programs

BBP_ASSIGN_BP_TO_ORGUNIT SAP ABAP Report - Report BBP_ASSIGN_BP_TO_ORGUNIT







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


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


INCLUDES used within this REPORT BBP_ASSIGN_BP_TO_ORGUNIT

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.


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:

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'.



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