For the last few days, was searching for a query on SDN on the subject matter, but didn’t find any. Finally solved with simple change. Would like to share the same.
For the POSTING_INTERFACE_CLEARING, when populating FTPOST table we will fill most of the fields (FTPOST–FNAM) as ‘BKPF-XXXX’ or ‘BSEG-XXXXX’ for header and line item details respectively. But there are some special fields, which we need to refer as structure instead of transparent table.
One of them is KOSTL, Cost Center and Even Profit Center, PRCTR.
We should map these fields as ‘COBL-KOSTL’ not ‘BSEG-KOSTL’.
Refer to Code Sample : https://scn.sap.com/docs/DOC-42597 for basic mapping.