Functionality This function supplies a list of all items currently open. The mainselections are business partner, contract account and contract. You canenter additional selections in the parameters "ValueSelections" and"AmountSelections". The items are converted to the clearing currency,provided this has been specified in the interface. Notes You can use this list in the BAPI "ClearOpenItems", once supplementedwith the clearing amounts. Description The function return code. If the parameters do not contain a messagecode, the method was successful. Value range The most important messages are as follows: E >BAPI 013 ... 018 Formal parameter error E >0 127 No authorization E >BAPI 008 Error during ISO conversion E B1 500 Error during ISO conversion E >4 >0 Error during import of open items Description If you fill this parameter, this currency is set in the open item asthe transaction currency and the amounts are converted to thetransaction currency. Description ISO code for the clearing currency. Description Date on which the conversion rate is looked for if the clearingcurrency is entered. Description If this indicator is set, the selected items remain locked. This isnecessary, for example, if you want to transfer items to the BAPIClearOpenItems>.Description Selections in addition to the main selections for currencies andamounts. If you do not enter amounts, only the currency is used as theselection. Selections with the same number are connected by "and",selections with different numbers with "or". Value range The following fields are supported: "CURRENCY", "CURRENCY_ISO", "AMOUNT", "CLRG_CURR", "CLRG_CURR_iso","AMOUNT_CLEAR", *"AMOUNT_LOC_CURR". Description As standard, only open items with no clearing restrictions areselected. If you also want to select open items with clearingrestrictions, you have to transfer these restrictions in the parameterClearingResctrictions>.Description Customer enhancements - export Value range Parameter for the transfer of customer-defined data. This data isautomatically transferred from the customer-defined enhancements of SAPtables as part of BAPI Table Extensions. Default BAPI table extension BAPI_TE_FKKCL exists for the structure BAPIDFKKCL. For more information, see the documentation for structure BAPIPAREX. Description Currencies for company codes. Table in which the local currency and, ifthey exist, the second and third local currencies, are returned foreach company code that has been created. Description The main selections for the items. You can select according to businesspartner, contract account and contract. You can enter additionalselections in 'VALUESELECTIONS' and 'AMOUNT SELECTIONS'. Theseadditional selections relate to the main selection with the sameselection number. You must enter at least one main selection, unlessyou select according to 'DOC_NO', 'REF_DOC_NO', 'PAYMENT_ADVICE','PAYMENT_FORM_NUMBER' or 'PAYMENT_FORM_REF'. Value range The number of the selection may not be zero. Notes If you wish to use several additional selections for a main selectionmeaning, you must enter this main selection several times withdifferent numbers. Description The table with the selected open items. This table contains all thedocument line item fields and also some additional fields for clearing.If the table contains no entries and the message code is not set, thenno items were selected. Generally, the transaction currency of the item is taken from thedocument. However, if conversion is required, the clearing currency isset as transaction currency and the original transaction currency iscopied into the document currency of the open item. All amountsinvolved are converted. Description Additional selections for the main selection. For every selection youmust enter the field name and one or two values. Selections with thesame number are connected with an 'and', those with different numberswith an 'or'. You cannot use fields with currency or amount here. Youcan only use a field once with the same selection number. Value range The following fields are supported: *'DOC_NO', *'REF_DOC_NO', *'PAYMENT_ADVICE', *'PAYMENT_FORM_NUMBER',*'PAYMENT_FORM_REF', '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'. You cannot use intervals as a selection criterion with the selectedfields. |