I have been given excel sheet data with 1st line item with gl_account field & tax_code field filled and passing that entry into GLACCOUNT table and 2nd line item contains Vendor data filled and passing this entry into ACCOUNTPAYABLE table. The 1st line item derives multiple line items and passed them into ACCOUNTTAX table.
Now,
glaccount table has --->1 entry
accountpayable--->1 entry
taxaccount table --->2 entries
currencyamount table --> 4 entries( all the entries clubbed together) and passed them to BAPI_ACC_DOCUMENT_POST. along with document header and customercpd structures. But unable to find the derived line entries in BSEG table after committing the BAPI.