Looping the same answer from the 1st row in the table

I have a database with 3 tables: (1) employeeTable (2) cityTable (3)stateTable.
I reference the employee's city name and state code by each id number from the cityTable and stateTable.
My Employee table has about 10 records, 3 has an idcity and idstate input, the rest are blank.
(1st row) id 9 for Henderson, id 28 for NV (6th row) id 9 for Henderson, id 28 for NV, and (10th row) id 10 for Las Vegas, id 28 for NV
I run a query:
<cfquery datasource="dsnName" name="qEmployees">SELECT * FROM users ORDER BY lastName ASC</cfquery>
<cfquery datasource="dsnName" name="qState">SELECT code FROM states WHERE idstate=#qEmployees.idstate#</cfquery>
<cfquery datasource="dsnName" name="qCity">SELECT name FROM cities WHERE idcities=#qEmployees.idcity#</cfquery>
a run the table output:
<table>
    <cfoutput query="qEmployees">
    <tr>
        <td>#qEmployees.lastName#, #qEmployees.firstName#</td>
        <td>#qCity.name#</td>
        <td width="40">#qState.code#</td>
        <td width="60">#qEmployees.zipCode#</td>
    </tr>
     </cfoutput>
</table>
PROBLEM:
All 10 records output in the table as the same answer from the 1st row (Henderson, NV).
What's making this loop having the same answer from the 1st row and affects all the rows with blank info or different info?
I've been trying to figure this out for weeks and I hope the community can help me out. Thanks!

As Dan rightly says, take a look into table joins; there's no point just giving you the answer as you'll just get stuck next time and these forums are to help people rather than to do their jobs for them.
What you're looking to do is a relatively simple join, so you shouldn't have to read up for long before you've mastered them. Plus your site will be significantly more efficient

Similar Messages

  • Query - compare answers to the same questions from only ID-X in first table to all ID's in second table

    Hello!
    I am designing a database for a summer exchange school. There are two main tables – Students and Host Families. I am struggling to create a command that would connect any chosen student with possible suitable host families.
    To determine, who is suitable, I created a table of 15 Yes/No questions, which are answered both by students and families. Now I would like to add a command button to the student form to create a query which would (1) search through all of the families and
    their answers and (2) compare these with the ones the chosen student gave (e.g. the student whose form is open). In the end it should (3) list all the families according to number of matching answers and also (4) show where they don’t match.
    Basically, I am completely lost here.
    Any help would be much appreciated! Thank you in advance,
    Vit

    The reason this is harder than it needs to be is because you have violated important database design rules by creating what's called a Repeating Group.
    Rather you should have a couple of tables:
    Stock list of questions:
    tblQuestions
    QuestionID autonumber PK
    QuestionText text(255) required uniqueindex
    Answers given by students:
    tblAnswers_Students
    QuestionID long int required PK
    StudentID long int required PK
    Answer yesno required default=false
    Similar for tblAnswers_GuestFamilies
    Then put the tables on the Relationships diagram, draw the relations, and in the dialog that comes up check the box to enforce the relation.
    Then see if you can figure it out with this correct database design.
    -Tom. Microsoft Access MVP

  • Reading the Data from dynamically added rows of a table...

    Hi,
                  I am using adobe interactive form (WD ABAP) in which i am adding the table rows dynamically (using Jscript code).  I have to fech these data into an internal table. But I can read only the first row data..
                  Also While adding rows dynamically the same data is repeating for the consecutive rows..
                  I have found many similar posts in sdn, but i cannot get the solution. They have mentioned about adding in WDDOINIT method. Can anyone explain me what should be done,..?
    1) How to solve repeatative data while adding rows..?
    2) How to read dynamically added row data during runtime into internal table..?
    Thanks,
    Surya.

    Discussed @ SDN lot of time before. Have a look at any of below threads:-
    Dynamic table in interactive form...
    Make dynamic tables in Adobe Interactive forms
    Adding Rows dynamically upon clicking the button
    How to get values to WebDynpro ABAP from dynamic table?
    Chintan

  • Get the value from a selected row in a table

    Hi all,
    My table contains a tree structure.
    When I select a single row, I need to get the value of a particular column.
    I created an action on the leadSelect of the table and gave the following code:
    public void onActionleadValue(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionleadValue(ServerEvent)
        String strLeadValue = wdContext.nodeAttribute_View_Out().currentAttribute_View_OutElement().getAttributeAsText("<MyModelAttributename>");
        wdComponentAPI.getMessageManager().reportSuccess("selected lead value "+strLeadValue);
        wdContext.currentContextElement().setLeadselectedvalue(strLeadValue);
        //@@end
    My Bapi returns me 6 records. and when I click on any row its always pointing to the last record value.
    What could be the problem?
    Thanks
    Anjana

    Hi Anjana,
    Try this.
    try
         IWDMessageManager msg = wdComponentAPI.getMessageManager();
         int leadselect = wdContext.nodeSChild1().getLeadSelection();
          for(int i=0;i<wdContext.nodeSChild1().size();i++)
              if(leadselect == i)
              //Displaying output in diff table
    //           IPublicTestComp.ITableNodeElement tabelm = wdContext.createTableNodeElement();
    //           tabelm.setAttribute1(wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute1());
    //           tabelm.setAttribute2(wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute2());
    //           tabelm.setAttribute3(wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute3());
    //           wdContext.nodeTableNode().addElement(tabelm);
              String att1 = wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute1();
              String att2 = wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute2();
              String att3 = wdContext.nodeSChild1().getSChild1ElementAt(i).getAttribute3();
                     msg.reportSuccess("Row ("i") : "att1"====="att2"======"+att3);
    } catch (WDDynamicRFCExecuteException e) {
         wdComponentAPI.getMessageManager().reportException("Message : "+ e.getMessage(),true);
    Regards,
    Mithu

  • Looping the tables

    hi experts,
                 I have a typical requiremnt .i need to get some numbers during section screen .i have created a smartform with a table in it .according to the number i have selected at selection screen .the tables should be printed .how to do this.?

    Hi
    Use this simple code to generate a  Random number.
    Regards
    Raj
    REPORT ZRANDOM.
    Random Numbers
    DATA : MYAMOUNT LIKE BBSEG-WRBTR.
    DO 5 TIMES.
      PERFORM GENERATE_RND.
    ENDDO.
    FORM GENERATE_RND.
    CALL FUNCTION 'RANDOM_AMOUNT'
      EXPORTING
         RND_MIN  = '1'
         RND_MAX  = '100'
         VALCURR  = 'DEM'
      IMPORTING
         RND_AMOUNT = MYAMOUNT
       EXCEPTIONS
         OTHERS   = 1.
    WRITE:/ MYAMOUNT.
    ENDFORM.          " GENERATE_RND

  • Getting values from a specific row in a table

    hi all, i have a table that has the following data
    WITH sec AS
      SELECT 111 id,  'XPE' cid,  10 alias, 'TLC' Description, 'PEYU' lvl_1, 'IES' lvl_2, ' BAN' lvl_3 FROM dual UNION ALL
      SELECT 111 id,  'XPE' cid,  78 alias, 'TLC2' Description, 'SUN' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
       SELECT 111 id,  'XPE' cid,  200 alias, 'TLC' Description, null lvl_1, null lvl_2, ' BAN' lvl_3 FROM dual UNION ALL
      SELECT 111 id,  'XPE' cid,  54 alias, 'TLC3' Description, 'SUN5' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
      SELECT 112 id,  'XPE2' cid,  10 alias, 'PAD' Description, 'PEYU' lvl_1, 'IES' lvl_2, ' BAN' lvl_3 FROM dual UNION ALL
      SELECT 112 id,  'XPE2' cid,  78 alias, 'PAD2' Description, 'SUN' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
      SELECT 112 id,  'XPE2' cid,  54 alias, 'TLC3' Description, 'SUN5' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
      SELECT 112 id,  'XPE2' cid,  200 alias, 'PAD' Description, 'SIN' lvl_1, 'CON' lvl_2, ' UIE' lvl_3 FROM dual UNION ALL
      SELECT 113 id,  'XPE3' cid,  10 alias, 'PAD5' Description, NULL lvl_1, NULL lvl_2, NULL lvl_3 FROM dual UNION ALL
      SELECT 113 id,  'XPE3' cid,  200 alias, 'PAD5' Description, NULL lvl_1, NULL lvl_2,  NULL lvl_3 FROM dual UNION ALL
      SELECT 113 id,  'XPE3' cid,  78 alias, 'PAD7' Description, 'SUN' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
      SELECT 113 id,  'XPE3' cid,  54 alias, 'TLE' Description, 'SUN5' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual
    )i want to write a query that give me this output
    ID     CID     ALIAS     DESCRIPTION     LVL_1     LVL_2     LVL_3
    111     XPE       10     TLC             PEYU     IES       BAN
    111     XPE       200     TLC             PEYU    IES      BAN
    111     XPE       78     TLC2             SUN              BAN3
    111     XPE       54     TLC3             SUN5              BAN3
    112     XPE2     10     PAD             PEYU     IES       BAN
    112     XPE2     200     PAD             SIN     CON       UIE
    112     XPE2     78     PAD2             SUN                BAN3
    112     XPE2     54     TLC3             SUN5              BAN3
    113     XPE3     10     PAD5               
    113     XPE3     200     PAD5               
    113     XPE3     78     PAD7             SUN              BAN3
    113     XPE3     54     TLE             SUN5              BAN3
    this is how the logic works:
    as you can see the table has many different set of ids, 111,112,113 and each id has a set of alias
    for id 111 and alias 200 the sec table has null values for level 1 and level 2 columns. what i want to do
    is that if any of the level1,level2 and level3 columns has null VALUES(FOR aliases=200) then the values should be taking from the ROW(s) with alias=10
    in this case alias=200 display peyu and ies for level1 and level2 column. this values were taking from the row with alias=10 and id =111.
    level3 stay the same since it is not null
    for id 112 and alias =200, none of te level columns has null so the value stay the same as in the table
    for id 113 alias 200, all level columns has null so the value should be taking from alias=10 id =113.
    in this case the row with alias=10 has also null so both rows 200 and 10 gets display with null values
    the other rows with different alias should just be display.
    i tried using las_value analytic function but i was not successful. i am using ORACLE 9I and ignore null option in last_value function is not supported
    the data in the table is not in any particular order.
    can someone help write a query that gives me the output above. thanks

    If I understand correct,below solution is corect. :-)
    col lvl_2 for a10
    WITH sec AS(
    SELECT 111 id, 10 alias,'PEYU' lvl_1, 'IES' lvl_2, ' BAN' lvl_3 FROM dual UNION ALL
    SELECT 111 id, 78 alias,'SUN' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
    SELECT 111 id,200 alias,null lvl_1, null lvl_2, ' BAN' lvl_3 FROM dual UNION ALL
    SELECT 111 id, 54 alias,'SUN5' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
    SELECT 112 id, 10 alias,'PEYU' lvl_1, 'IES' lvl_2, ' BAN' lvl_3 FROM dual UNION ALL
    SELECT 112 id, 78 alias,'SUN' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
    SELECT 112 id, 54 alias,'SUN5' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
    SELECT 112 id,200 alias,'SIN' lvl_1, 'CON' lvl_2, ' UIE' lvl_3 FROM dual UNION ALL
    SELECT 113 id, 10 alias, NULL lvl_1, NULL lvl_2, NULL lvl_3 FROM dual UNION ALL
    SELECT 113 id,200 alias, NULL lvl_1, NULL lvl_2,  NULL lvl_3 FROM dual UNION ALL
    SELECT 113 id, 78 alias,'SUN' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual UNION ALL
    SELECT 113 id, 54 alias,'SUN5' lvl_1, null lvl_2, ' BAN3' lvl_3 FROM dual
    select id,alias,
    case when alias = 200 and lvl_1 is null
         then max(decode(alias,10,lvl_1)) over(partition by id)
         else lvl_1 end as lvl_1,
    case when alias = 200 and lvl_2 is null
         then max(decode(alias,10,lvl_2)) over(partition by id)
         else lvl_2 end as lvl_2,
    case when alias = 200 and lvl_3 is null
         then max(decode(alias,10,lvl_3)) over(partition by id)
         else lvl_3 end as lvl_3
      from sec
    order by id,alias;
    ID  ALIAS  LVL_  LVL_2  LVL_3
    111     10  PEYU  IES     BAN
    111     54  SUN5  null    BAN3
    111     78  SUN   null    BAN3
    111    200  PEYU  IES     BAN
    112     10  PEYU  IES     BAN
    112     54  SUN5  null    BAN3
    112     78  SUN   null    BAN3
    112    200  SIN   CON     UIE
    113     10  null  null   null
    113     54  SUN5  null    BAN3
    113     78  SUN   null    BAN3
    113    200  null  null   null

  • Need to identify from whom/where row on particular table inserted

    Hi,
    There is master table having 60 rows but each day one row inserted in this table which is not at all required from businees prospective and we do not know from where this row inserted ?
    can any body help me to identify from where this one row inserted may be by auditing OR triggers ?
    appreciated for help
    Thanks
    prakash

    user12194321 wrote:
    Hi,
    There is master table having 60 rows but each day one row inserted in this table which is not at all required from businees prospective and we do not know from where this row inserted ?
    can any body help me to identify from where this one row inserted may be by auditing OR triggers ?
    appreciated for help
    Thanks
    prakashDBMS_LOGMNR

  • How to loop through xml records from file without ROW , /ROW tags?

    I am using dbms_XMLSave.insertXML procedure to insert xml formated record from file. MY xmlformated records does not have open and close ROW tags. I have multiple records in the file.How can I loop through without <ROW>,</ROW> tags?

    I am using dbms_XMLSave.insertXML procedure to insert xml formated record from file. MY xmlformated records does not have open and close ROW tags. I have multiple records in the file.How can I loop through without <ROW>,</ROW> tags?

  • Loop the table entry and for every entry perform some action.

    Hello Experts,
    I have a requirement where there are let say n no. of entries in my ITAB and now for every entry i have to check certain field value and based on that i have to send respective mail.
    Now this has to run in background mode and the job will run on daily basis so the entries of table that are already processed should not be reprocessed.The scenario is every day the new entries will be added to ITAB and the newly added entries should be processed only.
    Please provide some sample code if possible.
    Thanks,
    Naveen

    Hi,
    I can not add a new field to the existing ztable. Crating a copy of ztable with addtional field status and setting it as processed against the record whenever i populate ITAB from ztable could be a solution but seems very lenthy method.
    There is one filed zdate  so write the code as below:-
    loop at itab where zdate = sy-datum
    email code------
    endloop.
    OR can i make use of
    loop at itab into wa
      ON change  of <filed1>
    email code-----
       ENDON
    endloop.
    Thanks,
    Naveen

  • Excel attachment contains only 1st row of Internal Table.

    Hello,
    I have designed a Vendor Ledger report and want to send the same as an excel attachment. I have made use of function module SO_NEW_DOCUMENT_ATT_SEND_API1 wherein I pass the parameters.
    The program works perfectly fine as I am receiving email along with the excel attachment. Also, the excel attachment opens without any errors. Also, the alignment of columns and data is perfect.
    But the problem is if my internal table is having 10 rows, I get only the first row of  the internal table in the excel sheet.
    I also put a break point just before calling the function module to send email, I could see that the internal table which contains the attachment is having all 10 rows.
    I really don't know what's going wrong in this.
    Request you to please help.
    Regards,
    Danish.

    Hi,
    Hi this is my code. Also, one thing I found that if i remove the Report Name i.e. "Vendor Ledger" , I get more than 1 row in my excel sheet. I feel there is some problem with the document size attributes.
    * Header for exception report
      CONCATENATE 'CC' 'Vendor' 'Stat' 'Name' 'Doc.No' 'FY' 'DDate' 'PDate'
                  'AssNo.' 'Doc.Tp' 'G/L' 'LAmt' 'LCurr' 'DAmt'
                  'D/C' 'Cl.Doc' 'TaxCd' 'TaxAmt'
                  INTO it_attachment SEPARATED BY
                  cl_abap_char_utilities=>horizontal_tab.
      CONCATENATE cl_abap_char_utilities=>cr_lf it_attachment INTO it_attachment.
      APPEND it_attachment.
    * Split Internal table data using horizontal tab.
      CLEAR it_main.
      LOOP AT it_main.
        CLEAR: lc_amt, dc_amt, tax_amt.
        lc_amt = it_main-lc_amount.
        dc_amt = it_main-amt_doccur.
        tax_amt = it_main-w_tax_base.
        CONCATENATE it_main-comp_code
                    it_main-vendor
                    it_main-status
                    it_main-name1
                    it_main-doc_no
                    it_main-fisc_year
                    it_main-doc_date
                    it_main-pstng_date
                    it_main-alloc_nmbr
                    it_main-doc_type
                    it_main-sp_gl_ind
                    lc_amt
                    it_main-loc_currcy
                    dc_amt
                    it_main-db_cr_ind
                    it_main-clr_doc_no
                    it_main-w_tax_code
                    tax_amt
                INTO it_attachment SEPARATED BY
                cl_abap_char_utilities=>horizontal_tab.
        CONCATENATE cl_abap_char_utilities=>cr_lf it_attachment INTO it_attachment.
        APPEND it_attachment.
      ENDLOOP.
    * Create Mail Body and Attachment.
      psubject = 'Vendor Ledger'.
      lv_message = 'Dear Sir/Madam,'.
      APPEND lv_message TO it_message.
      lv_message = ' '.
      APPEND lv_message TO it_message.
      lv_message = 'Attachment contain Vendor Ledger for Testing.'.
      APPEND lv_message TO it_message.
      lv_message = ' '.
      APPEND lv_message TO it_message.
      lv_message = ' '.
      APPEND lv_message TO it_message.
      lv_message = 'This is a System Generated Mail. Please do not reply.'.
      APPEND lv_message TO it_message.
    **Perform for populating mail characteristic info
      CLEAR gd_doc_data.
    * Populate the subject/generic message attributes
      gd_doc_data-obj_langu = sy-langu.
      READ TABLE it_attachment INDEX w_cnt.
      gd_doc_data-doc_size = 1.
      gd_doc_data-obj_name  = 'Danish'. "'SAPRPT'.
      gd_doc_data-obj_descr = psubject.
      gd_doc_data-sensitivty = 'F'.
    * Describe the body of the message
      CLEAR it_packing_list.
      REFRESH it_packing_list.
      it_packing_list-transf_bin = space.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 0.
      it_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES it_packing_list-body_num.
      it_packing_list-doc_size = it_packing_list-body_num * 255.
      it_packing_list-doc_type = 'RAW'.
      APPEND it_packing_list.
    **Describe the attachment info
      CLEAR it_packing_list.
      it_packing_list-transf_bin = 'X'.
      it_packing_list-head_start = 1.
      it_packing_list-head_num = 1.
      it_packing_list-body_start = 1.
      DESCRIBE TABLE it_attachment LINES  it_packing_list-body_num.
      it_packing_list-doc_type = 'XLS'.
      it_packing_list-obj_name = 'File'.
      it_packing_list-obj_descr = 'File'.
      it_packing_list-doc_size = it_packing_list-body_num * 255.
      APPEND it_packing_list.
      REFRESH it_receivers.
      CLEAR it_receivers.
      it_receivers-receiver = 'Email Address'.
      it_receivers-rec_type = 'U'.
      it_receivers-com_type = 'INT'.
      APPEND it_receivers.
    **Function Module to send mail
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = gd_doc_data
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = it_packing_list
          contents_bin               = it_attachment
          contents_txt               = it_message
          receivers                  = it_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
    Regards,
    Danish.

  • Yes i keep ashing the same question i keep getting the same answer and it is not resolving the problem

    YES I KEEP ASKING THE SAME QUESTION I KEEP GETTING THE SAME ANSWER AND IT IS NOT RESOLVING THE PROBLEM AND CHAT KEEPS SENDING ME BACK TO THE FORUMS THEY SAY THEIR EXPERTS WILL BE ABLE TO RESOLVE THE PROBLEM BUT IT IS NOT RESOLVED YET I KEEP GETTING THE SAME ANSWER FROM FORUM EXPERTS WELL THAT IS NOT WORKING I NEED A SOLUTION THAT WILL WORK I PAID FOR THIS AND I WANT TO USE IT BUT I CANNOT
    TRYING TO ACTIVATE A trial version of photoshop elements 7.0 disc worked till in the middle got an erroe fur and animalskin file missing checked dvd and it had a scratch so 3 times i downloaded a trial version of photoshop elements 7.0 from adobe.com but when try to activate get invalid serial number the website said have your serial number ready to activate which i do because i am getting it right from the dvd case it is registered i am signed in and chat just keeps telling me it is too old try the forums which i have many times with no resolution but they mark it as assumed resolved premeir elements 7.0 from the same dvd case is on why can't i activate trial version of photoshop elements 7.0 my computer crashed and i had to restore then i am now trying to put the programs
    maybe i can buy or exchange the dvd of photoshop elements 7.0 without because my serial number is good so i maybe just need a new disc being this disc is scratched i've got 40 to 50 hours into this 1 trial version of photoshop elements 7.0 more than i have in the whole computer restore and all the other programs i have restored have windows xp service pack 3 or 3.5 and net framework 4.0 and all the important and required updates i also have an open case which i am getting no where either case #213952591 which i responded to within 4 days as not resolved but i am still getting no help activating this trial version of photoshop elements 7.0
    24 Views
    Tags:

    YES I KEEP ASKING THE SAME QUESTION I KEEP GETTING THE SAME ANSWER AND IT IS NOT RESOLVING THE PROBLEM AND CHAT KEEPS SENDING ME BACK TO THE FORUMS THEY SAY THEIR EXPERTS WILL BE ABLE TO RESOLVE THE PROBLEM BUT IT IS NOT RESOLVED YET I KEEP GETTING THE SAME ANSWER FROM FORUM EXPERTS WELL THAT IS NOT WORKING I NEED A SOLUTION THAT WILL WORK I PAID FOR THIS AND I WANT TO USE IT BUT I CANNOT
    TRYING TO ACTIVATE A trial version of photoshop elements 7.0 disc worked till in the middle got an erroe fur and animalskin file missing checked dvd and it had a scratch so 3 times i downloaded a trial version of photoshop elements 7.0 from adobe.com but when try to activate get invalid serial number the website said have your serial number ready to activate which i do because i am getting it right from the dvd case it is registered i am signed in and chat just keeps telling me it is too old try the forums which i have many times with no resolution but they mark it as assumed resolved premeir elements 7.0 from the same dvd case is on why can't i activate trial version of photoshop elements 7.0 my computer crashed and i had to restore then i am now trying to put the programs
    maybe i can buy or exchange the dvd of photoshop elements 7.0 without because my serial number is good so i maybe just need a new disc being this disc is scratched i've got 40 to 50 hours into this 1 trial version of photoshop elements 7.0 more than i have in the whole computer restore and all the other programs i have restored have windows xp service pack 3 or 3.5 and net framework 4.0 and all the important and required updates i also have an open case which i am getting no where either case #213952591 which i responded to within 4 days as not resolved but i am still getting no help activating this trial version of photoshop elements 7.0
    24 Views
    Tags:

  • Code To Update the Table in ECC from Webdynpro

    Hi All,
    I want to know, the table is dispalyed in the webdynpro browser when we calls the Adaptive RFC Model.
    after i want to add one more row in the webdynpro and just clicking on add button the row will be updated in the ECC server(backend) for that how can i write the coding,  regarding this issue can you please help me.
    ThanX All,

    Hi Sriram,
              Assuming you have a table filled with records by adding one by one, If you want to update a table in SAP ECC, follow these steps..   i think already you are triggering the action for the button in view(for table updation) to method in controller or created a custom controller and mapped the model node.
    1.  Initialize the main model node and bind the model node with the intialised object like
         Zbapi_MainModelNode_Input input = new Zbapi_MainModelNode_Input();
                           wdContext.nodeZbapi_MainModelNode_Input ().bind(input);     
    2.  Now loop the table node and set the values with corresponding class in the generated model (from webdynpro explorer) and initialize like
            IPrivateControllerName.ITableElement myTab = null;     
           for ( int i = 0; i < wdContext.nodeTable().size();i++)
                         myTab = this.wdContext.nodeTable().getTableElementAt(i);
         Bapi_structname name = new Bapi_structname();     
                        name.setFieldName1(myTab.getFieldName1);
                        name.setFieldName2(myTab.getFieldName2);
                        input.addT_Bapi_(name);
    Finally execute the BAPI..
       wdContext.currentZbapi_MainModelNode_Input tElement().modelObject().execute();
    Hope this solves your issue - Update the Table in ECC from Webdynpro.
    Regards,
    Manjunath
    Edited by: Manjunath Subramani on Nov 20, 2009 4:26 PM
    Edited by: Manjunath Subramani on Nov 20, 2009 4:27 PM

  • How do I copy content from an entire row into a different table?

    How do I copy content from an entire row of one table into a different table?  When I try to copy/paste the selected row into a row of the same size  and configuration in another table in the same document, the cells change width, the formatting and border thicknesses change, and the text gets squeezed.  When I was working with tables in Microsoft Word, there was no problem selecting text from a row in one table and placing it into a similar row and configuration in another table.

    Hi Christopher Morgan
    And welcome to apple discussions. With regard to your main question ....
    Q: Can this be done?
    A: It can but not easily (in that you may take a hit in quality). Apps like MpegStream Clip or DVDXDV may help:
    http://www.dvdxdv.com/NewFolderLookSite/Products/DVDxDV.products.htm
    It converts it back to a QT file for use with iDvd (or iMovie).
    Hope this helps but if not just come on back.
    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software / products that may be mentioned in this topic. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information above at your own discretion.

  • How do I stop mail from looping the same emails into inbox?

    How do I stop mail from looping the same emails into the inbox over and over again? It does the same thing with deleted messages that keep showing up again and again in multiples even after deleting them. I have made sure my server settings in all email accounts are set to delete immediately once I delete them on my MacBook Pro/IPhone. This issue has severely compromised the efficiency of Mail on my MacBook. Thanks for any help you're able to give me.

    I have tried that but it does not fix the problem.
    The "card" group is not a previous recipient.
    Although not available for editing in Contacts, it is a valid group showing up in the "To" field of Messages, Mail, or any app using the AddressBook.
    Its associated file is automatically created in:
    ~/Library/ApplicationSupport/AddressBook/Sources/<hexaFolder>/MetaData/<hexa>ABG roup.abcdg
    This is why it also shows up in the Spotlight results...
    If I manually remove this file, it gets recreated...
    If I turn off the syncing through iCloud, the entry gets deleted. If I turn it up, it comes back!

  • I can't upgrade to Yosemite but I fulfill all requirements. If I try to upgrade to Mavericks I am forwarded to Yosemite again. It is a close loop with no answers. Anybody else is experiencing the same with a MacBook Air 1,1?

    I can't upgrade to Yosemite but I fulfill all requirements. If I try to upgrade to Mavericks I am forwarded to Yosemite again. It is a close loop with no answers. Anybody else is experiencing the same with a MacBook Air 1,1?

    A MacBookAir1,1 can’t be upgraded past 10.7.5.
    (115081)

Maybe you are looking for

  • Unable to open any programs in ABAP editor

    Hi folks i'm unable to open any programs in ABAP Editor. When ever i try to open any program it goes to short dump. Even when i try to open STO4 to view error log. it shows following message Short text     Runtime error, short dump could not be writt

  • Folders not showing files

    I'm currently using a 13" Macbook Pro purchased in early 2011 and running on OSX Mavericks. I've been using the third party software Mackeeper for well over a year now and it's been great. I make good use of the encryption service that the app provid

  • Dynamic message with Alert popup window?

    I'm using the simplest form of Alert popup window. Is there a way I can put a dynamic alert message in the window? For example, the Alert shows the "XYZ" at beginning, and then change to "ABC" by an event before the OK button is clicked.

  • ALV Grid Filter it_filter

    Hi Experts. Filter is not working. Giving DUMP "Unable to interpret '*' as number". I am trying not to show 0.00 values in ALV for field 'OPEN_BAL'. My code   ls_filter-fieldname = 'OPEN_BAL'.  " *Is a Currency Field of TYPE umxxs*   ls_filter-tabnam

  • Input an electric guitar

    How can I input my electric guitar into the garage Band programm? When I input it I hear thru the Imac Mic, not with the USB input. I've an Imic. I also put the preferences thru the USb Imic, nut no sound... I try thru my Boss BR1200CD and with the R