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

set id for dynamicly programmed link_to_action elements

Hello.

I create dynamicly a lot of link_to_action elements in an table.

if i click on an element, it call the onaction-action where i get my event.

now i can get the id of the link_to_url, but can i set the id for each link_to_action?

thanks

marcus

-


Edited by: Marcus Ventur on Jan 14, 2009 2:52 PM

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Jan 14, 2009 at 02:18 PM

    You don't need to set different id. Instead look at the importing parameters of the linkToAction event. It has an importing parameter of context_element:

    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/3a/ebee412e5e6324e10000000a1550b0/frameset.htm

    This gives you a direct reference to the context element (row) that the linkToAction originated from.

    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.