cancel
Showing results for 
Search instead for 
Did you mean: 

PDF Document Error

0 Kudos

When sending order confirmation(BA00) which is a PDF document to email, getting the below error message.

"Return code 2 from Z_PDF_DOCUMENT in sap.

What could be the reason?

FredericGirod
Active Contributor

You will need to provide more information.

Where did you see this error ? How did you generate the PDF ?

0 Kudos

We have developed a custom transaction to send order confirmations but when sending BA00 to one of the customers we are getting this below error message.

image

Return code 2 from Z_PDF_DOCUMENT

Message no. 29000

Diagnosis

This is a message which has been built dynamically

Itis therefore not feasible to put explanatory text behind the message == it will vary for each occasion.

ifthe message isnot clear or there is a need to have more detailed e».-nation avaliable, please request a change to the ABAP.

System Response

The system stops and waits for your response.

Procedure

This depends on the message - since it was built dynamically.

As a rule, this type of message is not used where the reponse required is not clear.

If this should be the case, please request a change to the abap to provide more detailed assistance for this message.

FredericGirod
Active Contributor
0 Kudos

The message doen't exist in my system, could you find it in your (trans SE91), you could search for usage of this message in abap code. And maybe you will find the related program

Sandra_Rossi
Active Contributor

Message number 000 of message class 29.

You may simply put a breakpoint on the message number by first starting the debugger with /H then add a statement breakpoint and indicate the message number.

0 Kudos

Thank you Frederic and Sandra.

Accepted Solutions (0)

Answers (0)