Skip to Content
Former Member
Feb 10, 2010 at 12:57 PM

POSTING_INTERFACE_CLEARING - clear two documents



I need to create a new program that should be able to clear two documents by comparing the ASSIGNMENT filed of the payment document (DZ) against the REFERENCE field of the installment invoice (II).

I can do this via batch input in FB05 (choosing open item -> Select Document Number in Radio Button -> Enter Account -> Click Process Open Items -> Enter Document Numbers -> Post).

However, I came across the FM POSTING_INTERFACE_CLEARING and tried to use it. Unfortunately, I was not successful in using this to clear the items that I need to clear.

Do you think I can use the said FM for clearing two open items to produce one clearing doc using the document number?

Can you please provide sample code if you have one?

Thank you very much in advance for your inputs.

Best regards.