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

bdc

Former Member
0 Likes
550

hi gurus

it is very urgent issue to me plzz solve this issue i will give u full marks to u

can we use the functional module GUI_UPLOAD in the BDC baground process

advanced Thanks.

sivaji.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
529

Hi

NO

We should not use the GUI fun modules like GUI_UPLOAD/DOWNLOAD in background

they don't work

Reward points for useful Answers

Regards

Anji

Message was edited by:

Anji Reddy Vangala

6 REPLIES 6
Read only

Former Member
0 Likes
530

Hi

NO

We should not use the GUI fun modules like GUI_UPLOAD/DOWNLOAD in background

they don't work

Reward points for useful Answers

Regards

Anji

Message was edited by:

Anji Reddy Vangala

Read only

Former Member
0 Likes
529

Hi Sivaji,

GUI_UPLOAD and GUI_DOWNLOAD can only work in the foreground. The reason for this is that they use some code which reside on the frontend PC. A background process knows nothing of the PC connected thru SAPgui. In order to "download" data to files, you must write the files to the application layer using OPEN DATASET, TRANSFER DATASET, CLOSE DATASET.

<b>*Reward points</b>

Regards

Read only

Former Member
0 Likes
529

Hi,

GUI upload doesnot supports background processing.

see the code on line 57 inside GUI_UPLOAD.

  • Batch mode is not supported

IF sy-batch = 'X'.

MESSAGE ID 'FES' TYPE 'E' NUMBER '002' RAISING NO_BATCH.

ENDIF.

if you are ulploading from excel file,

use ALSM_EXCEL_TO_INTERNAL_TABLE FM

Reward points if it is helpful..

Regards,

Omkar.

Read only

Former Member
0 Likes
529

Hi Sivaji,

When u use session method ...GUI_UPLOAD wil fail because system wil lose the connectivity with the GUI....

Read only

Former Member
0 Likes
529

hi sivaji,

i think we can use it.

cheers..

ram

Read only

Former Member
0 Likes
529

Hi sivaji,

Did you check my solution?

Regards