My requirement is like this.
The program would post FI document through calling transaction F-02 for each valid row. If any posting fails, the program would generate BDC session carrying the incorrect postings. (The program would output the FI document number in green for each successfully-posted row, and Posting Failed in yellow for each valid row but failing in posting.).
I need the coding part of the above functionality.
Thanks in advance,