SAP Reports / Programs | Production Planning and Control | Sales and Operations Planning | Sales Plan(PP-SOP-SP) SAP PP

OTBPARAM SAP ABAP Report - General parameters for OTB







OTBPARAM 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 OTBPARAM into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

POTB - Parameters for OTB


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 OTBPARAM. "Basic submit
SUBMIT OTBPARAM AND RETURN. "Return to original report after report execution complete
SUBMIT OTBPARAM 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: AKTIV = Activate OTB
Selection Text: BSTST = Check in purchase order
Selection Text: CHOICE = Choice of unit
Selection Text: MENGE = OTB in units of measure
Selection Text: SCTYP = Planning type
Selection Text: VRSIO = Planning version
Title: General parameters for OTB
Text Symbol: 001 = OTB: General control
Text Symbol: 002 = Choice of OTB scenario
Text Symbol: 003 = Control order check


INCLUDES used within this REPORT OTBPARAM

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:

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING P_STATUS = 'ST1' TABLES P_EXCLUDE = FTABLE EXCEPTIONS OTHERS = 0.

TR_OBJECT_CHECK CALL FUNCTION 'TR_OBJECT_CHECK' EXPORTING WI_KO200 = KO200 IMPORTING WE_ORDER = WE_ORDER WE_TASK = WE_TASK WE_KO200 = WE_KO200 WE_OBJECT_APPENDABLE = WE_OBJECT TABLES WT_E071K = I_E071K.

TR_OBJECT_INSERT CALL FUNCTION 'TR_OBJECT_INSERT' EXPORTING " WI_ORDER = " ' ' WI_KO200 = KO200 IMPORTING WE_ORDER = WE_ORDER WE_TASK = WE_TASK WE_KO200 = WE_KO200 TABLES WT_E071K = I_E071K.

TR_TASK_OVERVIEW CALL FUNCTION 'TR_TASK_OVERVIEW' EXPORTING IV_USERNAME = SY-UNAME IV_CATEGORY = 'SYST' IV_CLIENT = SY-MANDT IMPORTING EV_ORDER = WE_ORDER EV_TASK = WE_TASK EV_VALIDDAYS = KO016-VALIDDAYS EV_DEVCLASS = TDEVC-DEVCLASS.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = 'OTBPARAM' DYNUMB = SY-DYNNR TRANSLATE_TO_UPPER = 'X' TABLES DYNPFIELDS = DYNPFIELDS EXCEPTIONS INVALID_ABAPWORKAREA = 1 INVALID_DYNPROFIELD = 2 INVALID_DYNPRONAME = 3 INVALID_DYNPRONUMMER = 4 INVALID_REQUEST = 5 NO_FIELDDESCRIPTION = 6 INVALID_PARAMETER = 7 UNDEFIND_ERROR = 8 OTHERS = 9.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING SHOW_ALL_VALUES_AT_FIRST_TIME = 'X' IMPORTING SELECT_VALUE = SCTYP TABLES FIELDS = FIELDS VALUETAB = SCTYP_VALUE_TAB EXCEPTIONS FIELD_NOT_IN_DDIC = 01 MORE_THEN_ONE_SELECTFIELD = 02 NO_SELECTFIELD = 03.



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