Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC Question ...

Former Member
0 Likes
536

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

3 REPLIES 3
Read only

Former Member
0 Likes
502

This is something your program has to anticipate and plan for.

No easy way.

Rob

Read only

madhu_vadlamani
Active Contributor
0 Likes
502

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.

Read only

deepak_dhamat
Active Contributor
0 Likes
502

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.