cancel
Showing results for 
Search instead for 
Did you mean: 

PO/Script:Email of Delivery address missing on output

Former Member
0 Kudos

Hi,I have a standard PO which is printing through a script.The delivery address at the item level is maintained in the PO for a purchasing group.The entries are thier in Table T024 for email telno and fax.The output is showing the other enries but not the email address.I tried to debug the script and saw that the varaible t024-smtp_addr is populated with the email address but still its not showing on the output.

Please suggest What can be the issue.

Regards,

Abhi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

How do you print your adress? With and adress include (smartforms) or the ADRESS statement in SAP-SCRIPT?

Do you use it with the ADRNR or manually print all the info?

If you print it manually, it´s probably a matter os space against window size.

Former Member
0 Kudos

Thanks for your replies.Both these answers lead to one conclusion that there might be an ssue with window size.

Neways the window width is 38.19 CH and the emailaddress along with the fixed text and sapecs is coming to be 35 Characters.

But whats surprises me is that another email address with the same length is getting printed.

Does the statement Size width has anything to do with this?Please find the below statement for reference.

Position Xorigin '-0.5' CH Yorigin -0.25 LN

SIZE WIDTH '0.25 CH Height '0.75' LN

Waiting for a quick reply.

former_member196079
Active Contributor
0 Kudos

Hi...

try to use CM and not CH..

regards

Marco

Former Member
0 Kudos

Well, no you can ignore that SIZE statement. We were rather talking of size as height, instead of width.

Is anything else printed under the email adress which is actually printed (to be seen on the printout)? So to say, may it be that your email adress is printed but your window is short one line?

Former Member
0 Kudos

Hi,

There MIGHT be one possibility.

If a variable is type of string, in which I maintain only 10 characters with the mail id and then if I place, 20 characters more as simply white space, then strlen for that variable will be considered as 30 and not 10.

In this case, window size can not accomodate those whte spces whihc exceeds length. It's just a guess for a wild possibility.

But in your situation, you have no other option than to check it out

Regards,

Amee.

former_member196079
Active Contributor
0 Kudos

Hi ABHI

if you are using a table, or you are printing in a single window for the address,

check if the width of the window is right, because if is no width enough the text in the window will not printed.

regards

Marco