Hi cani use multiple statment to past data frm different work area

hi i am doing like this is it ok
LOOP AT it_inv_data  INTO wa_inv_data.
READ TABLE it_zfi_inv_master INTO wa_inv_master  WITH KEY
                                CUSIP = wa_inv_data-CUSIP.
          IF SY-SUBRC = 0.
           wa_maturity-cusip = wa_inv_data-CUSIP.
           wa_maturity-status = wa_inv_data-status.
           wa_maturity-zdate = wa_inv_data-zdate.
           wa_maturity-CREDSUPP =  wa_inv_master-CREDSUPP.
here ineed some data from wa_inv_data and some from wa_inv_master can i combilnely use this as above using data from wa_inv_master and wa_inv_Data to pass to wa_maturity
           APPEND wa_inv_data TO it_maturity.
           CLEAR: wa_inv_data.
          endif.

Hi,
It is possible to do it. Your logic is almost right.
You can use Move-corresponding to assign values from workarea if the field names are same in the source and target fields.
Loop at itab1 into wa1.
move-corresponding fields of wa1 to wa3.
read table itab2 into wa2 with key key1 = wa1-key1.
move-corresponding fields of wa2 to wa3.
append wa3 to itab3.
endloop.
Regards,
Lakshmi.

Similar Messages

  • I have purchased the new apple earpods a while ago (few months). And I was wondering if I can use my warranty cause one earpod doesn't work anymore

    I have purchased the new apple earpods a while ago (few months). And I was wondering if I can use my warranty cause one earpod doesn't work anymore.
    So please help!

    See this:  Using iPad or iPod with multiple computers, http://support.apple.com/kb/HT1202

  • For Cisco SPA112: can I make dial plan that can use 6 digit number without having to dial the area code 00357 but not for 0030?

    Cisco SPA112:
    Can I make dial plan that can use 6 digit numbers without having to dial the area code 00357 but also being able to dial 0030xxxxxxxxxx numbers?

    If you include a country number, you have to drop the initial 0 from the area code. eg +31 10 2345 6789 instead of +31 (0)10 2345 6789

  • Data of different session are not getting refreshed.

    We used select one choice and it is bind to the iterator. Data of different session are not getting reflected.
    Problem Scenario : Two browsers are open with same screen . In browser-1, I am adding new item which display on drop down of same screen. But drop down of browser-2 is not displaying the new added value.
    Please let me know how to refresh the data of browser-2 if I added data on different session.
    //JSFF entry
    <af:selectOneChoice binding="#{backingBeanScope.Product.ICTCSTName}"
    id="iCTCSTName" simple="true"
    label="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.label}"
    required="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.hints.mandatory}"
    value="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.inputValue}"
    autoSubmit="true">
    <f:selectItems value="#{bindings.tpCrudeSuperTypeFindAllPopulatedCT.items}"
    binding="#{backingBeanScope.Product.si2}"
    id="si2"/>
    </af:selectOneChoice>
    //Pagedef entry
    <list IterBinding="tpCrudeSuperTypeFindAllPopulatedCTIterator"
    ListOperMode="navigation"
    ListIter="tpCrudeSuperTypeFindAllPopulatedCTIterator"
    id="tpCrudeSuperTypeFindAllPopulatedCT" DTSupportsMRU="true">
    <AttrNames>
    <Item Value="superTypeName"/>
    </AttrNames>
    </list>

    Are you sure backingBeanScope is the correct scope for your scenario?
    Session scope sound more appropriate to me.
    binding="#{backingBeanScope.Product.si2}"

  • Different Asset value dates for different depreciation areas

    Hi All
    I have a requirement for different capitalization dates in different depreciation areas for some LATAM countries .How can this be achieved?

    Hi
    Hope you can achive this requirement by entering Depreciation calculation start date in depreciation area tab of asset master against each depreciation area
    Depreciation calculation start date
    'As a general rule, the system determines the depreciation start date from the asset value date of the first acquisition posting. However, you can also manually enter a calendar date in the asset master record for the start of depreciation. In that case, the system ignores the asset value date of the acquisition posting.'
    Please check different scenarios in development system and then do it
    Regards
    Praveen PC

  • After the most recent firefox update I can no longer copy and paste. the fuinction only works in Windows and I HATE usign it. Any suggestions on how to restore the copy and paste function while using Mozilla?

    I have been unable to use the copy and past command while using mozilla. the fucntion does work in windows IE, but I don't want to use windows. How do I restore or fix this function? I varies, works some days and not others.

    See http://kb.mozillazine.org/Clipboard_not_working
    Try to use the keyboard if the buttons on the web page aren't working.
    * Copy: Ctrl+C or Ctrl+Insert
    * Paste: Ctrl+V or Shift+Insert
    * Cut: Ctrl+X or Shift+Delete

  • SC is split in multiple PO when delivery date is different

    Dear Expert,
    We are on SRM 5 (SRM SERVER 550) in classic scenario.
    When we create a shopping cart in SRM , a PO is directly created in R/3. When we use multiple items, the system is generating multiple PO's because the delivery date is different. We do not want the system to create multiple PO's, even if the delivery date is different. Therefore we tried to implement BADI BBP_BS_GROUP_BE with method GROUP_PO_BACKEND, but this does not seem to do the trick. Any suggestions on this?
    Regards,
    Tom

    Hi Tom,
    you can check the splitting criteria in the SC transfer (bbp_pd_transfer - methode SPLIT_BACKEND_PO):
    SORT lt_object_split BY
    fixed_vend
    proc_org_ot|
    proc_org_id
    proc_group_ot
    proc_group_id
    agreement
    ctr_hdr_number
    be_doc_type
    be_co_code
    vper_end
    vper_start
    plant_country
    number_int.
    With BAdI badi_group_po_be can you change this for the PO.
    If the delivery date is different between SC lines, just one PO should be created with different lines.
    Delivery date is not an split criteria.
    Regards
    Laszlo

  • Using multiple devices in iTunes, each with different iTunes accounts

    My husband and I are trying to go from 2 computers to 1 in the house, but cannot figure out how we can run iTunes on one computer, with multiple iTunes accounts and NOT download each others apps, music etc automatically. My son also has an ipod which I want to have as a separate account.
    We still want to be able to share some of the downloads amongst each other - but selectively, and not have them automatically downloaded as they would if there were all on the one library / account.
    From what I can see on the online forums I can create a new library for each device to stop the automatic transfer of purchases, but then cannot find how we can select what we do and dont want to share amongst each other, or if this is even possible with multiple libraries.
    Is there a way that I can do all of the following:
    Have multiple devices on 1 computer in iTunes
    Each device has its own iTunes account
    Each device retains its own library
    Each device can select what purchases we want to share amongst the devices, without it automatically transferring onto each device?
    Many thanks!

    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer
    There is also this  >  cnettv.cnet.com/use-two-iphones-one-computerl

  • HT201269 I am curious if you can use itunes on one computer for two different itune accounts with different music etc?

    Please explain if one iTunes account can hold more than one persons information???

    How to use multiple iPods, iPads, or iPhones with one computer
    http://support.apple.com/kb/HT1495
    How To Best Use and Share Apple IDs across iPhones, iPads and iPods
    http://www.nerdsonsite.com/blog/2012/06/07/help-im-appleid-confused/
     Cheers, Tom

  • If I subscribe for a year, canI use CS6 on more than 1 pc? (work and home)

    As the title really - just want to know if I join I will be able to use the account to use PS at work and at home?
    Thank you

    Fodley123 You can use CS6 applications on upto 2 machines.

  • Need solu to Append the data frm different files..Element 'Rec' not expecte

    i need solution to append the data coming from different files.
    sample file is of format
    Header Records
    Data Records
    i need to append the data coming from files to single file which consist of single header and data records from all the four files.
    Using assign activity to append the Data Record. but not able to force the data to write in the target location
    Facing following error..
    Record in the below error is data records. i can view all the appended data put variable.but facing following error Element 'Record' not expected.
    <Record>
    <RecType>1</RecType>
    <SSAppsID>ICD </SSAppsID>
    <TSAppsID>NPS </TSAppsID>
    <FileType>CUSTOMER</FileType>
    <SeqNo>0030</SeqNo>
    <CusNum>50902 </CusNum>
    <CSAppID>ICONS </CSAppID>
    <CusName>YTL Communications Sdn Bhd </CusName>
    <OldIDCardNum/>
    <NewIdentyCardNum/>
    <PassPortNum/>
    <BusinessRegNum/>
    <Police_armyPerNum/>
    <SEGCode>W20</SEGCode>
    <SecCode/>
    <NewSegCode/>
    <IcareMAsterAccNum/>
    </Record>
    </Record>
    </Root-Element>
    </part>
    </PutFilesToTarget_Put_InputVariable>
    </input>
    <fault>
    <bpelFault>
    <faultType>0</faultType>
    <bindingFault>
    <part name="summary">
    <summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put_InboxNew' failed due to: Translation Error. Translation Error. Error while translating message to native format. Please make sure that the payload for the outbound interaction conforms to the schema. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>
    </part>
    <part name="detail">
    <detail>Element 'Record' not expected.</detail>
    </part>
    <part name="code">
    <code>null</code>
    </part>
    </bindingFault>
    </bpelFault>
    </fault>
    <faultType>
    <message>0</message>
    </faultType>
    </messages>

    ya i am reading the data and writing the data with the same format..
    but i need to append data from different files..eliminating the header from second file..
    i am invoking the write adapter out of the while loop..
    this seems some problem while writing..its looking for data records still..

  • Chart with data from different subject area

    What I want to draw in a single chart is the following (I made this up just to show my requirement)
    -The number of accounts by month (a line chart)
    -The number of activities by month (bar chart)
    Not all accounts necessary have any activity in a month.
    In excel I can have two data streams and I can use two Y-axis to present the two different data streams (# of accounts, # of activities). Is it possible to do this in Analytics? I look at the chart setup. It seems there is only one Y-axis. Is that the case?

    You can have 2 Y axis. Try the 3d charting mechanism and you may want to try a chart from a pivot stand point.

  • How to read data from dynamic work area.

    Hi guys,
                I have created dynamic table and work area for report.
    i have populated few values in dynamic work area.
    Now i want to read that data from work area again for calculation.
    i can not use local varialbes to store those values as i dont know how many such variables i need to read.
    that will be known only at run time.
    So as per my knowledge i have only 1 option...to read those all values from work area.
    Kindly help me .... how can i read data which is stored in dynamic work area.

    Hi Kiran,
    Following is not exact code, but exact solution to your problem:
      LOOP AT <dyn_table> ASSIGNING <dyn_wa>.
          l_tabix = sy-tabix.
          ASSIGN COMPONENT 'KOTAB' OF STRUCTURE <dyn_wa> TO <l_kotab>.
          IF <l_kotab> IS ASSIGNED AND <l_kotab> IS INITIAL.
            <l_kotab> = gt_tabs-kotab.
            MODIFY <dyn_table> FROM <dyn_wa> INDEX l_tabix.
          ENDIF.
        ENDLOOP.
    I am hardcoding KOTAB as I was sure about that being in the dynamic structure.
    You can loop on the field catalogue, which you used to create dyamic table,  to use the FIELDNAME to read all the fields of the work area (structure) of your dynamic table.
    thanks,
    Aabhas
    Edited by: Aabhas K Vishnoi on Sep 24, 2009 8:12 PM

  • Add fill data in previous  work area

    Dear moderator,
    below  is the data from jcds table, where i want to add new column ie (End date )in work area, which would add next date of the change field(stat) to the previous field . Is there any solution? i was tried for "on change on" , but it is add current field's record..not the previous one.....Would be pls help ??????????????
    Stat                 Udate      
    E0001          26.10.2010     (As- Is)
    E0010          27.10.2010   
    E0011          28.10.2010   
    E0011              30.10.2010
    E0012          01.11.2010    
    E0013          02.11.2010    
    Stat                     Start date         End date                                  
    E0001          26.10.2010     27.10.2010
    E0010          27.10.2010     28.10.2010  (To-Be)
    E0011          28.10.2010     30.10.2010
    E0012          01.11.2010     02.11.2010
    E0013          02.11.2010     02.11.2010

    Hi,
    I don't know if i understand your question correctly, but I hope this helps:
        SORT t_jcds BY udate DESCENDING.
        CLEAR w_jcds.
        LOOP AT t_jcds ASSIGNING <f_jcds>.
          IF w_jcds IS INITIAL.
            w_jcds = <f_jcds>.
            <f_jcds>-enddate = <f_jcds>-udate.
            CONTINUE.
          ENDIF.
          <f_jcds>-enddate = w_jcds-udate.
          w_jcds = <f_jcds>.
        ENDLOOP.
        SORT t_jcds BY udate.
    regars,
    Paulo.

  • How should I set up my VI so that I can use the linear fit coefficient data analysis program, when my values are coming from while loops within a sequence structure?

    I'm attempting to create a calibration program, using the printer port, and a Vernier Serial Box by modifying a calibration program designed for the serial box.
    There are six calibration points, and to collect them, I have it controlled by while loops so that the numbers are taken when a button is pushed, and this is inside a sequence structure so that I can get the six different points. I feed these numbers into two different arrays (for x and y values) and then try to use the linear coefficient analysis on these points, but the values for the slope and intercepts it returns are not correc
    t.
    If I cut out the array and coefficient analysis, and feed the same numbers in directly without the while loop and sequence structures, it produces the proper values... I don't know why the numbers it is producing are different, and I'd really like to know.
    Thanks,
    Karinne.

    I would use a data manager sub-vi that would be called by each from of the sequence structure that produced a data point. The data manager sub-vi could auto append new items or could place items in a specific entry of an array. Later on when you want to calculate the linear fit, call the sub-vi to return the array of values.
    Stu

Maybe you are looking for