SAP ISM_ORDER_OBJ_TRANSACTION_CALL Function Module for IS-M/AM: Access Order Transaction for an Order Object
ISM_ORDER_OBJ_TRANSACTION_CALL is a standard ism order obj transaction call 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-M/AM: Access Order Transaction for an Order Object 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 order obj transaction call FM, simply by entering the name ISM_ORDER_OBJ_TRANSACTION_CALL into the relevant SAP transaction such as SE37 or SE38.
Function Group: JHA4
Program Name: SAPLJHA4
Main Program: SAPLJHA4
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_ORDER_OBJ_TRANSACTION_CALL 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_ORDER_OBJ_TRANSACTION_CALL'"IS-M/AM: Access Order Transaction for an Order Object.
EXPORTING
PV_TRTYP = "
* PV_POS_ART = "IS-M: Order-Publishing-Media - Item Type
* PV_FCODE = "Function Code
* PV_GPAG = "Business Partner: Sold-to Party
* PV_AUART = "IS-M: Sales Document Type
* PV_VKORG = "Sales Organization
* PV_VTWEG = "Distribution Channel
* PV_SPART = "Division
* PV_VKBUR = "Sales Office
* PV_VKGRP = "Sales Group
* PV_AVM_NR = "IS-M: Order
* PV_POS_NR = "IS-M: Order Item Number
* PV_UPOS_NR = "IS-M: Order Sub-Item Number
* PV_EIN_NR = "IS-M: Schedule Line
* PV_GRUPPABRNR = "IS-M/AM: Billing Dataset
* PV_MOTIV = "IS-M: Order Ad Spec Number (Ad)
* PV_DRVORL_NR = "IS-M: Ad Spec Master
* PV_CALL_LEVEL = CON_LEVEL_JHAK "IS-M: Order Level Accessed
EXCEPTIONS
NO_AUTH = 1 MISSING_INPUT = 2 WRONG_CALL_LEVEL = 3
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_SAPLJHA4_001 IS-M/AM: TOP_OF_PAGE Enhancement in Central Access Item Overviews
EXIT_SAPLJHA4_002 IS-M/AM: Item Data in Central Access Enhancement
EXIT_SAPLJHA4_003 IS-M/AM: Field Catalog for Item List in Central Access
EXIT_SAPLJHA4_004 IS-M/AM: Function Code Exclusion for Central Access Item List
IMPORTING Parameters details for ISM_ORDER_OBJ_TRANSACTION_CALL
PV_TRTYP -
Data type: TJ180-TRTYPOptional: No
Call by Reference: Yes
PV_POS_ART - IS-M: Order-Publishing-Media - Item Type
Data type: RJHMEMORY-POS_ARTOptional: Yes
Call by Reference: Yes
PV_FCODE - Function Code
Data type: RJHMEMORY-FCODEOptional: Yes
Call by Reference: Yes
PV_GPAG - Business Partner: Sold-to Party
Data type: RJHMEMORY-GPAGOptional: Yes
Call by Reference: Yes
PV_AUART - IS-M: Sales Document Type
Data type: RJHMEMORY-AUARTOptional: Yes
Call by Reference: Yes
PV_VKORG - Sales Organization
Data type: VKORGOptional: Yes
Call by Reference: Yes
PV_VTWEG - Distribution Channel
Data type: VTWEGOptional: Yes
Call by Reference: Yes
PV_SPART - Division
Data type: SPARTOptional: Yes
Call by Reference: Yes
PV_VKBUR - Sales Office
Data type: VKBUROptional: Yes
Call by Reference: Yes
PV_VKGRP - Sales Group
Data type: VKGRPOptional: Yes
Call by Reference: Yes
PV_AVM_NR - IS-M: Order
Data type: RJHMEMORY-AVM_NROptional: Yes
Call by Reference: Yes
PV_POS_NR - IS-M: Order Item Number
Data type: RJHMEMORY-POS_NROptional: Yes
Call by Reference: Yes
PV_UPOS_NR - IS-M: Order Sub-Item Number
Data type: RJHMEMORY-UPOS_NROptional: Yes
Call by Reference: Yes
PV_EIN_NR - IS-M: Schedule Line
Data type: RJHMEMORY-EIN_NROptional: Yes
Call by Reference: Yes
PV_GRUPPABRNR - IS-M/AM: Billing Dataset
Data type: RJHMEMORY-GRUPPABRNROptional: Yes
Call by Reference: Yes
PV_MOTIV - IS-M: Order Ad Spec Number (Ad)
Data type: RJHMEMORY-MOTIVOptional: Yes
Call by Reference: Yes
PV_DRVORL_NR - IS-M: Ad Spec Master
Data type: RJHMEMORY-DRVORL_NROptional: Yes
Call by Reference: Yes
PV_CALL_LEVEL - IS-M: Order Level Accessed
Data type: RJHMEMORY-CALL_LEVELDefault: CON_LEVEL_JHAK
Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
NO_AUTH -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
MISSING_INPUT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_CALL_LEVEL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISM_ORDER_OBJ_TRANSACTION_CALL 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_no_auth | TYPE STRING, " | |||
| lv_pv_trtyp | TYPE TJ180-TRTYP, " | |||
| lv_pv_pos_art | TYPE RJHMEMORY-POS_ART, " | |||
| lv_pv_fcode | TYPE RJHMEMORY-FCODE, " | |||
| lv_pv_gpag | TYPE RJHMEMORY-GPAG, " | |||
| lv_pv_auart | TYPE RJHMEMORY-AUART, " | |||
| lv_pv_vkorg | TYPE VKORG, " | |||
| lv_pv_vtweg | TYPE VTWEG, " | |||
| lv_pv_spart | TYPE SPART, " | |||
| lv_pv_vkbur | TYPE VKBUR, " | |||
| lv_pv_vkgrp | TYPE VKGRP, " | |||
| lv_pv_avm_nr | TYPE RJHMEMORY-AVM_NR, " | |||
| lv_missing_input | TYPE RJHMEMORY, " | |||
| lv_pv_pos_nr | TYPE RJHMEMORY-POS_NR, " | |||
| lv_wrong_call_level | TYPE RJHMEMORY, " | |||
| lv_pv_upos_nr | TYPE RJHMEMORY-UPOS_NR, " | |||
| lv_pv_ein_nr | TYPE RJHMEMORY-EIN_NR, " | |||
| lv_pv_gruppabrnr | TYPE RJHMEMORY-GRUPPABRNR, " | |||
| lv_pv_motiv | TYPE RJHMEMORY-MOTIV, " | |||
| lv_pv_drvorl_nr | TYPE RJHMEMORY-DRVORL_NR, " | |||
| lv_pv_call_level | TYPE RJHMEMORY-CALL_LEVEL. " CON_LEVEL_JHAK |
|   CALL FUNCTION 'ISM_ORDER_OBJ_TRANSACTION_CALL' "IS-M/AM: Access Order Transaction for an Order Object |
| EXPORTING | ||
| PV_TRTYP | = lv_pv_trtyp | |
| PV_POS_ART | = lv_pv_pos_art | |
| PV_FCODE | = lv_pv_fcode | |
| PV_GPAG | = lv_pv_gpag | |
| PV_AUART | = lv_pv_auart | |
| PV_VKORG | = lv_pv_vkorg | |
| PV_VTWEG | = lv_pv_vtweg | |
| PV_SPART | = lv_pv_spart | |
| PV_VKBUR | = lv_pv_vkbur | |
| PV_VKGRP | = lv_pv_vkgrp | |
| PV_AVM_NR | = lv_pv_avm_nr | |
| PV_POS_NR | = lv_pv_pos_nr | |
| PV_UPOS_NR | = lv_pv_upos_nr | |
| PV_EIN_NR | = lv_pv_ein_nr | |
| PV_GRUPPABRNR | = lv_pv_gruppabrnr | |
| PV_MOTIV | = lv_pv_motiv | |
| PV_DRVORL_NR | = lv_pv_drvorl_nr | |
| PV_CALL_LEVEL | = lv_pv_call_level | |
| EXCEPTIONS | ||
| NO_AUTH = 1 | ||
| MISSING_INPUT = 2 | ||
| WRONG_CALL_LEVEL = 3 | ||
| . " ISM_ORDER_OBJ_TRANSACTION_CALL | ||
ABAP code using 7.40 inline data declarations to call FM ISM_ORDER_OBJ_TRANSACTION_CALL
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 TRTYP FROM TJ180 INTO @DATA(ld_pv_trtyp). | ||||
| "SELECT single POS_ART FROM RJHMEMORY INTO @DATA(ld_pv_pos_art). | ||||
| "SELECT single FCODE FROM RJHMEMORY INTO @DATA(ld_pv_fcode). | ||||
| "SELECT single GPAG FROM RJHMEMORY INTO @DATA(ld_pv_gpag). | ||||
| "SELECT single AUART FROM RJHMEMORY INTO @DATA(ld_pv_auart). | ||||
| "SELECT single AVM_NR FROM RJHMEMORY INTO @DATA(ld_pv_avm_nr). | ||||
| "SELECT single POS_NR FROM RJHMEMORY INTO @DATA(ld_pv_pos_nr). | ||||
| "SELECT single UPOS_NR FROM RJHMEMORY INTO @DATA(ld_pv_upos_nr). | ||||
| "SELECT single EIN_NR FROM RJHMEMORY INTO @DATA(ld_pv_ein_nr). | ||||
| "SELECT single GRUPPABRNR FROM RJHMEMORY INTO @DATA(ld_pv_gruppabrnr). | ||||
| "SELECT single MOTIV FROM RJHMEMORY INTO @DATA(ld_pv_motiv). | ||||
| "SELECT single DRVORL_NR FROM RJHMEMORY INTO @DATA(ld_pv_drvorl_nr). | ||||
| "SELECT single CALL_LEVEL FROM RJHMEMORY INTO @DATA(ld_pv_call_level). | ||||
| DATA(ld_pv_call_level) | = CON_LEVEL_JHAK. | |||
Search for further information about these or an SAP related objects