Using table rows for input

Hi,
Is it possible to use rows of table for input? Table binded to a RFC model table parameter. The rows of table is looking readonly. 
Best regards,
Altug Bayram

Hi,
Did u check if the  attributes set to read only. ?
What is the cardinality of the node.
And when it is a input for the RFC , i think you have missed the createElement part...!
P.S : It will be gain more attention when it is a seperate question.
Regards
Bharathwaj
Message was edited by: Bharathwaj R

Similar Messages

  • Help - using table as RFC input

    Dear all,
      I'm new to web dynpro.I've just created a program to create PI doc. I had already import the module as well as configure the JCO.
    Bapi_Matphysinv_Create_Input input = new Bapi_Matphysinv_Create_Input();
    wdContext.nodeBapi_Matphysinv_Create_Input().bind(input);
    input.setHead(new Bapi_Physinv_Create_Head());
    how should i declare the table as input for RFC? any example for using table as RFC input? i had already look into the TutWD_Flighlist...but it seems doesnt do me any good.. pls help and advice. Thank you.

    Hi Joan,
    1. Create a value node in your context.
    2. Add value attributes to this all those required for your input to BAPI(Keep its  
        type same).
    3. Bind this node to table UI element and keep all the column type as input field
        so that you can enter value in that at runtime.
    4. Now in you action where you execute BAPI just before that set all these values from node to model node.
    eg.
    Bapi_Matphysinv_Create_Input input = new Bapi_Matphysinv_Create_Input();
    Bapi_Physinv_Create_Head() head =new Bapi_Physinv_Create_Head();
    for(int i=0; i<wdContext.node<valueNode>().size();i++)
    head.set<Attribute>(wdContext.<valueNode>().get<ValueNode>ElementAt(<index>).get<attributeName>);...
    input.addHead(head);
    wdContext.nodeBapi_Matphysinv_Create_Input().bind(input);
        try
        wdContext.currentBapi_Matphysinv_Create_InputElement().modelObject().execute();
        wdContext.nodeOutput().invalidate();
        catch(Exception e)
    Regards,
    Murtuza

  • Using tables parameters for RFC

    Hi All
    I am trying to use tables parameter for a Remote Function Call.
    It says it is obsolete and not working, we are using ECC6.0 version of SAP.
    Any help??

    Instead, you should use a table type in a IMPORTING or EXPORTING parameter.  Create the table type in SE11 and then reference this table type in your parameter in the IMPORTING/EXPORTING tab.  The use of TABLES parameters section is obselete.
    Regards,
    Rich HEilman

  • How to get default input values when using promt user for input

    I use "promt user for input" to input some values. The messageboard appears with blank boxes then I will input  new values. I want to make some default values in this blank boxes so that I needn't to enter new values. Is it possible ?

    Right click on he Express Vi terminal and choose open Front panel to convert it into a standard vi. Then open it. Enter a default value for each control, then right-click on the controls and go to data operation > make current value default.
    Message Edité par chilly charly le 11-18-2007 12:52 PM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        

  • Embedd excel in browser, use excel interface for inputing values.

    Embed excel sheet in browser and give application same functionality as excel sheet gives. We can use the excel sheet for input and able to update the values in database.
    Please provides the solution as how to do it. Is there any reply...........

    you can use applet to do this work.
    Jxcell spreadsheet somponent is a excel compatible spreadsheet.
    It can be embed in java applet.support cell format,formula,pic,chart etc,
    all these can exchange with Excel.
    http://www.jxcell.net

  • Using Logic sounds for input and playback in Sibeius

    Hi. I've been running Sibelius and Logic on different PC's, and just for fun, I installed Sibelius on my Mac today. I used my Master Keyboard to play in a test song.
    So now I'm wondering whether I can use Logic sounds for inputtting AND for playback. Since I also have VSL on the mac, I don't really want to install the GPO which I use on my Pc with Sibelius.
    Thanks, Kay.

    Have you think using IAC ? I.e you set it as a "Midi Out" port in Sibelius so the midi will carry the data to Logic and trigger its Instruments via the virtual midi cables ( the IAC bus ).
    Take care to select Software Instruments tracks only. If you select some track which use say Multi, Standard or Mapped Insr. ( which port is set to IAC by chance ) you will cause midi feedback and crash the Logic app.
    !http://img59.imageshack.us/img59/4967/aglogo45.gif! [www.audiogrocery.com|http://www.audiogrocery.com]

  • How to Use a table UI for input ?

    Hi All ,
    I just want to ask how to use a Table UI in webdynpro ABAP to insert , change and delete rows ?? and can we give a drop down facility in table columns ? . This is really urgent .
    Thanks in advance.
    Regards,
    LAS

    Hi LAS,
    Everything is possible. I am providing the logic here which will help you a lot.
    For insert, Change, Delete: 
       Just get the all the elements into temp internal table and get the lead slected index. Now instrt one row in the lead selected index position. then again bind the temporary internal table to your table node. Thats all it works like inserting the row.
    In the same way you can do the change and delete rows also.
    For Dropdown:
      Here i am providing the code for Dropdown. It will help you out.
      Just create the Dropdown view for the columns for which you want dropdown. And do the coding for that.
      Here in my scenario IT is the Table node which holds the information. And i am providing the dorpdown key for the column "BSCHL".
      If you have any dobts just reply to me . i will respond it.
    Code:
      data : ls_outtab               type /kyk/s_fb01_line,
             lt_outtab               type table of /kyk/s_fb01_line,
             lv_node_sd              type ref to if_wd_context_node,
             lv_node_it              type ref to if_wd_context_node,
             lv_node_info            type ref to if_wd_context_node_info,
             lv_node_sapmf05a_0106   type ref to if_wd_context_node,
             lv_node_waers           type ref to if_wd_context_node,
             lv_node_layout          type ref to if_wd_context_node,
             lv_rowcount             type i,
             lv_buzei                type i,
             lv_waers        type waers,
             lt_bschl_set    type wdy_key_value_table,
             bschl_key_item  type wdy_key_value.
    bind to context
      lv_node_sd      = wd_context->get_child_node( name = 'SD' ).
      lv_node_it      = lv_node_sd->get_child_node( name = 'IT' ).
      call method lv_node_it->bind_table
        EXPORTING
          new_items = lt_outtab.
    fill Dropdown Help for posting Key
      bschl_key_item-key    = '40'.
      bschl_key_item-value  = cl_wd_utilities=>get_otr_text_by_alias( '/KYK/FIN_FI/DEBIT_GL_ACCOUNT' ).
      insert bschl_key_item into table lt_bschl_set.
      bschl_key_item-key    = '50'.
      bschl_key_item-value  = cl_wd_utilities=>get_otr_text_by_alias( '/KYK/FIN_FI/CREDIT_GL_ACCOUNT' ).
      insert bschl_key_item into table lt_bschl_set.
      bschl_key_item-key    = '21'.
      bschl_key_item-value  = cl_wd_utilities=>get_otr_text_by_alias( '/KYK/FIN_FI/DEBITVENDOR' ).
      insert bschl_key_item into table lt_bschl_set.
      bschl_key_item-key    = '31'.
      bschl_key_item-value  = cl_wd_utilities=>get_otr_text_by_alias( '/KYK/FIN_FI/CREDITVENDOR' ).
      insert bschl_key_item into table lt_bschl_set.
      lv_node_info = lv_node_it->get_node_info( ).
      lv_node_info->set_attribute_value_set( name = 'BSCHL' value_set = lt_bschl_set ).
    Warm Regards,
    Vijay

  • Using table data for control

    Hello,
    I would like to use data entered in a table to automate air flow volume/sequence to a test chamber. As shown in the table control screen grab, the first column specifies the number of iterations through table elements during a test run and second column data specifies duration for each row sequence. Entries in the other columns are specific to different flow valves and specify set point values required to meter flow.
    I guess my question is how can I index/assign each column in the table such that data to operate respective valves are obtained at subsequent iterations whilst simultaneously acquiring data from other components sequentially? Whilst I acknowledge that the solution may be quite simple, I have trawled through various examples and posts on tables and arrays without hitting on a solution. The attached .vi allows me to do some part of the test run.
    Best regards,
    Callisto
    Solved!
    Go to Solution.
    Attachments:
    Chip Firing.vi ‏34 KB

    Hi Callisto,
    If I understand your question correctly then the solution is in fact fairly straightforward. The important point to bear in min is the fact that the Table control can effectively be dealt with as an array of string. You can then use all of the traditional array manipulation tools and techniques to manipulate your data as you want. For example, use the Index Array function to extract specific columns and then if you want to pass individual elements within a column into a loop, wire the array up to the loop and ensure that Indexing is enabled. If you then want to use these data elements to drive your test application, you may want to convert some of the resulting string into more useful numeric's.
    All of these concepts are demonstrated in the attached VI. I hope this helps, but let me know if you have any further questions.
    Best Regards,
    Christian Hartshorne
    NIUK
    Attachments:
    926242 - Table Control.vi ‏9 KB

  • More than 1 line items in bdc using table controls for BOM

    Hi....
    how do u update more than one line item for BOM using BDC table control.......
    is there any specific command for doing that.......
    hav tried d following code bt it takes the flatfile i/p FOR 2 LINE ITEMS as 2 different BOM'S.....
    would appreciate ur help....plz provide code.............
    REPORT zbdc4_cs01
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    INCLUDE bdcrecx1.
    DATA : a TYPE i,
           b type i,
           c type i.
    DATA : BEGIN OF it_rec OCCURS 0,
           rec(200) TYPE c,
           END OF it_rec.
    DATA : BEGIN OF ctab OCCURS 0,
           matnr(18),
           werks(4),
           stlan(1),
           END OF ctab.
    DATA : BEGIN OF xtab OCCURS 0,
           idnrk(18),
           menge(13),
           postp(1),
           END OF xtab.
    DATA : BEGIN OF itab OCCURS 0,
           matnr(18),
           werks(4),
           stlan(1),
           idnrk(18),
           menge(13),
           postp(1),
           END OF itab.
    START-OF-SELECTION.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename            = 'C:/TEST4.TXT'
          filetype            = 'ASC'
          has_field_separator = 'X'
        TABLES
          data_tab            = it_rec.
      LOOP AT  it_rec.
        a = strlen( it_rec-rec ).
        if a = 55.
        itab-matnr = it_rec-rec+0(18).
        itab-werks = it_rec-rec+18(4).
        itab-stlan = it_rec-rec+22(1).
        itab-idnrk = it_rec-rec+23(18).
        itab-menge = it_rec-rec+41(13).
        itab-postp = it_rec-rec+54(1).
        APPEND itab.
        elseif a > 55.
        itab-matnr = it_rec-rec+0(18).
        itab-werks = it_rec-rec+18(4).
        itab-stlan = it_rec-rec+22(1).
        itab-idnrk = it_rec-rec+23(18).
        itab-menge = it_rec-rec+41(13).
        itab-postp = it_rec-rec+54(1).
        APPEND itab.
        itab-idnrk = it_rec-rec+55(18).
        itab-menge = it_rec-rec+73(13).
        itab-postp = it_rec-rec+86(1).
        APPEND itab.
        endif.
      ENDLOOP.
      PERFORM open_group.
      LOOP AT itab.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29N-STLAN'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29N-MATNR'
                                       itab-matnr.           "'3000000107'.
        PERFORM bdc_field       USING 'RC29N-WERKS'
                                       itab-werks.              "'UN02'.
        PERFORM bdc_field       USING 'RC29N-STLAN'
                                       itab-stlan.              "'1'.
        PERFORM bdc_field       USING 'RC29N-STLAL'
        PERFORM bdc_field       USING 'RC29N-DATUV'
                                      '11.08.2008'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0110'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29K-BMENG'
                                      '1'.
        PERFORM bdc_field       USING 'RC29K-STLST'
                                      '1'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29K-EXSTL'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0111'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29K-LABOR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSTP(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RC29P-IDNRK(01)'
                                       itab-idnrk.             "'1000000232'.
        PERFORM bdc_field       USING 'RC29P-MENGE(01)'
                                       itab-menge.              "'100'.
        PERFORM bdc_field       USING 'RC29P-POSTP(01)'
                                       itab-postp.             "'L'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0130'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR'.
        PERFORM bdc_field       USING 'RC29P-POSNR'
                                      '0010'.
        PERFORM bdc_field       USING 'RC29P-IDNRK'
                                      '1000000232'.
        PERFORM bdc_field       USING 'RC29P-MENGE'
                                      '100'.
        PERFORM bdc_field       USING 'RC29P-MEINS'
                                      'KG'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0131'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POTX1'.
        PERFORM bdc_field       USING 'RC29P-SANKA'
                                      'X'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_dynpro      USING 'SAPLCSDI' '0140'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RC29P-POSNR(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=FCBU'.
        PERFORM bdc_transaction USING 'CS01'.
      ENDLOOP.
      PERFORM close_group.

    Hi
    Check this sample code for the Table Control in BDC:
    data: fnam(20) type c.
    move 1 to id.
        loop at TI_STAGING WHERE VENDOR = IT_STAGING-VENDOR AND DOCDATE = IT_STAGING-DOCDATE.
          concatenate 'RM06E-EPSTP(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-itmcategory.
          concatenate 'EKPO-KNTTP(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-accassignment.
          concatenate 'EKPO-EMATN(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-material.
          concatenate 'EKPO-TXZ01(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-shortxt.
          quan = ti_staging-poqty.
          concatenate 'EKPO-MENGE(0' id ')' into fnam.
          perform bdc_field       using fnam quan.
          concatenate 'RM06E-EEIND(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-deliverydate.
          netpr = ti_staging-netpr.
          concatenate 'EKPO-NETPR(0' id ')' into fnam.
          perform bdc_field       using fnam netpr.
          concatenate 'EKPO-MATKL(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-mategroup.
          concatenate 'EKPO-WERKS(0' id ')' into fnam.
          perform bdc_field       using fnam TI_STAGING-plant.
          ID = ID + 1.
        ENDLOOP.
    Regards,
    Vishwa.

  • Want to print a dark line as seperator in table row  for each loop

    Hi,
    I have a collection of data
    I have to print it in a table but condition is it should print a dark line as separator in table for each loop & also have to print a dark line in the end of table.
    means Some thing like below
    Table Headings
    Data1
    Data1.1
    Data1.2
    Data2
    Data2.1
    Data2.2
    Please help ..
    Bunty
    Message was edited by:
    bunty_india

    Well what does your looping code look like?
    Are you using scriptlets? or JSTL forEach?
    Do you have nested loops?
    What is your data structure?
    Your question about knowing which is the last line in the table requires knowing all of these things. Help us to help you.

  • Can't use my screen saver while using front row for music?

    When I work I have my computer on the desk next to me, usually I have music playing and my very large image library running through my screen saver. I used to be able to start up my music using the remote, going through front row. I'd start up the music and back out. It would just return to my screen saver at that point.
    Now when I try to do that, I can't back out of front row without also backing out of my music. It's kind of annoying... I mean, I can just start up itunes and go from there, but it was a nice function that I really got used to.
    Does anyone know of a setting that I can adjust that would allow me to do this again?
    Thanks

    The way it used to work, I'd already have my screen saver running, I'd open front row from my remote, and just start up itunes through that. I'd never actually see the itunes app because it would just open on the toolbar. As soon as I backed out of front row it would automatically go right back to the screen saver while still playing my music. All from across the room.
    Now I have to go over to my computer, open up itunes, start that up, windowshade it to the dock, then hot corner my screen saver again. All sitting right at the desk.
    It was a nice convenience. I don't understand the loss. At least give us the option to open it in the background in preferences. I've always appreciated the fact that Apple let us use our computers the way we like. This just seems counterintuitive.

  • Cant we use table row as commanlink in jdev 11.1.1.3?

    Hi All,
    i have search result table .one table column is af:commandlink.
    i set it action property to view.
    <af:column sortProperty="PtyId" sortable="false"
    headerText="#{bindings.SearchPartRVO1.hints.PtyId.label}"
    id="resId1c1">
    <af:commandLink id="ot5" text="commandLink 1" action="view"/>
    </af:column>
    when i click the commanlink i am getting following exception
    ava.lang.IllegalArgumentException: ADF_FACES-60071:The type: is not a legal type. The legal values for type are: [sort, launchPopup, query, launch, calendarDisplayChange, calendarActivity, rowDisclosure, poll, returnPopup, action, focus, popupFetch, dialog, valueChange, calendar, returnPopupData, return, regionNavigation, selection, contextInfo, carouselSpin, calendarActivityDurationChange, disclosure, rangeChange, queryOperat
    c
    i found similar issue in https://forums.oracle.com/forums/thread.jspa?threadID=2233404 it is open ended
    jdev version i sjdev 11.1.1.3
    appreciate your help                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Can you please confirm if this is what you are trying to do -
    Navigate to next view activity in a TF which is named as "view" .. can you try with partialSubmit=true.
    Also comparing with the other forum post there is no property your are trying to set .. right ?

  • Generated Report using two rows for headers

    I have generated an .rpt report to be emailed and turned into an excel spreadsheet. The problem I have encountered is the characters in the header were cutting off at about 8-9 characters. I have correct this but now all the characters in the header show up but it takes up 2 rows. Any ideas? Thanks.

    Hi ,
    I got this sorted out.The pbm was with my XML as My Rowset and Row had the same name.I changeed the rowset name and it worksfine now.
    Thanks Vetsrini!!

  • Using a textfield for input from keyboard to cause events

    Ok I know very little about java and even less about handling events... I am reciving conflicting information from different sources like webpages and the JDK docs but I so far have this code which compiles but doesn't work. I want it to draw an oval if the user inputs an a.
    public boolean Action(Graphics g, Event evt, Object arg){
              boolean a = true;
              if (evt.target instanceof TextField){
                   if (evt.target.equals(movement)) {
                        direction = direction();
                        System.out.println(direction);
                        clear();
                        if(direction == "a"){
                             g.setColor(Color.decode(randomHex.Colour()));
                             g.fillOval(10,10,10,10);     
                        }//end if direction
                   }//end if target
                   else {
                        a = false;
                   }//end else
              }//end event target textarea
              return(a);
         }//end action
    This of course is only my action method. I look forward to posts that'll help me out. Thx a lot guys.

    Assuming that "direction" is a String variable, don't do this:if (direction == "a")Instead, do this:if (direction.equals("a"))Your code tests whether the direction variable and the "a" constant refer to the same String object, which they won't. The revised code tests whether the direction variable contains the same characters as the constant "a".

  • Dynamic table rows created based on input value

    I've been searching the forum for either a tutorial or input
    on how to create a table where the number of rows are based on a
    user input value. I can't seem to find anything on this.
    Here's what I'm trying to do. I have site where people are
    charged based on the number of items they register. So if they want
    to register 2 items. They would input the number 2 for quanity and
    I would display a dynamic table with 2 rows. The user will input
    their data for the 2 items and I insert this into an
    itemsRegistered table. If they entered 4 I would give them 4 rows
    for input. I am using dreamweaver with PHP and MySql database. Can
    anyone point me in the right direction. Any help would be
    appreciated!

    Not exactly. The items are all the same but have a different
    registration number (like a serial number). So if the user wants to
    register 2 items. They would input the number 2 on the form. Then 2
    rows would appear on the table, one for each registration number.
    When they finish entering the data it would be inserted into the
    database as 2 records.
    So for example if item 1 has registration number 10000 and
    item 2 has registration number 11000. The registration numbers are
    unique. The table would look like this :
    CustomerID (links to customer table)
    RegistrationID (Unique in this table)
    ItemColor
    ItemShape
    I don't know if I've explained this well but thanks for even
    attempting to answer this! I really appreciate it!

Maybe you are looking for

  • How to Package Photoshop Extension for cs4/cs5 with manifest.xml

    Hello, tl;dr: How can I package my extension for both cs4 and cs5 in a way that respects the extension's window geometry? I have a panel that specifies window geometry in it's manifest.xml. When the panel is installed into Photoshop's panels/ folder,

  • Deletion of Release Group and Code in PO

    Dear Consultant, In Purchase order, we have created some release group and code, Unfortunately we deleted some groups Without deleting in Order wise. In table level the Release Group is there but in SPRO Release Strategy settings its not there..My co

  • Ipod photo-can't get  pictures from ipod to pc

    I have pictures in my ipod that I transferred with the USB digital camera connection, but I can't get them onto i-tunes/my computer. I can see them on the ipod, but when I connect to itunes and computer i can't see or access the pictures on either (P

  • Can you delete this post for me

    can you please delete this post by me i put some stuff in there i didnt need too....please and thanks http://discussions.info.apple.com/thread.jspa?threadID=2465729&tstart=0 -Mark

  • Which Japanese fonts are supplied with OS X 10.9?

    I'm specifically looking for a Japanese font that is common to both PC's and a Mac's. I need to transfer and edit InDesign documents between PC and Mac platforms.