2010 Oct 02 4:09 AM
Dear Experts,
I have developed a BDC Program for transaction VA01, if there is change in price it shows warning message as 'Condition PR00 has been changed' and loose the control, at that time if click on enter it will regain the control and proceed further.
I have added an extra code for 'enter' but its not working, please share your ideas to fix this issue.
thanks in advance...
Venkat
2010 Oct 04 10:47 AM
Hi,
are u trying the bdc in foreground ? if yes check it in background i dont think there an extra code is required for that . And if you are trying it in background then make a new recording with the price value change and check whether the enter which u press at the time of warning message is captured then make changes accordingly .
But i think the existing logic will work, just comment the added code for enter which u have added and then run the bdc in background
Regards,
Madhukar Shetty
2010 Oct 05 8:26 AM
Hi Madhukar,
thanks for writing.
yes when I execute program in forground it shows warning message and looses the control.
If execute in background it will not create SO at all.
I tried to do recording for this case again but even while recording also it looses the control when I press enter then it will regain the control but that wont recorded.
Regards,
Venkat
2010 Oct 05 8:37 AM
HI,
Set a break point after the call transaction and set the mode in background and then check the return messages of the BDC .
check is it genarating the SO ... it ill be generating . Check with this if any issue then get back.
Regards,
Madhukar Shetty
2010 Oct 07 8:40 AM
Hi,
I kept breakpoint at message tab.
it is not creating SO but I found information in message tab as follows
DYNUMB = 4001
MSGTYP = W
MSGID = VG
MSGNR = 250
MSGV1 = PR00
ENV = CTU
FLDNAME = RV45A-KWMENG(01)
2010 Oct 15 10:38 AM
There was small mistake in program, I have fixed.
Thanks for the responses
2015 Sep 29 8:12 AM
Hello Gurus,
I am facing a similar situation.
Venkat, Would you mind sharing how was this solved in your case?
Regards,
Ben
2015 Sep 29 9:36 AM
Hi Martin,
IN BDC warning message are automatically handled if you run from backend. No need to write enter explicitly.
Thanks
Nishant