Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

FB01 BDC substitution problem


I wrote a batch program to transfer GL data from text file to SAP. It uses FB01.

Everything works fine except for some GL accounts that do not need cost center input. When such account inserted my program has an error

saying that there is no field 'COBL-KOSTL' in the form.

To fix the problem my program has to access substitution rule and either insert or not incert line: PERFORM bdc_field USING 'COBL-KOSTL' itab-kostl. "Cost center

Question: how to access substitution rules from ABAP program? Or may be I have to access basic set generated by substitution? Or may be any other way?

Thank you,


Former Member
Not what you were looking for? View more on this topic or Ask a question