ISH_MAT_PROPOSAL_GETLIST is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name ISH_MAT_PROPOSAL_GETLIST into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
NMM0
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISH_MAT_PROPOSAL_GETLIST' "IS-H MM: *Read Material Proposal for OU
EXPORTING
ss_einri = " rnmmd1-einri Institution
* ss_anfoe = " rnmmd1-anfoe Dept. OU
ss_anpoe = " rnmmd1-anpoe Nrs. OU
* ss_read_careunit_mat = 'X' " npdok-xfeld True/Flase: Display Materials from Care Unit Storage Location
* ss_read_central_mat = 'X' " npdok-xfeld True/False: Display Materials from Non-Care Unit Storage Location
* ss_use_extract = 'X' " ish_on_off Use Extract
IMPORTING
o_valid_date = " sy-datum Valid to
o_valid_time = " sy-uzeit Valid to
* TABLES
* ss_keys = " nmat_bapi_proposal_getlist_t Result
* ss_rnmm03 = " rnmm03 Obsolete: Old Structure
* ss_nmhit = " nmhit
. " ISH_MAT_PROPOSAL_GETLIST
The ABAP code below is a full code listing to execute function module ISH_MAT_PROPOSAL_GETLIST including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_o_valid_date | TYPE SY-DATUM , |
| ld_o_valid_time | TYPE SY-UZEIT , |
| it_ss_keys | TYPE STANDARD TABLE OF NMAT_BAPI_PROPOSAL_GETLIST_T,"TABLES PARAM |
| wa_ss_keys | LIKE LINE OF it_ss_keys , |
| it_ss_rnmm03 | TYPE STANDARD TABLE OF RNMM03,"TABLES PARAM |
| wa_ss_rnmm03 | LIKE LINE OF it_ss_rnmm03 , |
| it_ss_nmhit | TYPE STANDARD TABLE OF NMHIT,"TABLES PARAM |
| wa_ss_nmhit | LIKE LINE OF it_ss_nmhit . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_o_valid_date | TYPE SY-DATUM , |
| ld_ss_einri | TYPE RNMMD1-EINRI , |
| it_ss_keys | TYPE STANDARD TABLE OF NMAT_BAPI_PROPOSAL_GETLIST_T , |
| wa_ss_keys | LIKE LINE OF it_ss_keys, |
| ld_o_valid_time | TYPE SY-UZEIT , |
| ld_ss_anfoe | TYPE RNMMD1-ANFOE , |
| it_ss_rnmm03 | TYPE STANDARD TABLE OF RNMM03 , |
| wa_ss_rnmm03 | LIKE LINE OF it_ss_rnmm03, |
| ld_ss_anpoe | TYPE RNMMD1-ANPOE , |
| it_ss_nmhit | TYPE STANDARD TABLE OF NMHIT , |
| wa_ss_nmhit | LIKE LINE OF it_ss_nmhit, |
| ld_ss_read_careunit_mat | TYPE NPDOK-XFELD , |
| ld_ss_read_central_mat | TYPE NPDOK-XFELD , |
| ld_ss_use_extract | TYPE ISH_ON_OFF . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name ISH_MAT_PROPOSAL_GETLIST or its description.
ISH_MAT_PROPOSAL_GETLIST - IS-H MM: *Read Material Proposal for OU ISH_MAT_PROPOSAL_EXTRACT_READ - IS-H: Create Extract for Material Proposal ISH_MAT_PROPOSAL_EXTRACT_BUILD - IS-H: Create Extract for Material Proposal ISH_MAT_FILL_BASIC_PRICE - ISH_MAT_CONS_GET_QUANTITY - ISH_MAT_CONS_CO_PRESEL - IS-H MM: Determine Cases for Transfer of Material Consumption into CO