Application Development and Automation 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: 
Read only

error in background processing

Former Member
0 Likes
577

Hi all,

I have created a bdc for mm01 transaction using call transaction method. When i submit in background i'm getting an error, my input file cannot be processed. but while updating in fore-ground it is updating properly. how shall i solve this issue.

Regards,

Subbu.

5 REPLIES 5
Read only

Former Member
0 Likes
539

Please check if UR using any Gui_download/Gui_upload

FM's in your program ...

Read only

Former Member
0 Likes
539

Hi,

IN background we dont have the presentation server hence the input while will not be uploaded.

So for background processing you need to have the file in the SAP presentation server ( Transaction AL11 ) adn then read it from there..

Hope this will be of help.. Reward Points!!!!!!!

Read only

Former Member
0 Likes
539

Hi,

1. Check that in CALL TRANSACTION statement MODE should

be 'N'.

2. Might be you are uploading the data by using FM

WS_UPLOAD or GUI_UPLOAD.Backgrouind these FM never work.

Read only

Former Member
0 Likes
539

HI Subramanian,

Instead of BDC, try using function module MATERIAL_MAINTAIN_DARK. It can do everything what MM01/MM02 do

Read only

0 Likes
539

I would suggest you to use BAPI method to create material master instead of BDC method, BAPI is faster. You can use BAPI_MATERIAL_SAVEDATA, the function is same like MM01.