SAP /ACCGO/CCAK_PRCFIXATION Function Module for Add Price Fixation to an existing Contract
/ACCGO/CCAK_PRCFIXATION is a standard /accgo/ccak prcfixation SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Add Price Fixation to an existing Contract 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 prcfixation FM, simply by entering the name /ACCGO/CCAK_PRCFIXATION into the relevant SAP transaction such as SE37 or SE38.
Function Group: /ACCGO/CCAK_ADDPRCFIX
Program Name: /ACCGO/SAPLCCAK_ADDPRCFIX
Main Program: /ACCGO/SAPLCCAK_ADDPRCFIX
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function /ACCGO/CCAK_PRCFIXATION 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_PRCFIXATION'"Add Price Fixation to an existing Contract.
EXPORTING
* IV_CONTRACT = "Trading Contract
* IT_COMP_FLAT_NPE = "Flag for Componentized Flat NPE senario
* IS_DATA = "API: Contract Data
IT_PRICE_FIXATION = "price fixation API sstucture
* IT_PRICE_LOT_FEE = "Table Type for Fee Details
* IT_FREE_CHAR = "Table type for free characteristics of items
* IT_SNAPSHOT_TEXT = "Lines of ITF
IMPORTING Parameters details for /ACCGO/CCAK_PRCFIXATION
IV_CONTRACT - Trading Contract
Data type: TKONNOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_COMP_FLAT_NPE - Flag for Componentized Flat NPE senario
Data type: /ACCGO/TT_CAK_COMP_FLAT_ITEMOptional: Yes
Call by Reference: No ( called with pass by value option)
IS_DATA - API: Contract Data
Data type: /ACCGO/CCAK_S_CRT_DATA_OUT_APIOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_PRICE_FIXATION - price fixation API sstucture
Data type: /ACCGO/TT_PRICE_FIXATION_APIOptional: No
Call by Reference: No ( called with pass by value option)
IT_PRICE_LOT_FEE - Table Type for Fee Details
Data type: /ACCGO/TT_CAK_FEE_DETAILSOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_FREE_CHAR - Table type for free characteristics of items
Data type: /ACCGO/TT_CAK_FREE_CHAROptional: Yes
Call by Reference: No ( called with pass by value option)
IT_SNAPSHOT_TEXT - Lines of ITF
Data type: TLINETABOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for /ACCGO/CCAK_PRCFIXATION 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_iv_contract | TYPE TKONN, " | |||
lv_it_comp_flat_npe | TYPE /ACCGO/TT_CAK_COMP_FLAT_ITEM, " | |||
lv_is_data | TYPE /ACCGO/CCAK_S_CRT_DATA_OUT_API, " | |||
lv_it_price_fixation | TYPE /ACCGO/TT_PRICE_FIXATION_API, " | |||
lv_it_price_lot_fee | TYPE /ACCGO/TT_CAK_FEE_DETAILS, " | |||
lv_it_free_char | TYPE /ACCGO/TT_CAK_FREE_CHAR, " | |||
lv_it_snapshot_text | TYPE TLINETAB. " |
  CALL FUNCTION '/ACCGO/CCAK_PRCFIXATION' "Add Price Fixation to an existing Contract |
EXPORTING | ||
IV_CONTRACT | = lv_iv_contract | |
IT_COMP_FLAT_NPE | = lv_it_comp_flat_npe | |
IS_DATA | = lv_is_data | |
IT_PRICE_FIXATION | = lv_it_price_fixation | |
IT_PRICE_LOT_FEE | = lv_it_price_lot_fee | |
IT_FREE_CHAR | = lv_it_free_char | |
IT_SNAPSHOT_TEXT | = lv_it_snapshot_text | |
. " /ACCGO/CCAK_PRCFIXATION |
ABAP code using 7.40 inline data declarations to call FM /ACCGO/CCAK_PRCFIXATION
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