Application Development 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: 

Change Mail Attachment name for Billing Doc in VF31

sreekanth_n2
Active Participant
0 Kudos

Hi Experts.

  In VF02, Header->Output..  Custom Output Type is entered and click on SAVE.

   Then VF31 is executed, the mail is send to the user.

  Requirement is change the PDF Attachment . not able to trace how to get solution.

  while executing VF31, started debugger and set break point at FM SO_NEW_DOCUMENT_SEND_API1. This didnt work.

  Currently biiling document number is the attachment name.

  Please advise.

Sree

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Check the driver program assigned to the output type and then try to debug it, Hope fully there will be a Form which would Have a include , in this include all the details would be fetched for eg Email address etc. Try and find that out, copy the include in Z and change if you find the Attachment name.

Attach that Z include to your Output type.

Hope this helps.

2 REPLIES 2

Former Member
0 Kudos

Check the driver program assigned to the output type and then try to debug it, Hope fully there will be a Form which would Have a include , in this include all the details would be fetched for eg Email address etc. Try and find that out, copy the include in Z and change if you find the Attachment name.

Attach that Z include to your Output type.

Hope this helps.

0 Kudos

our sme told that we can test attachment name only in production