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

Pass variable values from one Template to another

Hi All,

I have 2 Web Templates, Template 1 and Template 2.

The variable screen for both is the same.

On both the templates, i have a button, the On click of which will take me to the 2nd template.

eg: When i click the button in Template 1, it will take me to the Template 2 and vice versa.(The URL for Template 2 is provided for this purpose).

Now, my requirement is that the variable values selected for the execution of Template 1 should get automatically passed when the button for Template 2 is clicked.

The same variable values from Template 1 should be passed for the execution of Template 2.

How can i achieve this?

Kindly help...

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 17, 2009 at 05:17 AM

    Hi,

    You can try to add the variable names as parameters to the URL link that you use to open the other template.

    Example : <URL link as is>?<variable_name1>=<variable_value1>&<variable_name2>=<variable_value2>&<variable_name3>=<variable_value3>

    ? separates the URL from the variable

    & separates multiple variables

    Hope this helps!

    Regards,

    Saurabh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 17, 2009 at 05:25 AM

    Hi,

    I think you can also use the command wizard.

    Check this link:

    Using Parameters to Call Web Applications

    http://help.sap.com/saphelp_nw04s/helpdata/en/43/ef05462480025ae10000000a1553f7/frameset.htm

    Regards

    Andreas

    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.