Functionality With this procedure, you can call up line items for a ledger of thegeneral ledger (prerequisite: totals table FAGLFLEXT or T881-GLFLEX =1). To do this, you have to enter the ledger (LEDGER), company code(COMPANYCODE), fiscal year (FISCALYEAR), and document number(DOCNUMBERFROM). By entering a second document number (DOCNUMBERTO), youcan select an interval of documents from which the corresponding lineitems are selected. By entering a document type (DOCUMENTTYPE) you canlimit this selection. The list of line items is provided in table ITEMSLIST. Fields in thistable are not taken into consideration, if they were included in NewGeneral Ledger Accounting by means of a customer include. TableEXTENSION1 is provided for displaying these fields. To do this, proceedas follows: A) Customer include CI_1028_INCLUDE1 is located in structureBAPI1028EXT_1. Here, you select the fields that you want displayed intable EXTENSION1. B) Maintain include zxx28u01 of user-exit exit_sapl1028_001. Assign eachfield ITEMS_LINE-ZZ* of structure GLU1 to the field CUSTOMER_FIELDS-ZZ*,which you have included in include CI_1028_INCLUDE1. (The entries inthis table are numbered for unique assignment of values in tablesITEMSLIST and EXTENSION1.) C) Create a project with the help of transaction CMOD and assignenhancement GLX1028 to the project. Activate the project. Description This table contains the return messages from the method call. Value range Type ID Number Text E GLBP 005 Ledger & not found E GLBP 004 Ledger & has no summary table GLFLEXT E GI 302 The from document number is larger than to to number E GI 309 Enter the document number E GI 346 Enter a fiscal year E GI 304 Ledger & not available for this use E GI 367 This function is not possible for ledger 0 E GI 344 Ledger & is not a local ledger E GI 345 Ledger & is not a global ledger E F5 165 Company code & cannot be used E GI 357 Error during call of function module & (transaction &,program &) E GI 358 No line items were selected E GU 444 No information was found S GLBP 009 Due to lack of authorization, & data records were nottransferred S GLBP 011 Due to lack of authorization, no data record (of &) isdisplayed Description This obligatory parameter is used for selecting the company code. Youcan find information about company codes in the data elementdocumentation for the company code>Description This required paramter specifies the document number>or the lower limit of the document number range for the data selection.Description This optional parameter identifies the to documentnumber> when using a document number range for data selection.Description This optional parameter allows you to select documents according todocument type>. If no value is entered, the selection isnot limited to a certain document type.Description This required parameter is used to select data from a specificfiscal year>.Description With this parameter, you select the ledger> for the dataselection.Description Values for customer-defined fields can be output using this table. Description The output of the selected totals records is carried out in tableITEMSLIST. Customer-defined fields are not taken into consideration. |