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: 

I am struck into BDC

Former Member
0 Kudos

Hello,

I am struck into bdc..i did the recording and created the excel file . In one screen the data from excel is not hitting the field target of the trandaction.

When i am pressing F1 there automatically all the data from excel get come there.

What i presume is that i need to add BDC code for F1 into the program.

What is the OKCODE FOR F1 ,if my presumption is right.

Otherwise please suggest what is exactly wrong.

Thanks

Mave

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I think you are missing one BDC OKCODE value, that might be reason that it is breaking the screen flow. You are running your BDC in which mode? try to run in mode 'A' then check when that particular screen is come for which data is not populated whether you are able to see the OK CODE dialog box or not? if not then definetely one ok code flow logic is missing in your program.

4 REPLIES 4

Former Member
0 Kudos

I think you are missing one BDC OKCODE value, that might be reason that it is breaking the screen flow. You are running your BDC in which mode? try to run in mode 'A' then check when that particular screen is come for which data is not populated whether you are able to see the OK CODE dialog box or not? if not then definetely one ok code flow logic is missing in your program.

Former Member
0 Kudos

hi,

explain bit brief, you want ok code for f1 or F4

sasi

former_member221770
Contributor
0 Kudos

Mave,

Do you mean you are pressing F4 (get the drop down list of all the valid values)? F1 is for help, so I don't understand why you woule create a recording with a "F1" OKCODE.

Anyway, I am going to assume you pressed F4. Now you should not be hitting F4 and selecting a value from the drop down list in a recording. This is because one client may have 2 values, and another client may have 10 values to choose from.

You should be entering the value you want directly in the field during a recording.

Also when you said you did the recording, did you use transaction SHDB? If not, use SHDB to create your recording as in background SAP often uses a different screen sequence.

Hope this helps.

Cheers,

Pat.

Former Member
0 Kudos

Mave,

Can you be more specific over the problem you are facing.