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: 

how to update the data from presentation server data via back ground process

Former Member
0 Kudos

Hi Gurus

I have a requirement updating the data in foreground its working fine,now my requirement is updating the data in background its not updating.

the flat file is excel format.its updating through BAPI,its working fine in foreground.can you please suggest me how to handle this issue.

Hemanth 

6 REPLIES 6

karun_prabhu
Active Contributor
0 Kudos

Hello Hemanth kumar.

     Which BAPI are you using?

Regards.

0 Kudos

Hi Arun

This is the bapi Name   BAPI_MATPHYSINV_COUNT .

0 Kudos

Hemanth Kumar,

     Did you write COMMIT WORK after calling this BAPI?

Regards.

raymond_giuseppi
Active Contributor
0 Kudos

I suppose your interactive program executes OLE statements (implicitly if not explicitly) so only works with an Excel task active on the workstation or at least use GUI functions not available in background.

So in background you have TWO problems :

  • Accessing the data -> use a tool like FTP
  • Converting Excel data to Abap data -> either convert the Excel folder into a flat type like csv or similar format /or/ use a tool like a abap2xlsx.

Regards,

Raymond

pruthviraz
Explorer
0 Kudos

Check this out .. similar thread

ALSM_EXCEL_TO_INTERNAL_TABLE | SCN

0 Kudos

Look at FM source, it uses OLE, so no use in background, and this (old) thread doesn't provide any solution. (Only the "Don't reward if not helpful!" is funny in the thread, the "assumed answered" status often means the opposite.)

Regards,

Raymond