Skip to Content

wrong form triggering in mail

hello all,

i have two message type zne1 and zne4 one for mail and one for external send with the same format.

the problem is when i use zne1 and see the print out all the tax conditions are displayed which are included in the form.

but when i use zne4 and see the pdf that i receive in mail no tax condions are displayed.

i put break point in my form and its is triggering and all tax values are populating but when it comes to final output its different with zne1 output.

there is zneu message which smartform is without tax conditions?

is that program is triggered or why is the output in mail coming without taxes when form for both zne1 and zne4 are same.

i checked nace and tnapr .my form with taxes only exists and it is only triggering also.

but final ouput in mail is different.

Please help.

Ujwal

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2013 at 05:49 PM

    Hello Ujwal,

    Place break points in both SSF_FUNCTION_MODULE_NAME and OPEN_FORM function modules and see what is the form being called the moment before sending the mail.

    Dont just go by the first trigger point, press F8 again and see each time which is the form being called till the mail gets sent.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 11, 2013 at 05:44 AM

    Check the driver program is it the same...

    If it is the same it will trigger properly also check for the hard coding of the form name in the program..

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 11, 2013 at 06:11 AM

    Hi Ujwal,

    1)Plz check smartform name and print program name those are being triggered for all the three message types.

    U can check the smartform name in the import parameter of CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'.

    2) Have you added any conditions in the window or texts that will display tax values ??

    Regards,

    Shruti


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 11, 2013 at 06:17 AM

    Hi

    Please check the following things.

    • Which smartform is getting triggered.
    • In order to test it just change the config to print and see what do you see in print preview for the same output type.

    Most probably you are checking mail that may be related to some different output.

    thanks

    Nabheet

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 11, 2013 at 06:17 AM

    Hi Ujwal,

    Put a break point at CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'. Check the values in the parameters passed to the FM. Also put a breakpoint in your smartform (you can check the dynamce FM name of the SF and put a breakpoint at global parameters or so). Then check the tax fields if they values. Debugging will help you to analyze correctly.

    Also check if the print program is the same for Mail and External Send.

    Hope this helps!

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 11, 2013 at 06:20 AM

    Hi Ujwal,

    1. Debug program assigned to your output type.

    2. Check Smartform assigned in that program.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.