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

User-Exit for VF01

Former Member
0 Likes
1,024

Hi ,

I have a requiremnet on VF01 , whenever a billing document is created, automatically mail has to be send with form(smartform) as PDF attachment to customer when we press save button.

I used the user exitsV60A0001 but at this point of time the entries in NAST table is not created hence i am getting an error saying document is not generated.

Could anyone please tell me where am i going wrong or is there any other user exit that i have use.

If there is any code available then kindly post it .

Function exit EXIT_SAPLV60A_002

INCLUDE ZXV60AU01.

Regards

Salehashaikh

.

Hi ,

I have a requiremnet on VF01 , whenever a billing document is created, automatically mail has to be send with form(smartform) as PDF attachment to customer when we press save button.

I used the user exitsV60A0001 but at this point of time the entries in NAST table is not created hence i am getting an error saying document is not generated.

Could anyone please tell me where am i going wrong or is there any other user exit that i have use.

If there is any code available then kindly post it .

Function exit EXIT_SAPLV60A_002

INCLUDE ZXV60AU01.

Regards

Salehashaikh

.

3 REPLIES 3
Read only

Former Member
0 Likes
712

Output types may be the better way to do this. Refer to the output type MAIL (transaction code : NACE) which is the standard output type available for sending invoice outputs through Mail.

Read only

eduardo_hinojosa
Active Contributor
0 Likes
712

Hi,

Vinod is right. Check Note 537832 - Incorrect replacement of text symbols for MAIL and Note 718017 - Replacement of text symbols in spool title/MAILfor futher information.

Regards,

Eduardo

Read only

Former Member
0 Likes
712

Hi,

Also,in the output type configuration give the dispatch time as 'Send Immediately(when saving the application)' .Then only the mail will be triggered automatically when you save the document.

Regards,

Lavanya