SAP ISM_REQUIRED_FIELD_CHECKRETAIL Function Module for ISM-PMD: Check Required Fields in Article (Retail)









ISM_REQUIRED_FIELD_CHECKRETAIL is a standard ism required field checkretail SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for ISM-PMD: Check Required Fields in Article (Retail) 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 ism required field checkretail FM, simply by entering the name ISM_REQUIRED_FIELD_CHECKRETAIL into the relevant SAP transaction such as SE37 or SE38.

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



Function ISM_REQUIRED_FIELD_CHECKRETAIL 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 'ISM_REQUIRED_FIELD_CHECKRETAIL'"ISM-PMD: Check Required Fields in Article (Retail)
EXPORTING
* PS_I_MARA = "General material data
* PS_I_JPTMARA = "
* PS_I_MARC = "Plant Data for Material
* PS_I_MVKE = "Sales Data for Material
* PS_I_T130M = "Transaction control parameters: material master maintenance
* PV_I_ACTIVSTATUS = "Maintenance Status
* PV_I_HERKUNFT = "Origin indicator for table

CHANGING
* PV_C_FLG_FIELD_EMPTY = "

TABLES
* PT_I_T130F = "Field Attributes
* PT_E_AMERRDAT = "DI: Structure for Returning Error Messages
* PT_I_AMERRDAT = "DI: Structure for Returning Error Messages
.



IMPORTING Parameters details for ISM_REQUIRED_FIELD_CHECKRETAIL

PS_I_MARA - General material data

Data type: MARA
Optional: Yes
Call by Reference: Yes

PS_I_JPTMARA -

Data type: JPTMARA
Optional: Yes
Call by Reference: Yes

PS_I_MARC - Plant Data for Material

Data type: MARC
Optional: Yes
Call by Reference: Yes

PS_I_MVKE - Sales Data for Material

Data type: MVKE
Optional: Yes
Call by Reference: Yes

PS_I_T130M - Transaction control parameters: material master maintenance

Data type: T130M
Optional: Yes
Call by Reference: Yes

PV_I_ACTIVSTATUS - Maintenance Status

Data type: MARA-PSTAT
Optional: Yes
Call by Reference: Yes

PV_I_HERKUNFT - Origin indicator for table

Data type: C
Optional: Yes
Call by Reference: Yes

CHANGING Parameters details for ISM_REQUIRED_FIELD_CHECKRETAIL

PV_C_FLG_FIELD_EMPTY -

Data type: SY-MARKY
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for ISM_REQUIRED_FIELD_CHECKRETAIL

PT_I_T130F - Field Attributes

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

PT_E_AMERRDAT - DI: Structure for Returning Error Messages

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

PT_I_AMERRDAT - DI: Structure for Returning Error Messages

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

Copy and paste ABAP code example for ISM_REQUIRED_FIELD_CHECKRETAIL 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_ps_i_mara  TYPE MARA, "   
lt_pt_i_t130f  TYPE STANDARD TABLE OF T130F, "   
lv_pv_c_flg_field_empty  TYPE SY-MARKY, "   
lv_ps_i_jptmara  TYPE JPTMARA, "   
lt_pt_e_amerrdat  TYPE STANDARD TABLE OF MERRDAT, "   
lv_ps_i_marc  TYPE MARC, "   
lt_pt_i_amerrdat  TYPE STANDARD TABLE OF MERRDAT, "   
lv_ps_i_mvke  TYPE MVKE, "   
lv_ps_i_t130m  TYPE T130M, "   
lv_pv_i_activstatus  TYPE MARA-PSTAT, "   
lv_pv_i_herkunft  TYPE C. "   

  CALL FUNCTION 'ISM_REQUIRED_FIELD_CHECKRETAIL'  "ISM-PMD: Check Required Fields in Article (Retail)
    EXPORTING
         PS_I_MARA = lv_ps_i_mara
         PS_I_JPTMARA = lv_ps_i_jptmara
         PS_I_MARC = lv_ps_i_marc
         PS_I_MVKE = lv_ps_i_mvke
         PS_I_T130M = lv_ps_i_t130m
         PV_I_ACTIVSTATUS = lv_pv_i_activstatus
         PV_I_HERKUNFT = lv_pv_i_herkunft
    CHANGING
         PV_C_FLG_FIELD_EMPTY = lv_pv_c_flg_field_empty
    TABLES
         PT_I_T130F = lt_pt_i_t130f
         PT_E_AMERRDAT = lt_pt_e_amerrdat
         PT_I_AMERRDAT = lt_pt_i_amerrdat
. " ISM_REQUIRED_FIELD_CHECKRETAIL




ABAP code using 7.40 inline data declarations to call FM ISM_REQUIRED_FIELD_CHECKRETAIL

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 MARKY FROM SY INTO @DATA(ld_pv_c_flg_field_empty).
 
 
 
 
 
 
 
"SELECT single PSTAT FROM MARA INTO @DATA(ld_pv_i_activstatus).
 
 


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!