03-06-2008 12:27 PM
I have encountered a peculiar problem in MM01 material master upload. The
BDC program uploads data using Session method. The problem is when i
process the session in foreground mode the data uploads successfully, but
when i process it in background mode it gives the following errors in the
log.
'Control Framework: Fatal error - GUI cannot be reached'.
'Runtime error RAISE_EXCEPTION has occurred'.
05-20-2008 8:35 PM
Hi Diva Reddy,
I got error when I upload material matser data through background.
When I searched SAP forum, I found similar error you got two months back. hope you resolve this issue.
Could you pls explain how you resolve this issue.
This is vert urgent.
Thanks in advance
Raghunatha Reddy
05-20-2008 8:41 PM
hi check this ..for upload you may be used the function module gui_uplod which did not work in the back ground..use the open data set..
regards,
venkat
05-20-2008 8:52 PM
Hi Venkat,
This is for your information,
The data is comming from memory ID. Initially I am using GUI_UPLOAD only. After uploading data to internal table I am exporting internal table and passing data to some other progarm and executing in background.
pls help me.
Thanks in advance
Regards
Raghu
05-20-2008 10:34 PM
Hi Raghu
GUI_upload will not work in background mode... u need to replace it with WS_upload to make it work in background...
05-20-2008 8:45 PM
I think you have BDC recorded a Long Text container area(Like purchase order text or sales order text).They are dynpro elements taking some properties from desktop and can't be processed during background mode.
so better try BAPI for material master upload as:
BAPI_MATERIAL_SAVEDATA
and use FM: SAVE_TEXT to upload long text.