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: 

Problem in BDC for VA01

Former Member
0 Kudos
192

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

7 REPLIES 7

Former Member
0 Kudos
127

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

0 Kudos
127

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

0 Kudos
127

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

0 Kudos
127

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)

Former Member
0 Kudos
127

There was small mistake in program, I have fixed.

Thanks for the responses

0 Kudos
127

Hello Gurus,

I am facing a similar situation.

Venkat, Would you mind sharing how was this solved in your case?

Regards,

Ben

0 Kudos
127

Hi Martin,

IN BDC warning  message are automatically handled if you run from backend. No need to write enter explicitly.


Thanks

Nishant