cancel
Showing results for 
Search instead for 
Did you mean: 

order ack pdf ---missing customer field

Former Member
0 Kudos

Hello SDN Gurus,

I have a requirement to convert the sales order into pdf .when ever the sales order is created the user should get the email with the pdf . Everything is fine except that when we see the pdf the customer field on the order ack is missing while if we see the normal print preview it is existing.

Does anyone else has experienced such a thing . what could have gone wrong and why the customer details are not getting printed on the pdf .

Please , suggest something ............

Sumit

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

please check if the input parameters that u have given for your PDF Subroutine has Customer field in it.

Dany

Former Member
0 Kudos

Thanks dany for the reply .

However, could you explain me the procedure of how to send the sales order/order ack in pdf form via email when it is created .

This functionality is already working but i do not know where to check .

The customer field is missing but where to check and how -


plz help

Sumit

Edited by: sumit123 on Mar 2, 2010 9:23 AM

Former Member
0 Kudos

Sumit,

goto T code SE71 and enter your smartform name.

Check the customer name field in smart form.

Secondly, goto your print program SE38 and chcek the FM CONVERT_OTF_TO_PDF whether customer number has been passed.

take help of ABAPer to debug the form.

Former Member
0 Kudos

Hello Yadav,

Thanks for the reply.

The t-code to view the smartform is "SMARTFORMS".

When i check the print program that i found through Nace -


V1------output type -


looked for the print program in print output option.

Now when i go to se38 , i check the program and look for the FM CONVERT_OTF_TO_PDF , and it says does not exist .

Also i tried to check the program of the smartform -


smartforms -


display....f8-display--goto main program and then click on the last option ending with FOi and i looked for the FM there also but it is not there .

My question is if the FM does not exist then how the sales order is getting converted in PDF form but only the customer field is not getting printed though it is printed in the normal print preview etc.

Please help

Sumit

Former Member
0 Kudos

Hi,

Now the only solution is to debug the form. Ask ABAPer for help

Former Member
0 Kudos

hello,

In the order ack pdf , the customer fiels is not printing , it is printing in the normal printout .

I checked the output types and the same program is assigned for both the medium when it is 1 - print and 8- when pdf .

And then the condition record is maintained for the pdf to be emailed to the user .

what else needs to be maintained .

Any suggestions .........

Sumit

Edited by: sumit123 on May 26, 2010 9:24 AM

Former Member
0 Kudos

Hi,

U said the print preview is fine but the value in actual pdf does not come.

This is an issue with either the Print program or the Smartform.

All u need to do is put a break-point at the right place & check the logic. U need to take help from an ABAPER.

regards

Former Member
0 Kudos

Hello ,

Thanks for the reply . Just found out that if i use RSTXPDFT4 , it will convert the spool request to pdf , i tried and it worked .

But this was all done manually .i.e. se38 and execute the report and then enter the spool number .

What i want is that the pdf should be send automatically to the user by email.

So , if in the output type i chnage the print program to RSTXPDFT4 and then i create a condition record for the user will the user get the pdf .

Please let me know , if i am missing anything .

Sumit

Edited by: sumit123 on May 26, 2010 11:14 AM