SAP EXIT_SAPMOIGS_004 Function Module for TD User exit before loading and delivery confirmation









EXIT_SAPMOIGS_004 is a standard exit sapmoigs 004 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for TD User exit before loading and delivery confirmation processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for exit sapmoigs 004 FM, simply by entering the name EXIT_SAPMOIGS_004 into the relevant SAP transaction such as SE37 or SE38.

Function Group: XOIG
Program Name: SAPLXOIG
Main Program: SAPLXOIG
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EXIT_SAPMOIGS_004 pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'EXIT_SAPMOIGS_004'"TD User exit before loading and delivery confirmation
EXPORTING
PI_FCODE = "

CHANGING
PI_OIGS = "
PI_T180 = "
PI_ROIGSH = "

TABLES
PX_OIGSE = "
PX_OIGSMS = "
PX_OIGSVMQ = "
PX_OIGSVMQM = "
PX_OIGRMH = "
PX_OIGCMH = "
PX_OIGSI = "
PX_OIGSIH_J = "
PX_OIGSIH_W = "
PX_OIGSII_J = "
PX_OIGSII_W = "
PX_OIGSH = "
PX_OIGSS = "
PX_OIGSVIIS = "
PX_OIGSPA = "
PX_OIGFIIQ = "
PX_OIGFIIQS = "
PX_XOIA12_TAB = "
PX_YOIA12_TAB = "
PX_XOIA06_TAB = "
PX_YOIA06_TAB = "
PX_OIA_SHDATA_TAB = "
PX_OIGSM = "
PX_OIGSMV = "
PX_OIGSV = "
PX_OIGSVC = "
PX_OIGSVCC = "
PX_OIGSVCS = "
PX_OIGSVD = "
.



IMPORTING Parameters details for EXIT_SAPMOIGS_004

PI_FCODE -

Data type: SY-TCODE
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for EXIT_SAPMOIGS_004

PI_OIGS -

Data type: ROIGS
Optional: No
Call by Reference: No ( called with pass by value option)

PI_T180 -

Data type: T180
Optional: No
Call by Reference: No ( called with pass by value option)

PI_ROIGSH -

Data type: ROIGSH
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for EXIT_SAPMOIGS_004

PX_OIGSE -

Data type: ROIGSE
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSMS -

Data type: ROIGSMS
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSVMQ -

Data type: ROIGSVMQ
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSVMQM -

Data type: ROIGSVMQM
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGRMH -

Data type: ROIGRMH
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGCMH -

Data type: ROIGCMH
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSI -

Data type: ROIGSI
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSIH_J -

Data type: ROIGSIH_J
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSIH_W -

Data type: ROIGSIH_W
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSII_J -

Data type: ROIGSII_J
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSII_W -

Data type: ROIGSII_W
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSH -

Data type: ROIGSH
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSS -

Data type: ROIGSS
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSVIIS -

Data type: ROIGSVIIS
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSPA -

Data type: ROIGSPA
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGFIIQ -

Data type: ROIGFIIQ
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGFIIQS -

Data type: ROIGFIIQS
Optional: No
Call by Reference: No ( called with pass by value option)

PX_XOIA12_TAB -

Data type: OIA_XOIA12
Optional: No
Call by Reference: No ( called with pass by value option)

PX_YOIA12_TAB -

Data type: OIA_XOIA12
Optional: No
Call by Reference: No ( called with pass by value option)

PX_XOIA06_TAB -

Data type: OIA06
Optional: No
Call by Reference: No ( called with pass by value option)

PX_YOIA06_TAB -

Data type: OIA06
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIA_SHDATA_TAB -

Data type: OIA_SHDATA
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSM -

Data type: ROIGSM
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSMV -

Data type: ROIGSMV
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSV -

Data type: ROIGSV
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSVC -

Data type: ROIGSVC
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSVCC -

Data type: ROIGSVCC
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSVCS -

Data type: ROIGSVCS
Optional: No
Call by Reference: No ( called with pass by value option)

PX_OIGSVD -

Data type: ROIGSVD
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for EXIT_SAPMOIGS_004 Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_pi_oigs  TYPE ROIGS, "   
lv_pi_fcode  TYPE SY-TCODE, "   
lt_px_oigse  TYPE STANDARD TABLE OF ROIGSE, "   
lt_px_oigsms  TYPE STANDARD TABLE OF ROIGSMS, "   
lt_px_oigsvmq  TYPE STANDARD TABLE OF ROIGSVMQ, "   
lt_px_oigsvmqm  TYPE STANDARD TABLE OF ROIGSVMQM, "   
lt_px_oigrmh  TYPE STANDARD TABLE OF ROIGRMH, "   
lt_px_oigcmh  TYPE STANDARD TABLE OF ROIGCMH, "   
lt_px_oigsi  TYPE STANDARD TABLE OF ROIGSI, "   
lt_px_oigsih_j  TYPE STANDARD TABLE OF ROIGSIH_J, "   
lt_px_oigsih_w  TYPE STANDARD TABLE OF ROIGSIH_W, "   
lt_px_oigsii_j  TYPE STANDARD TABLE OF ROIGSII_J, "   
lt_px_oigsii_w  TYPE STANDARD TABLE OF ROIGSII_W, "   
lv_pi_t180  TYPE T180, "   
lt_px_oigsh  TYPE STANDARD TABLE OF ROIGSH, "   
lt_px_oigss  TYPE STANDARD TABLE OF ROIGSS, "   
lt_px_oigsviis  TYPE STANDARD TABLE OF ROIGSVIIS, "   
lt_px_oigspa  TYPE STANDARD TABLE OF ROIGSPA, "   
lt_px_oigfiiq  TYPE STANDARD TABLE OF ROIGFIIQ, "   
lt_px_oigfiiqs  TYPE STANDARD TABLE OF ROIGFIIQS, "   
lt_px_xoia12_tab  TYPE STANDARD TABLE OF OIA_XOIA12, "   
lt_px_yoia12_tab  TYPE STANDARD TABLE OF OIA_XOIA12, "   
lt_px_xoia06_tab  TYPE STANDARD TABLE OF OIA06, "   
lt_px_yoia06_tab  TYPE STANDARD TABLE OF OIA06, "   
lt_px_oia_shdata_tab  TYPE STANDARD TABLE OF OIA_SHDATA, "   
lt_px_oigsm  TYPE STANDARD TABLE OF ROIGSM, "   
lv_pi_roigsh  TYPE ROIGSH, "   
lt_px_oigsmv  TYPE STANDARD TABLE OF ROIGSMV, "   
lt_px_oigsv  TYPE STANDARD TABLE OF ROIGSV, "   
lt_px_oigsvc  TYPE STANDARD TABLE OF ROIGSVC, "   
lt_px_oigsvcc  TYPE STANDARD TABLE OF ROIGSVCC, "   
lt_px_oigsvcs  TYPE STANDARD TABLE OF ROIGSVCS, "   
lt_px_oigsvd  TYPE STANDARD TABLE OF ROIGSVD. "   

  CALL FUNCTION 'EXIT_SAPMOIGS_004'  "TD User exit before loading and delivery confirmation
    EXPORTING
         PI_FCODE = lv_pi_fcode
    CHANGING
         PI_OIGS = lv_pi_oigs
         PI_T180 = lv_pi_t180
         PI_ROIGSH = lv_pi_roigsh
    TABLES
         PX_OIGSE = lt_px_oigse
         PX_OIGSMS = lt_px_oigsms
         PX_OIGSVMQ = lt_px_oigsvmq
         PX_OIGSVMQM = lt_px_oigsvmqm
         PX_OIGRMH = lt_px_oigrmh
         PX_OIGCMH = lt_px_oigcmh
         PX_OIGSI = lt_px_oigsi
         PX_OIGSIH_J = lt_px_oigsih_j
         PX_OIGSIH_W = lt_px_oigsih_w
         PX_OIGSII_J = lt_px_oigsii_j
         PX_OIGSII_W = lt_px_oigsii_w
         PX_OIGSH = lt_px_oigsh
         PX_OIGSS = lt_px_oigss
         PX_OIGSVIIS = lt_px_oigsviis
         PX_OIGSPA = lt_px_oigspa
         PX_OIGFIIQ = lt_px_oigfiiq
         PX_OIGFIIQS = lt_px_oigfiiqs
         PX_XOIA12_TAB = lt_px_xoia12_tab
         PX_YOIA12_TAB = lt_px_yoia12_tab
         PX_XOIA06_TAB = lt_px_xoia06_tab
         PX_YOIA06_TAB = lt_px_yoia06_tab
         PX_OIA_SHDATA_TAB = lt_px_oia_shdata_tab
         PX_OIGSM = lt_px_oigsm
         PX_OIGSMV = lt_px_oigsmv
         PX_OIGSV = lt_px_oigsv
         PX_OIGSVC = lt_px_oigsvc
         PX_OIGSVCC = lt_px_oigsvcc
         PX_OIGSVCS = lt_px_oigsvcs
         PX_OIGSVD = lt_px_oigsvd
. " EXIT_SAPMOIGS_004




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPMOIGS_004

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
"SELECT single TCODE FROM SY INTO @DATA(ld_pi_fcode).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!