SAP /ACCGO/UIS_BAPI_CREATE Function Module for Create LDC Object









/ACCGO/UIS_BAPI_CREATE is a standard /accgo/uis bapi create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create LDC 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 /accgo/uis bapi create FM, simply by entering the name /ACCGO/UIS_BAPI_CREATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: /ACCGO/UIS_BAPI_FM
Program Name: /ACCGO/SAPLUIS_BAPI_FM
Main Program: /ACCGO/SAPLUIS_BAPI_FM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function /ACCGO/UIS_BAPI_CREATE 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 '/ACCGO/UIS_BAPI_CREATE'"Create LDC Object
EXPORTING
IM_UISHEADERDATA = "LDC header data
* IM_FREE_BL_INSTANCES = ABAP_TRUE "Free BL instances
* IM_COMMIT_FLAG = "Checkbox
IM_UISEVNTDATAIN = "LDC event data
* IM_UISWTDATAIN = "LDC weight data
* IM_UISGRDSDATAIN = "LDC grades data
* IM_UISNEWCPADDRDATAIN = "LDC counterparty address data
* IM_UISVNDRSPLDATAIN = "LDC vendor split data
* IM_UISBATCHDATAIN = "Batch data
* IM_UISVSPLITSATEXT = "LDC vendor split at application text
* IM_EXTENSIONIN = "BAPI Extension

IMPORTING
EX_UISHEADERDATAOUT = "LDC header data
EX_RETURN = "Return parameter table
EX_RC = "Return code value
EX_UISEVNTDATAOUT = "Table type for LDC event data
EX_UISWTDATAOUT = "Table type for LDC Weights Details
EX_UISGRDSDATAOUT = "Table type for LDC Grades Details
EX_UISBATCHDATAOUT = "Table type for LDC Batch details
EX_UISVSPLTDATAOUT = "Table Type for Vendor split Information
EX_UISVSPLT_TCDATAOUT = "Table type for LDC Vendor Split Data
EX_UISNEWCPADDRDATAOUT = "Table type for LDC Counterparty Address Data
EX_EXTENSIONOUT = "BAPI Extension
.



IMPORTING Parameters details for /ACCGO/UIS_BAPI_CREATE

IM_UISHEADERDATA - LDC header data

Data type: /ACCGO/UIS_TT_BAPIHDRDATA
Optional: No
Call by Reference: No ( called with pass by value option)

IM_FREE_BL_INSTANCES - Free BL instances

Data type: XFELD
Default: ABAP_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_COMMIT_FLAG - Checkbox

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

IM_UISEVNTDATAIN - LDC event data

Data type: /ACCGO/UIS_TT_BAPIEVNTDATA
Optional: No
Call by Reference: No ( called with pass by value option)

IM_UISWTDATAIN - LDC weight data

Data type: /ACCGO/UIS_TT_BAPIWTDATACR
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_UISGRDSDATAIN - LDC grades data

Data type: /ACCGO/UIS_TT_BAPIGRDSDATA
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_UISNEWCPADDRDATAIN - LDC counterparty address data

Data type: /ACCGO/UIS_TT_BAPICPADDR
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_UISVNDRSPLDATAIN - LDC vendor split data

Data type: /ACCGO/UIS_TT_BAPIVNDRSPLT
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_UISBATCHDATAIN - Batch data

Data type: /ACCGO/UIS_TT_BAPIBATCHDATA
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_UISVSPLITSATEXT - LDC vendor split at application text

Data type: /ACCGO/UIS_TT_VNDSPLIT_SA_TEXT
Optional: Yes
Call by Reference: No ( called with pass by value option)

IM_EXTENSIONIN - BAPI Extension

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

EXPORTING Parameters details for /ACCGO/UIS_BAPI_CREATE

EX_UISHEADERDATAOUT - LDC header data

Data type: /ACCGO/UIS_TT_BAPIHDRDATAO
Optional: No
Call by Reference: No ( called with pass by value option)

EX_RETURN - Return parameter table

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

EX_RC - Return code value

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

EX_UISEVNTDATAOUT - Table type for LDC event data

Data type: /ACCGO/UIS_TT_BAPIEVNTDATAO
Optional: No
Call by Reference: No ( called with pass by value option)

EX_UISWTDATAOUT - Table type for LDC Weights Details

Data type: /ACCGO/UIS_TT_BAPIWTDATAO
Optional: No
Call by Reference: No ( called with pass by value option)

EX_UISGRDSDATAOUT - Table type for LDC Grades Details

Data type: /ACCGO/UIS_TT_BAPIGRDSDATAO
Optional: No
Call by Reference: No ( called with pass by value option)

EX_UISBATCHDATAOUT - Table type for LDC Batch details

Data type: /ACCGO/UIS_TT_BAPIBATCHDATAO
Optional: No
Call by Reference: No ( called with pass by value option)

EX_UISVSPLTDATAOUT - Table Type for Vendor split Information

Data type: /ACCGO/UIS_TT_BAPIVSPLTO
Optional: No
Call by Reference: No ( called with pass by value option)

EX_UISVSPLT_TCDATAOUT - Table type for LDC Vendor Split Data

Data type: /ACCGO/UIS_TT_BAPIVSPLT_TCDETO
Optional: No
Call by Reference: No ( called with pass by value option)

EX_UISNEWCPADDRDATAOUT - Table type for LDC Counterparty Address Data

Data type: /ACCGO/UIS_TT_BAPICPADDRO
Optional: No
Call by Reference: No ( called with pass by value option)

EX_EXTENSIONOUT - BAPI Extension

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

Copy and paste ABAP code example for /ACCGO/UIS_BAPI_CREATE 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_im_uisheaderdata  TYPE /ACCGO/UIS_TT_BAPIHDRDATA, "   
lv_ex_uisheaderdataout  TYPE /ACCGO/UIS_TT_BAPIHDRDATAO, "   
lv_ex_return  TYPE BAPIRET2_T, "   
lv_im_free_bl_instances  TYPE XFELD, "   ABAP_TRUE
lv_ex_rc  TYPE SYSUBRC, "   
lv_im_commit_flag  TYPE XFELD, "   
lv_im_uisevntdatain  TYPE /ACCGO/UIS_TT_BAPIEVNTDATA, "   
lv_ex_uisevntdataout  TYPE /ACCGO/UIS_TT_BAPIEVNTDATAO, "   
lv_im_uiswtdatain  TYPE /ACCGO/UIS_TT_BAPIWTDATACR, "   
lv_ex_uiswtdataout  TYPE /ACCGO/UIS_TT_BAPIWTDATAO, "   
lv_im_uisgrdsdatain  TYPE /ACCGO/UIS_TT_BAPIGRDSDATA, "   
lv_ex_uisgrdsdataout  TYPE /ACCGO/UIS_TT_BAPIGRDSDATAO, "   
lv_ex_uisbatchdataout  TYPE /ACCGO/UIS_TT_BAPIBATCHDATAO, "   
lv_im_uisnewcpaddrdatain  TYPE /ACCGO/UIS_TT_BAPICPADDR, "   
lv_ex_uisvspltdataout  TYPE /ACCGO/UIS_TT_BAPIVSPLTO, "   
lv_im_uisvndrspldatain  TYPE /ACCGO/UIS_TT_BAPIVNDRSPLT, "   
lv_im_uisbatchdatain  TYPE /ACCGO/UIS_TT_BAPIBATCHDATA, "   
lv_ex_uisvsplt_tcdataout  TYPE /ACCGO/UIS_TT_BAPIVSPLT_TCDETO, "   
lv_im_uisvsplitsatext  TYPE /ACCGO/UIS_TT_VNDSPLIT_SA_TEXT, "   
lv_ex_uisnewcpaddrdataout  TYPE /ACCGO/UIS_TT_BAPICPADDRO, "   
lv_im_extensionin  TYPE BAPIPAREX_T, "   
lv_ex_extensionout  TYPE BAPIPAREX_T. "   

  CALL FUNCTION '/ACCGO/UIS_BAPI_CREATE'  "Create LDC Object
    EXPORTING
         IM_UISHEADERDATA = lv_im_uisheaderdata
         IM_FREE_BL_INSTANCES = lv_im_free_bl_instances
         IM_COMMIT_FLAG = lv_im_commit_flag
         IM_UISEVNTDATAIN = lv_im_uisevntdatain
         IM_UISWTDATAIN = lv_im_uiswtdatain
         IM_UISGRDSDATAIN = lv_im_uisgrdsdatain
         IM_UISNEWCPADDRDATAIN = lv_im_uisnewcpaddrdatain
         IM_UISVNDRSPLDATAIN = lv_im_uisvndrspldatain
         IM_UISBATCHDATAIN = lv_im_uisbatchdatain
         IM_UISVSPLITSATEXT = lv_im_uisvsplitsatext
         IM_EXTENSIONIN = lv_im_extensionin
    IMPORTING
         EX_UISHEADERDATAOUT = lv_ex_uisheaderdataout
         EX_RETURN = lv_ex_return
         EX_RC = lv_ex_rc
         EX_UISEVNTDATAOUT = lv_ex_uisevntdataout
         EX_UISWTDATAOUT = lv_ex_uiswtdataout
         EX_UISGRDSDATAOUT = lv_ex_uisgrdsdataout
         EX_UISBATCHDATAOUT = lv_ex_uisbatchdataout
         EX_UISVSPLTDATAOUT = lv_ex_uisvspltdataout
         EX_UISVSPLT_TCDATAOUT = lv_ex_uisvsplt_tcdataout
         EX_UISNEWCPADDRDATAOUT = lv_ex_uisnewcpaddrdataout
         EX_EXTENSIONOUT = lv_ex_extensionout
. " /ACCGO/UIS_BAPI_CREATE




ABAP code using 7.40 inline data declarations to call FM /ACCGO/UIS_BAPI_CREATE

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.

 
 
 
DATA(ld_im_free_bl_instances) = ABAP_TRUE.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!