Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Changing the file name

Mohamed_Mukhtar
Active Contributor
0 Likes
663

Hi,

This question has been asked number of times, and i have searched the SCN but unable to find a hint or clue.

There is a SAP SCRIPT for purchase order. This PO is sent as an PDF attachment to the vendor.

How can i change the file name of this PDF file???

When i enter abc in "Cover Page Text"...ABC is the name of the file.

When i keep blank "Cover Page Text"...the name of the file is different.

CONVERT_COMM_TYPE_DATA---is the function module used to send the mail.

Is there any way to debug the script when it is sent as an attachement?

When i tried to set a break-point in the driver program, the break-point dint triggered

Thanks

-Always Learner

1 REPLY 1
Read only

brad_bohn
Active Contributor
0 Likes
448

Actually, the CONVERT_COMM_TYPE_DATA does not send the mail; it helps determine the parameters for it. If you want to debug an 'immediate send' output, you need to turn on the update debugger in order to hit the breakpoint in the output code. You can change the file name via configuration in NACE using variables available in the PO program or you can change the NAST-TDCOVTITLE value in your output program directly.