ISM_AVM_PRICE_GET 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 ISM_AVM_PRICE_GET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JHA1
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISM_AVM_PRICE_GET' "IS-M/AM: Determine Order Price
EXPORTING
pt_rjhap = " jha1_rjhap_tab
ps_rjhallg = " jha1_rjhallg_str
CHANGING
pv_preis_avm1 = " rjhak-preis_avm1 IS-M: Price Field 1 in the Order
pv_preis_avm2 = " rjhak-preis_avm2 IS-M: Price Field 2 in the Order
pv_waehrg = " rjhak-waehrg SD Document Currency
. " ISM_AVM_PRICE_GET
The ABAP code below is a full code listing to execute function module ISM_AVM_PRICE_GET 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).
DATA(ld_pv_preis_avm1) = 20.50
DATA(ld_pv_preis_avm2) = 20.50
DATA(ld_pv_waehrg) = Check type of data required
DATA(ld_pt_rjhap) = 'Check type of data required'.
DATA(ld_ps_rjhallg) = 'Check type of data required'. . CALL FUNCTION 'ISM_AVM_PRICE_GET' EXPORTING pt_rjhap = ld_pt_rjhap ps_rjhallg = ld_ps_rjhallg CHANGING pv_preis_avm1 = ld_pv_preis_avm1 pv_preis_avm2 = ld_pv_preis_avm2 pv_waehrg = ld_pv_waehrg . " ISM_AVM_PRICE_GET
IF SY-SUBRC EQ 0. "All OK ENDIF.
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_pv_preis_avm1 | TYPE RJHAK-PREIS_AVM1 , |
| ld_pt_rjhap | TYPE JHA1_RJHAP_TAB , |
| ld_pv_preis_avm2 | TYPE RJHAK-PREIS_AVM2 , |
| ld_ps_rjhallg | TYPE JHA1_RJHALLG_STR , |
| ld_pv_waehrg | TYPE RJHAK-WAEHRG . |
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 ISM_AVM_PRICE_GET or its description.
ISM_AVM_PRICE_GET - IS-M/AM: Determine Order Price ISM_AVM_ONE_ORDER_EXTRACT - IS-M/AM: Extract an Order from Tables ISM_AVM_OLD_EA_COMPARE - IS-M: Is the Schedule Line Different to the Database Version? ISM_AVM_INDEX_RESET - IS-M: Initialize Order Update Index ISM_AVM_INDEX_REFRESH - IS-M: Initialize Order Update Index (Y Table) ISM_AVM_INDEX_READ - IS-M: Read Order Update Index