Skip to Content
author's profile photo Former Member
Former Member

script

Hi All,

Iam designing Layout for ME41(Create Quotation) and ME42 (Change Quotation) in the same layout.Here my doubt is how can i can check which transaction is called for the Layoutset(i.e., how will i know which transaction is entered by user to display the output).I have to print different output for ME41 and ME42.

Any clarrification mail me.

Waiitng for your response.

Thanx,

Veeru

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2005 at 06:03 AM

    Veeru,

    can u make use of sy-tcode...?

    i hope u can make use of this to identify the txn and to provide appropriate output...

    Regards,

    Raja.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2005 at 06:08 AM

    Hi veeru,

    u can get the screen number of the particular execution and check inside ur code whether is it from ME41 or from ME42.

    if Screenno = 1000.

    Write:/ 'From ME41'.

    elseif Screenno = 1001.

    Write:/ 'From ME42'.

    endif.

    Hope this helps u,

    Regards,

    Nagarajan.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 07, 2005 at 06:09 AM

    Hi Depends up on Transaction you can display the data.

    Use sy-tocde to do that check ....in the layout insert the system sybol tcode and check the values of that and accordingly you write...

    vijay

    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.