SAP SD_HELP_MAIS_ORDERS Function Module for NOTRANSL: Anzeige der MAIS-Aufträge zu einer Position mit Fortschrittszahl
SD_HELP_MAIS_ORDERS is a standard sd help mais orders SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Anzeige der MAIS-Aufträge zu einer Position mit Fortschrittszahl 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 sd help mais orders FM, simply by entering the name SD_HELP_MAIS_ORDERS into the relevant SAP transaction such as SE37 or SE38.
Function Group: V45L
Program Name: SAPLV45L
Main Program: SAPLV45L
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SD_HELP_MAIS_ORDERS 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 'SD_HELP_MAIS_ORDERS'"NOTRANSL: Anzeige der MAIS-Aufträge zu einer Position mit Fortschrittszahl.
EXPORTING
I_ABRFZ = "
* I_VBLB = "Release Data
* I_WAGFZ = "
I_LIFFZ = "Total cumulative delivery order quantity
* I_POSNV = ' ' "
* I_TRTYP = ' ' "Transaction Type
* I_BSTNK = ' ' "Purchase Order Number
* I_VBELV = ' ' "
* I_SET_TITLE = ' ' "
* I_VRKME = "Sales Unit
* I_KUWEV = "
IMPORTING
E_LIFFZ = "Total cumulative delivery order quantity
E_BSTNK = "Purchase Order Number
E_DOCUMENT_NOT_FOUND = "
TABLES
FXVBFA = "Document Flow
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLV45L_001 SD Component Processing: Release - Deviation Check
EXIT_SAPLV45L_002 SD Component Supply Processing: Supplement VBLB Structure
EXIT_SAPLV45L_004 Reset the Cumulative Delivered Quantity At Fiscal Year End
EXIT_SAPLV45L_005 Stop fiscal year change for scheduling agreements
IMPORTING Parameters details for SD_HELP_MAIS_ORDERS
I_ABRFZ -
Data type: VBLB-ABEFZOptional: No
Call by Reference: No ( called with pass by value option)
I_VBLB - Release Data
Data type: VBLBOptional: Yes
Call by Reference: No ( called with pass by value option)
I_WAGFZ -
Data type: RV45Z-WAGFZOptional: Yes
Call by Reference: No ( called with pass by value option)
I_LIFFZ - Total cumulative delivery order quantity
Data type: VBLB-ABEFZOptional: No
Call by Reference: No ( called with pass by value option)
I_POSNV -
Data type: VBAP-POSNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_TRTYP - Transaction Type
Data type: T180-TRTYPDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_BSTNK - Purchase Order Number
Data type: VBAK-BSTNKDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VBELV -
Data type: VBAK-VBELNDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SET_TITLE -
Data type: RV45A-VBEP_SELKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VRKME - Sales Unit
Data type: VBAP-VRKMEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KUWEV -
Data type: KUWEVOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for SD_HELP_MAIS_ORDERS
E_LIFFZ - Total cumulative delivery order quantity
Data type: VBLB-ABEFZOptional: No
Call by Reference: No ( called with pass by value option)
E_BSTNK - Purchase Order Number
Data type: VBAK-BSTNKOptional: No
Call by Reference: No ( called with pass by value option)
E_DOCUMENT_NOT_FOUND -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for SD_HELP_MAIS_ORDERS
FXVBFA - Document Flow
Data type: VBFAOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SD_HELP_MAIS_ORDERS 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: | ||||
| lt_fxvbfa | TYPE STANDARD TABLE OF VBFA, " | |||
| lv_e_liffz | TYPE VBLB-ABEFZ, " | |||
| lv_i_abrfz | TYPE VBLB-ABEFZ, " | |||
| lv_i_vblb | TYPE VBLB, " | |||
| lv_i_wagfz | TYPE RV45Z-WAGFZ, " | |||
| lv_e_bstnk | TYPE VBAK-BSTNK, " | |||
| lv_i_liffz | TYPE VBLB-ABEFZ, " | |||
| lv_i_posnv | TYPE VBAP-POSNR, " SPACE | |||
| lv_e_document_not_found | TYPE C, " | |||
| lv_i_trtyp | TYPE T180-TRTYP, " SPACE | |||
| lv_i_bstnk | TYPE VBAK-BSTNK, " SPACE | |||
| lv_i_vbelv | TYPE VBAK-VBELN, " SPACE | |||
| lv_i_set_title | TYPE RV45A-VBEP_SELKZ, " SPACE | |||
| lv_i_vrkme | TYPE VBAP-VRKME, " | |||
| lv_i_kuwev | TYPE KUWEV. " |
|   CALL FUNCTION 'SD_HELP_MAIS_ORDERS' "NOTRANSL: Anzeige der MAIS-Aufträge zu einer Position mit Fortschrittszahl |
| EXPORTING | ||
| I_ABRFZ | = lv_i_abrfz | |
| I_VBLB | = lv_i_vblb | |
| I_WAGFZ | = lv_i_wagfz | |
| I_LIFFZ | = lv_i_liffz | |
| I_POSNV | = lv_i_posnv | |
| I_TRTYP | = lv_i_trtyp | |
| I_BSTNK | = lv_i_bstnk | |
| I_VBELV | = lv_i_vbelv | |
| I_SET_TITLE | = lv_i_set_title | |
| I_VRKME | = lv_i_vrkme | |
| I_KUWEV | = lv_i_kuwev | |
| IMPORTING | ||
| E_LIFFZ | = lv_e_liffz | |
| E_BSTNK | = lv_e_bstnk | |
| E_DOCUMENT_NOT_FOUND | = lv_e_document_not_found | |
| TABLES | ||
| FXVBFA | = lt_fxvbfa | |
| . " SD_HELP_MAIS_ORDERS | ||
ABAP code using 7.40 inline data declarations to call FM SD_HELP_MAIS_ORDERS
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 ABEFZ FROM VBLB INTO @DATA(ld_e_liffz). | ||||
| "SELECT single ABEFZ FROM VBLB INTO @DATA(ld_i_abrfz). | ||||
| "SELECT single WAGFZ FROM RV45Z INTO @DATA(ld_i_wagfz). | ||||
| "SELECT single BSTNK FROM VBAK INTO @DATA(ld_e_bstnk). | ||||
| "SELECT single ABEFZ FROM VBLB INTO @DATA(ld_i_liffz). | ||||
| "SELECT single POSNR FROM VBAP INTO @DATA(ld_i_posnv). | ||||
| DATA(ld_i_posnv) | = ' '. | |||
| "SELECT single TRTYP FROM T180 INTO @DATA(ld_i_trtyp). | ||||
| DATA(ld_i_trtyp) | = ' '. | |||
| "SELECT single BSTNK FROM VBAK INTO @DATA(ld_i_bstnk). | ||||
| DATA(ld_i_bstnk) | = ' '. | |||
| "SELECT single VBELN FROM VBAK INTO @DATA(ld_i_vbelv). | ||||
| DATA(ld_i_vbelv) | = ' '. | |||
| "SELECT single VBEP_SELKZ FROM RV45A INTO @DATA(ld_i_set_title). | ||||
| DATA(ld_i_set_title) | = ' '. | |||
| "SELECT single VRKME FROM VBAP INTO @DATA(ld_i_vrkme). | ||||
Search for further information about these or an SAP related objects