2016 Jan 25 1:58 AM
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.
2016 Jan 25 7:04 AM
2016 Jan 25 4:23 AM
Hello
The moment you get a warning during recording just simply press enter as you do normally. Everything will be recorded.
Thanks
Nabheet
2016 Jan 25 5:51 AM
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.
2016 Jan 25 5:55 AM
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
2016 Jan 25 6:58 AM
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.
2016 Jan 25 7:01 AM
Sorry I should have mentioned this is in transaction code IW32.
Regards, Martin.
2016 Jan 25 5:49 AM
Sometime it is required to re-arrange bdc_dynpro & bdc_field if auto-recording does not help.
2016 Jan 25 7:01 AM
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.
2016 Jan 25 7:12 AM
You need to call specific dynpro before or after warning message then need to call a command.
if possible share your code.
2016 Jan 25 9:00 PM
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.
2016 Jan 25 7:04 AM
2016 Jan 26 1:09 AM
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.
2016 Jan 26 7:00 AM