Expression -puzzling(help needed)

Hi All,
Is there a possibility that my expression fails on the first run trying to load into a column in the table having truncation error,but ultimately runs at the second time(having that column alone empty while populating other columns?).
Help needed...ANy help on this topic wil be much helpful!!

Hi ssislara,
If I understand correctly, a derived column with expression fails in the first time when execution the package, but it works fine after change the source column to another column that has more length with empty. For example, use the expression (DT_WSTR,4)[column_name]
as the derived column, the original column is nchar(10) with value like ‘abcd’, the later column is nvarchar(50) with value like ‘abcd’.
If in this scenario, the issue you said is possible. Because nchar(10) is Fixed-length Unicode string data, nvarchar(50) is Variable-length Unicode string data. The expression (DT_WSTR,4)[column_name] can cause truncation error when the column with nchar(10)
data type.
If I have something misunderstood, please provide us more information about the issue. If possible, provide us some screenshots about the package design, error message, expression and column information. So that we can make further analysis and help you
out.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Drums on Logic Express 8 Help needed

    Hi there,
    I recently brought an imac, purely for my girfriend who writes and records her own music. We have Logic Express 8, and my partner loves it compared to cubase on her old pc! I myself play the drums, and would love to record drums onto this program. I have a real 13 piece kit, with mesh heads fitted to keep the noise down. Recording via a mic is not an option due to noise etc. Is there a way of triggering my drums to get a sound in Logic? I apologise if this sounds crazy, but I am a bit behind on the times! Any help on whether this is possible and what I will need is greatly appreciated!
    Many thanks,
    Keith.

    Their are multiple ways to record drums:
    * firstly, acoustic drums could only be micd, if you are looking to record with what you have, im afraid that's your only option
    *secondly, you could always use a sampler and trigger your drum samples with a midi keyboard, but i hate this method personally
    *thirdly, you could invest in a program such as EZ-Drummer, which has some very nice drum loops all organized by tempo...all you do is simply drag the loop into the arrange window, and if you'd like, you could open the piano roll and manipulate that loop
    *and the fourth (and in my opinion the best) method, is to sell those acoustic drums, and buy yourself an electronic drum kit...you can quantize your notes, you could load any sound sample you want on those pads to get a very diverse range of recordings...and best of all, no microphones! also, volume isn't a problem, if you want to play at 2 in the morning without waking the neighbors, then just through on some headphones and jam away
    im not sure if you wanted to know any of that cause i may of misinterpreted your question, but i tried.

  • Fios Time Capsule Airport Express 101 Help Needed

    I am trying to configure my network for the thirty-billionth time. I will start with my set-up, my goals and then my assumptions. If anyone has any thoughts, I am deeply appreciative.
    Set-up
    MI424WR-GEN2 router (802.11B/G/N; firmware: 20.10.7.5; henceforth "FR")
    Time Capsule (First Generation 802.11N)
    Two Airport Express (802.11N)
    One Airport Express (802.11G)
    All Airport Expresses are running 7.5.2
    Right now here's how I have my network configured:
    The TC and AEs are in bridge mode. The TC is connected to the FR by ethernet. Physically, the TC and FR are right next to each other. I have two wireless networks set up. One created by the FR which I have the radio set in "Compatibility Mode" , i.e., accepting 802.11B/G/N. The second wireless network generated by the TC, is set to 802.11N Only (5Gz).
    Optimally, I'd like to have one wireless network, instead of two. I'm willing to ratchet down the 802.11N only to a more compatible setting to get down to one network.
    Assumptions:
    I cannot use my FR in bridging mode -- meaning it simply sends traffic to my TC which handles IP addressing, NAT, etc.
    I cannot use my TC or AEs to extend my FR wireless network. And by "extend" I mean, use the boxes as signal boosters back to the FR. Physically, I have the ability, for instance, to move the TC from it current location to the master bedroom and connect it back to the FR via ethernet. In this case, I would like to be able to use the ethernet ports on the TC for some devices as well as use the wireless (single network preferablly) to boost the signal for some box-to-box applications I'm running as well as bandwidth intensive applications like Apple TV.
    It is my understanding that it is impossible to extend a network with a TC or AE unless it is Airport network. It is possible to join a non-Airport network but I'm not sure what that buys you.
    I am also under the assumption that the dual network configuration is impeding my ability to remotely connect to my iMac if it is running on the TC network which feeds back to the FR network.
    I have read blogs that argue for simply shutting down the Fios radio and set the Fios router to bridge mode in essence and use the TC for all wireless. I have read blogs that suggest a plethora of different approaches.
    I'm eager to figure this out and and promise to be responsive to questions and suggestions!
    Thanks in advance,
    JB

    you're suggesting using both radios so both the FR and TC are broadcasting. if both devices are physically next to each other, is there any benefit in terms of range?
    I must have misunderstood your earlier explantion about your desire to "extend" and thought that you were going to try to configure the TC to provide more wireless coverage for the FR network by locating the TC some distance from the FR router and connecting to it using a long Ethernet cable.
    If you plan to leave the TC sitting next to the FR router, then there is obviously no benefit, range wise, and a probable wireless interference issue if both routers are broadcasting the same signals in close proximity.
    The exception here would be if you plan to configure the TC as a 5 GHz band only while the FR provides that 2.4 GHz band. That type of setup is OK since both routers are broadcasting on different bands.
    I remember reading somewhere that ActionTec doesn't play well with AE  in WPA so I'll stick to WEP.
    If you want to configure the TC to provide a 5 GHz band, you cannot use WEP security.....only WPA2 Personal or WPA/WPA2 Personal....will work with 5 GHz.
    That means that the FR router must also be configured to use the same security settings. If it's not, then you will have two separate wireless networks with the same name and password, but different secuirty. That is bound to cause connection issues.
    If you cannot match up the FR security to the TC, then it would be better to assign a different name to the 5 GHz network to keep things straight.
    The other issue that you may face is if the TC is configured to provide 5 GHz, then that is what the AX"n" devices will try to extend.  It's not easy to extend 5 GHz since the signals are quite a bit weaker than 2.4 GHz signals. You almost have to thave a line of sight relationship between the TC and AX devices for 5 GHz to be extended.
    If you don't really need a dual band 2.4 GHz and 5 GHz network, then things would be a whole lot simpler if you turn off the wireless function on the FR router and setup the TC to provide a compatible "n/g/b" network, which the AX"n" devices will be able to extend.

  • Airport Express Install help needed as Airport utility for PC seems to sort of work?

    Hope someone can help.
    Just bought the Airport Extreme 802.11n Wi-Fi
    It is connected to my cable modem, and i have my ps3 hard wired to it.
    It is on and sending a signal because this computer is using the internet connect on it right now.
    Problem is it is still unsecured as the Airport Utility can find it but then when I click continue to set-it up it gives me the following message.
    An error occured while trying to access the apple wireless device. Make sure your network connection is valid and try again.
    Error 10057.
    Any help would be great. I'm on a PC running Windows 7.

    Thanks for the reply.
    All we have is the cable internet modem....it provides our phone and internet signals....tons of lights on it the front that are solid green or flashing green when in use.
    I have connected a cable from the modem to the airport express (WAN spot). Plugged in the device (power) and then downloaded Airport Utility for windows from apples website (no disk came in the box).
    I have have two wired connections running to the extreme as well, one is to my PS3 downstairs and the other I use when I'm at my desk with my office laptop. These shouldn't be affecting anything and I can get internet on my PS3 wired connecton so I know the router is functioning.
    I installed Airport Utility and have rebooted my PC running windows 7, I click and opne the Utility. It finds the base station but when I click on the options to continue or manual I get the error message noted in my first post. I have alos noted that the router goes green light to yellow to flashing yellow. It does nothing but flash amber right now.
    Hope this helps for solutions?

  • Weblogic Express | Installation help needed

    I have to install Weblogic Express. As mentioned in the http://e-docs.bea.com/wls/docs81/faq/wlx.html#939948, I followed the link
    http://commerce.bea.com/downloads/weblogic_express.jsp for installing the trial version of Weblogic Express but it takes me to the link for installing Weblogic Server/Express. I chose to download
    "WebLogic Server/Express 8.1 with SP3" but that installed Weblogic Server and other Weblogic features other than Weblogic Express.
    My question is that how can I install Weblogic Express and where can I find a good documentation for the same as I am finding it hard to find?
    Also I want to know that can Weblogic Express be integrated with JCA feature?
    Please Help.
    Thanks.
    Regards,
    Gaurish.

    Where can I get the weblogic express license? Does it come with the 8.1 SP4 evaluation download? Under WEBLOGIC_HOME, i only see license.bea and license_scale_limited.bea, none of which mentions anything about Express. Thanks!
    -Vu

  • Airport EXpress - Configuration Help Needed Please

    Hi All,
    I've just replaced my old Airport Extreme with the new 5th Gen product. I successfully migrated the settings from the old product and got the new one working pretty quickly - I am however slightly confused about the 2.4 GHz and 5GHz bands.
    My understanding is that on the 'default' settings then the Airport will broadcast both a 2.4 and 5GHz signal with the same name and 'older' computers and my iPhones will pick up the 2.4GHz signal whereas 'newer' computers like my MacBook Pro will pick up the 5GHz signal. This doesn't seem to work however and my MacBook Pro is connects to the 2.4GHz band.
    I tried renaming the 5GHz channel in the options to ****5GHz and the MacBook connected to this fine and gave me a noticeably faster connection. However when I did this the 2.4GHz devices slowed to a crawl and became unusable and the signal strength on these devices seemed to reduce noticeably.
    Am I correct in assuming that I should be able to hook up 2.4GHz enabled devices to the 2.4GHz channel and 5GHz enabled devices to the 5GHz channel? If so I would really appreaciate some pointers as to how to stop the 5GHz band from crippling the 2.4GHz devices.
    Thanks in advance of your help.

    Typically, wireless devices will connect to the network with the strongest signal. Depending on the distance (or obstacles like walls, ceilings, floors, etc.), the device may connect to the 2.4 GHz band instead of the 5 GHz band. In practice, the 5 GHz band is only useable in the same room due to signal probagation loss characteristics of higher frequencies.
    Keeping in mind that 802.11n can operate on both bands, "n" clients may select the 2.4 GHz band if it finds the signal quality better on this band.
    Also keep in mind that non-"n" clients, when connected, will degrade the overall bandwidth on either band: "b" & "g" clients on the 2.4 GHz band and "a" clients on the 5 GHz band. If you don't have a requirement to support any of these non-"n" clients, I would suggest that you change the Radio Mode to: 802.11n only (5 GHz) - 802.11n only (2.4 GHz)

  • Connecting via AirPort Express: Performance Help Needed.

    Hello,
    I'm grateful for ideas, instruction, pointers to threads I may have missed re: improving performance/determining the cause of poor performance when connecting via AirPort Express.
    The deal: Up to 6 devices are connected to our AirPort Express. Only three of these are ever used simultaneously, though all remain "on," in either sleep or hybernate mode. Performance across the network is terribly uneven. Current data rate stats (a snapshot by way of the AirPort utility, in order of distance from the router):
    iMac: 130 Mb/s
    Printer: 54 Mb/s
    Macbook Pro: 144 Mb/s
    iPhone: currently "off"
    PC (Connected via Belkin USB-type Wireless Adapter): 2 Mb/s
    iPad: 39 Mb/s
    Note: the Macbook Pro is often located in a room farthest from the hub, some 120 feet away and with partial direct line of site. Still, its performance is unimpeded.
    At first glance, logic would dictate the worst problem is on the PC and caused by the Belkin adapter. But I've swaped that out for different USB solutions. Performace is seldom improved.
    Wondering if:
    a) The PC problem is in the data transfer rate of the PC bus. (Foregive me if I'm using "bus" incorrectly here. I'm guessing you'll know what I mean.) Or is it the nature of the USB adapters?
    b) Please also note that the Printer, which sits close to the router, often has a drop in data rate, sometimes to the single digits.
    Again, I'm grateful for ideas, instruction, or pointers. Also for wisdom on "extending" the network, perhaps by adding another AirPort device. I'm rather clueless about such stuff.
    Thanks in advance-  Best for the weekend-

    Thanks,
    I'm pretty sure the card is seated properly (it works most of the time after all). I couldn't get it to work when I installed it because it wasn't seated properly, I pushed it in as far as it could possibly go and it has worked since (except after extended periods of use). The Airport express is three feet from the eMac with only a couple of bits of wood between them. The connection does not go down at times which I can link with the use of any particular appliances (When the eMac stops working, the iBook is always fine, even in a similar position). It is the apparently time-dependent aspect that I can't figure out (I only notice it on those, fairly infrequent, occasions when I am online for a few hours at a time). The eMac discussion group is a good tip. Ta.

  • [HELP] need TX2 recovery DVD/Image

    [HELP] need TX2 recovery DVD/Image HP won't repair it b/c i dont have the original software....can someone provide me an image or i will pay $ for DVD plz full model is TX2-1024CA

    That is a notebook PC. Maybe this document will help? http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00810334&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US...
    ... an HP employee expressing his own opinion.
    Please post rather than send me a Message. It's good for the community and I might not be able to get back quickly. - Thank you.

  • Recording help needed

    recording help needed. I'm a beginner, imac, logic express and helix board 12 firewire.
    I have recorded my daughter voice only ok, BUT when i import audio file to track 1 as backing track and my daughter is using headphones from the helixboard to sing to she does not record to track 2 when all in enabled.
    Should her headphone come from the imac and not the helix board
    Regards
    Paul

    Check the recording channel in the channel strip.
    It must be set the same as the audio interface channel.
    cheers
    rob

  • Troubleshoting help needed:  My iMac keeps crashing and restarting with a report detail: "spinlock application timed out"  What can I do to fix this?timed out"

    Troubleshooting help needed:  My iMac keeps crashing and restarting with a notice: "Spinlock application timed out"  What can I do?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the page that opens.
    Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • Help needed for writing query

    help needed for writing query
    i have the following tables(with data) as mentioned below
    FK*-foregin key (SUBJECTS)
    FK**-foregin key (COMBINATION)
    1)SUBJECTS(table name)     
    SUB_ID(NUMBER) SUB_CODE(VARCHAR2) SUB_NAME (VARCHAR2)
    2           02           Computer Science
    3           03           Physics
    4           04           Chemistry
    5           05           Mathematics
    7           07           Commerce
    8           08           Computer Applications
    9           09           Biology
    2)COMBINATION
    COMB_ID(NUMBER) COMB_NAME(VARCHAR2) SUB_ID1(NUMBER(FK*)) SUB_ID2(NUMBER(FK*)) SUB_ID3(NUMBER(FK*)) SUBJ_ID4(NUMBER(FK*))
    383           S1      9           4           2           3
    384           S2      4           2           5           3
    ---------I actually designed the ABOVE table also like this
    3) a)COMBINATION
    COMB_ID(NUMBER) COMB_NAME(VARCHAR2)
    383           S1
    384           S2
    b)COMBINATION_DET
    COMBDET_ID(NUMBER) COMB_ID(FK**) SUB_ID(FK*)
    1               383          9
    2               383          4
    3               383          2
    4               383          3
    5               384          4
    6               384          2          
    7               384          5
    8               384          3
    Business rule: a combination consists of a maximum of 4 subjects (must contain)
    and the user is less relevant to a COMB_NAME(name of combinations) but user need
    the subjects contained in combinations
    i need the following output
    COMB_ID COMB_NAME SUBJECT1 SUBJECT2      SUBJECT3      SUBJECT4
    383     S1     Biology Chemistry      Computer Science Physics
    384     S2     Chemistry Computer Science Mathematics Physics
    or even this is enough(what i actually needed)
    COMB_ID     subjects
    383           Biology,Chemistry,Computer Science,Physics
    384           Chemistry,Computer Science,Mathematics,Physics
    you can use any of the COMBINATION table(either (2) or (3))
    and i want to know
    1)which design is good in this case
    (i think SUB_ID1,SUB_ID2,SUB_ID3,SUB_ID4 is not a
    good method to link with same table but if 4 subjects only(and must) comes
    detail table is not neccessary )
    now i am achieving the result by program-coding in C# after getting the rows from oracle
    i am using oracle 9i (also ODP.NET)
    i want to know how can i get the result in the stored procedure itsef.
    2)how it could be designed in any other way.
    any help/suggestion is welcome
    thanks for your time --Pradeesh

    Well I forgot the table-alias, here now with:
    SELECT C.COMB_ID
    , C.COMB_NAME
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID1) AS SUBJECT_NAME1
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID2) AS SUBJECT_NAME2
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID3) AS SUBJECT_NAME3
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID4) AS SUBJECT_NAME4
    FROM COMBINATION C;
    As you need exactly 4 subjects, the columns-solution is just fine I would say.

  • Help needed I have a canon 40D. I am thinking of buying a canon 6D.But not sure that my len

    Hi all help needed I have a canon 40D. I am thinking of buying a canon 6D.
    But not sure that my lenses will work.
    I have a 170mm/ 500mm APO Sigma.
    A 10/20 ex  Sigma   HSM  IF.
    And a 180 APO Sigma Macro or do I have to scrap them and buy others.
    ALL Help will be greatly received. Yours  BRODIE

    In short, I love it. I was going to buy the 5DMark III. After playing with it for a while at my local Fry's store where they put 5DMII, 5DMIII and 6D next to each other, using the same 24-105L lens, I decided to get the 6D and pocket the different for lens later.
    I'm upgrading from the 30D. So I think you'll love it. It's a great camera. I have used 5DMII extensively before (borrowing from a close friend).
    Funny thing is at first I don't really care about the GPS and Wifi much. I thought they're just marketing-gimmick. But once you have it, it is actually really fun and helpful. For example, I can place the 6D on a long "monopod", then use the app on the phone to control the camera to get some unique perspective on some scenes. It's fun and great. GPS is also nice for travel guy like me.
    Weekend Travelers Blog | Eastern Sierra Fall Color Guide

  • Help needed! Raid degraded again!

    Hi!
    Help needed! I hava made bootable RAID with two S-ATAII 250Gb HDD and its not working! Every now and then at bootup I get a message RAID -> DEGRADED... Must be seventh time! Rebuild takes its own time!
    What am I doing wrong!
    T: Ekku
    K8N Neo4 Ultra
    AMD 64 4200+
    2 Gb RAM
    2 x 250 Gb HDD (Maxtor)
    nVidia RAID (in mb)
    P.S. I wery SORRY with my poor language!

    I'm going to blame the nVRAID because I've seen issues with it in the past. If your motherboard has another non-nVidia RAID solution, use that instead. Using the nVidia SATA ports as BASE or JBOD is fine and dandy but RAIDing always had issues. It's not even a driver issue I think it's just instability. Latest drivers and even boxed drivers never helped. Granted, some will report success with their rig. But on a professional level I've seen nForce issues on different motherboards and different hard drives that had RAID disaster stories.
    Good luck and if you don't have another RAID solution, my suggestion would be to buy a dedicated RAID controller card.
    LPB

  • HELP NEEDED WITH ADDAPTER-DVI TO VGA.

    PLEASE ...HELP NEEDED WITH WIRING CROSS OVER....CAN YOU HELP WITH BACK OF PLUG CONNECTIONS...I SORTA UNDERSTAND THE PINOUTS BUT CANT MAKE AN EXACT MACH...WOULD LIKE TO BE 100% SURE...
    ......THIS ENSURES NO SMOKE!!!                                                                                           
    THE CARD IS AN ATI RADEON RX9250-DUAL HEAD-.........ADDAPTER IS DVI(ANALOG)MALE TO VGA(ANALOG)FEMALE.
    ANY HELP VERY MUCH APPRECIATED........ SEEMS YOU NEED TO BE ROCKET SCI TO ATTACH A BLOODY PICTURE...SO THIS HAS BEEN BIG WASTE OF FING TIME!

    Quote from: BOBHIGH on 17-December-05, 09:21:31
    Get over it mate !
    I find it easy t read CAPS...and if you dont like it ...DONT READ IT!
    And why bother to reply...some people have nothing better to do.
    Yes there chep and easy to come by...Ive already got a new one.
    All I wanted was to make a diagram of whats inside the bloody thing...it was a simple question and required a simple answer.
    NO NEED TO A WANKA !!
    I feel a bann comming up.
    Have you tryed Google ? really.. your question is inrelevant. No need to reply indeed.
    Why do you come here asking this question anyway ? is it becouse you have a MSI gfx card ? and the adapter has nothing to do with this ?
    You think you can come in here yelling.. thinking we have to put up with it and accept your style of posting. This is not a MSI tech center.. it's a user to user center.. Your question has nothing to do with MSI relavant things anyway's.
    Google = your friend.
    Quote from: BOBHIGH on 17-December-05, 09:21:31
    it was a simple question and required a simple answer
    Simple for who ? you (buying a new one) ? me ? we ?   .really...........
    Quote from: Dynamike on 16-December-05, 04:11:48
    1: There are allot of diffrent types of those adapters.
    If any of the mods have a problem about my reply.. please pm me.

  • Help needed for grouping.

    Hi,
        Help needed .
    I have an internal table having 6 .
    Ex :
    f1     f2    f3     f4    f5    f6
    a     aa    11    p1  10    10
    a     aa    12    p1  20    20
    b     aa    11    p2  30    30
    b     aa    12    p2  40    30
    Now i want to sum the fields f5 and f6 individually and need to display based upon the fields f1 and f4.
    To Display :
    f1     f2    f3     f4    f5    f6
    a     aa    11    p1  30    30.
    b     aa    11    p2  70    60.
    can anyone help me.How to do this..?
    Thanks

    Here you go
    DATA:
      BEGIN OF cur_tab OCCURS 0,
        f1        TYPE c,
        f2(2)     TYPE c,
        f3(2)     TYPE c,
        f4(2)     TYPE c,
        f5(2)     TYPE c,
        f6(2)     TYPE n,
      END OF cur_tab.
    DATA:
      BEGIN OF sum_tab OCCURS 0,
        f1        TYPE c,
        f4(2)     TYPE c,
        f5        TYPE p,
        f6        TYPE p,
      END OF sum_tab.
    DATA:
      BEGIN OF final_tab OCCURS 0,
        f1        TYPE c,
        f2(2)     TYPE c,
        f3(2)     TYPE c,
        f4(2)     TYPE c,
        f5(5)     TYPE c,
        f6(5)     TYPE c,
      END OF final_tab.
    START-OF-SELECTION.
      cur_tab-f1 = 'a'.
      cur_tab-f2 = 'aa'.
      cur_tab-f3 = '11'.
      cur_tab-f4 = 'p1'.
      cur_tab-f5 = '10'.
      cur_tab-f6 = '10'.
      APPEND cur_tab.
      cur_tab-f1 = 'a'.
      cur_tab-f2 = 'aa'.
      cur_tab-f3 = '11'.
      cur_tab-f4 = 'p1'.
      cur_tab-f5 = '20'.
      cur_tab-f6 = '20'.
      APPEND cur_tab.
      cur_tab-f1 = 'b'.
      cur_tab-f2 = 'aa'.
      cur_tab-f3 = '11'.
      cur_tab-f4 = 'p2'.
      cur_tab-f5 = '30'.
      cur_tab-f6 = '30'.
      APPEND cur_tab.
      cur_tab-f1 = 'b'.
      cur_tab-f2 = 'aa'.
      cur_tab-f3 = '11'.
      cur_tab-f4 = 'p2'.
      cur_tab-f5 = '40'.
      cur_tab-f6 = '30'.
      APPEND cur_tab.
      LOOP AT cur_tab.
        MOVE-CORRESPONDING cur_tab TO sum_tab.
        COLLECT sum_tab.
      ENDLOOP.
      LOOP AT sum_tab.
        READ TABLE cur_tab WITH KEY f1 = sum_tab-f1
                                    f4 = sum_tab-f4.
        IF sy-subrc NE 0.
          WRITE:/ 'Something went very wrong'.
          CONTINUE.
        ENDIF.
        MOVE-CORRESPONDING cur_tab TO final_tab.
        MOVE-CORRESPONDING sum_tab TO final_tab.
        APPEND final_tab.
      ENDLOOP.
      LOOP AT final_tab.
        WRITE:/1 final_tab-f1,
              AT 5 final_tab-f2,
              AT 10 final_tab-f3,
              AT 15 final_tab-f4,
              AT 20 final_tab-f5,
              AT 25 final_tab-f6.
      ENDLOOP.
    and the output
    a   aa   11   p1     30   30  
    b   aa   11   p2     70   60  

Maybe you are looking for