‎2011 Oct 14 2:00 AM
Hi guys,
When doing a BDC, may i know if there is a way to check if a field exists on a screen, so that my program will only populate that field if it exists. My current BDC program failed sometimes with the error message "XXX field does not exists in screen YYY". This is due to for some combinations of company_code and gl_account, the tax_code field is provided on the tcode F-05 screen for user entry. On the other hand, for some some other combinations of company_code and gl_account, the tax code field is not available on the screen as they don't require a tax code to be entered. Thanks in advance for your guidance!
gk
‎2011 Oct 14 2:20 AM
This is something your program has to anticipate and plan for.
No easy way.
Rob
‎2011 Oct 14 5:33 AM
Hi Gk,
In general if you go with bdc this is common ,because that combination of data will change.I suggest you check with bapi.
Regards,
Madhu.
‎2011 Oct 14 5:52 AM
Hi ,
You can Skip the value Assignment for tax code when taxcode is blank or not required in BDC using some condtion .
You have look out for how it assigns value to screen field which does not exist .
regards
Deepak.