Application Development 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: 

I have encountered a peculiar problem in MM01 material master upload.

Former Member
0 Kudos

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'.

5 REPLIES 5

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

Hi Raghu

GUI_upload will not work in background mode... u need to replace it with WS_upload to make it work in background...

former_member212653
Active Contributor
0 Kudos

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.