FAGL_FSVPOS_2_FAGL011_CONVERT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name FAGL_FSVPOS_2_FAGL011_CONVERT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FAGL_FSV
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FAGL_FSVPOS_2_FAGL011_CONVERT' "
EXPORTING
i_client = SYST-MANDT " syst-mandt System, Client Number from Logon
i_versn = " t011-versn Financial Statement Version
* i_no_tree = " boole_d
IMPORTING
e_check_necessary = " boole Boolean Variable
* TABLES
* it_x011f = " rf011f Financial statement item - functional area
* it_x011p = " rf011p Items in the Financial Statement
* it_x011s = " rf011s Financial Statement Item Allocation - Set Name
* it_x011v = " rf011v Item Change after Balance Change
* it_x011z = " rf011z Assignment of Balance Sheet Line Item to Account
* et_fagl_011fc = " fagl_011fc Fin. Statement Structure: Assignment FS Item - Funct. Areas
* et_fagl_011pc = " fagl_011pc Fin. Statement Structure: Items in Fin. Statement Structure
* et_fagl_011sc = " fagl_011sc Fin. Statement Struct.: Assignment Fin. Stmnt Item: Setname
* et_fagl_011vc = " fagl_011vc Fin. Statement Structure: Contra Items
* et_fagl_011zc = " fagl_011zc Fin. Statement Structure: Assignment FS Items - G/L Account
. " FAGL_FSVPOS_2_FAGL011_CONVERT
The ABAP code below is a full code listing to execute function module FAGL_FSVPOS_2_FAGL011_CONVERT including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_check_necessary | TYPE BOOLE , |
| it_it_x011f | TYPE STANDARD TABLE OF RF011F,"TABLES PARAM |
| wa_it_x011f | LIKE LINE OF it_it_x011f , |
| it_it_x011p | TYPE STANDARD TABLE OF RF011P,"TABLES PARAM |
| wa_it_x011p | LIKE LINE OF it_it_x011p , |
| it_it_x011s | TYPE STANDARD TABLE OF RF011S,"TABLES PARAM |
| wa_it_x011s | LIKE LINE OF it_it_x011s , |
| it_it_x011v | TYPE STANDARD TABLE OF RF011V,"TABLES PARAM |
| wa_it_x011v | LIKE LINE OF it_it_x011v , |
| it_it_x011z | TYPE STANDARD TABLE OF RF011Z,"TABLES PARAM |
| wa_it_x011z | LIKE LINE OF it_it_x011z , |
| it_et_fagl_011fc | TYPE STANDARD TABLE OF FAGL_011FC,"TABLES PARAM |
| wa_et_fagl_011fc | LIKE LINE OF it_et_fagl_011fc , |
| it_et_fagl_011pc | TYPE STANDARD TABLE OF FAGL_011PC,"TABLES PARAM |
| wa_et_fagl_011pc | LIKE LINE OF it_et_fagl_011pc , |
| it_et_fagl_011sc | TYPE STANDARD TABLE OF FAGL_011SC,"TABLES PARAM |
| wa_et_fagl_011sc | LIKE LINE OF it_et_fagl_011sc , |
| it_et_fagl_011vc | TYPE STANDARD TABLE OF FAGL_011VC,"TABLES PARAM |
| wa_et_fagl_011vc | LIKE LINE OF it_et_fagl_011vc , |
| it_et_fagl_011zc | TYPE STANDARD TABLE OF FAGL_011ZC,"TABLES PARAM |
| wa_et_fagl_011zc | LIKE LINE OF it_et_fagl_011zc . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_check_necessary | TYPE BOOLE , |
| ld_i_client | TYPE SYST-MANDT , |
| it_it_x011f | TYPE STANDARD TABLE OF RF011F , |
| wa_it_x011f | LIKE LINE OF it_it_x011f, |
| ld_i_versn | TYPE T011-VERSN , |
| it_it_x011p | TYPE STANDARD TABLE OF RF011P , |
| wa_it_x011p | LIKE LINE OF it_it_x011p, |
| ld_i_no_tree | TYPE BOOLE_D , |
| it_it_x011s | TYPE STANDARD TABLE OF RF011S , |
| wa_it_x011s | LIKE LINE OF it_it_x011s, |
| it_it_x011v | TYPE STANDARD TABLE OF RF011V , |
| wa_it_x011v | LIKE LINE OF it_it_x011v, |
| it_it_x011z | TYPE STANDARD TABLE OF RF011Z , |
| wa_it_x011z | LIKE LINE OF it_it_x011z, |
| it_et_fagl_011fc | TYPE STANDARD TABLE OF FAGL_011FC , |
| wa_et_fagl_011fc | LIKE LINE OF it_et_fagl_011fc, |
| it_et_fagl_011pc | TYPE STANDARD TABLE OF FAGL_011PC , |
| wa_et_fagl_011pc | LIKE LINE OF it_et_fagl_011pc, |
| it_et_fagl_011sc | TYPE STANDARD TABLE OF FAGL_011SC , |
| wa_et_fagl_011sc | LIKE LINE OF it_et_fagl_011sc, |
| it_et_fagl_011vc | TYPE STANDARD TABLE OF FAGL_011VC , |
| wa_et_fagl_011vc | LIKE LINE OF it_et_fagl_011vc, |
| it_et_fagl_011zc | TYPE STANDARD TABLE OF FAGL_011ZC , |
| wa_et_fagl_011zc | LIKE LINE OF it_et_fagl_011zc. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FAGL_FSVPOS_2_FAGL011_CONVERT or its description.