GJ_LEDGER_FROM_RWDOC_GIVE 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 GJ_LEDGER_FROM_RWDOC_GIVE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
GJRW
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'GJ_LEDGER_FROM_RWDOC_GIVE' "Sucht zu einem RW-Beleg die Ledger über GLIDXA
EXPORTING
* i_awtyp = SPACE " acchd-awtyp
i_awref = " acchd-awref
* i_aworg = SPACE " acchd-aworg
* i_awsys = SPACE " acchd-awsys
* i_bukrs = SPACE " accit-bukrs
* i_docnr = SPACE " glu1-docnr
IMPORTING
e_docnr = " glu1-docnr
e_ryear = " glu1-ryear
e_rldnr = " glu1-rldnr
e_bukrs = " t001-bukrs
* TABLES
* t_glidxa = " glidxa
EXCEPTIONS
NO_DOCUMENT = 1 "
NO_DOCUMENT_SELECTED = 2 "
. " GJ_LEDGER_FROM_RWDOC_GIVE
The ABAP code below is a full code listing to execute function module GJ_LEDGER_FROM_RWDOC_GIVE 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_docnr | TYPE GLU1-DOCNR , |
| ld_e_ryear | TYPE GLU1-RYEAR , |
| ld_e_rldnr | TYPE GLU1-RLDNR , |
| ld_e_bukrs | TYPE T001-BUKRS , |
| it_t_glidxa | TYPE STANDARD TABLE OF GLIDXA,"TABLES PARAM |
| wa_t_glidxa | LIKE LINE OF it_t_glidxa . |
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_docnr | TYPE GLU1-DOCNR , |
| ld_i_awtyp | TYPE ACCHD-AWTYP , |
| it_t_glidxa | TYPE STANDARD TABLE OF GLIDXA , |
| wa_t_glidxa | LIKE LINE OF it_t_glidxa, |
| ld_e_ryear | TYPE GLU1-RYEAR , |
| ld_i_awref | TYPE ACCHD-AWREF , |
| ld_e_rldnr | TYPE GLU1-RLDNR , |
| ld_i_aworg | TYPE ACCHD-AWORG , |
| ld_e_bukrs | TYPE T001-BUKRS , |
| ld_i_awsys | TYPE ACCHD-AWSYS , |
| ld_i_bukrs | TYPE ACCIT-BUKRS , |
| ld_i_docnr | TYPE GLU1-DOCNR . |
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 GJ_LEDGER_FROM_RWDOC_GIVE or its description.
GJ_LEDGER_FROM_RWDOC_GIVE - Sucht zu einem RW-Beleg die Ledger über GLIDXA GJ_JVA_REGENERATE_VALID - GJ_JVA_REGENERATE_SUBST - Regenerates substitution usage GJ_IR_GR_CONNECT - Tools for Jont Venture GJ_GR_IR_SELECT - List G/R and I/R for a JVSO1 line item record GJ_GET_COMPANY_CODE_FOR_AUTH - Get company code with authorization check