Data flow fails on packed decimal field moving iSeries DB2 data from one iSeries DB to another

I' trying to use SSIS to move table content from one iSeries DB2 database to another.  I'm using the .Net providers for OleDb\IBM DB2 for i5/OS IBMDA400 OLE DB Provider in the connection managers for the source and destination and the test connection
works fine.  When I try to run the data flow task however it fails on the first packed decimal field it encounters with the exceptions ...
[select from hydro520 hydroweb2 blpmstr [16]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "component "select from hydro520 hydroweb2 blpmstr" (16)" failed because error code 0x80004002 occurred, and the error
row disposition on "output column "MSPRIB" (55)" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.
[select from hydro520 hydroweb2 blpmstr [16]] Error: The component "select from hydro520 hydroweb2 blpmstr" (16) was unable to process the data. Pipeline component has returned HRESULT error code 0xC0209029 from a method call.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "select from hydro520 hydroweb2 blpmstr" (16) returned error code 0xC02090F5.  The component returned a failure code when the pipeline
engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
...in the progress tab.  Can someone kindly tell me what I need to do to get the connection manager to work with DB2 packed decimal fields?  Or is it a different issue all together?  Thanks tonnes for any help, Roscoe

Hi rpfinn,
From the Data Types mapping rules between SSIS and DB2, we can see that both the NUMERIC and DECIMAL data types in DB2 are mapped to DT_NUMBERIC data type in SSIS. Now that the source data in your DB2 database is NUMERIC data type, changing the DT_NUMBRIC
data type to DT_DECIMAL is invalid. Besides, if we check the data types of the target External column and Output column from the Advanced Editor for ADO NET Source adapter, the data type should be defined as DT_NUMERIC with Precision as 9 and Scale as 2. I
am not clear where you see the DT_NUMBERIC(9,0) e.g. DT_NUMERIC with Precision as 9 and Scale as 0, but it may be the cause of the issue. You need to make sure the DT_NUMERIC data type also has Scale 2 instead of 0.
If you don’t know how to modify the data type, please elaborate the Data Flow Task of the package so that we can make further analysis. Besides, the error messages you posted are incomplete, it will be helpful if you post the complete error message.
Regards,
Mike Yin
If you have any feedback on our support, please click
here
Mike Yin
TechNet Community Support

Similar Messages

  • I moved my iPhoto libraries from one hard drive to another and have to manually locate the photos, every time!!!

    I moved my iPhoto libraries from one hard drive to another and now every time I open a library I have to manually locate the photos. After locating the first file, it works well and remembers the location of the files of all the events, even when the folders containing the actual photos are in several different locations.
    The problem is that when I close and open iPhoto, it does not remember where the files were and I have to locate at least a file, all over again.
    Does anyone knows if there is a way of making iPhoto "remember" or saving the location of the files?

    By default, iPhoto will store its library file under ~/Pictures. To select a library manually in iPhoto:
    Ensure that iPhoto is closed.
    Hold down the Option key and click on the iPhoto icon in your Dock or launch it from the Applications folder.
    Click on Choose Library.
    Locate and select the library you wish to use.
    Close iPhoto and re-open it. Does it remember the library that you selected?
    For more information on moving your iPhoto library, see http://support.apple.com/kb/HT1229.
    Hope that helps, have a great day.

  • Moving a hard drive from one Mac Mini to another to create a twin Mini Mac

    I have been a PC user since before the stone age, or atleast since the comadore 64, Then I upgraded to a PC with an actual hard drive. It was huge, 12 MB!
    along the road I had purchased 3 Mac laptops. All were new and I just never got used to either so I ended up selling both. About 6 years ago I got an iPhone. I have had ipods since they came out and I liked the data integration. Then an appleTV with a HD now 3 more apple TV 3s. Got an iPad 2 followed by an iPad 3 . Last fall my 2 year old 1500 dollar sony lap top with an i7 processor just would not power up at all, It was a nice PC but to be honest I used to be a Sony fan byt after losing 3 out of 4 laptops, and reading about Apples Intel processors, I thought I would try one more time. What a terriffic way to wean off of windows. I am running OSX Maverics with windows 8.1 on bootcamp. I still need windows for a few programs I am running.
    One of my biggest thrills is the amount of inexpensive and even free software available on a Mac. And when a new OS comes out, I dont nmeed to fork up a minimum of 2 to 400 dolars to upgrade. Most microsoft software is very expensive.
    Im saying all that to say this,
    I want/need one more computer in my shop. Prior to my Mac purchase I had 2 PCs running with Windows 8-8.1 Lots o people bitched about the huge change from Windows 7 to Windows 8.1 but personally I love it. Its actually more like a mac now than windows. With  running a SSD Windows 8.1 is very fast.
    So when I got my Mac Mini with a 1TB hard drive, I took my 250 gb SSD out of my Sony and reformated it. Used Copy clone to clone the Mac OS to the SSD. Very fast and perfect copy. (since then I purchased Copy clone and every day at 11:30 PM CC copyies my SSD Mac Partition to the original HD.
    I still havent completely figured how to do the same with my Boot Camp partition. but I purchased Win Clone. There is a fairly long process to seting up the samy system as I have for cloning my mac which is as easy as copying a folder.
    Sorry for rambeling
    Here is my question. Now that I have a perfectyly cloned hard drive of the actujal hard drive I use inmy Mac Mini, I want to purchase another mac mini, 2012 same as mine. I have an i7 but to save a little I may go with an I5. Can I take that cloned hard drive and just plug it into my new Mac Mini and Viola I have two computers set up perfectly for me when it only took a few minutes. (if this is possible why would anyone ever buy a PC again. I realize a Mac Mini is not the most powerful computer out there, But as tech goes, Its about the most powerful Desk top I have ever owned. I have a secone 120GB SSD that I could then copy both OS systems to. I save all my data extrernally via USB 3 or Firewire 800 to a Promise DS 4600 with 2-3tb hard drives and room for 2 more. I mirrior these right now and have plenty of storage for me
    I will use a 1 TB external drive for my shop mac,
    Truthfullyu if this works, My mini macs can keep procreating other mini macs all the same configuration
    Something I just never could conceve before with a PC. Each PC setup was its own Labor of love and hate. and as much backing up you do, forgfet it, Its still a major deal when one crashes! Hope I didnt run on too long
    Thanks

    Can I take that cloned hard drive and just plug it into my new Mac Mini and Viola I have two computers set up perfectly
    Yes.

  • Moving iTunes HD Movies from one authorized computer to another

    It is now possible to purchase HD movies on iTunes which is a good thing. Unfortunately, if I wish to use an iPod to transfer the HD movie, the movie changes from HD to "regular" even though there is plenty of space on the iPod for the HD movie.
    Unfortunately, I downloaded the movie on my iMac instead of my MacBook Pro. I really wanted to plug the video projector into the laptop to get the HD on the big screen.
    Anyone have some easy suggestions for transferring HD movies?
    Thanks.

    Control-click it in iTunes, choose to show it in the Finder, move the file to the MacBook Pro as you would any file, and then drag it into the open iTunes window.
    (42066)

  • Moving LCM Jobs from one LCM server to another

    I have just built a new proof of concept LCM server (3.1 SP3 FP3.7).  My aim is to migrate the content from our current production LCM server (3.1 SP2 FP2.5) to the POC LCM server.  I have been able to migrate the subversion repository.  I have been able to migrate custom access levels and users etc.
    I want to migrate the actual LCM jobs stored within LCM itself from production LCM to POC LCM server.  Should be able to do this with LCM itself or Import Wizard but neither work.
    Import Wizard produces and error against each LCM Job as follows, "Failed to create a new CrystalEnterprise.LCMJob. reason: Item SI_NEWOBJECT was not found in the collection"
    LCM itself does not show the LCM jobs when adding objects to a job.  It will show the Sub Folders under the main LCM folder (which contain the specific jobs I'm looking to migrate) but not the jobs themselves.  Selecting one of the sub LCM folders and clicking the "Add & Close" button results in this error;
    Sorry, LCM application is unable to process your request.
    The error from the server is: Failed to get dependencies of the job.com.crystaldecisions.sdk.exception.SDKServerException: CMS operation timed out after 9 minutes. cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2 detail:CMS operation timed out after 9 minutes. The server supplied the following details: OCA_Abuse exception 7710 at [.\exceptionmapper.cpp : 79] 48022 ...CMS operation timed out after 9 minutes. Thread timeout has expired. at com.crystaldecisions.sdk.exception.SDKServerException.map(SDKServerException.java:107) at com.crystaldecisions.sdk.exception.SDKException.map(SDKException.java:196) at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:736) at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.query(InternalInfoStore.java:566) at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.query(InfoStore.java:167) at com.businessobjects.lcm.core.CMSLocal.query(CMSLocal.java:4083) at com.businessobjects.lcm.core.CMSLocal.queryInfoObjects(CMSLocal.java:1457) at com.businessobjects.lcm.dependencies.ParentChildDI.computeDependees(ParentChildDI.java:68) at com.businessobjects.lcm.dependencies.DependencyManager.computeDependees(DependencyManager.java:543) at com.businessobjects.lcm.dependencies.DependencyManager.computeDependees(DependencyManager.java:477) at com.businessobjects.lcm.core.LCMEngine.computeDependees(LCMEngine.java:1397) at com.businessobjects.lcm.job.Job.computeDependencies(Job.java:1006) at com.businessobjects.lcm.job.Job.addPrimaryResources(Job.java:389) at com.businessobjects.lcm.job.Job.addPrimaryResources(Job.java:244) at com.businessobjects.lcm.actionHelper.JobActionHelper.addResourceToJob(JobActionHelper.java:2313) at com.businessobjects.lcm.actionHelper.JobActionHelper.performAction(JobActionHelper.java:172) at com.businessobjects.lcm.actions.JobActions.execute(JobActions.java:37) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.businessobjects.lcm.LCMCacheControleFilter.doFilter(LCMCacheControleFilter.java:27) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2 at com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuseHelper.read(oca_abuseHelper.java:106) at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAi._InfoStoreEx4Stub.queryEx3(_InfoStoreEx4Stub.java:209) at sun.reflect.GeneratedMethodAccessor201.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.crystaldecisions.enterprise.ocaframework.ManagedService.invoke(ManagedService.java:425) at com.crystaldecisions.sdk.occa.infostore.internal._InfoStoreEx4Proxy.queryEx3(_InfoStoreEx4Proxy.java:364) at com.crystaldecisions.sdk.occa.infostore.internal.InternalInfoStore.queryHelper(InternalInfoStore.java:708) ... 37 more com.crystaldecisions.sdk.exception.SDKServerException: CMS operation timed out after 9 minutes. cause:com.crystaldecisions.enterprise.ocaframework.idl.OCA.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2 detail:CMS operation timed out after 9 minutes. The server supplied the following details: OCA_Abuse exception 7710 at [.\exceptionmapper.cpp : 79] 48022 ...CMS operation timed out after 9 minutes. Thread timeout has expired.
    Has anyone actually suceeded in moving an LCM job from one LCM server to another?

    Apologies for the formatting, IE6 and company policy means none of the formatting seems to work. :o(

  • Moving Imovie events from one hard drive to another

    I have a Seagate external hard drive that started to fail, and I got a warranty replacement. Following Seagates advice, I moved all the files from one drive to the other by dragging them over. Everything seems to be transferred, but all the events are in one folder now rather than seperate ones for each of my kids games, bithhdays, etc. Is there a way to get it back to seperate folders? Thanks...

    Bill William wrote:
    ... I want to move the events to the external 2TB hard drive. Am unable to find any instructions in Help....
    a simple drag'n drop thing, illustrated advice on my site:
    http://karsten.schluter.googlepages.com/im08tricks
    (Project Library (and Events) on External Harddrive)
    aside.. 400miniDV = ~5.2 TB.. you drive is way to small.. and please report how OsX + a 20$ consumer app as handle THAT amount of data..

  • Can a Time machine backup be moved from one hard drive to another.

    Hello
    There are a few questions tucked away in here...
    1
    My Mac crashed due to a Kernal Panic (screen was flashing) this was happening over 2 weeks so I decided to restore from Time Machine. During a restore the Mac crashed again. So I aborted the restore. When I sparked up the Mac again the Mac's drive had been wiped So I used the OS Snow disc to restore again. When I went to my Iomega back up drive it's power had failed. The upshot is, is that right now i have lost everything. No Backup and no Mac. My external drive is with a data recovery company. I am hoping that they can access the drive and drop the backups onto another external drive (very expensive). Before I commit to this expenditure, if they are successful in accessing the drive, can the TM backups be moved in that way (from one HD to another) and will my Mac recognise these as backups for my machine and thus successfully restore?
    2
    If all else fails can my Mac be recovered
    3
    Once that is done i am hoping that the Kernal Panic is resolved, if not I may seek advice also on this. Right now i need my data..
    Thanks for any advice
    Mark

    Pondini Wrote..
    the first folder shown (343775 - rycaft DATA) doesn't belong there.  I'm guessing it contains some of the "loose" files that the recovery software couldn't figure out where it came from.  And/or, it may contain the system files and folders that are normally hidden on a Time Machine drive. 
    Hi there, the first folder is where the recovery company dropped the recovered hard drive (root) - In an attempt to put the backups at the 'top of the tree' so TM could see the files i pulled the backups file out of there..so what is left?..... I believe it is other files I had on the BU hard drive before it failed. You can see that I have an apvault on there. This is aperture's internal back up. I have not yet tried installing aperture to see if these files can be recovered into aperture. It's an old vault but the best I can get so far. As you can see though, my Itunes folder seems to be a carbon copy of what was on the original HD. I've included a screen shot of this structure also.
    Pondini wrote
    Did you get the original Time Machine drive back?  If so, it's a very long shot, but if it wasn't tried before, see if you can repair it with Disk Utility, per #A5 in Time Machine - Troubleshooting.
    funily enough I have requested it and since paying the fee to recover this HD they wont respond to emails or calls requesting (My) hard drive back.....
    So i tried right clicking the iPhoto Library and Aperture Library and I cannot see Show Package Contents.
    ds store wrote:
    Just thought I'd mention this software, if it assists in your TM recovery efforts or not, may have special abilites or assets to recover your files.
    http://www.tri-edre.fr/english/backintime.html
    Now then.... here is a screen shot from your suggestion.........
    Looks like we've cracked it..... after i've stopped shaking I will let you know how i get on.....

  • How to pass data from one internal session to another

    Hi SAP Experts,
    How to pass data from one internal session to another and from One external session to another external session. I used import and export parmeter and SPA/GPA parameters. What is the other way to pass data?
    Please tel me urgently
    Thank you
    Basu

    Memory Structures of an ABAP Program
    In the Overview of the R/3 Basis System you have seen that each user can open up to six R/3 windows in a single SAPgui session. Each of these windows corresponds to a session on the application server with its own area of shared memory.
    The first application program that you start in a session opens an internal session within the main session. The internal session has a memory area that contains the ABAP program and its associated data. When the program calls external routines (methods, subroutines or function modules) their main program and working data are also loaded into the memory area of the internal session.
    Only one internal session is ever active. If the active application program calls a further application program, the system opens another internal session. Here, there are two possible cases: If the second program does not return control to the calling program when it has finished running, the called program replaces the calling program in the internal session. The contents of the memory of the calling program are deleted. If the second program does return control to the calling program when it has finished running, the session of the called program is not deleted. Instead, it becomes inactive, and its memory contents are placed on a stack.
    The memory area of each session contains an area called ABAP memory. ABAP memory is available to all internal sessions. ABAP programs can use the EXPORT and IMPORT statements to access it. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse.
    All ABAP programs can also access the SAP memory. This is a memory area to which all sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters are often used to preassign values to input fields. You can set them individually for users, or globally according to the flow of an application program. SAP memory is the only connection between the different sessions within a SAPgui.
    The following diagram shows how an application program accesses the different areas within shared memory:
    In the diagram, an ABAP program is active in the second internal session of the first main session. It can access the memory of its own internal session, ABAP memory and SAP memory. The program in the first internal session has called the program which is currently active, and its own data is currently inactive on the stack. If the program currently active calls another program but will itself carry on once that program has finished running, the new program will be activated in a third internal session.
    Data Clusters in ABAP Memory
    You can store data clusters in ABAP memory. ABAP memory is a memory area within the internal session (roll area) of an ABAP program and any other program called from it using CALL TRANSACTION or SUBMIT.
    ABAP memory is independent of the ABAP program or program module from which it was generated. In other words, an object saved in ABAP memory can be read from any other ABAP program in the same call chain. ABAP memory is not the same as the cross-transaction global SAP memory. For further information, refer to Passing Data Between Programs.
    This allows you to pass data from one module to another over several levels of the program hierarchy. For example, you can pass data
    From an executable program (report) to another executable program called using SUBMIT.
    From a transaction to an executable program (report).
    Between dialog modules.
    From a program to a function module.
    and so on.
    The contents of the memory are released when you leave the transaction.
    To save data objects in ABAP memory, use the statement EXPORT TO MEMORY.
    Saving Data Objects in Memory
    To read data objects from memory, use the statement IMPORT FROM MEMORY.
    Reading Data Objects from Memory
    To delete data clusters from memory, use the statement FREE MEMORY.
    Deleting Data Clusters from Memory
    please read this which provide more idea about memory
    Message was edited by:
            sunil kumar

  • How do i transfer data from one internal tabe to another.

    Hi All,
             How do i transfer data from one internal tabe to another.
             Can i do it ebven if he tables are different in structure.
    Please Advice.
    Thanks in advance.

    Hi Saket Tiwari,
    I hope the earlier post by kashyap is good enough an answer. anywas in addition to it let me give a detailed
    explanation of how you can populate an internal table.
    1) Append data line by line.
         Syntax :  APPEND [<wa> TO / INITIAL LINE TO] <itab>.
    this appends new line to internal table <itab>.
    2) Using COLLECT statement.
                 COLLECT is another form of statement used for populating the internal tables.  Generally COLLECT is used while inserting lines into an internal table with unique standard key. The syntax for COLLECT statement is as shown
         Syntax : COLLECT [<wa> INTO] <itab>.
    3) Using INSERT statement
         Syntax  INSERT [<wa> INTO / INITIAL LINE INTO] <itab> [index <idx>].
    INSERT statement adds a line/work area to the internal table. You can specify the position at which the new line is to be added by using the INDEX clause with the INSERT statement.
    Now coming to your request..
    To append part or all of an internal table
         Syntax
                  APPEND LINES OF <itab1> [FROM <n1>] [TO <n2>] TO <itab2>.
    *     Note:
    Without the FROM and TO options, this statement appends the entire table <itab1> to <itab2>.*
    b) To insert part or all of an internal table into another internal table
         Syntax
              INSERT LINES OF <itab1> [FROM <n1>] [TO <n2>]
              INTO <itab2> [INDEX <idx>].
    c) Using Move statement.
    To copy entire contents of one table into another in one execution
         Syntax MOVE  <itab1> To <itab2>.
                   OR
              <itab1> = <itab2>.
    but u hav to be careful because he contents of itab2 will eb overwritten on the execution of this statement.
    These copy the contents of ITAB1 to ITAB2. Incase of internal tables with header line we have to use [] inorder to distinguish from work area. So, to copy contents of internal tables with header line  the syntax becomes,
    ITAB1[] = ITAB2[].
    Coming to the letter part of your question, Yes, we can copy values between tables having different structures.
    for this we use    
                                MOVE-CORRESPONDING <itab1> TO <itab2>
        this executes the statement for their header lines. Searches for the sub-fields which occur both in itab1 and itab2 and then generates, for all relevant field pairs which correspond to the
            sub-fields ni , statements of the form MOVE itab1-ni TO itab2-ni. The other fields remain unchanged.
    I hope the information provided has been of your help.
    Reward if useful.
    Regards,
    Jose

  • How to scan data from one internal table to another

    Hi All,
    let me know how to scan all from one internal table to another internal table. Pls provide me the syntax and code.
    i am very thankful to you all in advance.
    Thanks & Regards,
    Nagarjuna.

    if u want to copy data from itab1 to itab2  then use
    itab2[] = itab1[].
    if u want to compare whether both itab1 and itab2 are same or not,use
    if itab1[] = itab2[].
    *--same
    else.
    *--not same
    endif.
    if u want to compare itabs based on primary key....
    loop at itab1.
    read table itab2 with key f1 = itab1-f1.
    if sy-subrc <> 0.
    *--not same....
    endif.
    endloop.
    if u want to copy only few lines(say from 1 to 3) of itab1 to itab2 then use...
    append lines of itab1 from 1 to 3 to itab2.
    if internal tables don't have same structure,
    say only fields f1 and f2 are common,then
    loop at itab1.
    itab2-f1 = itab1-f1.
    itab2-f2 = itab1-f2.
    append itab2.
    clear itab2.
    endloop.
    if there are many common fields then...
    loop at itab1.
    move-corresponding itab1 to itab2.
    append itab2.
    clear itab2.
    endloop.
    Please don't forget to reward points....!!!
    Regards
    vasu

  • How to put the data from one excel sheet in another excel sheet

    hi ,
    I want put the data from one excel sheet in another excel sheet in seq. order Eg: I have one excel sheet in which i have 3 col. Name , Sno. , Email along with data .I want to put data from this sheet to another excel sheet in the following orders of col. Sno,Name, Email .
    While loading data in another sheet , i have to perform validation like char field should n't contain numeric values and vice versa .
    Let me know on this soon ..
    regards
    Prashant

    Well, you can issue separate queries with the ordering you need from each tab in the spreadhseet. You can open an ODBC connection from a VBA macro, select a sheet, run a query, select another sheet and run another query. As for the validation, you can do this in Oracle via stored procedures or again in VBA code.

  • How to pass data from one internal session to another internal session

    hi all sap experts ,
    How to pass data from one internal session to another internal session and from oneExternal session to another external session.
    Except : Import and Export parameters and SPA/GPA parameters.
    Tell me the otherWay to pass data ..
    Plz
    Thanks in advance

    hi,
      abap memory management u will understand about this concept.
    the import /export parameter will help u that passing data between two internal sessions by using abap memory.
      for syntax
    Passing Data Between Programs
    There are two ways of passing data to a called program:
    Passing Data Using Internal Memory Areas
    There are two cross-program memory areas to which ABAP programs have access (refer to the diagram in Memory Structures of an ABAP Program) that you can use to pass data between programs.
    SAP Memory
    SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens (see below).
    ABAP Memory
    ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse. For further information, refer to Data Clusters in ABAP Memory.
    Filling Input Fields on an Initial Screen
    Most programs that you call from other programs have their own initial screen that the user must fill with values. For an executable program, this is normally the selection screen. The SUBMIT statement has a series of additions that you can use to fill the input fields of the called program:
    Filling the Selection Screen of a Called Program
    You cannot fill the input fields of a screen using additions in the calling statement. Instead, you can use SPA/GPA parameters. For further information, refer to Filling an Initial Screen Using SPA/GPA Parameters.
    Message was edited by:
            sunil kumar
    Message was edited by:
            sunil kumar

  • Managed Metadata values scrambled when copying or moving documents from one Site collection to another.

    Hi
    What works: Copy or move a document library containing one or more MM columns *within* a Site Collection = all column managed metadata replicated accurately.
    What doesn't work: Copy or move a document library containing one or more MM columns *from one Site Collection to another* within the same Webapp. The issue is that some but not all MM values are totally wrong. By totally wrong I mean that the incorrect
    terms are associated with a TermSet that is not even referenced in this DL!
    Same result for all method's tried:
    1) Save the DL as a template (no contents) and then copy or move the documents in
    2) Programmatically do the copy
    3) Export the list via CA and then reimporting it using Pshell
    This thread is very similar but his workaround has not helped in this instance:
    https://social.msdn.microsoft.com/Forums/office/en-US/6aca7b7c-97cb-4f1f-99f1-5e1fa0b1e3ed/content-type-hub-custom-library-template-managed-metadata-lostscrambled-when-moving-files?forum=sharepointdevelopment#65b52342-408f-47b4-a9f8-5d0b952acc12
    Has anyone else experienced this and found the cause/solution? Or can anyone do this without the issues that I have described?
    Thanks

    Hi Nuno,
    I've got to the root of the issue but in answer to your question first: The MM column is attached to a Global Content Type - there is nothing local.
    The fact that some are ok and others are not led me down the route of checking the columns at item level. Scripting this did not help - all rows returned are what I would expect. ie The same MMColName with the expected value (as appearing
    on the source DL).
    On checking SharePoint manager however I have found what looks to be causing the issue.
    When checking the properties (ie SiteCollection/Lists/<ListName>/items/<itemName>/Properties) of the 'good' documents against the 'bad' documents I find the following:
    Good Docs: The MMColName is displayed as expected at the item level
    Field: Name
    Field:  Internal Name
    Item Properties:
    Ok?
    Partnership Type
    Partnership_x0020_Type
    Partnership Type
    Y
    Bad Docs: The MMColName is NOT displayed as expected at the item level. Instead the internal name is displayed:
    Field: Name
    Field:  Internal Name
    Item Properties:
    Ok?
    Register Type
    Type_x0020_of_x0020_Licence
    Type_x0020_of_x0020_Licence
    N
    Meeting Type
    Meeting_x0020_Type
    Meeting Type & Meeting_x0020_Type (Both columns are listed)
    N
    I should add that each of these 3 examples are taken from 3 different DL's - hence the different Fields
    So this looks to be a case of corruption - and unless we can think of any other outcome we will have to look to rebuild the DL - while trying to maintain the metadata!

  • How do I transfer data from one exterior harddrive to another?

    How do I transfer data from one exterior harddrive to another when they are both connected to our Imac Desktop?

    Depends what you want to transfer...
    A few more Details about what you are trying to achieve would be good.

  • Can I transfer calendar data from one Apple ID to another?

    Just realized that my calendars and email were all sharing one Apple ID with my husband which is problematic because I want my own devices syncing up properly. I've set up my own Apple ID, but before I activate it on my devices I want to be sure I don't lose all the data. Can I transfer a calendar from one Apple ID to another and if so, can I do this from the devices themselves or do I need my desktop?
    I've read some earlier related posts and they don't seem to answer this question clearly for me.
    Thanks so much!

    You will probably need to do this on your Mac; I'm not sure it's possible on an iPhone. You have to deal with one calendar at a time.
    Select a calendar listed under your husbands iCloud login name.
    From the File menu choose Export...>Export. An .ics file will be saved at your designated destination.
    Repeat this for any other calendars.
    Sign out in System Preferences>iCloud and sign in with your own ID. Your calendars and other data will disappear from your Mac but not from the server.
    From the File menu choose 'New Calendar' then your iCloud login name in the sub menu.
    A new calendar called 'Untitled' will appear in your sidebar under your iCloud login name. Change its name to that of the calendar you exported.
    From the File menu choose 'Import...' then 'Import...' from the sub-menu. A navigation pane will open: navigate to and choose your exported .ics file.
    iCal will ask you where to import this to. Click the drop-down menu and select the iCloud version of your calendar (make sure not to choose the 'On My Mac' version). Import.
    Your calendar contents will appear in the iCloud version of the calendar but this may take some time. You need to leave iCal running until the rotating icon at the top of the sidebar disappears.
    Repeat 5-9 for other calendars.

Maybe you are looking for