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

Message:Function Code cannot be selected during BDC sessions

Former Member
0 Likes
1,328

we have a BDC program to record production versions for transaction C223 . And the logic is the required data is fetched from tables and used in BDC recording . the BDC recording is not happening if the tables doesnot have data .

we have some material numbers for which the select statements from required tables are failing and so BDC recording is not happening for the othe screens .

but the session is created . when we run the session in foreground, we are seeing the message" Function Code cannot be selected" after the c223 transaction appears .

Why is the message appearing . IS it because the BDC recording has not happend ?

thanks in advance

pavan

3 REPLIES 3
Read only

Former Member
0 Likes
742

Hi

The message is because of the function code (I suppose ok-code) is not available in that situation, but you should post the message and class number in order to give us more details.

Max

Read only

Former Member
0 Likes
742

This happens in recording such types of screens and as far as i am aware this will run in display errors mode.

Please check once.

Read only

Former Member
0 Likes
742

for run c223 in background mode, after you finished input your data, you must press enter before click the save button, otherwise, the bdc will failure.

the ok-code appeared in bdc command list should like this

***first, input material and plant then press enter

BDC_OKCODE    =ENTE

***then input your data and press enter

BDC_OKCODE    =ENTE

***last, press save button

BDC_OKCODE    =SAVE

I hope this will be helpful.