ADDI_PR_IDOC_REQUEST 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 ADDI_PR_IDOC_REQUEST into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
WTR2 - Request Additionals IDoc for Promo
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: WERKE = Plant
Selection Text: SPRAS = Language for texts
Selection Text: PARTYP = Partner type
Selection Text: PARNUM = Partner number
Selection Text: NR_ADDIS = No. of additionals per plant
Selection Text: MEINH = Unit of measure
Selection Text: MATNR = Material
Selection Text: KLART = Class type
Selection Text: CLASS = Class
Selection Text: AKTNR = Promotion
Selection Text: ADDIMAT = Additionals
Selection Text: ADDIFM = Procedure for additionals
Title: Manually request additionals for materials in a promotion
Text Symbol: 012 = Display application log
Text Symbol: 011 = Generate an application log
Text Symbol: 010 = Vendor
Text Symbol: 009 = Customer
Text Symbol: 008 = Recipient of the additionals IDoc
Text Symbol: 007 = Logical system
Text Symbol: 005 = General parameters
Text Symbol: 004 = Plnts
Text Symbol: 003 = Additionals
Text Symbol: 002 = Materials
Text Symbol: 001 = Promotion no.
INCLUDE AIR_DATA.
INCLUDE AIR_PR_SCREEN.
INCLUDE AIR_PR_FORMS.
INCLUDE AIR_PR_EVENTS.
No SAP DATABASE tables are accessed within this REPORT code!
MASTERIDOC_CREATE_WTADDI call function 'MASTERIDOC_CREATE_WTADDI' exporting application = addi_appl_manual_request verbosity_level = 2 number_of_addis_per_locnr = nr_addis destination_ls = ircls destination_locnr = irclocnr destination_supplier = irclifnr create_idoc_in_update_task = ' ' pi_al_create = appllog tables pit_addi_idoc_keys = i_addi_keys pit_addi_info = i_addi_info exceptions no_key_data_provided = 1 no_additionals_provided = 2 others = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
ADDI_PR_IDOC_REQUEST - Manually request additionals for materials in a promotion ADDI_PR_IDOC_REQUEST - Manually request additionals for materials in a promotion ADDI_PRINT - Additionals: Change Analysis report: Print Forms ADDI_ORDER_SCREEN - ADDIORDERSCREEN ADDI_ORDER_FORMS - ADDIORDERFORMS ADDI_ORDER_EVENTS - ADDIORDEREVENTS