Functionality This method delivers the account balance for Contract AccountsReceivable and Payable for the key date. You can enter the item type(open, cleared, statistical) and the key date in the "SelectionControl"parameter. You enter the main selections, business partner, contractaccount and contract in the "MainSelections" parameter. You can enteradditional selections for the items in the "ValueSelections" and"AmountSelections" parameters. Description Return code of the method. If the parameters do not contain a messagecode, then the method was successful. Value range The most important messages are as follows: E >BAPI 013 ... 018 Formal error in parameters E >0 127 No authorization E >BAPI 008 Error in ISO conversion E >4 F4 ... Error when reading account balance Description It is possible to choose the item type in this structure. Normally,only open items would be selected, but any other combinations can beentered here. If a key date is entered, the account balance from thatday will be constructed. Description Additional selections for the main selections of currencies andamounts. If you do not enter an amount, then the currency alone is usedas the selection. Selections with the same number are connected by"and", and selections with different numbers are connected with "or". Value range The following fields are supported: "CURRENCY", "CURRENCY_ISO", "AMOUNT", "CLRG_CURR", "CLRG_CURR_iso","AMOUNT_CLEAR", *"AMOUNT_LOC_CURR". Description The table with selected items. This table contains all fields from thedocument, as well as some additional fields. If the table contains nolines and the report code has not been set, no items will be selected. Description Parameters for transferring customer-defined data. This data isautomatically transferred to the customer enhancements of SAP tables aspart of the 'BAPI Table Extensions'. Value range For structure BAPIFKKOPSELTXT, there is a BAPI table extension,BAPI_TE_FKKOPSELTXT. Here you can transfer the selections according tothe fields that are not supported in the parameters VALUESELECTIONS andAMOUNTSELECTIONS. For more information, see the documentation for the structureBAPIPAREX. Description Parameters for transferring customer-defined data. This data isautomatically transferred from the customer-defined enhancements to SAPtables as part of the 'BAPI Table Extensions'. Value range BAPI table extension BAPI_TE_FKKEPOS is available for structureBAPIFKKEPOS. For more information, see the documentation for structure BAPIPAREX. Description Main item selections. Here you can select according to businesspartner, contract account and contract. The selection number connectsthe main selection with additional selections with the same number. Youmust enter at least one main selection. Description Additional selections for the items. For every selection you must enterthe field name, and one or two values. Selections with the same numbersare connected with 'and', different numbers are connected with 'or'.You cannot use fields with currencies or amounts. A field can be usedseveral times with the same selection number. Value range Only some fields are supported: 'DOC_NO', 'REF_DOC_NO', 'BUS_AREA', 'DOC_CAT', 'MAIN_TRANS','SUB_TANS', 'G_L_ACCT', 'STAT_KEY', 'DOC_DATE', 'POST_DATE','NET_DATE', 'DISC_DUE', 'DEFERRAL', 'GROUPING', 'CLEARDATE','CLEARDOCNO', 'CLEAR_REAS', 'REPET_GRP' 'COMP_CODE'. |