SAP FICO_COND_SAVE_CHDOC Function Module for









FICO_COND_SAVE_CHDOC is a standard fico cond save chdoc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 fico cond save chdoc FM, simply by entering the name FICO_COND_SAVE_CHDOC into the relevant SAP transaction such as SE37 or SE38.

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



Function FICO_COND_SAVE_CHDOC 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 'FICO_COND_SAVE_CHDOC'"
EXPORTING
I_FLG_INUPDATETASK = "Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
I_T_CONDI_CD = "Table for Change Documents for Ficot_condi
I_T_POS_CD = "Table for Change Documents for Ficot_pos
* I_T_POS_REL_CD = "
I_T_COND_T_CD = "Table for Change Documents for Ficot_cond_t
* I_LANGU = SY-LANGU "Language Key
* I_T_POS_FOBU_CD = "
* I_FLG_TECH = "

IMPORTING
E_T_RETURN = "Return Table
E_RC = "Return Value, Return Value After ABAP Statements
.



IMPORTING Parameters details for FICO_COND_SAVE_CHDOC

I_FLG_INUPDATETASK - Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')

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

I_T_CONDI_CD - Table for Change Documents for Ficot_condi

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

I_T_POS_CD - Table for Change Documents for Ficot_pos

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

I_T_POS_REL_CD -

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

I_T_COND_T_CD - Table for Change Documents for Ficot_cond_t

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

I_LANGU - Language Key

Data type: SPRAS
Default: SY-LANGU
Optional: Yes
Call by Reference: Yes

I_T_POS_FOBU_CD -

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

I_FLG_TECH -

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

EXPORTING Parameters details for FICO_COND_SAVE_CHDOC

E_T_RETURN - Return Table

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

E_RC - Return Value, Return Value After ABAP Statements

Data type: SY-SUBRC
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for FICO_COND_SAVE_CHDOC 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_e_t_return  TYPE BAPIRET2_T, "   
lv_i_flg_inupdatetask  TYPE BOOLE_D, "   
lv_e_rc  TYPE SY-SUBRC, "   
lv_i_t_condi_cd  TYPE FICO_TAS_CD_CONDI, "   
lv_i_t_pos_cd  TYPE FICO_TAS_CD_POS, "   
lv_i_t_pos_rel_cd  TYPE FICO_TAS_CD_POS_REL, "   
lv_i_t_cond_t_cd  TYPE FICO_TAS_CD_COND_T, "   
lv_i_langu  TYPE SPRAS, "   SY-LANGU
lv_i_t_pos_fobu_cd  TYPE FICO_TYP_TAB_FORMULA, "   
lv_i_flg_tech  TYPE BOOLE_D. "   

  CALL FUNCTION 'FICO_COND_SAVE_CHDOC'  "
    EXPORTING
         I_FLG_INUPDATETASK = lv_i_flg_inupdatetask
         I_T_CONDI_CD = lv_i_t_condi_cd
         I_T_POS_CD = lv_i_t_pos_cd
         I_T_POS_REL_CD = lv_i_t_pos_rel_cd
         I_T_COND_T_CD = lv_i_t_cond_t_cd
         I_LANGU = lv_i_langu
         I_T_POS_FOBU_CD = lv_i_t_pos_fobu_cd
         I_FLG_TECH = lv_i_flg_tech
    IMPORTING
         E_T_RETURN = lv_e_t_return
         E_RC = lv_e_rc
. " FICO_COND_SAVE_CHDOC




ABAP code using 7.40 inline data declarations to call FM FICO_COND_SAVE_CHDOC

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.

 
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_e_rc).
 
 
 
 
 
DATA(ld_i_langu) = SY-LANGU.
 
 
 


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!