SAP FAGL_FSV_POS_UPDATE_GCD Function Module for UPdate GCD Revision Structure Item Data
FAGL_FSV_POS_UPDATE_GCD is a standard fagl fsv pos update gcd SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for UPdate GCD Revision Structure Item Data 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 fagl fsv pos update gcd FM, simply by entering the name FAGL_FSV_POS_UPDATE_GCD into the relevant SAP transaction such as SE37 or SE38.
Function Group: FAGL_FSV_GCD
Program Name: SAPLFAGL_FSV_GCD
Main Program: SAPLFAGL_FSV_GCD
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FAGL_FSV_POS_UPDATE_GCD 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 'FAGL_FSV_POS_UPDATE_GCD'"UPdate GCD Revision Structure Item Data.
EXPORTING
I_GCDDATE = "Fiscal Year
I_REPORTER = "GCD reporter
I_REVISION = "Version
* IT_GCDPC = "Fin. Statement Version: Items in Financial Statement Version
* IT_GCDVC = "Finanical Statement Version: Contra Items
* IT_GCDNC = "F/S Version: Technical Names for F/S Items
* IT_GCDTC = "Fin. Statement Version: Assignment of FS Items to G/L Accts
* IT_GCDDC = "Fin. Statement Version: Assignment of FS Items to G/L Accts
EXCEPTIONS
SAVE_ERROR = 1
IMPORTING Parameters details for FAGL_FSV_POS_UPDATE_GCD
I_GCDDATE - Fiscal Year
Data type: DATSOptional: No
Call by Reference: Yes
I_REPORTER - GCD reporter
Data type: FAGL_GCD_REPORTEROptional: No
Call by Reference: Yes
I_REVISION - Version
Data type: FAGL_GCD_REVISIONOptional: No
Call by Reference: Yes
IT_GCDPC - Fin. Statement Version: Items in Financial Statement Version
Data type: FAGL_T_GCDPC_VEROptional: Yes
Call by Reference: Yes
IT_GCDVC - Finanical Statement Version: Contra Items
Data type: FAGL_T_GCDVC_VEROptional: Yes
Call by Reference: Yes
IT_GCDNC - F/S Version: Technical Names for F/S Items
Data type: FAGL_T_GCDNC_VEROptional: Yes
Call by Reference: Yes
IT_GCDTC - Fin. Statement Version: Assignment of FS Items to G/L Accts
Data type: FAGL_T_GCDTC_VEROptional: Yes
Call by Reference: Yes
IT_GCDDC - Fin. Statement Version: Assignment of FS Items to G/L Accts
Data type: FAGL_T_GCDDC_VEROptional: Yes
Call by Reference: Yes
EXCEPTIONS details
SAVE_ERROR - Fehler beim Speichern auf die Datenbanktabelle
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FAGL_FSV_POS_UPDATE_GCD 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_i_gcddate | TYPE DATS, " | |||
| lv_save_error | TYPE DATS, " | |||
| lv_i_reporter | TYPE FAGL_GCD_REPORTER, " | |||
| lv_i_revision | TYPE FAGL_GCD_REVISION, " | |||
| lv_it_gcdpc | TYPE FAGL_T_GCDPC_VER, " | |||
| lv_it_gcdvc | TYPE FAGL_T_GCDVC_VER, " | |||
| lv_it_gcdnc | TYPE FAGL_T_GCDNC_VER, " | |||
| lv_it_gcdtc | TYPE FAGL_T_GCDTC_VER, " | |||
| lv_it_gcddc | TYPE FAGL_T_GCDDC_VER. " |
|   CALL FUNCTION 'FAGL_FSV_POS_UPDATE_GCD' "UPdate GCD Revision Structure Item Data |
| EXPORTING | ||
| I_GCDDATE | = lv_i_gcddate | |
| I_REPORTER | = lv_i_reporter | |
| I_REVISION | = lv_i_revision | |
| IT_GCDPC | = lv_it_gcdpc | |
| IT_GCDVC | = lv_it_gcdvc | |
| IT_GCDNC | = lv_it_gcdnc | |
| IT_GCDTC | = lv_it_gcdtc | |
| IT_GCDDC | = lv_it_gcddc | |
| EXCEPTIONS | ||
| SAVE_ERROR = 1 | ||
| . " FAGL_FSV_POS_UPDATE_GCD | ||
ABAP code using 7.40 inline data declarations to call FM FAGL_FSV_POS_UPDATE_GCD
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