I have a requirement where we run Payment Program(F110) country wise. For
example say all company codes in DE country and with EUR currency in one
When I run payment run, I need to check for that vendor across all DE
company codes whether I have any debit balance? if there is debit balance
after summing up in all company codes, then that vendor should get blocked
in all company codes and even the documents selected in current payment run
should not get paid. The idea is thta after paying the documents in the
current run, the vendor should not have a debit balance in his account.
Now, I am using BTE 1820 for this. the logic that was used till now was
not correct so now we wnat to chnage the logic in this BTE with what I have
My Question is, I need to take all documents that are green in the current
proposal in the current run and then go to table BSIK, take all open items
for that vendor MINUS
all documents that were green in the proposal. So how do I get green items
in proposal? The ABAPER says, he cannot get what is green in the proposal
Based on the requirement mentioned , kindly note that if the payment method mentioned at country level is outgoing payment then while running the APP it will display the message as debit balance exist for that particular vendor and it will block the vendor from getting paid during F110 run. hence by comparing vendor and posting key at the line item level if the posting key with the debit indicator exist and the document type is (corresponding vendor invoice type) then the amount for those vendor item are totalled and it can be deudcted from the total amount of vendor credit balance .