SAP IAC_CSO_BAPI_ITEMS_SIMU_RETURN Function Module for Return Simulated Items









IAC_CSO_BAPI_ITEMS_SIMU_RETURN is a standard iac cso bapi items simu return SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Return Simulated Items 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 iac cso bapi items simu return FM, simply by entering the name IAC_CSO_BAPI_ITEMS_SIMU_RETURN into the relevant SAP transaction such as SE37 or SE38.

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



Function IAC_CSO_BAPI_ITEMS_SIMU_RETURN 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 'IAC_CSO_BAPI_ITEMS_SIMU_RETURN'"Return Simulated Items
IMPORTING
PE_RETURN1 = "

TABLES
* PI_T_ITEMIN = "
* PI_T_ITEMEX = "
* PI_T_SL = "Struture of VBEP with English Field Names
* PI_T_CND = "Communication Fields for Maintaining Conditions in the Order
* PI_T_ITEM_EX = "SAP Retail Store: IAC Consumer Order. Subscr. Item Display
* PI_T_CND_IN = "Communication Fields for Maintaining Conditions in the Order
* PI_T_CND_INX = "Communication Fields for Maintaining Conditions in the Order
* PI_T_KONV = "Conditions (Transaction Data)
.



EXPORTING Parameters details for IAC_CSO_BAPI_ITEMS_SIMU_RETURN

PE_RETURN1 -

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

TABLES Parameters details for IAC_CSO_BAPI_ITEMS_SIMU_RETURN

PI_T_ITEMIN -

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

PI_T_ITEMEX -

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

PI_T_SL - Struture of VBEP with English Field Names

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

PI_T_CND - Communication Fields for Maintaining Conditions in the Order

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

PI_T_ITEM_EX - SAP Retail Store: IAC Consumer Order. Subscr. Item Display

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

PI_T_CND_IN - Communication Fields for Maintaining Conditions in the Order

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

PI_T_CND_INX - Communication Fields for Maintaining Conditions in the Order

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

PI_T_KONV - Conditions (Transaction Data)

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

Copy and paste ABAP code example for IAC_CSO_BAPI_ITEMS_SIMU_RETURN 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_pe_return1  TYPE BAPIRETURN1, "   
lt_pi_t_itemin  TYPE STANDARD TABLE OF BAPIITEMIN, "   
lt_pi_t_itemex  TYPE STANDARD TABLE OF BAPIITEMEX, "   
lt_pi_t_sl  TYPE STANDARD TABLE OF BAPISDHEDU, "   
lt_pi_t_cnd  TYPE STANDARD TABLE OF BAPICOND, "   
lt_pi_t_item_ex  TYPE STANDARD TABLE OF WISO_ITEM, "   
lt_pi_t_cnd_in  TYPE STANDARD TABLE OF BAPICOND, "   
lt_pi_t_cnd_inx  TYPE STANDARD TABLE OF BAPICONDX, "   
lt_pi_t_konv  TYPE STANDARD TABLE OF KONV. "   

  CALL FUNCTION 'IAC_CSO_BAPI_ITEMS_SIMU_RETURN'  "Return Simulated Items
    IMPORTING
         PE_RETURN1 = lv_pe_return1
    TABLES
         PI_T_ITEMIN = lt_pi_t_itemin
         PI_T_ITEMEX = lt_pi_t_itemex
         PI_T_SL = lt_pi_t_sl
         PI_T_CND = lt_pi_t_cnd
         PI_T_ITEM_EX = lt_pi_t_item_ex
         PI_T_CND_IN = lt_pi_t_cnd_in
         PI_T_CND_INX = lt_pi_t_cnd_inx
         PI_T_KONV = lt_pi_t_konv
. " IAC_CSO_BAPI_ITEMS_SIMU_RETURN




ABAP code using 7.40 inline data declarations to call FM IAC_CSO_BAPI_ITEMS_SIMU_RETURN

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.

 
 
 
 
 
 
 
 
 


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!