cancel
Showing results for 
Search instead for 
Did you mean: 

How can i print xstring pdf file within the method My web application dynpro?

ronaldo_aparecido
Contributor
0 Kudos

Hello people.

How can i print xstring pdf file within the My web application dynpro. Looking at scn I found some tips like Open data set command (using ADS_SR_OPEN, ADS_GET_PATH, ADS_SR_CONFIRM And ADS_SR_CLOSE), I tried with the 'ADS_WRITE_TO_FILE',

I tried with the ADS_CREATE_PDF_SPOOLJOB function. But the result is error.

The file opens, but does not send to the printer. Anyone know of a note or document that can help me?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

iftah_peretz
Active Contributor
0 Kudos

Hi,

What is the error saying? What are the spool definitions (ask you BASIS people) - it could be that those definitions prevent it from printing. How are you sending it to spool? What is the way you are using the function (code snippet would be the best).

ronaldo_aparecido
Contributor
0 Kudos

Hi

it was a basis pronblem and they solved it thanks Iftah Peretz you was right.

Answers (1)

Answers (1)

former_member221408
Participant
0 Kudos

Can you please describe in more details what are you trying to achieve? Do you have a Web Dynpro ABAP application and you are trying to print from the application?

ronaldo_aparecido
Contributor

Thanks Maria it was a basis problem.

Sorry by the late to answer.

former_member221408
Participant

Hi Ronaldo, I am glad it got resolved!