SAP CIAP_CREDIT_FACTOR_MODIFY Function Module for CIAP External Service for Modifying the Credit Factor
CIAP_CREDIT_FACTOR_MODIFY is a standard ciap credit factor modify SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for CIAP External Service for Modifying the Credit Factor 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 ciap credit factor modify FM, simply by entering the name CIAP_CREDIT_FACTOR_MODIFY into the relevant SAP transaction such as SE37 or SE38.
Function Group: CIAP_SERVICES
Program Name: SAPLCIAP_SERVICES
Main Program: SAPLCIAP_SERVICES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function CIAP_CREDIT_FACTOR_MODIFY 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 'CIAP_CREDIT_FACTOR_MODIFY'"CIAP External Service for Modifying the Credit Factor.
EXPORTING
IV_COMPANY_CODE = "Company Code
* IV_BUSINESS_PLACE = "Business Place
IV_PERIOD = "Period (month/year)
IV_CREDIT_FACTOR = "CIAP Credit Factor
IV_TOTAL_VAL_TAXABLE_SALES = "Total value of taxable sales
IV_TOTAL_VAL_SALES = "Total value of sales
IMPORTING
ES_MESSAGE = "CIAP Message
IMPORTING Parameters details for CIAP_CREDIT_FACTOR_MODIFY
IV_COMPANY_CODE - Company Code
Data type: BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
IV_BUSINESS_PLACE - Business Place
Data type: J_1BBRANC_Optional: Yes
Call by Reference: No ( called with pass by value option)
IV_PERIOD - Period (month/year)
Data type: CIAP_PERIODOptional: No
Call by Reference: No ( called with pass by value option)
IV_CREDIT_FACTOR - CIAP Credit Factor
Data type: CIAP_CREDIT_FACTOROptional: No
Call by Reference: No ( called with pass by value option)
IV_TOTAL_VAL_TAXABLE_SALES - Total value of taxable sales
Data type: CIAP_TOTAL_VAL_TAXABLE_SALESOptional: No
Call by Reference: No ( called with pass by value option)
IV_TOTAL_VAL_SALES - Total value of sales
Data type: CIAP_TOTAL_VAL_SALESOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CIAP_CREDIT_FACTOR_MODIFY
ES_MESSAGE - CIAP Message
Data type: CIAP_MESSAGEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CIAP_CREDIT_FACTOR_MODIFY 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_es_message | TYPE CIAP_MESSAGE, " | |||
| lv_iv_company_code | TYPE BUKRS, " | |||
| lv_iv_business_place | TYPE J_1BBRANC_, " | |||
| lv_iv_period | TYPE CIAP_PERIOD, " | |||
| lv_iv_credit_factor | TYPE CIAP_CREDIT_FACTOR, " | |||
| lv_iv_total_val_taxable_sales | TYPE CIAP_TOTAL_VAL_TAXABLE_SALES, " | |||
| lv_iv_total_val_sales | TYPE CIAP_TOTAL_VAL_SALES. " |
|   CALL FUNCTION 'CIAP_CREDIT_FACTOR_MODIFY' "CIAP External Service for Modifying the Credit Factor |
| EXPORTING | ||
| IV_COMPANY_CODE | = lv_iv_company_code | |
| IV_BUSINESS_PLACE | = lv_iv_business_place | |
| IV_PERIOD | = lv_iv_period | |
| IV_CREDIT_FACTOR | = lv_iv_credit_factor | |
| IV_TOTAL_VAL_TAXABLE_SALES | = lv_iv_total_val_taxable_sales | |
| IV_TOTAL_VAL_SALES | = lv_iv_total_val_sales | |
| IMPORTING | ||
| ES_MESSAGE | = lv_es_message | |
| . " CIAP_CREDIT_FACTOR_MODIFY | ||
ABAP code using 7.40 inline data declarations to call FM CIAP_CREDIT_FACTOR_MODIFY
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