ADEXMAIN 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 ADEXMAIN into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
ADEX - Order-material transfer posting
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: T_VORNR =
Selection Text: T_NETNR =
Selection Text: T_AUFNR =
Selection Text: S_WERKS = Plant
Selection Text: S_MTART = Material type
Selection Text: S_MATNR = Material
Selection Text: S_MATKL = Material group
Selection Text: P_XNAPR =
Selection Text: P_XBLNR =
Selection Text: P_WEMPF =
Selection Text: P_BUDAT =
Selection Text: P_BLDAT =
Selection Text: P_BKTXT =
Selection Text: F_VORNR =
Selection Text: F_NETNR =
Selection Text: F_AUFNR =
Title: Order-Material transfer posting
Text Symbol: PG1 = Print
Text Symbol: PC6 = Recipient
Text Symbol: PC4 = Doc. header text
Text Symbol: PC3 = Material slip
Text Symbol: PC2 = Document date
Text Symbol: PC1 = Posting date
Text Symbol: P04 = Movement type
Text Symbol: P03 = Purchase order
Text Symbol: P02 = Network
Text Symbol: P01 = Order
Text Symbol: L12 = Failed
Text Symbol: L11 = Saved as material document
Text Symbol: L10 = Not performed
Text Symbol: L08 = Cancellation of material doc
Text Symbol: L07 = Goods issue
Text Symbol: L05 = Goods issue to network
Text Symbol: L04 = Goods issue to order
Text Symbol: L03 = Goods reversal
Text Symbol: L02 = Goods reversal from network
Text Symbol: L01 = Goods reversal from order
Text Symbol: B05 = Additional selection criteria
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
MGV_SELOP_AFTER_INITIALIZATION call function 'MGV_SELOP_AFTER_INITIALIZATION' EXPORTING PROGRAM = mgv_matnr_prog TABLES SELOP = mgv_matnr_selopt_tab EXCEPTIONS NO_PROGRAMNAME = 1 OTHERS = 2 .
MGV_SELOP_AFTER_START_OF_SEL CALL FUNCTION 'MGV_SELOP_AFTER_START_OF_SEL' EXPORTING SELOPT_NAME = mgv_matnr_selopt_tab-name TABLES RANGE =
.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.