Skip to Content
avatar image
Former Member

LINK TO ACTION

hi,

im created one table ,for the table im assigned link to action to one key field . Than im created table and inputfield in another view .Than im getting link to action .BUT WHEN IM CLICKED LINK TO ACTION ELEMENT I HAVE TO GET THE MATERIAL NUM( 4969) IN THE INPUT FIELD.

thanking you,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Dec 07, 2009 at 10:21 AM

    both these tables are in differnet views...

    If they are on different views, how do you want to transfer the data..

    i mean if the suer clicks on first row of the 1st table then same should be shown in the same record of the other table in other view...

    doe these tables have similar strcuture...

    Edited by: Lekha on Dec 7, 2009 4:07 PM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      where

        work area of type structure
        DATA :wa_table        TYPE str_table .
      //and str_table is a strucutre tht is declared with same variables as there are context attributes under node CN_TABLE
      
        TYPES :BEGIN OF str_table ,
                 checkbox          TYPE wdy_boolean ,
                 image             TYPE xstring ,
                 userid            TYPE string,
                 role              TYPE z2ts_roledesc,
               
               END OF str_table .
      

      regards,

      amit

  • avatar image
    Former Member
    Dec 07, 2009 at 10:54 AM

    Hello Ananth,

    You could achieve the same even if you maintain two views for table and input field.

    you just have to define a variable in the component controller.

    So when someone clicks the link to action, the value gets stored and before navigating to the next view you could read the same value for the another view.

    Regards

    Anurag

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 07, 2009 at 01:10 PM

    Hi,

    go thru this thread

    Using linktoaction

    in this you will get your query resolved.

    in this thread you will get step wise detail on link to action

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 20, 2010 at 05:40 AM

    ans

    Add comment
    10|10000 characters needed characters exceeded