Copy of Transaction History from source Tran to subsequent Tran

Hi Experts
I have a requirement where I need to copy the Transaction History (DOC FLOW) of the source Transaction(Service Complaint) to Targert Transaction(Repair Order). 
i.e when Repair Order is created as Follow-up transaction from the Service Complaint(It has Service Contract in the Transaction History), while Repair Order creation it prompts the Item to copy from Compalint , Item is getting copied to Repair Order successfully, but Item related Service Contract is not copying from the Compalint Transction History to Repair Order.
Here I can impliment CRM_COPY_BADI, Method DOC_FLOW to copy Service Contract from the Transaction History of the Compalint to Repair Order.
If my approach is correct, Please share the sample code from the  Method DOC_FLOW for this.
if it is not correct way of doing, Kindly suggest me the other way to achive this.
Thanks
Chand

Hi Chand Basha Shaik 
While creating the follow up documents we can make use of CRM_COPY_BADI , to fill the required standard fields or custom fields.
You can make use of several API function modules related to document flow say for example if your want to read any runtime data from buffer related to document flow we can make use of the function module CRM_DOC_FLOW_READ_DB. Given the relevant code snippet
CALL FUNCTION 'CRM_DOC_FLOW_READ_DB'
          EXPORTING
            iv_header_guid = lv_guid
          IMPORTING
            et_doc_links   = lt_doc_links
          EXCEPTIONS
            error_occurred = 1
            OTHERS         = 2.
Thanks & Regards
Raj

Similar Messages

  • How to  upload Transaction data from source system to BI 7.0

    Dear friends,
    I want to know how to  upload Transaction data from source system to BI 7.0.
    if anybody having step by step material for this process ,please send it to my
    mail id.
    [email protected]
    [email protected]
    Thanks,
    D.prabhu

    Hi,
    it works in the same way as before in case you are not using the new features like the dtp and the transformations. Using the new features, you schedule a infopackage to load the data up to psa and schedule a dtp to post the data to the targets.
    regards
    Siggi
    PS: We want to share knowledge in sdn and not keeping it private by having the information sent to our email adresses.

  • Windows Server 2012 R2 robocopy not copying inherited directory permission from source file server to destination ?

    Can anyone here please help me with Robocopy on Windows Server 2012 R2 to copy the file server content from \\OldFileServer\Data share into the local S:\Data drive ?
    here's my script that I use to copy 11 TB of file server contents:
    robocopy.exe "\\OLDFILESERVER\Data" S:\Data *.* /E /SECFIX /SEC /XO /ZB /COPYALL /MIR /DCOPY:DAT /R:0 /W:0 /NP /NFL /NDL /TEE /LOG:"G:\robocopy.log"
    Any kind of help and assistance would be greatly appreciated.
    Thanks
    /* Server Support Specialist */

    Hi,
    Based on my tests, inherited permissions will not be copied using robocopy.exe.
    That’s because that after we copy or move an objects to another volume, the object inherits the permissions of its new parent folder.
    My suggestion for you is to disable the inheritance on corresponding subfolders, and Convert inherited permissions into explicit permissions on this object. After that, those permissions can be copied.
    Here are some references below for you:
    Robocopy not copying NTFS permissions
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/b36748cd-14d1-47a5-9fb6-878ca93ad6fc/robocopy-not-copying-ntfs-permissions
    How permissions are handled when you copy and move files and folders
    http://support.microsoft.com/kb/310316
    Powershell ACL commands? NTFS Permissions - Turn inherited permissions into explicit permissions and remove inheritance
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/884e2837-ec1d-4937-83a5-722cd00d7d16/powershell-acl-commands-ntfs-permissions-turn-inherited-permissions-into-explicit-permissions-and?forum=ITCG
    Best Regards,
    Amy

  • Cross-System Copying of Transaction Types from CRM to ECC

    Hi Gurus,
    We have a requirement where we need to create followup transactions from CRM to ECC.
    eg:- We want to create a Sales Order in ECC as a followup transaction to a Service Ticket in the CRM.
    1) So please guide what needs to be done inside CRM.
    2) Is there some specific list of ECC transactions which could be created as followup to a CRM transaction or any ECC transaction can be created as followup.
    thanks for your help in advance.
    rgrds,
    Randhir

    Dear Randhir,
    You need to ensure that transaction type and item category of ECC and CRM are in Sync. Maintin followup of your transaction type.
    Thanks and regards
    Pankaj Kumar

  • Retrieve long-term transaction history from locked users

    Hi all,
    I need to gather an audit report on terminated users and their transaction codes for a specific date range. We have an auditor using the FOX tool to gather information, but it only applies to currently active users. They are able to get data on each active user in a specific group from 10/30/2006 - 4/01/2009
    My question is this.
    What is the best transaction to use to compile a report for 3 years worth of transactions for these specific terminated users. ST03N retention only goes back 2 months, I cannot pull any long term information in STAD, and I do not have access on our Production system to SM19/SM20.
    I feel pretty stuck and any help would be appreciated.
    Thanks!

    Thanks Lakshmi,
    I have gotten similar responses about this issue.  It would appear there is no feasible way to do this.
    Thanks for your help!

  • New Time Capsule: How to copy Time Machine history from previous disk?

    Hi everybody,
    Just got a new Time Capsule which is going to serve as my new Time Machine Back-up.
    I've got a year's worth of TM back-up on my old USB disk that I'd like to pour over to the new one.
    When I try to do that, it says the Time Capsule can't be changed.
    If I simply select the new TC as the disc for TM it obviously starts a new "time line".
    How can I either copy the old data over, or merge the two?
    Thanks,
    Rob

    don't try copying via finder. that won't work. directly attached TM backups are stored differently from remote ones. directly attached ones
    are stored directly in a folder an the drive and the remote ones
    are stored in sparse bundles. the following may work. set up the TC to be the new TM drive and start a backup. as soon as it starts stop it using TM menu->stop backup. open the TC drive in finder. there should be a sparse bundle created there. double-click on it to mount it. it should be empty.
    then use the "restore" tab in disk utility to clone your old TM drive to the mounted sparse bundle. make sure to check the box to erase destination. when the cloning is finished eject the mounted sparse bundle and try backing up again.

  • Transaction Data from multiple source systems

    Hi BW,
    I want to load transaction data from two source systems: SQ1CLNT100 QA and SQ1CLNT200 Training client. into one BW system. What is the best practice, do I need to create another data structure or can I mix the data for QA and training in one data structure and separate them with authorisation?
    Please someone should help me out with the best practice on this.
    Thanx.

    Hi Dan,
    Do you mean use 0LOGSYS as authorisation relevant InfoObject?
    Dont you think that if I copy bid from one source system and use it in another, the two bids will have the same GUID? if that is possible, then I may be faced with the problem of data override. Please advice further.
    Regards.

  • Preparing DRM Automators from Transaction History in v11

    Hi,
    In earlier DRM versions , client based DRM, we had a option to view transaction history, automate it and save the automator scripts.
    Do we have similar option in version 11.1.2.2(web based).
    I was able to get transaction history but not able to automate it.
    Thanks

    This is still available. From the Script tab, change the source type to Transaction Log. Select the version. From Filters, select Core as Levels. Select From and To date. De-select 'Filter to current session'. Select Load. Go to Script > Download > Download as Action Script. This should give you what you need.

  • Is it possible to have duplicate columns from source List to target List while copying data items by Site Content and Structure Tool in SharePoint 2010

    Hi everyone,
    Recently ,I have one publishing site template that has a lot of sub sites which  contain a large amount of  content. 
    On root publishing site, I have created custom list including many custom fields 
    and saved it as  template  in order that 
    any sub sites will be able to reuse it later on .  My scenario describe as follows.
    I need to apply Site Content and Structure Tool to copy   a lot of items
     from  one list to another. Both lists were created from same template
    I  use Site Content and Structure Tool to copy data from source list 
    to target list  as figure below.
    Once copied  ,  all items are completed.
     But many columns in target list have been duplicated from source list such as  PublishDate ,NumOrder, Detail  as  
    figure below  .
    What is the huge impact from this duplication?
    User  can input data into this list successfully  
    but several values of some columns like  “Link column” 
    won't  display on “AllItems.aspx” page 
    .  despite that they show on edit item form page and view item form page.
    In addition ,user  can input data into this list  as above but 
    any newly added item  won't appear on 
    on “AllItems.aspx” page
    at all  despite that actually, these 
    item are existing on  database(I try querying by power shell).
    Please recommend how to resolve this column duplication problem.

    Hi,
    According to your description, my understanding is that it displayed many repeated columns after you copy items from one list to another list in Site Content and Structure Tool.
    I have tested in my environment and it worked fine. I created a listA and created several columns in it. Then I saved it as template and created a listB from this template. Then I copied items from listA to listB in Site Content and Structure Tool and it
    worked fine.
    Please create a new list and save it as template. Then create a list from this template and test whether this issue occurs.
    Please operate in other site collections and test whether this issue occurs.
    As a workaround, you could copy items from one list to another list by coding using SharePoint Object Model.
    More information about SharePoint Object Model:
    http://msdn.microsoft.com/en-us/library/ms473633.ASPX
    A demo about copying list items using SharePoint Object Model:
    http://www.c-sharpcorner.com/UploadFile/40e97e/sharepoint-copy-list-items-in-a-generic-way/
    Best Regards,
    Dean Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Restore single datafile from source database to target database.

    Here's my issue:
    Database Release : 11.2.0.3 across both the source and targets. (ARCHIVELOG mode)
    O/S: RHEL 5 (Tikanga)
    Database Storage: Using ASM on a stand-alone server (NOT RAC)
    Using Oracle GG to replicate changes on the Source to the Targets.
    My scenario:
    We utilize sequences to keep the primary key in tact and these are replicated utilizing GG. All of my schema tables are located in one tablespace and datafile and all of my indexes are in seperate tablespace (nothing is being partitioned).
    In the event of media failure on the Target or my target schema being completely out of whack, is there a method where I can copy the datafile/tablespace from my source (which is intact) to my target?
    I know there are possibilites of
    1) restore/recover the tablespace to a SCN or timestamp in the past and then I could use GoldenGate to run the transactions in (but this could take time depending on how far back I need to recover the tablespace and how many transactions have processed with GG) (This is not fool-proof).
    2) Could use DataPump to move the data from the Source schema to the Target schema (but the sequences are usually out of order if they haven't fired on the source, get that 'sequence is defined for this session message'). I've tried this scenario.
    3) I could alter the sequences to get them to proper number using the start and increment by feature (again this could take time depending on how many sequences are out of order).
    I would think you could
    1) back up the datafile/tablespace on the source,
    2)then copy the datafile to the target.
    3) startup mount;
    4) Newname the new file copied from the source (this is ASM)
    5) Restore the datafile/tablespace
    6) Recover the datafile/tablespace
    7) alter database open;
    Question 1: Do I need to also copy the backup piece from the source when I execute the backup tablespace on the source as indicated in my step 1?
    Question 2: Do I need to include "plus archivelog" when I execute the backup tablespace on the source as indicated in my step 1?
    Question 3: Do I need to execute an 'alter system switch logfile' on the Target when the recover in step 6 is completed?
    My scenario sounds like a Cold Backup but running with Archivelog mode, so the source could be online while the database is running.
    Just looking for alternate methods of recovery.
    Thanks,
    Jason

    Let me take another stab at sticking a fork into this myth about separating tables and indexes.
    Let's assume you have a production Oracle database environment with multiple users making multiple requests and the exact same time. This assumption mirrors reality everywhere except in a classroom where a student is running a simple demo.
    Let's further assume that the system looks anything like a real Oracle database system where the operating system has caching, the SAN has caching, and the blocks you are trying to read are split between memory and disk.
    Now you want to do some simple piece of work and assume there is an index on the ename column...
    SELECT * FROM emp WHERE ename = 'KING';The myth is that Oracle is going to, in parallel, read the index and read the table segments better, faster, whatever, if they are in separate physical files mapped by separate logical tablespaces somehow to separate physical spindles.
    Apply some synapses to this myth and it falls apart.
    You issue your SQL statement and Oracle does what? It looks for those index blocks where? In memory. If it finds them it never goes to disk. If it does not it goes to disk.
    While all this is happening the hundreds or thousands of other users on the database are also making requests. Oracle is not going to stop doing work while it tries to find your index blocks.
    Now it finds the index block and decides to use the ROWID value to read the block containing the row with KING's data. Did it freeze the system? Did it lock out everyone else while it did this? Of course not. It puts your read request into the queue and, again, first checks memory to see if it needs to go to disk.
    Where in here is there anything that indicates an advantage to having separate physical files?
    And even if there was some theoretical reason why separate files might be better ... are they separate in the SAN's cache? No. Are they definitely located on separate stripes or separate physical disks? Of course not.
    Oracle uses logical mappings (tables and tablespaces) and SANS use logical mappings so you, the DBA or developer, have no clue as to where anything physically is located.
    PS: Ouija Boards don't work either.

  • COPA -Copy Plan version 1 from Plan version 2 in KEPM

    Hi,
    In KEPM transaction code,I have planned for version 1.Now i wanted to copy the data from version 1 to version 2.what proceedure should i follow for this.kindly help me
    Thanks
    Kishore

    create a new planning package with characteristic Version = 2
    (if you have defined verison 1 also on the planning level, you should create a new planning level)
    then create a planning method under Copy with version 0 as source...
    cheers
    matej

  • Missing field from source DSO in transformation to other DSO

    Hi SDN,
    I am facing the following problem:
    I have created DSO "A" and a transformation rule to DSO "B". InfoObject 0RATE_TYPE is available in both DSOs... BUT: when I am creating the transformation rule the field from DSO "B" (on the right side) is not connected to any filed from source DSO "A" because there the field 0RATE_TYPE is not offered.
    What I have tried so far:
    - reactivate DSO "A"
    - remove 0RATE_TYPE from DSO "A", activate DSO "A", include 0RATE_TYPE again, reactivate DSO "A"
    - newly created DSO "A"
    All this has not resulted in any other than the problem described before. One thing I recoginized: when doubleclicking on the DSO "A" I see the field 0RATE_TYPE, when doing a right click and selecting "Object overview" the field is also missing!
    I have run out of ideas and I would like to see if any of you has had the same problem and has found any solution.
    PLEASE help me!
    Thank you in advance!!

    Hi,
    Did you try to logoff and logg on again?
    (sometimes BI show things after leaving the transaction)
    IS the DSO activated?
    Is the field compounded to another field that is not in the DSO?
    You might try a work around:
    Make a routine that reads your DSO to get the field.
    (If the ABAP-editor also gives an error on thing field something very strange is going on indeed)
    Success,
    Udo

  • UPDATE : Toshiba Recovery Wizard 'cannot read from source file or disk' error (satellite L500)

    UPDATE 2: Phoned Toshiba tech support again, guided by techie to begin the recovery again. Just before phoning I was able to go into recovery options and view the drive setup and all the files that couldn't be read are on the CD so I've no idea why the error kept occuring, and neither did the techie. Fingers crossed it works this time but I'm not overly hopefully given that we've just done exactly the same as I did before.  UPDATE 1: I got into the BIOS and reset everything back to defaults and yay, my toshiba recovery wizard now starts! :-D  On the down side, when trying to do a factory default software / out of the box recovery I continually get error messages with regards to copying the files, for example 
    cannot read from source file or disk
    7z.dll
    Type application extension
    size 585kb
    date modified 7/14/2009 10.26pm
    other read / copy errors include PREINST6.SWM, BOOT_32, BOOTPRIORITY, CHECKMAXPTSIZE, CHGBOOT, CPU, CPUCHECK, CREATEPARTITION, CTRLDRVINFO, DISKWIPE, DMI, DPINST32, EBLIB.DLL, ERRORDIALOG, EW3BOOTSEQ, FWLINK, FWLINK.SYS, GETHDDINFO, GETKEYSTATE, IMAGEX, INFILED, INITRECAREA, KRAIADAPI.DLL ..... at which point I decided to 'skip all' :-/
    Any explanations as to what's going on and how I might be able to fix it would be very much appreciated! :-)  Thank you!
    I have a two and half year old satellite L500 with an Intel i-3 and 4 gigs of RAM, on which I was running Windows 7.
    Admittedly it’s had rather a hard life (I ran some very demanding CAD / graphics software on it) but it had always performed well until just recently, when after suffering several BSOD (which had never happened before), the hard drive failed.
    I partitioned and formatted a brand new hard drive (which is perfectly fine and functions normally when hooked up to another laptop with a SATA to USB cable) and obtained system recovery discs from Toshiba.  Unfortunately, when I try and run the first disc, windows starts to load files but then generates an error screen with the message Error F3-F100-0003 and a request to turn the computer off.  
    When I use the windows Memory Diagnostic to get into the Windows Boot Manager Screen I get the following;
    Windows failed to start.  A recent hardware / software change might be the case.
    To fix the problem
    Insert your windows installation disc and restart your computer
    Choose your language settings and click ‘next’
    Click ‘repair your computer’
    File: \boot\memtest.exe
    Status: 0xc000000f
    Info: the selected entry could not be loaded because the application is missing or corrupt.
    I can also use F8 on startup to get into the advanced boot options but selecting any of them simply results in the F3-F100-0003 error message.  I’ve run a memory test using the UBCD, which tells me the memory is fine, and tried another hard drive (which also works perfectly well in another laptop) but no joy.  On phoning Toshiba support the techie said my hard drive had failed, but as I say, both hard drives are perfectly fine / usable when hooked up to another laptop.  I’m now completely stuck as to what the problem is and how I might resolve it – any advice / suggestions would be most gratefully received! Thank you in advance :-)

    Satellite L655-S5096
    Downloads here.
    the second disc gives me the the "cannot read from source file or disk PREINST8.SWM"
    My best guess is that the disc is not readable. Try copying it to another. Sometimes that works.
    Otherwise, order new discs from Toshiba.
    -Jerry

  • How to Copy an Image File from a Folder to another Folder

    i face the problem of copying an image file from a folder to another folder by coding. i not really know which method to use so i need some reference about it. hope to get reply soon, thx :)

    Try this code. Make an object of this class and call
    copyTo method.
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class FileUtil
    extends File {
    public FileUtil(String pathname) throws
    NullPointerException {
    super(pathname);
    public void copyTo(File dest) throws Exception {
    File parent = dest.getParentFile();
    parent.mkdirs();
    FileInputStream in = new FileInputStream(this); //
    Open the source file
    FileOutputStream out = new FileOutputStream(dest); //
    Open the destination file
    byte[] buffer = new byte[4096]; // Create an input
    buffer
    int bytes_read;
    while ( (bytes_read = in.read(buffer)) != -1) { //
    Keep reading until the end
    out.write(buffer, 0, bytes_read);
    in.close(); // Close the file
    out.close(); // Close the file
    This is poor object-oriented design. Use derivation only when you have to override methods -- this is just
    a static utility method hiding here.

  • How to prevent users from running PRC: Transaction Import from WebADI form?

    Hi,
    We are 12.1.3 and trying to create a workflow to approve Project transactions coming through web ADI before they become effective. To this end, we want to prevent users from running the PRC: Transaction Import from the Web ADI.
    I know that if the checkbox Automatically run transaction import is not checked, the program does not run. But we want to hide this checkbox and not allow the possibility that the program could get triggered.
    To this end, we updated the BNE_INTEGRATORS_B with source='C'. This allows you to edit the integrator from Desktop Integration Manager.
    UPDATE BNE_INTEGRATORS_B SET SOURCE ='C' WHERE  INTEGRATOR_CODE ='PAXTTRXB'
    In the 4th step, where the value for Uploader Parameters is set, we have set boolean value to No. These are the fields on the page:
    Parameter Name: bne:import
    Display Name: Start Transaction Upload
    Data Type: Boolean
    Category: Field
    Default Value: Boolean Flag: No
    Description: start Transaction Import Concurrent Request
    Display Options: Displayed: Unchecked
    Display Options: Enabled: Checked
    Display Options: Required: Checked
    Prompt Left: Automatically submit Transaction import
    Display Type: Check Box
    Maximun Size: 100
    Display Size:100
    Now the checkbox is not appearing for the user to check it, But the program is automatically running when you hit Upload in the WebADI. 

    Hi ,
    Try removing the PRC: Transaction Import Program from the request group for the responsibility used by customers to submit the WebADI and then check if the program launches.
    Regards,
    Raghavan

Maybe you are looking for

  • Error while creating change request via solman support desk message

    I have configured CHARM and my change req. is working for urgent correction, I have tested the entire workflow. however when i try to create a new change req. via support desk message --> create a change request open I get following error An action w

  • How to encode Panasonic HDC-TM700 footage for Final Cut Pro?

    How may I encode Panasonic HDC-TM700 footage for Final Cut Pro? It is 1080p/ 50 fps (in Europe)....

  • Fixed but don't know what broke it

    I ran pacman -Syu a minute ago for the first time in 3 days. I was told that current was up to date and a new extra db was downloaded. I checked the site and noticed that many things had in fact been updated in current since I last did. I edited /etc

  • Datasocket: how may I define the TCP/IP Port

    We use a firewall and have only some port numbers enabled for traffic with our server. I must be able to define a TCP Port for datasocket communication to access our server. But how?

  • Call a dialog box by a function key

    hi,      i am having a alv report with alv rows having colors depending on certain condition.i want a color legend (a dialog box that has description of the color function) on pressing f6 function key. any comments.