Application Development and Automation 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: 
Read only

POSTING_INTERFACE_CLEARING - clear two documents

Former Member
0 Likes
1,156

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
Read only

Former Member
0 Likes
799

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.

Read only

0 Likes
799

Can anyone help with this? Thank you very much.

Read only

0 Likes
799

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