Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

POSTING_INTERFACE_CLEARING - clear two documents

Former Member
0 Kudos

Hi,

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.

Brando

3 REPLIES 3

Former Member
0 Kudos

Please be informed informed that the invoice and payment are already present in table BSID. I would just need to clear them in my custom program. Thanks.

0 Kudos

Can anyone help with this? Thank you very much.

0 Kudos

Any luck on this one... If you have can please post how you did this one.