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: 

'CVAPI_DOC_VIEW' will not copy file in BACKGROUND mode

former_member257859
Participant
0 Kudos

i run 'CVAPI_DOC_VIEW' interactive and it copies my .bmp file to the specified path (PF_FILENAME). But when I run the same code in BACKGROUND it does not work. Any ideas why this code will not work in BACKGROUND

CALL FUNCTION 'CVAPI_DOC_VIEW'

EXPORTING

pf_dokar = 'Z06'

pf_doknr = gs_drad-doknr

pf_dokvr = gs_drad-dokvr

pf_doktl = gs_drad-doktl

pf_appl_start = ' '

pf_apptp = '1'

pf_filename = '
LGCYPROD\FTP\outbounddev\ZLINK.BMP'

ps_file = ls_file

IMPORTING

pfx_file = l_pfx_file

EXCEPTIONS

OTHERS = 0.

Thanks

Gary

1 REPLY 1

Clemenss
Active Contributor
0 Kudos

Hi Gary,

isn't this in the FAQ's ?

Know the difference between online and background?

What can you see when you are in background?

Regards

Clemens