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

WTPR_FRM SAP ABAP INCLUDE - WTPRFRM







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


INCLUDES used within this REPORT WTPR_FRM

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_READ_ADDI_4_MATNR call function 'WTAD_READ_ADDI_4_MATNR' exporting matnr = pi_ekpo-matnr flag_addiprass_always = addiprass_always flag_addiprass_promo_only = addiprass_promo_only flag_addiprass_promo_never = addiprass_promo_never read_flag = read_flag read_variants = ' ' aktnr = pi_ekpo-aktnr tables iwtaddi = pet_wtaddi iwtaddi_pr = iwtaddi_pr exceptions wrong_call = 1 db_error = 2 others = 3.

WTAD_TWTCTRL_READ call function 'WTAD_TWTCTRL_READ' tables i_fb_twtctrl = itwtctrl exceptions not_found = 1 others = 2.

WTAD_WTADDI_TO_ADDILIST call function 'WTAD_WTADDI_TO_ADDILIST' exporting pi_werks = pi_ekpo-werks pi_add_makt_description = ' ' tables iwtaddi = pit_wtaddi imamt = imamt iaddilist = pet_addi_info.

WTAD_TWT_ACTION_READ call function 'WTAD_TWT_ACTION_READ' tables fet_twt_action = pet_action exceptions not_found = 1 others = 2.

WTAD_READ_ADDI_4_MATNR call function 'WTAD_READ_ADDI_4_MATNR' exporting matnr = pi_mseg-matnr flag_addiprass_always = addiprass_always flag_addiprass_promo_only = addiprass_promo_only flag_addiprass_promo_never = addiprass_promo_never read_flag = read_flag read_variants = ' ' aktnr = pi_mseg-aktnr tables iwtaddi = pet_wtaddi iwtaddi_pr = iwtaddi_pr exceptions wrong_call = 1 db_error = 2 others = 3.

WTAD_TWTCTRL_READ call function 'WTAD_TWTCTRL_READ' tables i_fb_twtctrl = itwtctrl exceptions not_found = 1 others = 2.

WTAD_WTADDI_TO_ADDILIST call function 'WTAD_WTADDI_TO_ADDILIST' exporting pi_werks = pi_mseg-werks pi_add_makt_description = ' ' tables iwtaddi = pit_wtaddi imamt = imamt iaddilist = pet_addi_info.

WTAD_READ_ADDI_4_MATNR call function 'WTAD_READ_ADDI_4_MATNR' exporting matnr = pi_lips-matnr flag_addiprass_always = addiprass_always flag_addiprass_promo_only = addiprass_promo_only flag_addiprass_promo_never = addiprass_promo_never read_flag = read_flag read_mamt = ' ' read_variants = ' ' aktnr = pi_lips-aktnr * fi_sm_transaction = addi_bom_transaction_deli * fi_plant = pi_lips-werks * fi_quantity = pi_lips-lfimg * fi_unit_of_measure = pi_lips-vrkme fi_addi_application = addi_appl_deliveries fi_sd_doc = pi_lips-vgbel fi_itm_number = pi_lips-vgpos fi_sd_doc_cat = pi_lips-vgtyp tables iwtaddi = pet_wtaddi iwtaddi_pr = iwtaddi_pr * imamt = imamt * fet_matnrs_and_quant = imatqu exceptions wrong_call = 1 db_error = 2 others = 3.

WTAD_TWTCTRL_READ call function 'WTAD_TWTCTRL_READ' tables i_fb_twtctrl = itwtctrl exceptions not_found = 1 others = 2.

WTAD_WTADDI_TO_ADDILIST call function 'WTAD_WTADDI_TO_ADDILIST' exporting pi_werks = pi_lips-werks pi_add_makt_description = ' ' tables iwtaddi = pit_wtaddi imamt = imamt iaddilist = pet_addi_info.



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