Access follwing values in table interface

Hi,
how can I access follwing values in the table interface.
I want to use the value of the 9th column cell in the first one to create a link.
But with
if i_x = 1.
endif.
I'm just able to access the current cell.
By the way, is there a possibility to add columns? How?
greetings form munich
Mike

Hi,
you can have also access on the complete result set of the table (meaning on every cell) at any time in processing the table interface. But this requires some basic understanding on the dataset and especially the cell_data.
http://help.sap.com/saphelp_nw04/helpdata/en/2a/20ac3a22f0785ce10000000a11402f/frameset.htm
and
http://help.sap.com/saphelp_nw04/helpdata/en/e0/42a63adf18e648e10000000a11402f/frameset.htm
Heike

Similar Messages

  • Accessing ID Value Mapping table in XSLT

    Hi Experts,
    In the XSLT mapping,I would like to access my value mapping table which i defined in ID .The purpose of ID value mapping here is, the table entries will be changing in future and i don want to use fix values, XML table  which is defined in runtime.
    I have gone through the blog
    /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
    which explians design value mapping table in XSLT.
    Is there any way to access Configuration Value Mapping table in XSLT? If yes, can you explain how should i achieve it ?

    Hi,
    you can use the xivmService to call ID val map tables.
    Use tha java function executeMapping, Its a standard SAP api.
    Declare the Service in XSLT at start
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:vm="com.sap.aii.mapping.value.api.XIVMService" version="1.0"> 
    Call the val mapping table using below template wherever required.
    <xsl:template name="ValueMapping">
    <xsl:param name="SenderParam"/>
    <xsl:value-of select="vm:executeMapping( 'SenderType', 'SenderTypeSchema', $SenderParam, 'receiverType', ReceiverTypeSchema')"/>
    </xsl:template>
    Call template like :
    <xsl:call-template name="ValueMapping">
    <xsl:with-param name="SenderParam">
    try it and let me know if you have any doubt.
    regards
    Inder
    Edited by: Kulwinder Grewal on Aug 12, 2009 11:36 PM

  • Accessing DropDownByKey value in Table

    Hi everyone,
    I have a table and inside it dropdownbykey.
    I want to go with a loop on the table contents.
    with the following command:
    wdContext.nodeResearcherTable().getElementAt(i)...
    I get the selected row of the table.
    But, how do I get what the user chose?How do I get the selected key of the dropdownbykey in the table ?
    Thanks you guys.
    Ruthie.

    > Hi everyone,
    >
    > I have a table and inside it dropdownbykey.
    > I want to go with a loop on the table contents.
    > with the following command:
    > wdContext.nodeResearcherTable().getElementAt(i)...
    > I get the selected row of the table.
    > But, how do I get what the user chose?How do I get
    > the selected key of the dropdownbykey in the table ?
    >
    > Thanks you guys.
    > Ruthie.
    Hi Guys,
    I still have problems.
    Anilkumar - I can't use currentTableNodeElement() because
    I need to go over the intire table with a loop so I need
    some condition which uses the iterator of the loop -
    like - getElementAt(i)...
    Bharathwaj - I wasn't clear enough. key isn't a name of
    a field but I wanted to get the key of the dropdownbykey.
    after:
    wdContext.nodeResearcherTable().getElementAt(i)
    I can use either getAttributeValue()
    or getAttributeAsText().
    Any suggestions ???
    Thanks.
    Ruthie.

  • Value Mapping Table - XI MDM Design Question

    Hi All,
    I have a scenario as :
    When XI receives data from a sender system,before sending data to receiver system (in this case MDM),XI is supposed to check some fields in MDM and depending on the result XI should decide whether to send the records or not.
    Now,in this case I have two options:
    1.After recieving data from sender system ,from XI mapping call a webservice(webservice is supposed to go to MDM and check the fields and give the result),then depending on the result XI will decide whether to send or not.
    2.After receving data from sender system,from XI mapping access a value look table in XI from a UDF and then check the result,then depending on the result XI will decide whether to send or not.
    I have pointed out some glitches for every option:
    1.First considering volume of XI source message( approx. 800 records per message),then MDM database records (approx 40000 or 50000).Hence once XI receives message XI will have to go to MDM for every record and every time it will search among 40000 MDM records using webservice.
    This will effect performance as for every record webservice will be called and again it might face connection problems.
    2.In this option XI will have to store all the 40000 records from MDM in the value lookup table.Again,how to synch up this value lookup table with MDM database?
    This table has to be a copy of MDM database which changes everyday.
    Is it ok to store around 40000 records in XI's value lookup table?
    Considering above points can you please help me to find out optimum solution?
    Thanks,
    Shweta.

    >>Is it ok to store around 40000 records in XI's value lookup table?
    its advised to use value mapping for static values,not for dynamic values,since you will have changes everyday you should not use Value mapping here.
    now coming to your first approach,why not copy this table from MDM to XI(i know XI is not the owner of data,but if its an internal MDM server,you should be able to do it),once the table is copied in XI itself,you can simply use ABAP mapping to create the receiver structure.
    the above approach looks good to me as long as the MDM guys don't have any problem with XI storing the data as well and you sync up the table between XI and MDM periodically
    Thanx
    Aamir

  • How can i access value mapping table using xslt mapping

    Hi All,
    I have maintained value mapping table in integration directory.I want to access the data from the value mapping table in XSLT mapping using java function.PLease suggest me to do this.
    Thanks
    Pullarao.

    Value mapping that thread should solve your query !!!

  • Table Interface / Web: value from free characteristic

    Hi,
    i am using 2 queries. In the first query i got the free characteristic "calendar year month". Now i created a link with table interface to jump to the second query. With this link i would like to filter query 2 with calendar year month from query 1. How can i get the value from the calendar year month? With drill down there is no problem to get the value in method CHARACTERISTIC_CELL. But with free characteristics this is not so easy.
    Any ideas?
    Regards,
    M. Erbil

    Hi Erbil,
            Please find below the usage of GET_STATE_INFOS,
    DATA  l_sx_axis_data TYPE rsrds_t_axis_data.
               CALL METHOD me->GET_STATE_INFOS
               IMPORTING
               E_T_SLICER = l_sx_axis_data.
    You can get the 0CALMONTH from the above resultset.
    Cheers,
    Kartheek

  • Trying to access row values in a table which does not have any rows yet

    try{
                             MappedRecord importParams = recordFactory.createMappedRecord("CONTAINER_OF_IMPORT_PARAMS");
                             IFunction function1 = client.getFunctionsMetaData().getFunction(funModGetDet);
                             IStructureFactory strucFact = interaction.retrieveStructureFactory();
                             response.write("try2 :"+pnumber);
                            IRecord structure = (IRecord) strucFact.getStructure(function1.getParameter("PERNR_TAB").getStructure());
                             response.write("try111 :"+pnumber);
                             structure.setString("PERNR",pnumber);
    I am getting the following error "Trying to access row values in a table which does not have any rows yet " where PERNR_TAB is a table containing field "PERNR".
    Can anybody help me out?

    Please re-post this question in the appropriate forum. It seems to have nothing to do with Web Dynpro.

  • How to access value mapping table in xi ?

    Hi All,
    i want to load all value mapping table data from XI to a excel sheet. how can i do it ?could anyone provide java code needed for it ?

    Hello
    Maybe you could extract it via the Integration Directory Webservice Programming Interface...
    Check this link:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/6dca42e5c269dfe10000000a11466f/frameset.htm
    There is a section for Valuemappings there. Apparently it would be a matter of calling the corresponding webservice with the GUID of the valuemapping and it returns the data.
    Good luck and please tell us if it works!
    -Sam.

  • Get the filter value in the Modify Table interface

    Dear Colleages,
    I use a Table Interface in order to get aditional values in a web template from a table, but I need the filter value used in the query.
    I can get it with "get parameter" sentence:
    GET PARAMETER ID '/BI0/OCALMONTH' FIELD MES1
    But I cannot when I have a filter instead of a variable, it doesn't work using a variable without "manual entry" option.
    ¿How can I get this filter value?
    Regards,
    Jose

    Hi Jose,
    Use method get_state_infos (http://help.sap.com/saphelp_nw04/helpdata/en/32/ab3a3c24b4a00ae10000000a11402f/frameset.htm)
    The dynamic filters are in e_t_slicer.
    If this a a static filter or a variable, you can find them in e_t_txt_symbols.
    Heike

  • Table Interface - Accessing the TR tag

    Is there a way to change the style of a <tr> tag using the table interface class?  If so, is there a way to check to see if you are on a result row? Then change the style of the <tr> tag.  I need to be able to hide all non-results rows at the <tr> tag.

    HI Matt,
    Try using conditions - it might help in hiding non result rows..
    --SA

  • How to access the value of a field of a field symbol.

    Hello All,
    i need to access the value of a field in a field symbol. But when i am trying to get the value like <FS>-POSNR, it's showing that that the <FS> has no structure.
    In my program, the field itself that i need to check should be dynamic. ie i'll get the field in a variable and i need to find the value of that field.
    Am pasting my code below, please tell me what needs to be done.
    here in my sample code i am moving the entry of the <FS> into a work area structure. But in my actual program, i gets the structure as a parameter. So is there any way i can declare a work area dynamically...
    FUNCTION z_39181_dyn_fs_60758.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(PARAMETER) TYPE  VBELN
    *"  TABLES
    *"      DATA_TAB
      BREAK-POINT.
      FIELD-SYMBOLS <fs> TYPE ANY.
      FIELD-SYMBOLS <fs1> TYPE ANY.
      FIELD-SYMBOLS <fstab> TYPE ANY TABLE.
      DATA name(5) VALUE 'POSNR'.
      FIELD-SYMBOLS <f> TYPE ANY.
      DATA: dref TYPE REF TO data,
            dref1 TYPE REF TO data,
            dref2 TYPE REF TO data.
      DATA: lv_lips TYPE string.
      DATA: lv_lipsfld TYPE string,
                lv_fld TYPE string,
                lw_lips TYPE lips.
                lv_lips = 'LIPS'.
                lv_fld = 'LW_lips-POSNR'.
      CREATE DATA dref1 TYPE (lv_lips).
      CREATE DATA dref TYPE STANDARD TABLE OF (lv_lips).
      CREATE DATA dref2 LIKE LINE OF data_tab.
      ASSIGN dref->* TO <fstab>.
      ASSIGN dref1->* TO <fs>.
    assign dref2->* to <fs
      <fstab> = data_tab[].
      LOOP AT <fstab> INTO <fs>.
        lw_lips = <fs>.
        WRITE lw_lips-vbeln.
        ASSIGN (lv_fld) TO <fs1>.
       write <fs>
      ENDLOOP.
    Helpful answers will be rewarded...

    Use syntax
    ASSIGN COMPONENT name OF STRUCTURE struc TO <fs>.

  • Header characteristic cell (table interface)?

    Hi folks,
    I'm using a table interface (herited from cl_rsr_www_modifiy) to customize the data cell value.
    I want to add a link which will contain as url parameters the corresponding row and header  characteristic_cell i_chavl of the data_cell.
    To get the current row characteristic_cell i_chavl, I redefined the method characteristic_cell as follow :
    IF I_X = 1.
      L_FILTER = I_CHAVL .
    ENDIF.
    Thus the method data_cell can retrieve the corresponding row i_chavl.
    The problem is to get the header i_chavl... If I use the same way as above, I will only get the latest header i_chavl value of my table (since that a table is created from left to right, up to down)...
    How can I get that header back for the method data_cell?
    I was thinking of defining cell_content_id to the header characteristic cells and get it back by a javascript function call...
    Before going futher, I would like to listen to your suggestion.
    Thx
    Bvs

    You can define an additional table (on a structure) as attribute to your class.
    In the characteristic_cell definition, you can populate this structure (alogwith i_y value)
    In data_Cell you can read this table based on i_y value.
    In start method, you can refresh this table.
    I am sure there is an easier way (you can access all information in n_r_request) in data_cell method, but you will need to explore n_r_request to see where the relevant information is. In this case you won't need to do the above.

  • Import conversion data table from SAP R/3 into value mapping table in XI

    Hi:
        Somebody knows how to import a table with conversion data that are in SAP R/3 and to take it to a value mapping table in XI?
        The purpose is to use a mapping table that can change in the future. Must I use a ABAP programming that retrieve data and build the value mapping table?
        If so, how I specify in the ABAP programming the group id, the scheme, the agency and the corresponding value?
        Please, help me.
        Regards!!!

    Hi David,
    please refer to this section in the help: http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    There is an interface for mass replication of mapping data. The steps you need to carry out to use this are:
    +Activities
    To implement a value-mapping replication scenario, proceed as follows:
           1.      Register the Java (inbound) proxies.
    To do so, call the following URLs in the following order in your Internet browser:
    ¡        http://:/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplication&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplication&method=valueMappingReplication (for the asynchronous replication scenario)
    ¡ http://:/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplicationSynchronous&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplicationSynchronous&method=valueMappingReplicationSynchronous (for the synchronous replication scenario)
    You only need to perform this step once (for each installation).
           2.      Application programming
    The ABAP program must perform the following tasks:
    ¡        Read the value mapping data from the external table
    ¡        Call the outbound proxy used to transfer the data to a message, which is then sent to the Integration Server
           3.      Configuration of the replication scenario in the Integration Directory
    This involves creating all the configuration objects you need to execute the scenario successfully. One special aspect of the value-mapping replication scenario is that the receiver is predefined (it must be on the Integration Server). The sender, however, is not predefined in the replication scenario and can be defined to meet your individual requirements.
    For example, you can use the shipped ABAP proxies.
    In the case of the receiver communication channel, choose the adapter type XI. Ensure that you configure a channel for the Java proxy receiver in this case.
    Enter the path prefix /MessagingSystem/receive/JPR/XI for this purpose.
    +
    Regards
    Christine

  • Get selected row values from Table view control

    Hi ,
    I am using transaction ME23N, would like to access row values from item table for selected row. I have written a script as in screen shot and its giving me error at java script step two. I want to get the PR number from item table for selected row.
    With Regards
    Vishal Lokapur

    H Vishal,
    Can you please share how you were able to resolve the issue regarding the selected row
    in case of a table control .
    Regards

  • Access field value in ALV

    Hello experts,
    I have created an simple ALV Grid report, in that I have implemented double click event n I want to create a new ALV grid with new data to be displayed. So I want to access field value ie using SLIS_SELFIELD or anything. Could anyone please guide me how can I access a field value using slis though SLIS_SELFIELD has methods like SEL_TAB_FIELD... I wan to access something like SEL_FIELD_VALUE but its not available in the class.
    Thanks in advance...
    Regards,
    Viral Patel

    Hi Viral,
    SLIS_SELFIELD has an attribute named VALUE which holds the value you selected row & TBAINDEX holds the row number.
    Refer below code snippet :-
    FORM user_command
              USING s_ucomm LIKE sy-ucomm
              s_selfield TYPE slis_selfield.                    "#EC CALLED
      CASE s_ucomm.
        WHEN '&IC1'.
          CLEAR wa_podat2.
          READ TABLE itab_podat2 INTO wa_podat2 INDEX s_selfield-tabindex.
          CHECK sy-subrc = 0.
          IF wa_podat2-ebeln = s_selfield-value.
            SET PARAMETER ID 'BES' FIELD wa_podat2-ebeln.
            IF wa_podat2-ebeln IS NOT INITIAL.
              CALL TRANSACTION c_tcode.
            ENDIF.
    For above event to happen, you have to use parameter I_CALLBACK_USER_COMMAND of  REUSE_ALV_GRID_DISPLAY as below :-
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program      = l_repid
          i_callback_user_command = 'USER_COMMAND'
          it_fieldcat             = itab_fieldcat
          it_events               = itab_events
        TABLES
          t_outtab                = itab_podat2[].
    Regards
    Abhii
    Edited by: Abhii on Nov 30, 2009 11:25 AM

Maybe you are looking for

  • Time Machine no longer backs up to OSX Server

    I have a client who got a new MBP running Mountain Lion to replace her broken MBP running Snow Leopard. She also has a Snow Leopard server which has some AFP shares and is used as a Time Machine target. However, after restoring from backup on her new

  • Play movies bluetooth speakers

    I've just learnt on these forums that FaceTime won't play audio via bluetooth speakers. Can you play audio from iTunes rented movies to bluetooth speakers, or will they only playback music? On a related note, will AirPlay speakers playback audio from

  • Need help organizing 1600+ photos for a digital picture frame.

    I need to organize 1600+ photos semi-randomly on a mass storage device for use in a digital picture frame that will only allow organization by date and folder. I say semi-random because there are a few photos that I would like to keep next to each ot

  • What are the steps requried for r/3 to xi and xi to r/3 configuraiton ?

    Hi Experts What are the steps requried for r/3 to pi 7.1 and pi 7.1 to r/3 configuraiton ? Thanks & Regards G.Praveen Kumar Edited by: praveen.tecnics on Apr 1, 2009 4:51 PM

  • Java Checker needs JRE to install??

    Hi Everyone, I have just downloaded the Java Checker for Personal Java and am having big trouble installing it. Could someone please advise. This is what it says in the install file: The JavaCheck installation file is a zip archive that contains a se