SAP Reports / Programs | Logistics - General | Additionals Management(LO-ADM) SAP LO

WBB_FORMS SAP ABAP INCLUDE - FORM routines for additionals in the assortment list







WBB_FORMS is a standard ABAP INCLUDE 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 WBB_FORMS 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 WBB_FORMS. "Basic submit
SUBMIT WBB_FORMS AND RETURN. "Return to original report after report execution complete
SUBMIT WBB_FORMS VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: FORM routines for additionals in the assortment list


INCLUDES used within this REPORT WBB_FORMS

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:

WTAD_TWTFM_READ CALL FUNCTION 'WTAD_TWTFM_READ' * EXPORTING * KZRFB = ' ' TABLES I_FB_TWTFM = PET_ITWTFM EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

WTAD_READ_ADDI_4_MATNR CALL FUNCTION 'WTAD_READ_ADDI_4_MATNR' EXPORTING MATNR = PI_MATNR READ_FLAG = ADDI_READ_FLAG_MATNR READ_MAMT = 'X' READ_VARIANTS = ' ' " no variants, please FI_PLANT = PI_PLANT TABLES IWTADDI = PET_IWTADDI * IWTADDI_PR = IMAMT = PET_IMAMT * IMARA = EXCEPTIONS WRONG_CALL = 1 DB_ERROR = 2 OTHERS = 3.

WTAD_MATNR_IN_PR_ADDIS_GET CALL FUNCTION 'WTAD_MATNR_IN_PR_ADDIS_GET' EXPORTING AKTNR = PI_AKTNR MATNR = PI_MATNR MEINH = PI_MEINH TABLES IWTADAB = IWTADAB IWTADABT = IWTADABT EXCEPTIONS AKTNR_NOT_FOUND = 1 DB_ERROR = 2 OTHERS = 3.

WTAD_WTADAB_TO_WTADDI CALL FUNCTION 'WTAD_WTADAB_TO_WTADDI' TABLES IWTADAB = IWTADAB IWTADABT = IWTADABT IWTADDI = PXT_WTADDI IMAMT = PXT_MAMT EXCEPTIONS OTHERS = 1.

WTAD_TWTFM_READ CALL FUNCTION 'WTAD_TWTFM_READ' * EXPORTING * KZRFB = ' ' TABLES I_FB_TWTFM = ITWTFM EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

WTAD_TWTFM_READ CALL FUNCTION 'WTAD_TWTFM_READ' * EXPORTING * KZRFB = ' ' TABLES I_FB_TWTFM = ITWTFM EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

LANGUAGE_CODE_SAP_TO_ISO CALL FUNCTION 'LANGUAGE_CODE_SAP_TO_ISO' EXPORTING SAP_CODE = PI_TEXT_LINE-SPRAS IMPORTING ISO_CODE = SPRAS_ISO EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING MATNR = PI_ADDI_LIST-ADDIMAT IMPORTING WMARA = ADDI_MARA EXCEPTIONS LOCK_ON_MATERIAL = 1 LOCK_SYSTEM_ERROR = 2 WRONG_CALL = 3 NOT_FOUND = 4 OTHERS = 5.

MARA_SINGLE_READ CALL FUNCTION 'MARA_SINGLE_READ' EXPORTING MATNR = PI_MATNR IMPORTING WMARA = WMARA EXCEPTIONS LOCK_ON_MATERIAL = 1 LOCK_SYSTEM_ERROR = 2 WRONG_CALL = 3 NOT_FOUND = 4 OTHERS = 5.

UNIT_OF_MEASURE_SAP_TO_ISO CALL FUNCTION 'UNIT_OF_MEASURE_SAP_TO_ISO' EXPORTING SAP_CODE = WMARA-INHME IMPORTING ISO_CODE = PE_ADDI_SEGMENT-ADDIINHME EXCEPTIONS NOT_FOUND = 1 NO_ISO_CODE = 2 OTHERS = 3.

WTAD_ADDI_NUMBERING_TYPE_GET CALL FUNCTION 'WTAD_ADDI_NUMBERING_TYPE_GET' EXPORTING MATNR = PI_ADDI_LIST-ADDIMAT IMPORTING ADDI_NUM_TYPE = PE_ADDI_SEGMENT-ADDINUM EXCEPTIONS ADDI_NOT_FOUND = 1 ADDI_NUM_TYPE_NOT_FOUND = 2 OTHERS = 3.

DOMAIN_VALUE_GET CALL FUNCTION 'DOMAIN_VALUE_GET' EXPORTING I_DOMNAME = 'ADDI_NUM' I_DOMVALUE = ADDINUM_TMP IMPORTING E_DDTEXT = PE_ADDI_SEGMENT-ADDINUM_TXT EXCEPTIONS NOT_EXIST = 1 OTHERS = 2.

MARD_GENERIC_READ_MATNR_PLANT CALL FUNCTION 'MARD_GENERIC_READ_MATNR_PLANT' EXPORTING MATNR = PI_ADDI_LIST-MATNR WERKS = PI_WERKS TABLES MARD_TAB = IMARD EXCEPTIONS WRONG_CALL = 1 NOT_FOUND = 2 OTHERS = 3.

WTAD_ADDITIONAL_RELEVANT_CHECK CALL FUNCTION 'WTAD_ADDITIONAL_RELEVANT_CHECK' TABLES PIT_CHANGE_POINTERS = PIT_WBB_CHANGE_POINTERS PIT_ADDI_LIST = PXT_ADDI_LIST EXCEPTIONS OTHERS = 1.



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