ABAP Webdynpro Linktoaction in table

Hi,
In my webdynro view i have a table with some fields as linktoaction.
In the context for table following attributes are set:
Initialize Lead Selection = 'X'
Singleton = 'X'
How can I get the row where the linktoaction is clicked on in the corresponding methods.
I added following code but in stru_sales_order i always get the data of index 1.
DATA:
    node_z_dws_get_salesorder   TYPE REF TO if_wd_context_node.
DATA:
    node_changing   TYPE REF TO if_wd_context_node.
DATA:
    node_e_sales_orders   TYPE REF TO if_wd_context_node.
DATA:
    stru_sales_order            TYPE   ig_componentcontroller=>element_e_sales_orders.
node_z_dws_get_salesorder = wd_context->get_child_node( `Z_DWS_GET_SALESORDER` ).
  node_changing = node_z_dws_get_salesorder->get_child_node( `CHANGING` ).
  node_e_sales_orders = node_changing->get_child_node( `E_SALES_ORDERS` ).
  node_e_sales_orders->get_static_attributes(
               IMPORTING static_attributes = stru_sales_order ).
Kind regards,
Vincent.

OK  I have no idea what you said since I am new to this WDA, but I did get someone to help with this.
I had to change the table configuration to selectionMode Single and create an event for onLeadSelect.
in the onLeadSelect code I have the following:
  LR_NODE = WD_CONTEXT->GET_CHILD_NODE( 'PARKED_TRANSACTIONS' ).
  LR_ELEMENT = LR_NODE->GET_LEAD_SELECTION( ).
Thanks for the help all!

Similar Messages

  • ABAP Webdynpro - Populating second table based on data selected on first

    Hi Experts,
      I am new to ABAP Webdynpro. I have a requirement to show a search area, one table for header info, and second table for populating item level information.
      I was successful building a search area and populating first table when the 'Search' button is pressed.
      Now, I like to populate the second table with item details if a row on first table is selected. I tried to bind the OnSelect Event of first table to a method and try to get the results and bind to second table.. However, I am unsuccessful in this attempt.
      Here are my questions/challenges.
      1. When I select a row on first table, how can I extract the key information?
      2. Is it sufficient to create a context attribute and populate it with FM and bind that with second table? 
    I appreciate your help in answering this question.
    Thanks,
    SG

    Hi,
    Regarding...
    1. When I select a row on first table, how can I extract the key information?
    When you select any row in table, a lead selection will be set in the node which bound to the table.
    To read this selected record you need to use the following code. Here the name of context node is "FLAGS". And the structure ls_flags contains all the attributes defined in the node.
    DATA lo_nd_flags TYPE REF TO if_wd_context_node.
      DATA ls_flags TYPE wd_this->element_flags.
      lo_nd_flags = wd_context->get_child_node( name = wd_this->wdctx_flags ).
      CALL METHOD lo_nd_flags->get_static_attributes
        IMPORTING
          static_attributes = ls_flags.
    Regarding....
    2. Is it sufficient to create a context attribute and populate it with FM and bind that with second table?
    Based on the data that you got in the first step, you can fill an internal table with data that needs to be displayed in 2nd table.
    To bind the internal table you need to define the internal table of type context node. Use the following code to bind the internal table to context node which bound to 2nd table. Here name of  the context node is "OVERVIEW".
    DATA: lo_nd_overview TYPE REF TO if_wd_context_node,
                lt_overview TYPE wd_this->elements_overview.
    <<<< Fill lt_overview with data >>>>>
            lo_nd_overview = wd_context->get_child_node( name = wd_this->wdctx_overview ).
            CALL METHOD lo_nd_overview->bind_table
              EXPORTING
                new_items            = lt_overview.
    Alternatively you can use the Supply Function Method.
    Vikrant Trivedi

  • ABAP Webdynpro: Creating a table on webdynpro screen to enter new data.

    Hello Experts,
    Does anyone know, how to create a  table on webdynpro screen that can be used to enter new data in database?
    I have tried to create a Table UI element (with Standard Cell Editor as Input Field) but it is "Display only" if there is no data in the table. This means, while you can use it to modify the data if some data already exist, but you cannot use it to enter new data if no data already exist. What I am looking for is something similar to a Table Control (or Step-Loop) functionalty of a traditional (non webdynpro) SAP screen. How to achieve this in Webdynpro for ABAP?
    Thanks in advance.
    ABAPer

    Even if no data is not there,  you can pass blank work areas to table, so now table will blank rows where you can enter the data even if  previous data is not there.
    below is the sample code to get blank rows in table in  order to enter data.
      DATA LO_ND_N_EDUCATION1 TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA LO_EL_N_EDUCATION1 TYPE REF TO IF_WD_CONTEXT_ELEMENT.
      DATA LS_N_EDUCATION1 TYPE WD_THIS->ELEMENT_N_EDUCATION1.
    navigate from <CONTEXT> to <N_EDUCATION1> via lead selection
      LO_ND_N_EDUCATION1 = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_N_EDUCATION1 ).
    DATA: ET_DATA TYPE WD_THIS->ELEMENTS_N_EDUCATION1,
            EW_DATA TYPE WD_THIS->ELEMENT_N_EDUCATION1.
      DO 10 TIMES.
        APPEND EW_DATA TO ET_DATA.
      ENDDO.
    get element via lead selection
      LO_EL_N_EDUCATION1 = LO_ND_N_EDUCATION1->GET_ELEMENT(  ).
      LO_ND_N_EDUCATION1->BIND_TABLE( NEW_ITEMS = ET_DATA SET_INITIAL_ELEMENTS = ABAP_FALSE ).
    now table will have 10 rows, here node name is N_education1.
    Thanks and REgards
    Srinivas

  • Deleting row from table in ABAP webdynpro

    Hi all,
    Can anyone help me regarding deletion of a row from a table in ABAP webdynpro.
    I have written a code like this :
        DATA:
          NODE_STUDINFOSYS                    TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_STUDINFOSYS                    TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_STUDINFOSYS                    TYPE IF_COMPONENTCONTROLLER=>ELEMENT_STUDINFOSYS .
      navigate from <CONTEXT> to <STUDINFOSYS> via lead selection
        NODE_STUDINFOSYS = WD_CONTEXT->GET_CHILD_NODE( NAME = IF_COMPONENTCONTROLLER=>WDCTX_STUDINFOSYS ).
      get element via lead selection
        ELEM_STUDINFOSYS = NODE_STUDINFOSYS->GET_ELEMENT(  ).
    deleting data selected via lead selection
        NODE_STUDINFOSYS->REMOVE_ELEMENT( ELEMENT = ELEM_STUDINFOSYS ).
    *But I am getting an error:*
    Error when processing your request
    What has happened?
    The URL http://hsdnt24s11.hclt.corp.hcl.in:8000/sap/bc/webdynpro/sap/znet310_add_del_sech/ was not called due to an error.
    Note
    The following error text was processed in the system HE6 : The lead selection has not been set. VIEW_ADD_DEL_01
    The error occurred on the application server hsdnt24s11_HE6_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISEELEMENT_NOT_FOUND of program CL_WDR_CONTEXT_NODE===========CP
    Method: PATH_TABLE_GET_ELEMENT2 of program CL_WDR_CONTEXT_NODE===========CP
    Method: GET_BOUND_ELEMENT of program CL_WDR_VIEW_ELEMENT_ADAPTER===CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system HE6 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server hsdnt24s11_HE6_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server hsdnt24s11_HE6_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 800 -u: SUMANK -l: E -s: HE6 -i: hsdnt24s11_HE6_00 -w: 0 -d: 20081220 -t: 155832 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Can anyone help me???

    Hi Suman,
    this issue seems to be not specific to the FPM. I would like to suggest you to address this problem in the ABAP forum.
    Best regards,
    Thomas

  • Smartform & ABAP Webdynpro & Internal table

    Hi Expert,
    I am able to open the smartfrom by using ABAP Webdynpro.
    But when I try to add the table under "Global Settings -> From Interface -> Table"
    Paramemter Name       Type Assignment    Associated Type
    I_ZSG_PAY_DATA     Like                          ZSG_PAY_DATA
    It works fine when I test it in t-code SMARTFORMS. But when I use the same ABAP Webdynpro program to open this smartform, the error appear.
    "Calling Parameter incorrect"
    Could you please let me know how to fix it?
    Thanks a lot,
    WF

    Hi William,
    If you have a working smartform then you should be able to display it in WD by passign its XSTRING to the PDFSOURCE of it.
    Just check that where you have written the code to get the XSTRING of smartform in WD. You might have modified the smartform interface and forgot to call the revised FM generated after the smartform was changed in WD.
    Just re-write the entire code to generate XSTRING for smartform and see if it works or not.
    You can also try to put a break point in the code and see where exactly it is failing i.e. whether it is to do with calling smartform or converting it or WD related.
    Thanks,
    Abhishek

  • Error Handling in tables using ABap Webdynpro

    Hi All,
    I am new to this ABAP webdynpro programming. I have a small question. I am using a table control in one of my iview. I need to check some validations on some columns of this table. Let's say I have a table with 3 columns A,B and C. 
    Case 1 : Whenever any user enters values in C which is greater than A i want to raise an error message saying "The Value is greater than A". The user shouldn't be allowed to enter anyother inputs before correcting the same.
    OR
    Case 2: If the user enters 10 rows in the table and the 5th row contains the error. How can i highlight that row or field which contains the error.
    Your inputs will be valuable to me.
    Regards,
    Pravesh.

    Hi,
    Get the elements of the node for which you table is bound.
    Loop through the context element set.
    get the record for that context attribute and check the column A and column B value and throw
    the error using the report_error_element_message when there is error.
    Check this sample code -
      DATA:
        lt_attr_list type STRING_TABLE,
        ls_attr_list type string.
      ls_attr_list = column name.
      append ls_attr_list to lt_attr_list.
      clear ls_attr_list.
      ls_attr_list = column name.
      append ls_attr_list to lt_attr_list.
      clear ls_attr_list.
    DATA: lit_elementset type WDR_CONTEXT_ELEMENT_SET,
    lis_element type ref to IF_WD_CONTEXT_ELEMENT,
    ls_data type <<strucure type>>.
        CALL METHOD <<nodename>>->GET_ELEMENTS
          RECEIVING
            SET = lit_elementset.
        LOOP AT  lit_elementsetINTO  lis_element.
    lis_element->get_static_atributes->
    importing = ls_data.
    if ls_data-columnC GT ls-data-columnA.
    lr_msg_manager->report_element_error_message->
    message_text = 'Column C canot be gretaer than column A'
    element = lis_element
    attributes = lt_attr_list <<Populate the attributes table for which errors are to be shown>>
    endif.
    clear: ls_data, lis_element.
    ENDLOOP.
    Regards,
    Lekha.

  • TABLE DATA in PDF FORM  Through ABAP WEBDYNPRO

    Hi Friends,
    I have to Populate  SAP TABLE like MARA,VBRK table into PDF form throught ABAP Webdynpro.
    Can you send STEP by STEP Example Doc.
    Thanks In Advance.
    Gautam.

    Hi,
    To display the Table in the Adobe Form you must create a WebDynpro Context.
    In WebDynpro Context, in the main node create another node like A1 with cardinality 0..n and in this node create attributes FIELD1 and FIELD2 and so on.
    Now goto method and in that method using code wizard read the node A1.
    And use the below code snippet sample in your program, i.e. code this under respective method of the webdynpro.
    *Declare the TYPES
    TYPES : BEGIN OF TY_TABLE,
    FIELD1 TYPE SOMETYPE,
    FIELD2 TYPE SOMETYPE,
    END OF TY_TABLE.
    *Define Internal Table and work area.
    DATA : IT_TABLE TYPE STANDARD TABLE OF TY_TABLE INITIAL SIZE 0.
    SELECT FIELD1 FIELD2 FROM TABLENAME INTO TABLE IT_TABLE.
    lr_node_info->bind_table( IT_TABLE ).
    And now goto Layout and give the TemplateSource and after that it asks for the interface name fill on that and select the relevant context. Now the LiveCycle Designer opens. There goto DataView pallette, there you can see the context of the webdynpro, now you simply drag and drop that table, a table is being created in the Layout Designer.
    Regards
    Pradeep Goli

  • ABAP Webdynpro Table Control

    Hi all,
    I am a Webdynpro beginner, I am developing a ABAP Webdynpro program. I have a table in my View, And I want to the Row became READ ONLY based on the context.
    For Example, there is a user name field in the table, if the user name is equal to the user who run the program, this row will be modifiable. if not, the row will be Read Only.
    I don't know which function can do so. Could anyone help me?
    I can use VIEW->GET_ELEMENT to get the table. but I didn't find the method in the CL_WD_TABLE helpful.
    Thanks
    Ming

    For further description,
    the table is binded to a ( 0 ... n ) context node.  There are 6 columns in the table. 3 of them are textviews and the others are inputfield. I want two of the inputfields in each rows became Read_Pnly or not base on the value in the same row in a textview field.
    For example, there are six column, col1 col2 col3 col4 col5 col6.
    if col = 'MM'.
    col1 col2  are editable.
    else.
    col1 col2 are read_only.
    Thanks in advance.
    Ming

  • Dynamic rows in ABAP webdynpro table

    hi all
    I've got a question. I have a webdynpro with a table.
    This table is feed by a node. The number of rows of this node is dynamic.
    I had seen in the properties of the table object that the number of visible rows can be set.
    But is there also a method to set this number of rows dynamicly? So when the node has 20 rows
    the table object is also set to show 20 rows and when there are none, the table
    only shows the header of the  table.
    Currently the table always shows 5 rows, without checking how many rows there actually are.
    Does any of you know how to do this?
    kind regards,
    Anton Pierhagen

    Hi Anton ,
    You can use the method SET_VISIBLE_ROW_COUNT() of the class cl_wd_table for setting the visible row count dynamically.
    In the WDDOMODIFY view , you can get the reference of the table UI element used and proceed.
    DATA lo_table TYPE cl_wd_table.
    lo_table ?= view->get_element( ID = 'name_of_table_in_the_view').
    lo_table->SET_VISIBLE_ROW_COUNT(value = 5)."Here the value you can decide based on your data.
    But this method is not recommended as it directly deals with the view's elements and will be very difficult for the person maintaining the code.
    Instead create a attribute which can store a number and bind the visible row count property to this attribute.
    set this attribute with the values based on the data.(as in number of visible rows you would want to see.)
    Thanks,
    Aditya

  • Doubts in ABAP WebDynpro

    Hi Experts,
    I am new to ABAP WebDynpro and self-learning going through SDN stuff and other online-help. Please provide me
    your kind explanation on below doubts.
    1. When do we use GET_ATTRIBUTE and GET_STATIC_ATTRIBUTE
    2. How to read the index of a particular selected row in table?
    3. How do you change position of a particulr node dynamically?
    4. Is it possible to execute a component without a window?
    5. Is it possible to run a VIEW without embeding into a window in Webdynpro application?
    6. How to read the content entered in PARAMTER and SELECT-OPTION elements in ABAP Webdynpro? Can anybody pass code how to read entries?
    I mean GET_ATTRIBUTE or GET_STATIC_ATTRIBUTES is used for reading attribute value. 
    7. Is it possible to fix the Message window position? Show at the bottom of a screen? Please provide some code for this.
    8. Is it possible to change the color of a laber attached to a attribute dynamically? For example somefield is mandatory but you forgot to enter and press on u2018Continueu2019 then program should show that elementu2019s lable with redcolor text. Please provide me example code.
    Thanks in advance for the support and useful explanation!
    Regards,
    Meera.

    Hi
    Refer the answers inline
    1) When do we use GET_ATTRIBUTE and GET_STATIC_ATTRIBUTE
    GET_ATTRIBUTE
    Method to get the values of a context attribute.
    The prerequisite for this method is that the application knows the data type of the attribute.
    The value of the given attribute is copied to the export parameter. To do this the export parameter must have a data type to which a value can be written.
    GET_STATIC_ATTRIBUTES
    This method copies the static attributes to the transferred variable. If the structure is not identical, a move-correspondingis performed, which is not as efficient as a direct move, but is still useful in many cases.
    Static attributes are those that either have been declared or that belong to the structure with which the node was declared.
    2) How to read the index of a particular selected row in table?
    data: lr_element type ref to if_wd_context_element,
              lv_index type i.
      lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT'  ).
      lv_index = lr_element->get_index( ).
    3) How do you change position of a particulr node dynamically?
        Explain Bit deeply
    4) Is it possible to execute a component without a window?
        No it is not possible, actually the component view can be viewed by embedding it to the window
    5) Is it possible to run a VIEW without embeding into a window in Webdynpro application?
        No it is not possible, without window you cant run the view
    6) Is it possible to run a VIEW without embeding into a window in Webdynpro application?
      DATA LO_ND_MAIN_NODE TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA LO_EL_MAIN_NODE TYPE REF TO IF_WD_CONTEXT_ELEMENT.
      DATA LS_MAIN_NODE TYPE WD_THIS->ELEMENT_MAIN_NODE.
      DATA LV_INP_VALUE LIKE LS_MAIN_NODE-INP_VALUE.
    navigate from <CONTEXT> to <MAIN_NODE> via lead selection
      LO_ND_MAIN_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = 'MAIN_NODE' ).
    get element via lead selection
      LO_EL_MAIN_NODE = LO_ND_MAIN_NODE->GET_ELEMENT(  ).
    get single attribute
      LO_EL_MAIN_NODE->GET_ATTRIBUTE(
        EXPORTING
          NAME =  `INPUT_VALUE`
        IMPORTING
          VALUE = LV_INP_VALUE ).
    7) Is it possible to fix the Message window position? Show at the bottom of a screen?
        Yes it is possible to show the messages by using the message area UI element in the needed position
    8. Is it possible to change the color of a laber attached to a attribute dynamically? For example somefield is mandatory but you      forgot to enter and press on u2018Continueu2019 then program should show that elementu2019s lable with redcolor text.
        Im working onit and let you know after i complete.
    Regards
    Arun.P

  • How to create a view to display Multiple lines of Text using ABAP WebDynpro

    Hi,
    I need to create a static view page in ABAP WebDynpro that displays Static text data in multiple paragraphs. I tried to use textview, formatted text, text edit controls by binding the textcontrol to a text object that is created in so10, but the output I am getting is only one line and the character count is limited to 60 to 65 characters.
    I would like to know which control needs to be used in ABAP Webdynpro to get multiple lines displayed with text formatting like Paragraph, Indenting and Size.....
    Thanks for your time!
    Madhavi.

    Find the sample codes:
      data sapscript_lines     type tlinetab.
      data sapscript_lines1     type tlinetab.
      data sapscript_tline     type tline.
      data sapscript_head      type thead.
      data text                type string.
      data formatted_text type ref to cl_wd_formatted_text.
      call function 'DOCU_GET'
        EXPORTING
          id                = 'TX'
          langu             = 'D' "Germany language
          object            = 'WDR_TEST_HELP_EXP1'
        IMPORTING
          head              = sapscript_head
        TABLES
          line              = sapscript_lines
        EXCEPTIONS
          no_docu_on_screen = 1
          no_docu_self_def  = 2
          no_docu_temp      = 3
          ret_code          = 4
          others            = 5.
      if sy-subrc <> 0.
        text = space.
      endif.
      formatted_text = cl_wd_formatted_text=>create_from_sapscript(
        sapscript_head  = sapscript_head
        sapscript_lines = sapscript_lines
      " set it into the context
      if Not ( formatted_text is initial ).
        wd_context->set_attribute(
        name  = 'FORMATTED'
        value = formatted_text->m_xml_text ).
      endif.
    clear sapscript_head.
    clear sapscript_lines.
    *Get the text created by SO10
    CALL FUNCTION 'READ_TEXT_INLINE'
      EXPORTING
        ID                    = 'ST'
        INLINE_COUNT          = 1
        LANGUAGE              = 'E' "English language
        NAME                  = '85XX_FOOTER'
        OBJECT                = 'TEXT'
      LOCAL_CAT             = ' '
    IMPORTING
       HEADER                = sapscript_head
      TABLES
        INLINES               = sapscript_lines1
        LINES                 = sapscript_lines
    EXCEPTIONS
      ID                    = 1
      LANGUAGE              = 2
      NAME                  = 3
      NOT_FOUND             = 4
      OBJECT                = 5
      REFERENCE_CHECK       = 6
      OTHERS                = 7
      formatted_text = cl_wd_formatted_text=>create_from_sapscript(
        sapscript_head  = sapscript_head
        sapscript_lines = sapscript_lines
      " set it into the context
      if Not ( formatted_text is initial ).
        wd_context->set_attribute(
        name  = 'FORMATTED1'
        value = formatted_text->m_xml_text ).
      endif.

  • PR05 Transaction Iview from Abap Webdynpro

    Hi,
    From abap webdynpro, on action of one button, i'm calling PR05(Travel Expense Manager) screen by passing the parameters as follows and calling NAVIGATION_ABSOLUTE method:
    BUS_PARAMETER-KEY = 'PTP00-PERNR'.
      BUS_PARAMETER-VALUE = LS_EMPLOYEE_NODE-PERNR.
      Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
      CLEAR BUS_PARAMETER.
      BUS_PARAMETER-KEY = 'PTP1000-REINR'.
      BUS_PARAMETER-VALUE = LS_HEADER_NODE-REINR.
      Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
    It opens PR05 screen, with the correct employee list, but it does not populate the tripnumber and also it should skip the first screen.
    In the IView, i have already given OKCODE='MOD' for change of the trip and also PROCESS_FIRST_SCREEN=YES.
    In the business parameter i try to add for selecting the particular line in the table control of the PR05 screen, but that doesn't work.
      BUS_PARAMETER-KEY = 'PTP1000-MARKER(01)'.
      BUS_PARAMETER-VALUE = 'X'.
      Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
      CLEAR BUS_PARAMETER.
      BUS_PARAMETER-KEY = 'TRIPCHANGEINTERACTIV'.
      BUS_PARAMETER-VALUE = 'X'.
      Insert BUS_PARAMETER into table BUS_PARAMETER_LIST.
    So any inputs on how to auto select the line based on the trip number and go directly to particular change trip.

    Hi Alex,
    is there no possibility to open the transaction by calling a link? For example like this way:
    host, port, system, mandant, user, password, tcode (e.g.: 192.168.100.2:6000:xi?mand=300&user=xyz&passwd=xxx&tcode=se16).
    Do anybody other know if there is a possibility doing like this?
    Greetings, Alexander

  • Calling different views at runtime based on my condition abap webdynpro

    Hi friends,
    Could you pls help me in this issue.
    I am new to webdynpro abap.
    I have an action on my first view.
    basically its a sales order linktoaction.  when i click it, i have to check a condition.
    if  process type = A,
    then navigate to view 2(different abap webdynpro component's view)
    elseif process type = B,
    then navigate to view 3(different abap webdynpro component's view)
    endif.
    I only have experience in calling one view for a action, so i dont have much idea on this how to acheive.
    I have this IF condition, on action event.ON that i need to call view of another application.
    thanks in advance,
    Niraja

    Hi Niraja,
    If you want to pass parameters to a WDA application you can pass them by URL link.
    Example: http://...?pass1=value1&pass2=value2 In this case you pass two parameters to the application.
    In WDA application you can control parameters in windows, you can add parameters in the plug 'Startup' which names are same as URL parameters, and then you can create notes/attributes in the context of windows then map them to the context of view. In the method of startup plug you can pass the parameters to the context of windows. You can search WDA help by WDA application parameters.
    You can check this [link |http://****************/Tutorials/WebDynproABAP/DynamicViews/Window.htm]for dynamic view navigation in a window. And no its a pdf file. It takes you to another website where they have explained it with step-by-step screenshots.
    You may also be interested in checking out this [link |http://****************/Tutorials/WebDynproABAP/views/navigation.htm]where they have explained Navigation from one View to other View along with parameters using Plugs with out using Component Controller context. It too isn't a pdf & does take you to another website.
    Hope these help.
    Regards,
    Uday

  • Whether Workflow Program Exit works in ABAP WebDynpro

    Hi,
    I have the custom  workflow in which in each task i have given a program exit to update the status into my custom tables.
    Now i'm in doing the change in workflow, that it should call the abap webdynpro screen, where the user decisions has to be made.
    I'm getting the Workitem id from the UWL and then it lauches the Web Dynpro to choose either Approve, Reject or Change etc along with some other travel expense information.
    Now once i complete the web dynpro by calling the method 'SAP_WAPI_WORKITEM_COMPLETE', the particular work item is completed.
    I want to ask whether before this FM is called,whether the Program Exit which i have written in the Class method and which is called in the Workflow, whether it triggers or not?
    Regards,

    It is calling the workflow program exit before the SAP_WAPI_WORKITEM_COMPLETE function module.
    So closing the thread.

  • Dropdown in Abap Webdynpro

    Hi friends,
    How to have custom dropdown list for field in abap webdynpro.
    It is possible in general abap with FM 'VRM_SET_VALUES' how it's possible in abap webdynpro.
    Please reply.....
    Thanks in advance.

    Hi,
    Create a context node having attribute field whose values  you want to see in the dropdown.
    i you are using ui element as dropdownby key then follow the following code.
      DATA : node_info TYPE REF TO if_wd_context_node_info.
      DATA : it_zinsp TYPE TABLE OF zinsp. " here zinsp is the name of table
      FIELD-SYMBOLS : <tablezinsp> TYPE zinsp.
      DATA : value TYPE wdy_key_value,
             value_set TYPE wdy_key_value_table.
      DATA : zlandx TYPE string.
    Inserting the countries into the destination drop down
      value-key = lc_key.
      value-value = lc_select.
      INSERT value INTO TABLE value_set.
      node_info = wd_context->get_node_info( ).
      node_info = node_info->get_child_node( 'CN_DESTINATION' ). " CN_DESTINATION is name of node
      CALL METHOD cl_wd_dynamic_tool=>get_table_data
        EXPORTING
          tab_name  = 'ZINSP'
          row_count = 0
        IMPORTING
          data      = it_zinsp.
      LOOP AT it_zinsp ASSIGNING <tablezinsp> .
        SELECT landx FROM t005t INTO zlandx
          WHERE land1 EQ <tablezinsp>-zland1
            AND spras = sy-langu.
        ENDSELECT.
        value-key = <tablezinsp>-zland1.
        value-value = zlandx.
        INSERT value INTO TABLE value_set.
      ENDLOOP.
      node_info->set_attribute_value_set( name = 'CA_DESTINATION'
                                          value_set = value_set ). " CA_DESTINATION is the name of attribute.
    I hope it helps.
    Regards,
    Rohit

Maybe you are looking for

  • ITunes Library Only Play One Song at a Time After Upgrade to 7.2

    Just upgraded to ITunes 7.2 this morning. After upgrade (on Windows Vista Enterprise operating system) ITunes Library no longer will play through the songs in the library. Try as I might to reset Controls, clicking on play gives me play of the single

  • No longer recognizing LaCie external drive.

    I have been using a LaCie Quadra external drive to backup my files. Since the last system upgrade the external drive is no longer being recognized. I have followed the troubleshooting suggestions from the LaCie site i.e. checking with different cable

  • HP DV6700 Laptop Problem

    Hi, I was reformatting my HP laptop (Vista OS) and I didn't realize I was using the restore cds from my wife's older HP latop which has the XP OS back from 2005. I tried pressing the F11 key and no luck with recovery. I noticed that my wireless inter

  • My iphone 4s stopped charging for no apparent reason

    My iphone 4s stopped charging for no apparent reason...

  • Configuration to trigger the EDI IDOC when posting

    Hi all, Can I know what is the configuration needed in order to trigger the EDI message type INVOIC IDOC when posting to certain company code (eg: AP10)? As I know for order acknowlegment need to do some configuration in Tcode v v13 in order to trigg