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

in bdc coding error message comes "function code cannot be selected"

Former Member
0 Likes
1,333

Dear all

i am getting error message as "function code cannot be selected " in bdc program run, please help in this

1 ACCEPTED SOLUTION
Read only

Chintu6august
Contributor
0 Likes
1,080

Hello,

"function code cannot be selected " this means the OK_CODE that you are passing to the internal table of BDCDATA is not not correct.

thank you!!

5 REPLIES 5
Read only

Chintu6august
Contributor
0 Likes
1,081

Hello,

"function code cannot be selected " this means the OK_CODE that you are passing to the internal table of BDCDATA is not not correct.

thank you!!

Read only

0 Likes
1,080

Ok...thanks

Read only

Former Member
0 Likes
1,080

Also - have you searched for a Bapi to do the same job ?

Rich

Read only

0 Likes
1,080

Not searched for a bapi, i found the doubt on recording , so i requested to make it record again , then my code succesfully executed.

Read only

0 Likes
1,080


Yes, but in the majority of cases, BDC's are depreciated and BAPI's should be used. Then you don't get the problems with things like resolution, date and number formats, table controls etc etc. You also do not run into the problem of having to figure out function codes as you have here.


Rich