Application Development 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: 

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

0 Kudos

Dear all

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

1 ACCEPTED SOLUTION

Chintu6august
Contributor
0 Kudos

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

Chintu6august
Contributor
0 Kudos

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!!

0 Kudos

Ok...thanks

former_member182550
Active Contributor
0 Kudos

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

Rich

0 Kudos

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

0 Kudos


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