How to create switch documents in SAP CRM?

Hi,
I'm trying to create switch documents in SAP CRM. I'm using method CL_CRM_ISU_ORDER_DEREG=>CREATE_SWITCH_MESSAGE but one of the parameters is CONTEXT...
Someone knows how this parameter should be filled?
Thanks,
André

Hi Andre,
the class CL_CRM_ISU_ORDER_DEREG is used by the classes of the utilities process framework to create a switch doc in the context of a process. The context parameter is a reference to the process context. The class CL_CRM_IU_PR_CNTR_START, for example, uses  CL_CRM_ISU_ORDER_DEREG in the ON_POD_CHANGED method to create a switch doc.
While it is possible to set up a process context in a custom program the real question is what are you trying to achieve? Maybe it is easier to solve your requirement in the context of the process framework that to start from scratch.
Are you aware of the concepts underlying the utilities process framework? If not have a look at the following documents:
Process Framework in Contract Management - SAP CRM for Utlilities
https://websmp210.sap-ag.de/~sapidb/011000358700001113322009E/Utilities_Prozess_FW_en.pdf (available at SAP Service Marketplace -> Solutions -> SAP for Utilities -> SAP for Utilities - Product Information -> SAP CRM for Utilities -> Cookbooks&Guidelines -> Utilities_Prozess_FW_en.pdf )
Best, Christian

Similar Messages

  • How to create Individual Object in SAP CRM

    Hi Experts,
    Can some one please let me know the procedure to create Individual Objects in SAP CRM. I mean I want to know the function modules or classes to create Individual Objects.
    My requirement is like this: I want to create an Individual Object first and then create an Installed base and assign the Individual Object to Installed base.
    I need ABAP code to do the above tasks.
    Thanks in advance.
    Nadh.

    Could you please share your solutions?
    Thanks

  • How to create a proxy in sap crm

    Hi All,
    To access an external webservice, i need to create a client proxy in sap crm.
    Can anyone suggest me the steps in creating a proxy and wht are the pre-requisites for creating a proxy.
    Whn am creating a proxy, getting an error as ERROR in HTTP frame work: cl_http_client->send() rc=1.
    suggest me some solution.
    Regards,
    Sanjani

    Please do check the thread mentioned below if it is of any help.
    Re: SOAP to PROXY (Synchronous)
    Rg,
    Harshit

  • How to Create Track in NWDI for CRM ISA 5.0

    hi
    can anyone please suggest me how to create track in NWDI for CRM ISA 5.0 for different archive files which consists of source files like(ex: SAP-SHRAPP.SCA,SAP-SHRWEB.SCA, e.t.c.) and as well as empty source files like(ex: SAP-SHRAPP.SCA,SAP-SHRWEB.SCA, e.t.c.).
    As far as i know SAP does not deliver sources for SCs SAP-JEE,SAP_BUILDT and SAP_JTECHS so we cant have them as "Developed Software Components" when we eg:want to modify the SCs SAP-SHRAPP.SCA or CUSTCRMPRJ.SCA.
    here what i want to know is depending on which SCs we actually want to modify, based on that our track want to be Configured differently.
    My question is how to configure the Track in NWDI for this kind of scenario.
    If the source is not given and only required software components are given then how to create track in NWDI. for example in CRM ISA 5.0
    Regards,
    Chandra.

    SAP documentation is there in service market place for NWDI setup under netweaver. If you dont find document post your email id, I will send you the document.
    regards,
    Laxman

  • Upload/Read Documents from SAP-CRM to/from SharePoint

    Hello ,
    We have a requirement to upload documents from SAP CRM to share point(select the document from the desktop and pass the data to sharepoint server) , the user should also be able to view the documents located in Sharepoint.
    There are web methods in SharePoint already developed which will allow the uploading of the documents and passing the location of the stored documents as URL back to CRM.
    Could any one please help me in the follwoing
    1. Configurations to do on SAP side for Calling the methods developed in Sharepoint.
    2. Configuration to pass the document from SAP CRM(Uploaded from desktop) to sharepoint.
    Thanks in advance

    Hi Ravi,
    We also have a similar requirement in which we need to read the document stored in an external server from SAP CRM. Can you please let me know know how you achieved this. I will know the exact path (URL) of the document. Using this is it possible to retrieve the content of the document.
    Regards,
    Sudha.

  • How to create shipment document with out inbound delivery document

    Dear Friends
    How to create shipment document with out outbound/inbound delivery document.
    In my client scenario, there is no inbound delivery for normal purchases.
    Just there are raising the PO to vendor, then they are doing MIGO for goods receipt.
    Can we do shipment creation with reference to PO?
    If it is possible, how it will be?
    Please let it solve
    With regards
    Lakshmikanth

    Dear Sameer,
    Please go to transaction VT01N here you enter Transportation planning point and shipment type then press enter.
    Now system will take you to the shipment document creation screen here you click on Select deliveries or press F6 now system will take you to the select outbound deliveries screen in this screen you enter selection data then execute, now deliveries will get assigned to that shipment.
    After assigning the deliveries enter the remaining data then complete the shipment finally save the shipment document.
    For more information please go through this SAP help link
    Note:- Shipment process need to be carry out for the deliveries before PGI.
    http://help.sap.com/saphelp_47x200/helpdata/en/f5/04898047bd11d2bf750000e8a7386f/frameset.htm
    I hope this will help you,
    Regards,
    Murali.

  • IDoc to Create Shipment Document in SAP

    Hi,
    I want to create the shipment document in SAP via EDI message from freight forwarder and subsequently update the shipment document(VT02N) statuses via EDI  like planned/loaded/shipment end etc....
    I am reasearching on the Idoc type for that...I found SHPMNT03 etc could be used to create/change document but I don't know where the Transportation planning point field exists in the Idoc type. Please help me to how could I create the shipment document...
    I am able to create the shipment document using TPSSHT01...but not sure whether it would be good as it's used with TPS and we don't have any external TPS. We just want to create shipment document in SAP based on freight forwarder edi messages 856 I believe
    I am new to EDI
    Thanks
    Chil

    We used a program to create the IDoc but I don't see a transportation planning point anywhere in it. I think it should be picked up automatically from the deliveries and I wouldn't fixate on that. Here is the code fragment, but you don't need to fill in all those fields:
    e1edt20-shtyp = '0003'.
          e1edt20-signi = i_table-route.
          e1edt20-exti1 = i_table-route.
          e1edt20-exti2 = i_table-driver_num.
          e1edt20-tpbez = i_table-driver_name.
          i_edidd-sdata = e1edt20.
          i_edidd-docnum = w_docnum.
          i_edidd-segnam = 'E2EDT20001'.
          APPEND i_edidd.
          e1adrm4-partner_q = 'OTP'.
          e1adrm4-partner_id = '0001'.
          i_edidd-sdata = e1adrm4.
          i_edidd-docnum = w_docnum.
          i_edidd-segnam = 'E2ADRM4001'.
          APPEND i_edidd.
          e1adre4-extend_q = '305'.
          e1adre4-extend_d = '0001'.
          i_edidd-sdata = e1adre4.
          i_edidd-docnum = w_docnum.
          i_edidd-segnam = 'E2ADRE4001'.
          APPEND i_edidd.
        e1edl20-vbeln = i_table-vbeln.
        i_edidd-sdata = e1edl20.
        i_edidd-docnum = w_docnum.
        i_edidd-segnam = 'E2EDL20'.
        APPEND i_edidd.
    From what I remember, this IDoc worked rather strangely and I had to fill in some fields for no obvious reason (e.g. both e1edt20-signi and e1edt20-exti1 when SIGNI is really the one we needed). At some point, I just tried filling in all the possible fields to get past errors. Like I said, it just takes some trial and error.
    Unfortunately, I don't have access to that system anymore and have no further information. Also we didn't do any shipment changes. You might want to search in ABAP forum. Good luck.

  • How to create a condition in sap

    Hi all,
    How to create a condition in sap
    i want to create a condition in sap quotation. how to solve this issue please give me idea step by step.
    [http://www.4shared.com/document/MQiBd3bP/screenshot.html]
    Thanks & Regards
    Ambrish
    Edited by: ambrish dwivedi on Feb 28, 2011 12:29 PM
    Moderator message: not related to ABAP development, please do some research before asking.
    Edited by: Thomas Zloch on Feb 28, 2011 9:21 AM

    Hello Ambrish,
    Which condition are you talking about ?
    is it the calculation you want to do in ur driver program or kind of routines which are used in Pricing ?

  • How to create matreial document for ten line items (10 documents) by BAPI

    Hi
    how to create matreial document for ten line items (10 documents) by BAPI_goodsmvt_create
    i created but it gives error as "no ites were transferre
    and i need code also.
    thanks in advance

    Prabhu Peram wrote:>
    > >
    Gareth @ Atos Origin UK wrote:
    > > Prabhu,
    > >
    > > You have been on SDN a long time and have a decent amount of points - why do you feel the need to simply cut and paste standard SAP documentation? _-----> I least bother abt the Points, and i never ask somebody to give points to me , if u have any doubt on it , u can check all my postings ? All it does is fill up the SDN servers with replicated data which the original poster could quite easily access themselves via SE37----> Sorry I have seen ur Posting/Reply,dont assume that i do copy & paste for sake of Points.Njoy SAP.>
    > > Gareth.
    >
    >
    >
    > regards
    > Prabhu
    Prabhu.
    I didn't question you about points at all - I was making the point that you have been on SDN a long time and have a lot of points.  Therefore you should know better than to simply cut and paste standard SAP help.  If you don't copy and paste for sake of points, what do you do it for?  It serves no purpose other than to fill up the servers here on SDN.  The original poster appears to have access to a SAP system and SE37 and wants to know how to call a BAPI - they can easily go to SE37 and read the documentation themselves.  Posting it here just adds noise and makes searching harder, as well as taking up more and more space on SDN servers.
    Gareth.

  • How to create Production order in SAP B1

    Hi Experts,
    Can anyone send me a link on how to create Production Order in SAP Business One?
    Regards,
    Vishal
    Ver: SAP Business One 2005 B (7.40.253)  SP: 00  PL: 43

    Hi,
    Kindly check the following link for the How to Guide on various topics :
    [How to Guide|https://websmp210.sap-ag.de/~form/sapnet?_FRAME=OBJECT&_HIER_KEY=701100035871000371280&_SCENARIO=01100035870000000183&]
    You can search for the document Production and Bill of Materials.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • How to create new requisitioner in sap mm for raising purchase requisition?

    How to create new requisitioner in sap mm for raising purchase requisition?

    Hi Dear,
    There is some link will help you to create Purchase Requisition and other MM Documents.
    http://www.docstoc.com/docs/11307932/SAP-MM-Manual-Create-Purchase-Requistion
    http://www.r3.duke.edu/training/stepbystep/#purch
    http://sapdocs.info/sap/materials-management-2/download-sap-purchasing-user-training-ppt-material/
    Regards
    Aamir

  • How to enable net value in sap crm opportunity

    hello all ,
    how to enable net value in sap crm opportunity and item category.
    please help me out i am new in sap crm
    Ahmad

    Hi Ali,
    Every transaction which you create have some predefined rule in the form of procedure which is attached in the transaction level. You can follow below path and check for the transaction which are the rule maintained.
    CRM->Basic setting-> Define transaction types.
    Search for your transaction type and double link in order to see all the rules attached to transaction level.
    You also need to define which item categories you wanted to configure for particular transaction type which you all ready have done it seems.
    You also need to define pricing procedure to the transaction where you need to checked for errors.
    Below is the path
    CRM->Basic setting-> Define transaction type-> open your transaction
    step 2:click on assignment of business transaction categories than select category as Sales
    than click on  Customizing Header option to see attached pricing procedure with it.here you need to check for your error.
    to check partner determination rule please follow below path in SPRO. -> partner determination procedure
    Check in head of transaction which partner procedure is attached.
    Than search for partner determination procedure in below path.
    I hope this will help you to validate the setting for your transaction and will be helpful to solve your issue.
    Thanks,
    Prem

  • How  to  create an infotype in sap ecc6.0 ?

    Hi all,
    I know i how to create an infotype   in   sap 4.7, but i am facing the problem while
    creating an infotype in sap ecc6.0 version. could u plz provide me  the info with screen shots how to create an infotype and how to enhace that infotype ?
    Waiting for u r response.
    Regards,
    Ravi

    Hi ,
    To create OM infotype:
    1. Go to SE11 and create a structure HRI9XXX (9XXX --> name of the infotype). Add the required fields to this structure and save and activate. then come out of it.
    2. Go to PPCI and enter Infotype number (9XXX) and description.
    3. Click create.
    4. In the infotype category select details for the infotype.
    5. Click create button. It should create the infotype.
    6. Click on Check. A window with menu will open.
    7. In that window navigate to Table Entries.
    8. Under table Entries, select T777I and click on change.
    9. It opens SM30. Click on Maintain.
    10. Select the infotype and add information for "Time Constraint" and "Infotype Per Object Type".
    11. Save.
    12. Go back to check menu, see if all entries exist. Do not worry last 5 table entries. And you are done

  • HOW TO CREATE A VARIABLE IN SAP SCRIPT

    HI ALL,
    CAN ANYONE TELL ME HOW TO CREATE A VARIABLE IN SAP SCRIPT.
    THANK YOU,
    BYE
    TAKE CARE.

    Hi Ravi,
    You can use like this
    A text in the editor contains the following DEFINE commands:
    /: DEFINE &mysymbol& = 'xxx xxx xxxxx xxxx'
    &mysymbol&
    /: DEFINE &mysymbol& = 'yyyyy yyy yyyy'
    / &mysymbol&
    The printed text appears

  • How to create a document folder using ListData.svc

    Hi All,
    I've recently been put on a project where I need to use the REST services (ListData.svc) to retrieve and add documents to the document library. It all has been smooth sailing until I hit the point where I want to save a document in a path that doesn't exist.
    I get an error if I try to save a file where the folder structure doesn't exist. I then went about it a different way trying to create the folder structure first. This also didn't work and I get an error message saying that the entity type is marked with the
    MediaEntry attribute but no save stream was set for the entity. Not too sure what set for the save stream if I'm just adding a folder.
    So my question is can a file be added to a folder structure that doesn't exist where it automatically creates the folders. If not can the service create folders?
    Some sample code I've been using:
    var folder = new SampleDocumentLibraryItem();
    folder.Name = "Sample";
    folder.Title = "Sample";
    folder.ContentType = "Folder";
    folder.Path = "/sample/folder1/folder2";
    spContext.AddToSampleDocumentLibrary(folder);
    spContext.SaveChanges();
    Thanks in advance,
    Damo

    Hi All,
    Finally managed to figure this one out. For anyone who needs source on how to create a document folder. Some sample source is below...
    var folder = new DocumentLibraryItem();
    folder.Name = "Folder Name";
    folder.Title = "Folder Name";
    folder.ContentType = "Folder";
    folder.Path = path;
    spContext.AddtoDocumentLibrary(folder);
    spContext.SetSaveStream(folder, stream, false, folder.ContentType, folder.Path + folder.Name + "|0x0120009BCC19899CEBC6468FF4EEAC7B8CF4F5"
    spContext.SaveChanges();
    So the important differences in the code above. The content type of the object and stream MUST be set to "Folder". I'm not sure why but you still need to set the save stream to be a valid stream even though you're only adding a folder. So just keep the stream
    open and then pass "true" to close it when you actually save the file. The other important element as noted from the URL's in the previous comments is you need to add a "|" + Content Type ID of a folder. You'll be able to get this ID by visiting the rest service
    for an existing document library and view source to see the actual content type id for a folder.
    Thanks everyone for your help,
    Damo

Maybe you are looking for

  • FILE  to  IDOC  SCENARIO   NEED  MANDATORY FIELDS IN  MATMAS IDOC

    Hi    I'm  learning a scenario like File to Idoc  which is i need some what are the mandatory fields for  creting the message mapping.. between source file and MATMAS IDOC...  because it was showing several fields. is there any way to find out the  f

  • My iMac freezes after 3 hours of no activity

    My iMac (3 years old) and running Mavericks since it was released, just started locking up/freezing 4 days ago.  The screen will be frozen at the point the issue happens.  At this point you can not do anything, the mouse cursor will not move and usin

  • Attaching to Email Problem

    Hi, I worked on several spread sheets. When I attempted to send them as attachments to my email, they would not send, and I got a message: "Entourage cannot attach the item. Aladdin Systems Stuffit software must be installed on your computer in order

  • Restore one full backup(need to move), 1 differential backup,2 transaction log backup

    Is following script correct? I don't need to add "move" when do restore differential, log later. Correct? RESTORE DATABASE AdventureWorks FROM DISK = 'C:\AdventureWorks.BAK' WITH MOVE 'Adventureworks_DB' TO 'C:\test\Adventureworks.mdf', MOVE 'Adventu

  • Any ideas what's causing this spew?

    8/19/10 10:45:01 PM kernel System Preferenc (map: 0xffffff8033b5b8b8) triggered DYLD shared region unnest for map: 0xffffff8033b5b8b8, region 0x7fff87e00000->0x7fff88000000. While not abnormal for debuggers, this increases system memory footprint unt