Error while executing a BDC for Tr. ME22N in Background Mode

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: thx4allthefish, Snowy, CHC, YuriT, Gothmog, RosieBrent

Error while executing a BDC for Tr. ME22N in Background Mode

Postby anbalagan_v on Thu Jan 11, 2007 3:06 am

Hi All,

I am using a report to update confirmation control in ME22N through BDC.
If i run the report in foreground it works fine and the conf contrl has been updated. But while running the report in Background mode(Program->Execute in Background) record has not been updated and spool is created with the below error Msg.

Unable to initialise ABAP Control
Control Framework: Fatal error -
Runtime error RAISE_EXCEPTION has occured


Please can you help to overcome this and thanks in advance.

Regards,
Anbalagan

anbalagan_v
 
Posts: 52
Joined: Wed Apr 28, 2004 5:42 am
Location: Bangalore, India

Postby Bipin on Thu Jan 11, 2007 3:36 am

ME22N being enjoy transaction, is not suitable for BDC. Also, it uses some frontend controls, which are not available in background mode.
Use BAPI_PO_CHANGE, which works nice.
In case you must use BDC, use transaction ME22.
Bipin
 
Posts: 203
Joined: Mon Oct 21, 2002 5:50 am
Location: Phoenix


Return to ABAP

Who is online

Users browsing this forum: No registered users and 0 guests