User atatus of crm order in bw

Hello
There is a customized status profile  in crm for sales orders.
I'm using extractor 0crm_order_i for loading orders into bw.
How can I get this user status in the data source through sbiw customization ?
Thnks,
Rita Arkin

If you want to extract additional fields, you need to extend the
corresponding extract structure and possibly the communication
structure, fill the field with the user exit EXIT_SAPLRSAP_001,
etc.
Also, you will find additional information about such enhancments in:
http://service.sap.com/bi
> Documentation
> Business Content Documentation
> Extracting Sales and Distribution Transaction Data - vers. 2
Chapter 7 of this document provides further information about the
enhancement of extract structures.
See transaction RSA5
Colin

Similar Messages

  • 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.

  • User status for crm order in bw

    Hello
    There is a customized status profile  in crm for sales orders.
    I'm using extractor 0crm_order_i for loading orders into bw.
    How can I get this user status in the data source through sbiw customization ?
    Thanks,
    Rita Arkin

    If you want to extract additional fields, you need to extend the
    corresponding extract structure and possibly the communication
    structure, fill the field with the user exit EXIT_SAPLRSAP_001,
    etc.
    Also, you will find additional information about such enhancments in:
    http://service.sap.com/bi
    > Documentation
    > Business Content Documentation
    > Extracting Sales and Distribution Transaction Data - vers. 2
    Chapter 7 of this document provides further information about the
    enhancement of extract structures.
    See transaction RSA5
    Colin

  • Error in Action when CRM Order is updated as Error from R/3 update

    Hi,
    Currently we are in CRM 6.0 SP04 and R/3 4.7 SP14
    Process:
    1) B2B user places order through ISA
    2) Order gets replicated R/3 from CRM through middleware (Scenario A setting)
    3) If there are any changes in order on either side, changes gets replicated.
    Requirement:
    We have a requirement from business to trigger workflow in CRM if order is in error. Following are the possible scenarios
    1) Error while saving order in CRM
    2) No errors in CRM. However, Order will get error in R/3 because of inconsistent configuration or master data between CRM and R/3. The BDOC will be green while replicating to R/3 and acknowledgement to CRM.
    3) BDOC status is in error
    Solution approach:
    We created an action to trigger event when order status set to "Contains error". The condition for Action trigger are Order have error free flag NE X(BUS 2000115 )  OR Status = I1030 OR status = I1056.
    Issues:
    1)     Scenario : Order is successfully create in CRM without any error. Order gets replicated to R/3 u2013 BDOC is green. However, the order gets error status in R/3 because of inconsistent configuration or master data. The acknowledgement BDOC updates the error status in CRM. However, Action does not get trigger when the order is updated as Error from R/3.
    Pls advise possible solution and also suggest any other way to achieve the required functionality to generate workflow for CRM order updated as Error from R/3.
    Regards,
    Anil Rithe

    Hi Anil,
    Try this, implement ORDER_SAVE BAdI.  This BAdI is triggered every time an order is saved, you could put in your logic to see if the order has errors, if yes trigger your workflow.
    I haven't tested but this should work for your case when the crm order is set to error status after the replication to R/3(the BDOC scenario).
    This may not be the most efficient method of doing, but this would definitely work.
    Make sure you use proper checks at the beginning  of your order_save BAdI implementation as this badi would get executed on save of every 1-order object.
    ~Kiran

  • How to capture the role of the user logged in  CRM

    Hi
    How to capture the role of the user logged in  CRM so as to restrict the Account group selection ; While creating a sales Order .
    Can we deternine the profile in the related view .If so how , and what tables can we use to do so.

    hi,
    I think you should check CRM table AGR_USERS.
    Regards
    Michael

  • User Status Replication-CRM to R/3

    HI Gurus
    Our requirement is to replicate the Item level user statuses in CRM Service order to R/3.We will use BADI- CRM_DATAEXCHG_BADI and methodCRM_DATAEXCH_AFTER_MBDOC_FILL.
    Would appreciate if you can let me know how to fill the item status information into the MBDOC.By this,I mean which component to use pertaining to item level user status to fetch the info.
    Thanks in advance
    Madhav

    Use FM CRM_STATUS_READ
    Hope it helps.
    Lokesh
    PS. Pls. reward helpful posts.

  • Cancel line item in crm order

    Hi All,
    How can I cancel an item of a CRM order?
    Is this possible through BAPI ? If yes , please mention how.
    Thanks a lot
    Ajith

    Hi
    These sales orders have been locked by the user (not a dialogue user) which is used for the BDoc transfer from CRM to R/3. Generally orders created in R/3 from CRM can be also be changed in R/3. But because of data difference between R/3 and CRM now the orders are locked. It is not allowing to update any data from CRM also.
    So these order getting unlocked from the user is not working because now no updation from CRM to R/3 on these locked orders are happening.
    Regards

  • Restricting User Status in CRM

    Hi Experts
    We have a requirement in SAP CRM to restrict User statuses so that when the CRM Order is in a certain status, no other statuses are visible as a drop-down.
    In above screenshot, if status is "Dealer Submitted" the rest of the status should not be displayed.
    Kindly advise.
    Thanks
    Susmita

    Hello Sushmita,
    You can use authorization object  B_USERSTAT. With this authorization object you protect the setting or deletion of user status in the general status management of orders, projects, etc.
    Authorization codes are created in SPRO --> SAP Customizing Implementation Guide --> Customer Relationship Management --> Transactions --> Basic Settings --> Status Management --> Define Status Authorization Keys
    If you assign an authorization code for a certain status, this means that only users who have authorization object B_USERSTAT assigned to one of their roles, and are authorized to 01 (create or generate) for the specified authorization code, will be able to set the status. All other users will not. Hope this input was helpful for you.
    Thanks!
    Neha Gupta

  • ATP Check in CRM Order

    Hi all
    I am trying to explore the ATP functionality on CRM orders. Per the help we can either trigger it with SAP APO or SAP ECC but I am not sure what is meant by using SAP ECC.
    Is the funcitonality to call SAP ECC even before CRM order save and then tell us ATP check results? Or does it mean that once CRM order is saved and replicated to ECC then the ATP will be carried out? I am pretty sure its the former but just want to confirm with CRM gurus.
    Thanks
    Jai

    Hi Jai,
    If you use ECC for ATP check its works fine for stock items. You dont have to save the order and reopen to get the delivery dates.
    If the items are Make-to-order, ATP will not work in CRM untill you save the order and reopen. This is because,In ECC, there is a direct linkage between the sales order and the production order in the make-to-order scenario. The confirmed delivery date is based on the scheduling of the production order.The ATP check from CRM makes an RFC-call to ECC in order to perform the ATP check there. Since the sales order does not yet exist in ECC, there is no production order scheduled either. Thus the ATP check can not confirm any dates. The system issues an error message which informs the user that the ATP check could not be carried out The limitations are explained in the note 931796.
    Cheers
    Edited by: Praveen Rangineni on Nov 6, 2008 2:47 PM

  • CRM orders and Confirmations

    Hello Guys,
    I need some clear understanding about the reporting on CRM Orders and Confirmations cube. I guess I am a bit confused now.
    In the scenario that we have, there are service orders created and when the work on the order is done, confirmation is created. We need reporting on whether the order was completed on time based on SLA.
    But the problem is that the status on the service order is not always set to completed when a confirmation is made and there is a custom defined "User Status" that is set. So how do I look at the information on Confirmations as to when it was done, and relate it to the service order?
    There is a BC report of "Delayed Orders" but I am not sure how an order is determined to be delayed? If anyone has worked on this, Please share the information. I am thoroughly confused.
    Doniv

    Hi
    well, the regular extractor does bring some statuses, so I would verify that first.
    we extract both Header and Line statuses but there is a logic on the CRM side that makes sure that when the call is closed on the header it is also closes all the lines.
    but if a line was closed it does not affect the header status.
    here is an example of how we enhanced our extractor - 0crm_srv_process_i:
    Pick up SP line's system status, get only the largest stat code
    in the range if there are multiple sys stats
    the wanted stats are Open, In Process, Released, Completed
       SELECT stat
       INTO l_struct-zzsys_status
       FROM crmv_index_jest
       WHERE item = l_struct-item_guid
       AND inact <> 'X'
       AND stat in ('I1002','I1003','I1004','I1005')
       ORDER BY stat DESCENDING.
         EXIT.
       ENDSELECT.
    Reg's
    Edan

  • How can I have multiple users on iTunes (in order to connect to a shared office iPad)?

    How can I have multiple users on iTunes (in order to connect to a shared office iPad)? Currently each of us has our own iTunes account, so I've made an "all office" Apple ID. However, I can't seem to get two different accounts (my personal and the office) to work on my machine. Even when I login as "the office", my personal library is still showing. Additionally, when I try to setup with a first-time use in iTunes, I get an error that I don't meet the minimum age requirement - no matter what birthdate I enter!

    The library exists regardless of which user is logged in.
    The only way around that is to create different user accounts on the computer.
    There is no way to have 20 unique iTunes users access a shared iTunes under a single login on the computer.

  • Unable to debug user exit in CRM BW  (EXIT_SAPLRSAP)

    Hi Gurus,
    Please help me to debug user exit in CRM BW.
    I am using below enhancement
    RSAP0001 (Customer function calls in the service API)
    "EXIT_SAPLRSAP_003"
    Datasource is ZSTAONESYS0_TEXT
    The extract structure
    I have modified is "CRM_BIW_ST_T"
    ===========================
    Data Source "I_CHABASNM"
    CASE i_chabasnm.
    ZSTAONESYS0_TEXT -- Data source name
      WHEN 'ZSTAONESYS0_TEXT'.
        CLEAR l_s_crm_biw_st_t .
        LOOP AT  c_t_texts   INTO  l_s_crm_biw_st_t .
          l_tabix = sy-tabix.
          SELECT SINGLE * FROM crm_jest
                   INTO   wa_status
                   WHERE   inact  =  ' '.
          SHIFT wa_status-stat LEFT DELETING LEADING space.
          CLEAR l_stat.
          l_stat = wa_status-stat(1).
          IF  l_stat  = 'E'.
            l_s_crm_biw_st_t-bwstoppt   = wa_status-stat+3(2).
            MODIFY  c_t_texts  FROM l_s_crm_biw_st_t
                                  INDEX l_tabix.
          ENDIF.
        ENDLOOP.    
    ENDCASE.
    ===========
    Should I use a BADI?
    It would be great if you could give me
    relevant definition name for creating new BADI.
    Can I use "CRM_BWA_MFLOW" ?
    I promise to return and reward the answers.
    Really heart warming
    to see the dedication/ participation of
    Bhanu Gupta / A.H.P / Pizzaman and many others
    Thanks in advance, :-D
    AbyJacob, Bangalore
    ===================

    Dear SB,
    I was able to Debug my user exit successfully.
    ==>include ZXRSAU02. "EXIT_SAPLRSAP_003"
    You guys are really a big help
    Keep up the good work.
    Special Thanks to SDN community
    warm regards,
    Aby Jacob, Bangalore

  • How get the user that use CRM in my web site

    Hi all,
    I have a web app that connect to my CRM. I use C#.
    I connect to CRM with my credential because I'm admin in CRM.
    But my app is used from others CRM user and I need to know who is systemuser CRM that use app.
    I need the same of Xrm.Page.context used in js or the same context used in plugin, but I have the problem that I connect  to CRM with my user. So If I use WhoAmIRequest class I have my userid and not the userid of the user that use my web app.
    Is it possible know this? Do I change my login with user login in CRM?
    Thanks

    Hi,
         As you use system admin to connect to CRM, WhoAmIRequest does not return the user from website. You are correct. Change that so that it uses logged in user however be aware that means each user needs to be a valid CRM user else they
    will get not a valid user error.
    Hope this helps.
    Minal Dahiya
    blog : http://minaldahiya.blogspot.com.au/
    If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

  • How to get system status and user status of service order

    Hi,
    I want to show user status and system status for service order in my report and i am using CRM_ORDER_READ function module to read the status, but it is returning lot of status records, could anyone please suggest how to get the system status and user status for service order.
    I did not find any clue for how to get user status, i can see the user status when i open the transaction using CRMD_ORDER.
    Regards,
    Kamesh Bathla

    Hi,
      Go to CRM_JEST table give your service order guid and get the status, pass this status into TJ02. You will get the status of your order.
    Regards
    Srinu

  • WBS Element in CRM order

    Hi forum!!
    In the ERP order we assign a item of a order to a WBS element and we need to see that WBS element in CRM but that field does not appear in the CRM order!!
    Because of that I think about creating an ERP Order in CRM Order because the WBS element does exist!!but the problem comes here, when I insert the value in the WBS element that value disappears when I press enter or I save the Order.
    Does anyone of yours know something about that??
    Any ideas??

    HI Cecilia,
    I am also need to assign WBS element in service order item,but I can't find that filed.
    Can you share with me?
    Thanks
    Tiffany

Maybe you are looking for

  • Could not find binding output for operation ...

    Hi all !!! I have a big problem: [email protected]5 : Could not find binding output for operation getScore I invoke a web service called IPODShopService from my process BPEL. this is the WSDL: wsdl:definitions targetNamespace="http://service.integrat

  • Set browser window size?

    Is it possible to set the browser window - specifically IE - when opening my form when using seperateFrame=false? I am developing a single window app that is lost in the IE window when it starts up. I would like to size the IE window in relation to m

  • Project Cash Management Document after MIRO

    Hello, I have activated PS Cash Management by doing the following config. 1.Create FM 2.Assign FM to Co.Code 3.Create Commitment Item 4.OPI6 5. OPI4 I noticed that Project Cash Management document is not created every time i do MIRO. Any config /set

  • SharePoint Provider Hosted App: mixed content issue

    We have a provider hosted app that needs the SharePoint javascript and CSS files, so in our MVC view we added the following code: <script src="@Request.QueryString["SPHostUrl"]/_layouts/15/SP.RequestExecutor.js" type="text/javascript"></script><scrip

  • Already logged in elsewhere

    Hi all, Sometimes my Agentry Client crashes, which is very unfortunate. (I'm working with SAP Work Manager 6.0 WPF client). When I try to log in again, I get the message 'Already logged in elsewhere'. I can restart my local server to log all users ou