cancel
Showing results for 
Search instead for 
Did you mean: 

trigger adobe form in update task

kjyothiraditya
Participant
0 Kudos

Hi,

I need to attach a billing doc o/p to shipment while its being printed using Adobe form. Right now setting GETPDF = 'X' is working, but stops the print preview or the actual .print. Instead thinking of calling the same form in update task so that this time we call the form with GETPDF = 'X' and then attach this. Do you think this is a feasible solution as FP_JOB_OPEN and FP_JOB_CLOSE in update task ? Or do you have any other alternative ?

Sandra_Rossi
Active Contributor
0 Kudos

Producing form output during the update task is correct (even frontend printing is meant to work in that context), it's also okay for Adobe Forms.

kjyothiraditya
Participant
0 Kudos

The print program is a standard program while the form is a custom Adobe form. We need to print as well as get the pdf data. To get pdf data, have to enable getpdf flag without which we will not be getting any pdf data. to set this, we need to do in standard program and it might affect the existing print. So should we can convert it to custom driver program or retrigger the output again using implicit enhancement. Please kindly advice.

Regards,

Aditya

kjyothiraditya
Participant
0 Kudos

tried "in update task" but it is giving sm13 dump . is it bcos we ar calling another update fm in update task ?

Sandra_Rossi
Active Contributor

Easy to check, one minute... the doc says:

If the statement is executed during the update task, the addition
IN UPDATE TASK is ignored.

What says the short dump?

Accepted Solutions (0)

Answers (1)

Answers (1)

BiberM
Active Participant

In my opinion instead of get_pdf the Archive Mode should be Set to "print and Archive" . That way you will get the PDF back. This setting is on the print Popup, get_pdf is not. Additionally Letter is ignored by the print job sometimes.

kjyothiraditya
Participant
0 Kudos

i think this used to work with old scripts and smartforms, but now for Adobe forms not sure if this works. Bcos i dont see any getpdf being set during archiving. If getpdf is set, it doesnt let u print preview or print it or generate spool. pls advice.