‎2007 May 23 9:07 PM
I was told by a post here that I could disable the GUI for a program (ME22) so that I could run a background BDC program. Has anyone done it and how is it done?
Thanks
Mike
‎2007 May 23 9:12 PM
All BDC are run in background....
If you want to hide a screen...You should use GuiXT...
Greetings,
Blag.
‎2007 May 23 9:12 PM
All BDC are run in background....
If you want to hide a screen...You should use GuiXT...
Greetings,
Blag.
‎2007 May 23 9:40 PM
Thanks, how do you use GuiXT to hide a screen? I may need the screen. The BDC runs fine in the foreground, it just has problems in the background. Also, I am running transaction ME22 and not ME22N.
Thanks
Mike
‎2007 May 23 9:44 PM
Sorry...I have never used GuiXT -:(
You can debug you background process by using JDBG just like you can debug a program using /H
Hope that helps -;)
Also, try to run the batch using A mode...Maybe your missing an "ENTER" code....."/00"....
Greetings,
Blag.
‎2007 May 23 9:50 PM
I have run it with the mode 'A' and all of the screens are fine. When I run the ABAP program that runs the BDC for ME22 in the foreground there are no errors and it updates everything fine. When I run it in the background I get the following error.
<b>Control Framework: Fatal error - GUI cannot be reached
Runtime error RAISE_EXCEPTION has occurred</b>
FYI - The Bapi that could be used does not work for the types of PO's I am running which is why I have to use the BDC.
Thanks
‎2007 May 23 9:56 PM
Hummm.....It seems to me that the Batch is doing some kind of off-line process....A similar error can be found when doing RFC applications that run background process...For example GUI_DOWNLOAD....
I don't really know how you can fix that error.....Hope someone else can give you a hand on this....
Greetings,
Blag.
‎2007 May 23 9:27 PM
Have you checked your program to make sure that nowhere are you running ME22N?
Rob