SAP ISH_MAT_PROPOSAL_EXTRACT_READ Function Module for IS-H: Create Extract for Material Proposal









ISH_MAT_PROPOSAL_EXTRACT_READ is a standard ish mat proposal extract read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-H: Create Extract for Material Proposal 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 ish mat proposal extract read FM, simply by entering the name ISH_MAT_PROPOSAL_EXTRACT_READ into the relevant SAP transaction such as SE37 or SE38.

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



Function ISH_MAT_PROPOSAL_EXTRACT_READ 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 'ISH_MAT_PROPOSAL_EXTRACT_READ'"IS-H: Create Extract for Material Proposal
EXPORTING
SS_EINRI = "Institution
SS_ANPOE = "Nursing OU
* SS_READ_CAREUNIT_MAT = 'X' "IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')
* SS_READ_CENTRAL_MAT = 'X' "IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')

IMPORTING
O_VALID_DATE = "Valid to
O_VALID_TIME = "Valid to

TABLES
* SS_KEYS = "
* SS_RNMM03 = "IS-H: Material Requisition Hit List

EXCEPTIONS
NOT_FOUND = 1
.



IMPORTING Parameters details for ISH_MAT_PROPOSAL_EXTRACT_READ

SS_EINRI - Institution

Data type: EINRI
Optional: No
Call by Reference: Yes

SS_ANPOE - Nursing OU

Data type: ORGID
Optional: No
Call by Reference: Yes

SS_READ_CAREUNIT_MAT - IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')

Data type: ISH_ON_OFF
Default: 'X'
Optional: Yes
Call by Reference: Yes

SS_READ_CENTRAL_MAT - IS-H: Boolean Data Type for ON (= 'X') and OFF (= ' ')

Data type: ISH_ON_OFF
Default: 'X'
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISH_MAT_PROPOSAL_EXTRACT_READ

O_VALID_DATE - Valid to

Data type: SY-DATUM
Optional: No
Call by Reference: Yes

O_VALID_TIME - Valid to

Data type: SY-UZEIT
Optional: No
Call by Reference: Yes

TABLES Parameters details for ISH_MAT_PROPOSAL_EXTRACT_READ

SS_KEYS -

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

SS_RNMM03 - IS-H: Material Requisition Hit List

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

EXCEPTIONS details

NOT_FOUND - No Extract Found

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISH_MAT_PROPOSAL_EXTRACT_READ 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_ss_keys  TYPE STANDARD TABLE OF NMAT_BAPI_PROPOSAL_GETLIST_T, "   
lv_ss_einri  TYPE EINRI, "   
lv_not_found  TYPE EINRI, "   
lv_o_valid_date  TYPE SY-DATUM, "   
lv_ss_anpoe  TYPE ORGID, "   
lt_ss_rnmm03  TYPE STANDARD TABLE OF RNMM03, "   
lv_o_valid_time  TYPE SY-UZEIT, "   
lv_ss_read_careunit_mat  TYPE ISH_ON_OFF, "   'X'
lv_ss_read_central_mat  TYPE ISH_ON_OFF. "   'X'

  CALL FUNCTION 'ISH_MAT_PROPOSAL_EXTRACT_READ'  "IS-H: Create Extract for Material Proposal
    EXPORTING
         SS_EINRI = lv_ss_einri
         SS_ANPOE = lv_ss_anpoe
         SS_READ_CAREUNIT_MAT = lv_ss_read_careunit_mat
         SS_READ_CENTRAL_MAT = lv_ss_read_central_mat
    IMPORTING
         O_VALID_DATE = lv_o_valid_date
         O_VALID_TIME = lv_o_valid_time
    TABLES
         SS_KEYS = lt_ss_keys
         SS_RNMM03 = lt_ss_rnmm03
    EXCEPTIONS
        NOT_FOUND = 1
. " ISH_MAT_PROPOSAL_EXTRACT_READ




ABAP code using 7.40 inline data declarations to call FM ISH_MAT_PROPOSAL_EXTRACT_READ

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 DATUM FROM SY INTO @DATA(ld_o_valid_date).
 
 
 
"SELECT single UZEIT FROM SY INTO @DATA(ld_o_valid_time).
 
DATA(ld_ss_read_careunit_mat) = 'X'.
 
DATA(ld_ss_read_central_mat) = 'X'.
 


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!