How to obtain GUID of a CRM Order Object

Hello, I want to retrieve an external reference number of a CRM Order. First I should obtain the GUID of a CRM Order Object(component type CRMT_OBJECT_GUID). My problem is, which FM should I use?
Thanks.

Hello sasi,
thanx for your help, with which I go a step further. What I need is to obtain a service order GUID(at last the external reference number) according to a notification number in SAP Support Desk. In CRM_JCDS, CRM_JEST I got a lot of infos but not the notification number, so that I could not establish a relationship between them. And I'm not quite clear what you mean by FM STATUS_TEXT_EDIT(why I should edit the status text)? Can you explain more?
Greetings.
Nuno.

Similar Messages

  • Meaning of field GUID of a CRM Order object in Datasource 0CRM_CONTACT_OUT

    Dear Sirs,
    The standard datasource Customer Contact: Outbound (0CRM_CONTACT_OUT) delivers a field Guid of a CRM Order object (0CRM_0HGUID).
    What does this field acctually give you?
    Is it a GUID of a acctual order created in CRM for the given BP (in a given marketing element, targetggroup)
    best regards,
    Jørgen

    if you search in the SAP Help you find technical information of the extractor with table & field name of each extracted field... copying the link won't work as it's not completely "shown", but this is what's I found:
    Field in Extract Structure
    Description of Field in the Extract Structure
    Table of Origin
    Field in Table of Origin
    PARTNER
    Business partner number
    CRMD_IM_ML_ITEM
    PARTNER_GUID
    CAMPAIGN_ELEMENT
    Project planning: 16 character GUID for tasks
    CRM_IM_ML_HEAD
    ELEMENT_GUID
    EXTERNAL_ID
    Project planning: external ID for an element
    CGPL
    PROJECT or TASK
    CHANNEL
    CRM marketing planning – communication channel
    CRMD_IM_ML_ITEM
    CHANNEL
    SURVEYID
    CRM surveys: survey ID
    CRM_MKTPL_ATTR
    OBJECTIVE
    SURVEYVERSION
    CRM surveys: survey version
    CRM_MKTPL_ATTR
    OBJECTIVE
    TARGETGRP_GUID
    CRM marketing: GUID for a target group
    CRMD_IM_ML_ITEM
    TARGETGRP_GUID
    ORDER_GUID
    GUID of a CRM order object
    CRMD_IM_ML_ITEM
    ORDER_GUID
    OBJECT_TYPE
    Business transaction category
    Function module: CRM_ORDER_READ
    PROCESS_TYPE
    Business transaction type
    Function module: CRM_ORDER_READ
    ELM_ITEM_GUID
    CRM marketing:
    line GUID for a BP
    list item
    CRMD_IM_ML_ITEM
    ELM_ITEM_GUID
    CREATED_AT
    Transaction was created at this time
    CRMD_IM_ML_ITEM
    CREATED_AT
    CHANGED_AT
    Time of last change to the transaction
    CRMD_IM_ML_ITEM
    CHANGED_AT
    SUM_ACCESS
    Number of times link accessed
    CRMD_IM_ML_ITEM
    SUM_ACCESS
    SUM_REPLIES
    Number of e-mail answers
    CRMD_IM_ML_ITEM
    SUM_REPLIES

  • How to update user status in CRM Order depending the delivery status in R/3

    Hi All,
    In my scenario the partial delivery allowed to the customer while creating the CRM Order. But as per my requirement the status should be updated when the complete order and delivery takes place.
       Let me describe you clearly:
    Suppose I want to deliver 5 quantities products to the customer but initially I want to deliver only 3 quantities and rest 2 quantities later. When I do the post goods issue of 3 quantities in R/3 system the status should not change in CRM system. When I will do the rest 2 quantities in post goods issue in R/3 then the user status should change in CRM Order. But in current when I do the delivery of 3 quantities the user status is changing in CRM Order.
    I need the user status should change in CRM only when the entire deliverytakes place in R/3.
    Thanx
    Chinmaya

    Whenever an item is fully delivered, by standard, a "Completely Delivered" status will be updated into the item. If the I suppose by referring to that you will know an item is partial or completely delivered. When all items in the order is fully delivered, the standard header status will set to "Completed". So, you will also know if the whole order is partial or completely delivered.
    If you want to add a user status, the simplest, you can make use of the ORDER_SAVE Badi. Just call the function CRM_STATUS_MAINTAIN_OW. You can update both header and item status.

  • How to set up that a CRM order is transferred to SCM?

    Where must the setting be done that a CRM order is transferred to SCM?

    Hi,
    You have to do the middleware config in CRM and few settings in SCM system to replicate orders. After doing the setting you have to start the initial load and then the delta load will be taken care automatically based on settings.
    Go through the below link it might help.
    http://help.sap.com/saphelp_sm40/helpdata/EN/3f/40623c046a9b67e10000000a11402f/frameset.htm
    Regards,
    Sanjay

  • Please help!!!  How to obtain UIData instance?

    Hi,
    I have an <h:dataTable> tag on a .jsp which has its value bound to a backing bean property of a concrete implementation of DataModel.
    In the backing bean, I'd like to set the "First" property of the corresponding UIData component, but I don't know how to obtain a reference to the UIData object with just a reference to the DataModel object. How can I do this?
    Thanks and much appreciated,
    Eric.

    Hi Yuki,
    Great suggestions! Thanks.
    I'm experimenting with using component binding, and it seems to be a very promising solution. I wonder what are the reasons you hate it? Anything I have to watch out for?
    Btw, one difference I notice when using component binding is that the get() method for the component is NOT called during a postback to the same view, as opposed to using value binding where the get() method is called. Is this to be expected and why is that?
    Thanks,
    Eric.

  • How can I create a new sales order template in SAP CRM 7.0

    Hello,
    how can I create a new sales order template in SAP CRM 7.0 (Web UI)? I want to use this sales order template in scenario ´'Mass Generation of Sales Orders via Marketing Projects'.
    Thanks for your support in advance.
    Best regards,
    anvan

    Hi,
    Did you set up this scenario? I want something similar, but I want an ERP order to be created. Do you know if that is possible? Do you have som tips?
    regards Camilla

  • How can we process the CRM Order again for second time in debugging mode

    Hi,
    Can anybody please tell me how can we process the CRM ORDER for second time.  that I want to process in debugging mode.
    Thanks,
    bsv

    Hi bsv,
    Are you trying to reprocess a BDOC for debugging purpose?
    If the BDOC is not with a final status, you will be able to reprocess it using the reprocess button in the smw01 search result list.
    And you may put /h on the popup when you click on the 'reprocess' button.
    If it is allowed to make some changes in the CRM ORDER for testin purpose, it would be easier to perform debugging.
    A more 'careless' way is to deactivate the outbound or inbound queue in transaction smqs or smqr, then in smq1 or smq2 to locate the interested queue, and click on button 'debug LUW'.
    Hongyan

  • What is GUID & how it is help full in crm

    kindly assist me abt GUID(Globally Unique Identifier)....
    Can anybody pls tell me abt GUID & how it is usefull in SAP-CRM.
    if any document regarding GUID pls forward to my id: [email protected]
    Thanks in advance..
    bye--
    Pradeepa
    Message was edited by:
            pradeepareddy punnam

    Hi Pradeepa,
    Here is the nice explaination about GUID:
    Data Warehousing
    If helpful, please assign points.
    Amit

  • How to prevent modifying the same sales order in R/3 & CRM at the same time

    Guys,
    We are using CRM 5.0& R/3 4.6C. We have the middle set up. I have noticed that its possible to open the same sales order in R/3 and CRM in the change mode. I believe this could cause inconsistenices if the users modify the same order in different systems. Is there a standar way to prevent this from happening.
    Is there something like a change lock like we have the distribution lock?
    Anirudh

    Hi,
    As per OSS Note 705200 scenario X, Y and Z are supported with R/3 4.6C. Even if you use Scenario A, SAP wont support that. I would suggest sceario Z to be implemented. This would convert all the CRM order into R/3 order as soon as they are transferred to R/3. As a result the order can now only be modified in R/3 and all the changes would flow back into CRM maintaining the integrity between the systems.
    Refer to OSS Note 541113 for details.
    Regards,
    Gaurav Gera

  • How to lock CRM orders considering the lock scope

    Hello All,
    I am currently using Function Modules CRM_ORDER_ENQUEUE and CRM_ORDER_DEQUEUE to lock and unlock these orders respectively. However, these two function modules do not take the lock scope into picture.
    I need to use function modules which consider the lock scopes. I could use ENQUEUE_E_CRM_ORDER and DEQUEUE_E_CRM_ORDER directly but I do not wish to. (because of other objects such as CSL, pricing document et cetera).
    Is there any other function module that I can use to lock / unlock the CRM order keeping into consideration the lock scope as well?
    Thanks,
    Mithun

    if you want yo lock the object(order)  in bol programming do like this
    data : lr_entity type ref to cl_crm_bol_entity.
    if  lr_entiy->lock( ) = if_genil_Boolean=>true.
    Regards
    siva

  • How to add a new field in order.jsp

    Hey,
    I want to add a new field in order.jsp. How to store that data into backend?

    If you are adding a header field then you will extend the header structure in CRM and do the same with Item structures for Item fields. You will use EEWB or similar technique in the CRM backend to extend the header or item.
    These extended fields in the backed are available in customer_h or _i structures in the order object that can be read and modified in the Header BAdI or Item BAdi.
    If you think that this message is cryptic or not enough, then you should search for Extension Guide in this forum and read the document.

  • Read categories of CRM order

    Hi all!
    My task is to read categories of crm order (i.e. fields category_1 ... category_4 at the order header level).
    May be someone could tell me some functionality to get this data?
    I'll be appreciated.
    Best regards,
    Alexander Kirillov

    Hi, Oliver!
    Below you'll see how-to-guide which will provide a step-by-step solution.
    It's 100% works like 'CRM_ORDER_READ' (both for buffered values & DB ones).
    How-to guide - reading order categorization
    1.     Create package ZCATEGORY (Categorization)
    2.     Create new dictionary objects:
    2.1.     Structure ZMDS_CATEGORIZATION_CAT ( u201CCategory from categorizationu201D) with fields:
    CAT_GUID          type      CRM_ERMS_CAT_GUID
    CAT_HI          type      CRMT_ERMS_CAT_HI
    IT_CAT_CA          type      CRMT_ERMS_CAT_CA_BUF_TAB
    IT_CAT_CA_LANG     type      CRMT_ERMS_CAT_CA_LANG_TAB
    2.2.     Structure ZMDS ZMDS_CATEGORIZATION_CATS ( u201CCategories from categorizationu201D) with fields:
    CATEGORY1          type      ZMDS_CATEGORIZATION_CAT
    CATEGORY2          type      ZMDS_CATEGORIZATION_CAT
    CATEGORY3          type      ZMDS_CATEGORIZATION_CAT
    CATEGORY4          type      ZMDS_CATEGORIZATION_CAT
    3.     Copy CL_CRM_CATEGORY_RUN_BTIL class to new ZMD_CL_CRM_CATEGORY_RUN_BTIL class. In newly created class do following:
    3.1.     u201CPropertiesu201D tab: <Create instance> = 2 u201CGeneralu201D
    3.2.     Change method u201CMAP_SUBJECT_TO_CATEGORYu201D to u201CPublicu201D
    4.     Create new class ZMD_CL_CATEGORIZATION (Categorization processing).
    4.1.     u201CPropertiesu201D tab: <Create instance> = 2 u201CGeneralu201D
    4.2.     Define constants:
    4.2.1.      C_LNK_TYPE_IS_CODE     Constant     Public     Type     CRM_ERMS_CAT_LN_TYPE     Default link type     'IS_CODE'
    4.2.2.      C_OBJ_DDIC_CRM     Constant     Public     Type     CRM_ERMS_CAT_OB_DDIC     External object name     'SUBJECTCODECRM'
    4.2.3.      C_TREE_TYPE_CAT     Constant     Public     Type     CRM_ERMS_CAT_HI_TYPE Kind     of link     'CAT'
    4.3.     Create static public method u201CGET_ORDER_H_CATu201D with importing parameter IV_GUID (type CRMT_OBJECT_GUID = order GUID)  & exporting parameter ES_CATEGORIES (type ZMDS_CATEGORIZATION_CATS).
    5.     Create report ZMDR_ORDER_CAT for displaying order categorization.

  • Adding a new field extension on CRM Order Item tab in the web shop order

    Hi CRM E-Commerce Gurus,
    I want to add a extension field on any web site product such as "zz...." in order to use this data in order's item tab. What shoul I do on J2EE Stack-.jsp method and ABAP Stack at the BADI implementations.
    Could you please help me in order to add a new field extension on CRM Order Item tab in the web shop order ?
    Thanks,
    Kind Regards,
    Fahrettin

    Hi Arshi,
    We have could not find any java action class such as Maintainb2csaveorderaction in config.xml folder and also there is no available threads and clue on SDN, google etc. Therefore we are got stucked on this issue. In SAP_ISA_60 Development and Extension Guide of SAP E-Commerce there is no sample java action class code such as Maintainb2csaveorderaction but some ABAP codes are available for the extension structure.
    Do you suggest any java action class such as Maintainb2csaveorderaction codes like in your B2B scenarios etc.?
    ls_header is a local structure with header data
      ls_extension-ref_guid = ls_header-guid.   
      ls_extension-alt_handle = ls_header-handle.
    extension are name value pairs
      ls_extension-name = u2018Z_CUSTOMER1u2019          u2018 name
      ls_extension-value = ls_header-zcustomer1. u2018 value
      APPEND ls_extension to extension_header_out
    now adding extensions to the items
      LOOP AT lt_items INTO ls_item.
        ls_extension-ref_guid = ls_item-guid.
        ls_extension-alt_handle = ls_item-handle.
        ls_extension-name = u2018Z_CUSTOMER2u2019          u2018name
        ls_extension-value = ls_item-zcustomer2.   u2018value
        APPEND ls_extension to extension_item_out 
      ENDLOOP.
    ls_header is a local structure with header data
      LOOP AT extension_header_in INTO ls_extension.
    check the name to find the according field
          IF ls_extension-name = u2018Z_CUSTOMER1u2019.
            ls_header-zcustomer1 = ls_extension-value.
          ENDIF.
      ENDLOOP.
    sort the extension table by ref_guid and handle to obtain a better access
    with binary search.
      SORT extension_item_in BY ref_guid, alt_handle.
      LOOP AT lt_items INTO ls_item.
    find the starting point for a loop over extensions
    use guid and handle as one logical key to access the extension
        READ TABLE extension_item_in
          WITH KEY ref_guid = ls_item-guid
                   alt_handle = ls_item-handle
                   BINARY SEARCH.
        IF SY-SUBRC = 0.
          LOOP AT extension_item_in INTO ls_extension
            FROM SY-TABIX.
    check, if the entry is relevant
            IF NOT    ls_extension-ref_guid = ls_item-guid
               OR NOT ls_extension-alt_handle = ls_item-handle.
               BREAK.
            ENDIF.  
            IF ls_extension-key = u2018Z_CUSTOMER2u2019.
              ls_item-zcustomer2 = ls_extension-value.
            ENDIF.
          ENDLOOP.
        ENDIF.     
      ENDLOOP.
    Thanks
    Kind Regards,
    Fahrettin

  • How to Create Excise Invoice (J1IIN) with order related billing document

    Dear Experts,
    Is it possible  to Create Excise Invoice (J1IIN) with order related billing document? How? please guide
    Regards
    BK GAIKWAD

    Sir,
    We have make the supplementary Invoice (Debit Note) as per below process
    1) Create sales order_VA01
    2) Create billing document_VF01_with reference to sales order
    3) Create Excise Invoice With J1IS (Other Movement) It is manually job & due to heavy work load (create 200 invoice  per day) it is not possible to do manually.
    Hence we want to create excise Invoice with J1IIN instead of J1IS, any alternative solution for that?
    Regards
    BK GAIKWAD

  • How to obtain the license for the mentioned products.

    Hi All,
    Please help me in below licensing issues.
    1) Our functional team got the below error while accessing "Job Scheduling Workbench".
    Error: The Workbench is inaccessible because Oracle Manufacturing Scheduling has not been licensed. Please work with your Account Manger to purchase the license.
    2) Another error message while accessing the navigation Flow Manufacturing --> Product Sync --> Flow Routings
    Error: APP-BOM 20972: You cannot access this form
    Cause: You do not have a license for Oracle Flow Manufacturing.
    Action: Obtain a license for Oracle Flow Manufacturing.
    Please guide me how to obtain the license for the above products.
    Environment: eBS R12.1.3 on Linux 5.8
    Regards,
    Siva

    Thanks for providing the document. I follow the document and get back to you for any issues.
    Regards,
    Siva.

Maybe you are looking for

  • Borders That Won't Go Away

    I am using Captivate 4 on a computer running Windows XP. My projects begin as blanks in a 640x480 size. In the Skin Editor, I select "Show Borders" so that a black border (56 pixels) appears at the bottom of my project. When I preview it in the web b

  • Apple tv error 32

    i just download the new apple tv actualization and when i want to make de airplay, tell me that i have the error 32, i dont know why, and i wanna know, who can tell how i can fix that problem thank u very much

  • Project 2007 (with server) - Visual reports custom templates export problem

    Hi, someone fimiliar with this situation? While creating and saving a new template in visual report using Project Professional 2007, some of the reports that was saved as template lose connection between Project cube and Excel. Those reports include

  • TS1702 Trouble with apps

    On the App Store they say the apps are free but when I go to install them it says about I have to purchase them but its. Only just started doing it and not sure how to resolve it

  • Passing parameters with spaces to SCCM Run PowerShell Script task

    I am working on an OS deployment task sequence in SCCM 2012 R2 with several Run PowerShell Script tasks.  Most of them run fine, but I am having trouble with the one I need to pass parameters to. The parameters I need to pass are: -ComputerOU "ou=All