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: 

BDC Error

Former Member
0 Kudos

I am creating a BDC session for Tcode CA02 . I have to update the routings operations for materials.

I recorded the steps and created bdc for the screens.

When i select a routing , Go to change it and then click back , a screen comes up where i dont need to fill any data. Now when i do the recoring that screen is also shown in recording .

I created the bdc program including that screen . But when I got to process the session it says :

No batch input data for screen SAPLCPDA 1200 ( This 1200 is the screen that pops up when i go back after changing the routing operation to the routing screen ) . It does not pops up when I select a routing to change .

What can be the reason and how can i solve this ?

Thanks

5 REPLIES 5

varun_maharshi
Active Participant
0 Kudos

Sometimes the screen flow will be different according to the configurations.

You can delete the lines of code from the recording which handles the screen.

delete from the the

perform bdc_dynpro using 'SAPLCPDA' '1200' to next screen. If the problem still persists you need to catch the functional people to know about the screen flow

Former Member
0 Kudos

hi tammana,

sometimes it happens like that, after recording u will be generating the program for that in that delete the

perform bdc_dynpro SAPLCPDA 1200.

and see.

0 Kudos

Hi ,

Thanks for the replies.

I removed the code for 1200 screen in my program , but still it gives the same error .

When i run the session in foreground :

First Screen : enter matnr and plant , press enter.

Second screen : Two routings for material displayed . I select one . Press Operations.

Third Scree : The operation edit screen comes , i modify and press back .

Now , the Screen 1200 comes . This screen didnt come when i was navigating to the operations screen . Here it gives the error : No batch input data for screen SAPLCPDA 1200.

I removed the code , still this error is coming ?

0 Kudos

Tamanna,

If you are getting that error means, somewhere you in the screen flow you are missing something. There are some hit and trial methods I can tell you but I am not sure whether they will work or not.

One more thing is just go the 'field list' in the session log and check how are the screen fields are getting populated and in what sequence. You can find out.

Options:

1. Try to hit 'save' instead of 'back' and then click 'back'.

2. Try to insert a new line in the screen processing for 'enter' after the 1200 screen.

3. The best thing is catch a functional guy, and go through the screen flow along with him.

If still you get this error, then paste the whole code in this forum. May be someone should be able to help u.

Thanks,

Former Member
0 Kudos

Hi,

There is an addition OPTIONS FROM available with CALL TRANSACTION. Here you need to pass a structure of type CTU_PARAMS. This has a field NOBINPT. Set this to 'X'. This makes the transaction behave in background the same was as it does in foreground. This might help.

Deepak