2013 Jul 01 10:48 AM
Hi All,
An Invoice is created for vendor liability via FB60 and advance paid through (f-48) .
thereafter, they do vendor clearing through F-44.
Example
vendor - 200015
Doc No Amount
1900000258 10000-
1500000051 1000
once vendor clearing BAPI runs new account should be created with liability of Rs. 9000/= .
Can you please provide a suitable BAPI to meet this requirement?
Already i tried below BAPI's,and can not reach my requirement.
BAPI_AP_ACC_GETBALANCEDITEMS
BAPI_AP_ACC_GETCURRENTBALANCE
BAPI_AP_ACC_GETKEYDATEBALANCE
BAPI_AP_ACC_GETOPENITEMS
BAPI_AP_ACC_GETPERIODBALANCES
Thanks in advance,
Rehan
2013 Jul 01 11:01 AM
Hi Rehan,
You can use FM POSTING_INTERFACE_CLEARING.
Sample code for the same can be found by google... but here is a reference
https://scn.sap.com/thread/141266
Hope it helps.
BR
2013 Jul 01 11:05 AM