03-04-2007 8:02 AM
Hello Experts...
i have done a BDC to update data for VA02 ..... but.... after everything is updated it stops at a screen which propmts " Do u wish to continu" ( when i run it in 'E' mode)
the program executes fine in 'A' mode. the following is the log
<b>S<b> NO Batch Input for screen SAPLSP01 0500.
</b></b>
if i click on yes then the code executes fine and prompts again for the next record at end.
Please give me some idea how to handle this ..
Thanks
srinivas
03-04-2007 10:05 AM
Hi ,
Do the recording for VA02 In that when you get this message .
As this is pop-up window as a warning or information message so in the 'E' MODE it will stop and in A mode you would have the code of clicking YES button as a field SAPLSP01 0500 with a field as options = 'YES'. when calling BDC_FORM field
So if you run in E MODE it is bound to happen that it will ask the message .
Normally u run in A or N MODE.
Please reward if useful.
03-04-2007 3:15 PM
Hi Dinesh,...
actually when i m executing the code in A mode it executes fine as i press enter this Popup is passed.. however in 'N' it doesn't work at all.. the screen i mentioned does not have any Batch input screen number.. i also tried to add a piece of code for enter but it didn't work .. the screen i m talking about is a Question screen ...
Please help if possible.
Thanks & Regards
Srinivas
03-04-2007 5:16 PM
Hi,
I would suggest using the BAPI BAPI_SALESORDER_CHANGE instead of BDC..
Which field are you trying to update in VA02?
Thanks,
Naren