I am developing an ALV report, wherein the requirement is i have many columns but out of which i have 3 major columns, 1 column is for Invoice Amount(wherein i am able to pick the wrbtr data of bseg) and 2nd colums in pmt made by customer(editable column) and 3rd is pending payment(1st col-2nd column).
This report is basically for collection recevied from customer, when end user enters the data in pmt recvd then automatically my 3rd colm is getting updated and if the complete pmt is recvd then the record will be deleted from BSID table.( i am able to acheive till here).
But at the same time a new record should be automatically created in the BSAD and it will automatically create a new row in BSEG table.
Please let me know, how to acheive this, do i need to used bapi BAPI_ACC_Document_Post to update the BSAD and BSEG table.
Edited by: Matt on Aug 22, 2011 7:59 AM