Application Development and Automation 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: 
Read only

Warning message is causing a problem in my BDC update

ABAPMarty
Participant
0 Likes
3,988

Hi All,

I would appreciated some advice. There is a warning message causing me problems during a BDC update. When I go into an order operation in change mode I want to:

1. Go into "Requirements Assignment".

2. Uncheck the checkbox: "Only from w/p".

3. Enter a number in the "Person" field.

4. Enter a number in the "Work" field.

5. Do steps 3&4 multiple times, while pressing "Enter" between.

6. Save.

When I go into BDC mode "A" It will run until I enter a person that throws a warning message: "The selected person is not qualified". But the cursor disappears. The popup box which contains the function codes just disappears so I can't carry on with the BDC.

When processing in dialogue mode I would simply press enter and continue my work but in the BDC because the popup box disappear I cannot do this. Any advice on how to get past this issue would be greatly appreciated.

Thanks.

Regards, Martin.

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,704

Did you perform your recording "simulating background mode", often the screen flow changes.

Regards,

Raymond

12 REPLIES 12
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
3,704

Hello

The moment you get a warning during recording just simply press enter as you do  normally. Everything will be recorded.

Thanks

Nabheet

Read only

0 Likes
3,704

Hi Nabheet,

This is not during the recording. I am talking about during BDC execution from a function module.

The warning message only occurs intermittently. I have added in an extra "enter" in the BDC and that has not helped and did not solve the problem. As discussed when I execute in "N" mode it doesn't add the record and in "S" mode the popup box disappears so I cannot carry on with execution.

Thanks.

Regards, Martin.

Read only

0 Likes
3,704

Hello Martin

So when the message will come that is not clear and an extra enter is not helping..okay!

What actually are you trying to achieve and which tocde it is?  Using a BAPI/FM etc will be better choice.

Thanks

Nabheet

Read only

0 Likes
3,704

I am adding some records to the requirements assignment of an order operation. We looked for a FM/BAPI to do the job but could not find anything which is why we eventually opted for a BDC.

Regards, Martin.

Read only

0 Likes
3,704

Sorry I should have mentioned this is in transaction code IW32.

Regards, Martin.

Read only

Former Member
0 Likes
3,704

Sometime it is required to re-arrange bdc_dynpro & bdc_field if auto-recording does not help.

Read only

0 Likes
3,704

The recording is done, re-arranged and running in a function module but this is the obstacle I am encountering. When in "N" mode it does not execute successfully and when in "A" mode the warning message makes the popup box containing the function codes disappear so I cannot continue which is what I am assuming makes the update fail in "N" mode.

Regards, Martin.

Read only

0 Likes
3,704

You need to call specific dynpro before or after warning message then need to call a command.

if possible share your code.

Read only

0 Likes
3,704

Hi Avirat, I had to attach my code to this post as it would not let me paste it in which I thought it a bit strange.

Any advice will be welcome.

As you will see right near the end, just above the "endloop" statement is an extra "enter" statement to try and get past the message. That part is not working.

Thanks.

Regards, Martin.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,705

Did you perform your recording "simulating background mode", often the screen flow changes.

Regards,

Raymond

Read only

0 Likes
3,704

Hi Raymond,

I re-recorded using the "simulating background mode" and this section came in as new with function code "=BDZO". I haven't seen this function code before, do you recognise it?

Thanks.

Regards, Martin.

Read only

0 Likes
3,704

As I wrote many transactions adapt themselves for background processing, and, No I don't recognize this code, I switched to BAPI_ALM_ORDER_MAINTAIN for a long time now

Regards,

Raymond