cancel
Showing results for 
Search instead for 
Did you mean: 

SAPScript - PDF Conversion - with a Background job

Former Member
0 Kudos

Hi all,

I need to download an Invoice Script into the presentation server as a PDF file. There is a background job created for this. I have used the FM "GUI_DOWNLOAD" for this and i am getting a dump (Flushing Error). Can anyone suggest me any other FM which supports this scenario?

P.N: The Scenario for downloading to Application server is working fine for me.

Thanks and Regards

Selva

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Hi Selvakumaran,

That is not possible .Anysort of communication with the presentation server in Background is not possible.

YOu have to use application server only.

later yo ucan move that fiel to the presentation server using CG3Y transaction.

Regards,

Ravi

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Selva,

You can use this FM's,

CALL FUNCTION 'GET_JOB_RUNTIME_INFO'

CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'

to get the details and then convert to pdf later.

Hope this resolves your query.

Reward all the helpful answers.

Regards

Former Member
0 Kudos

Hi,

To run GUI_DOWNLOAD you will have to run the same in forreground coz your systems should be all time on to communicate to your presentation server.

The only option for that is you define a RFC destination but this is not suggestible.

Assign points if it helps.

-Gaurang