SAP /ACCGO/CCAK_CREATE_BL_INT Function Module for Create Contract through WB2 BL Layer (Internal)









/ACCGO/CCAK_CREATE_BL_INT is a standard /accgo/ccak create bl int 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 Contract through WB2 BL Layer (Internal) 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/ccak create bl int FM, simply by entering the name /ACCGO/CCAK_CREATE_BL_INT into the relevant SAP transaction such as SE37 or SE38.

Function Group: /ACCGO/CCAK_TC_API
Program Name: /ACCGO/SAPLCCAK_TC_API
Main Program: /ACCGO/SAPLCCAK_TC_API
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function /ACCGO/CCAK_CREATE_BL_INT 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/CCAK_CREATE_BL_INT'"Create Contract through WB2 BL Layer (Internal)
IMPORTING
ET_MESSAGES = "Table Type for WB2_ERROR_

CHANGING
* CT_ADDRESSES = "BAPI Reference Structure for Addresses (Org./Company)
CT_KOMWBHIEX = "Table for KOMWBHIEX
CT_KOMWBHEE = "Table for komwbhee
CT_KOMWBHEEX = "Table for KOMWBHEEX
CT_KOMWBHPE = "Table for komwbhpe
CT_KOMWBHPEX = "Table for KOMWBHPEX
CT_KOMWBHDE = "Table for komwbhde
CT_KOMWBHDEX = "Table for KOMWBHDEX
CT_KOMWBHKTX = "Table for komwbhktx
CT_KOMWBHITX = "Table for komwbhitx
CT_KOMTCKOV = "Table for komtcko
CT_CONDITIONKEYDATAIN = "BAPI: Trading Contract: Fields Condition Structures
CT_KOMTCKOC = "Table for komtcko
CT_KOMTCKOVX = "Table for komtckocx
* CT_KOMTCKOCX = "Table for komtckocx
* CT_COND_KEY = "New condition keys
* CT_COND_CHANGE = "New or Changed Condition
* CT_CURRENT_SCALE = "Scales for a Condition Record
* CT_SCALE_IN = "Scale via BAPI
* CT_KOMWBHKTXT = "Trading Contract: Table type of header text
* CT_KOMWBHITXT = "Trading Contract: Table type of item text
* CT_KOMWBHK = "GTM: Table Type Header Data Communic. Structure TC
CT_CONDITIONKEYDATAINX = "BAPI: Trading Contract: Condition Structures Changes
* CT_KOMWBHI = "GTM: Table Type Item Data Communication Structure
* CT_KOMWBHE = "GTM: Table Type Schedule Line Data Communication Structure
* CT_KOMWBHD = "Global Trade Management: Table Type for Business Data
* CT_KOMWBHP = "GTM: Table Type Partner Data Communication Structure
* CT_YKOMWBHK = "GTM: Table Type Header Data Communic. Structure TC
* CT_YKOMWBHI = "GTM: Table Type Item Data Communication Structure
* CT_YKOMWBHE = "GTM: Table Type Schedule Line Data Communication Structure
* CT_YKOMWBHD = "Global Trade Management: Table Type for Business Data
* CT_YKOMWBHP = "GTM: Table Type Partner Data Communication Structure
* CT_KOMTCKOEV = "GTM: Table Type for KOMTCKOE
CT_CONDITIONITEMDATAIN = "BAPI: Trading Contract: Conditions Item
* CT_KOMTCKOEC = "GTM: Table Type for KOMTCKOE
* CT_VCFG_COMC_MM = "GT: Table Type for WB2_VCFG_COMC
* CT_VCFG_COMC_SD = "GT: Table Type for WB2_VCFG_COMC
* CT_VCFG_COMV_SD = "GT: Table Type for WB2_VCFG_COMC
* CT_VCFG_COMV_MM = "GT: Table Type for WB2_VCFG_COMC
* CT_WBGT = "Global Trade: Generic Document Information
* CT_KOMCOME = "external commodity structure
* CT_KOMCOMEX = "changes: external commodity structure
* CT_KOMPRASPE = "external pricing aspect structure
* CT_KOMPRASPEX = "changes: external pricing aspect structure
CT_CONDITIONITEMDATAINX = "BAPI: Trading Contract: Conditions Item Changes
* CT_KOMPPEE = "External PPE structure
* CT_KOMPPEEX = "Changes: External PPE structure
CT_SCALEDATAIN = "BAPI: Trading Contract: Conditions Scale
CS_KOMWBHKE = "Trading Contract: External Data Transfer, Header Data
CS_KOMWBHKEX = "Trading Contract: External Data Transfer, Header Data
CT_KOMWBHIE = "Table for komwbhie

EXCEPTIONS
ERROR_MESSAGE = 1
.



EXPORTING Parameters details for /ACCGO/CCAK_CREATE_BL_INT

ET_MESSAGES - Table Type for WB2_ERROR_

Data type: WB2_ERROR_ITAB
Optional: No
Call by Reference: Yes

CHANGING Parameters details for /ACCGO/CCAK_CREATE_BL_INT

CT_ADDRESSES - BAPI Reference Structure for Addresses (Org./Company)

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

CT_KOMWBHIEX - Table for KOMWBHIEX

Data type: TABKOMWBHIEX
Optional: No
Call by Reference: Yes

CT_KOMWBHEE - Table for komwbhee

Data type: TABKOMWBHEE
Optional: No
Call by Reference: Yes

CT_KOMWBHEEX - Table for KOMWBHEEX

Data type: TABKOMWBHEEX
Optional: No
Call by Reference: Yes

CT_KOMWBHPE - Table for komwbhpe

Data type: TABKOMWBHPE
Optional: No
Call by Reference: Yes

CT_KOMWBHPEX - Table for KOMWBHPEX

Data type: TABKOMWBHPEX
Optional: No
Call by Reference: Yes

CT_KOMWBHDE - Table for komwbhde

Data type: TABKOMWBHDE
Optional: No
Call by Reference: Yes

CT_KOMWBHDEX - Table for KOMWBHDEX

Data type: TABKOMWBHDEX
Optional: No
Call by Reference: Yes

CT_KOMWBHKTX - Table for komwbhktx

Data type: TABKOMWBHKTX
Optional: No
Call by Reference: Yes

CT_KOMWBHITX - Table for komwbhitx

Data type: TABKOMWBHITX
Optional: No
Call by Reference: Yes

CT_KOMTCKOV - Table for komtcko

Data type: TABKOMTCKO
Optional: No
Call by Reference: Yes

CT_CONDITIONKEYDATAIN - BAPI: Trading Contract: Fields Condition Structures

Data type: WB2_BAPITCCONDITIONKEY_TAB
Optional: No
Call by Reference: Yes

CT_KOMTCKOC - Table for komtcko

Data type: TABKOMTCKO
Optional: No
Call by Reference: Yes

CT_KOMTCKOVX - Table for komtckocx

Data type: TABKOMTCKOCX
Optional: No
Call by Reference: Yes

CT_KOMTCKOCX - Table for komtckocx

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

CT_COND_KEY - New condition keys

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

CT_COND_CHANGE - New or Changed Condition

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

CT_CURRENT_SCALE - Scales for a Condition Record

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

CT_SCALE_IN - Scale via BAPI

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

CT_KOMWBHKTXT - Trading Contract: Table type of header text

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

CT_KOMWBHITXT - Trading Contract: Table type of item text

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

CT_KOMWBHK - GTM: Table Type Header Data Communic. Structure TC

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

CT_CONDITIONKEYDATAINX - BAPI: Trading Contract: Condition Structures Changes

Data type: WB2_BAPITCCONDITIONKEYX_TAB
Optional: No
Call by Reference: Yes

CT_KOMWBHI - GTM: Table Type Item Data Communication Structure

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

CT_KOMWBHE - GTM: Table Type Schedule Line Data Communication Structure

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

CT_KOMWBHD - Global Trade Management: Table Type for Business Data

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

CT_KOMWBHP - GTM: Table Type Partner Data Communication Structure

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

CT_YKOMWBHK - GTM: Table Type Header Data Communic. Structure TC

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

CT_YKOMWBHI - GTM: Table Type Item Data Communication Structure

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

CT_YKOMWBHE - GTM: Table Type Schedule Line Data Communication Structure

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

CT_YKOMWBHD - Global Trade Management: Table Type for Business Data

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

CT_YKOMWBHP - GTM: Table Type Partner Data Communication Structure

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

CT_KOMTCKOEV - GTM: Table Type for KOMTCKOE

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

CT_CONDITIONITEMDATAIN - BAPI: Trading Contract: Conditions Item

Data type: WB2_BAPITCCONDITIONITEM_TAB
Optional: No
Call by Reference: Yes

CT_KOMTCKOEC - GTM: Table Type for KOMTCKOE

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

CT_VCFG_COMC_MM - GT: Table Type for WB2_VCFG_COMC

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

CT_VCFG_COMC_SD - GT: Table Type for WB2_VCFG_COMC

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

CT_VCFG_COMV_SD - GT: Table Type for WB2_VCFG_COMC

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

CT_VCFG_COMV_MM - GT: Table Type for WB2_VCFG_COMC

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

CT_WBGT - Global Trade: Generic Document Information

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

CT_KOMCOME - external commodity structure

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

CT_KOMCOMEX - changes: external commodity structure

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

CT_KOMPRASPE - external pricing aspect structure

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

CT_KOMPRASPEX - changes: external pricing aspect structure

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

CT_CONDITIONITEMDATAINX - BAPI: Trading Contract: Conditions Item Changes

Data type: WB2_BAPITCCONDITIONITEMX_TAB
Optional: No
Call by Reference: Yes

CT_KOMPPEE - External PPE structure

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

CT_KOMPPEEX - Changes: External PPE structure

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

CT_SCALEDATAIN - BAPI: Trading Contract: Conditions Scale

Data type: WB2_BAPITCSCALE_TAB
Optional: No
Call by Reference: Yes

CS_KOMWBHKE - Trading Contract: External Data Transfer, Header Data

Data type: KOMWBHKE
Optional: No
Call by Reference: Yes

CS_KOMWBHKEX - Trading Contract: External Data Transfer, Header Data

Data type: KOMWBHKEX
Optional: No
Call by Reference: Yes

CT_KOMWBHIE - Table for komwbhie

Data type: TABKOMWBHIE
Optional: No
Call by Reference: Yes

EXCEPTIONS details

ERROR_MESSAGE -

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

Copy and paste ABAP code example for /ACCGO/CCAK_CREATE_BL_INT 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_et_messages  TYPE WB2_ERROR_ITAB, "   
lv_ct_addresses  TYPE BAPIADDR1_ITAB, "   
lv_error_message  TYPE BAPIADDR1_ITAB, "   
lv_ct_komwbhiex  TYPE TABKOMWBHIEX, "   
lv_ct_komwbhee  TYPE TABKOMWBHEE, "   
lv_ct_komwbheex  TYPE TABKOMWBHEEX, "   
lv_ct_komwbhpe  TYPE TABKOMWBHPE, "   
lv_ct_komwbhpex  TYPE TABKOMWBHPEX, "   
lv_ct_komwbhde  TYPE TABKOMWBHDE, "   
lv_ct_komwbhdex  TYPE TABKOMWBHDEX, "   
lv_ct_komwbhktx  TYPE TABKOMWBHKTX, "   
lv_ct_komwbhitx  TYPE TABKOMWBHITX, "   
lv_ct_komtckov  TYPE TABKOMTCKO, "   
lv_ct_conditionkeydatain  TYPE WB2_BAPITCCONDITIONKEY_TAB, "   
lv_ct_komtckoc  TYPE TABKOMTCKO, "   
lv_ct_komtckovx  TYPE TABKOMTCKOCX, "   
lv_ct_komtckocx  TYPE TABKOMTCKOCX, "   
lv_ct_cond_key  TYPE WB2_KEY_CHANGE_STAB, "   
lv_ct_cond_change  TYPE WB2_COND_CHANGE_STAB, "   
lv_ct_current_scale  TYPE WB2_CONDSCALE_STAB, "   
lv_ct_scale_in  TYPE WB2_SCALE_EXTERNAL_STAB, "   
lv_ct_komwbhktxt  TYPE TABKOMWBHKTXT, "   
lv_ct_komwbhitxt  TYPE TABKOMWBHITXT, "   
lv_ct_komwbhk  TYPE TABKOMWBHK, "   
lv_ct_conditionkeydatainx  TYPE WB2_BAPITCCONDITIONKEYX_TAB, "   
lv_ct_komwbhi  TYPE TABKOMWBHI, "   
lv_ct_komwbhe  TYPE TABKOMWBHE, "   
lv_ct_komwbhd  TYPE TABKOMWBHD, "   
lv_ct_komwbhp  TYPE TABKOMWBHP, "   
lv_ct_ykomwbhk  TYPE TABKOMWBHK, "   
lv_ct_ykomwbhi  TYPE TABKOMWBHI, "   
lv_ct_ykomwbhe  TYPE TABKOMWBHE, "   
lv_ct_ykomwbhd  TYPE TABKOMWBHD, "   
lv_ct_ykomwbhp  TYPE TABKOMWBHP, "   
lv_ct_komtckoev  TYPE TABKOMTCKOE, "   
lv_ct_conditionitemdatain  TYPE WB2_BAPITCCONDITIONITEM_TAB, "   
lv_ct_komtckoec  TYPE TABKOMTCKOE, "   
lv_ct_vcfg_comc_mm  TYPE WB2_VCFG_COMC_TAB, "   
lv_ct_vcfg_comc_sd  TYPE WB2_VCFG_COMC_TAB, "   
lv_ct_vcfg_comv_sd  TYPE WB2_VCFG_COMV_TAB, "   
lv_ct_vcfg_comv_mm  TYPE WB2_VCFG_COMV_TAB, "   
lv_ct_wbgt  TYPE TABWBGT, "   
lv_ct_komcome  TYPE TABKOMCOME, "   
lv_ct_komcomex  TYPE TABKOMCOMEX, "   
lv_ct_kompraspe  TYPE TABKOMPRASPE, "   
lv_ct_kompraspex  TYPE TABKOMPRASPEX, "   
lv_ct_conditionitemdatainx  TYPE WB2_BAPITCCONDITIONITEMX_TAB, "   
lv_ct_komppee  TYPE TABKOMPPEE, "   
lv_ct_komppeex  TYPE TABKOMPPEEX, "   
lv_ct_scaledatain  TYPE WB2_BAPITCSCALE_TAB, "   
lv_cs_komwbhke  TYPE KOMWBHKE, "   
lv_cs_komwbhkex  TYPE KOMWBHKEX, "   
lv_ct_komwbhie  TYPE TABKOMWBHIE. "   

  CALL FUNCTION '/ACCGO/CCAK_CREATE_BL_INT'  "Create Contract through WB2 BL Layer (Internal)
    IMPORTING
         ET_MESSAGES = lv_et_messages
    CHANGING
         CT_ADDRESSES = lv_ct_addresses
         CT_KOMWBHIEX = lv_ct_komwbhiex
         CT_KOMWBHEE = lv_ct_komwbhee
         CT_KOMWBHEEX = lv_ct_komwbheex
         CT_KOMWBHPE = lv_ct_komwbhpe
         CT_KOMWBHPEX = lv_ct_komwbhpex
         CT_KOMWBHDE = lv_ct_komwbhde
         CT_KOMWBHDEX = lv_ct_komwbhdex
         CT_KOMWBHKTX = lv_ct_komwbhktx
         CT_KOMWBHITX = lv_ct_komwbhitx
         CT_KOMTCKOV = lv_ct_komtckov
         CT_CONDITIONKEYDATAIN = lv_ct_conditionkeydatain
         CT_KOMTCKOC = lv_ct_komtckoc
         CT_KOMTCKOVX = lv_ct_komtckovx
         CT_KOMTCKOCX = lv_ct_komtckocx
         CT_COND_KEY = lv_ct_cond_key
         CT_COND_CHANGE = lv_ct_cond_change
         CT_CURRENT_SCALE = lv_ct_current_scale
         CT_SCALE_IN = lv_ct_scale_in
         CT_KOMWBHKTXT = lv_ct_komwbhktxt
         CT_KOMWBHITXT = lv_ct_komwbhitxt
         CT_KOMWBHK = lv_ct_komwbhk
         CT_CONDITIONKEYDATAINX = lv_ct_conditionkeydatainx
         CT_KOMWBHI = lv_ct_komwbhi
         CT_KOMWBHE = lv_ct_komwbhe
         CT_KOMWBHD = lv_ct_komwbhd
         CT_KOMWBHP = lv_ct_komwbhp
         CT_YKOMWBHK = lv_ct_ykomwbhk
         CT_YKOMWBHI = lv_ct_ykomwbhi
         CT_YKOMWBHE = lv_ct_ykomwbhe
         CT_YKOMWBHD = lv_ct_ykomwbhd
         CT_YKOMWBHP = lv_ct_ykomwbhp
         CT_KOMTCKOEV = lv_ct_komtckoev
         CT_CONDITIONITEMDATAIN = lv_ct_conditionitemdatain
         CT_KOMTCKOEC = lv_ct_komtckoec
         CT_VCFG_COMC_MM = lv_ct_vcfg_comc_mm
         CT_VCFG_COMC_SD = lv_ct_vcfg_comc_sd
         CT_VCFG_COMV_SD = lv_ct_vcfg_comv_sd
         CT_VCFG_COMV_MM = lv_ct_vcfg_comv_mm
         CT_WBGT = lv_ct_wbgt
         CT_KOMCOME = lv_ct_komcome
         CT_KOMCOMEX = lv_ct_komcomex
         CT_KOMPRASPE = lv_ct_kompraspe
         CT_KOMPRASPEX = lv_ct_kompraspex
         CT_CONDITIONITEMDATAINX = lv_ct_conditionitemdatainx
         CT_KOMPPEE = lv_ct_komppee
         CT_KOMPPEEX = lv_ct_komppeex
         CT_SCALEDATAIN = lv_ct_scaledatain
         CS_KOMWBHKE = lv_cs_komwbhke
         CS_KOMWBHKEX = lv_cs_komwbhkex
         CT_KOMWBHIE = lv_ct_komwbhie
    EXCEPTIONS
        ERROR_MESSAGE = 1
. " /ACCGO/CCAK_CREATE_BL_INT




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

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!