CRM to ECC i object user status updation.

Hi Friends,
I want to know details of SAP objects involved:viz: BADI's to have SAP CRM Iobject user status updatio , I have successfully replicated the ECC CRM Equipment to CRM I Object and even getting the user status from ECC To CRM..
I am facing difficulty in doing the vice versa action from CRM to ECC.
Please let me know your suggestions and opinoins which I can try executing.
Thanks,
Devansh

For replicating user status from ECC to CRM we have done the following:
1) Replicated all related BPs and reference products.
2) defined the settings (ex Object family for equip etc ) in SPRO
3) Activated CRM_EQUI_LOAD BADI
For Upload you have to also :
Activate DNL_EQUIPMENT and DNL_EQUI_CONFIG and assign Adapter object DNL_EQUIPMENT to Object family 401.
I hope  this would be good enough for Getting your User Status in CRM.
My problem is of updating / replicating user status from CRM to ECC.
Pl see if something can be done for this.
Devansh

Similar Messages

  • System Status Vs User Status updates from ECC to CRM

    Hi Frnds,
        Am facing a problem in Status Management , We have ECC as Backend , When ever we save the order in CRM it is Relicated to ECC thrgh CRM Middleware.
       (I) I have created User Status 'Z' Status Profile in CRM and Assigned that Profile to Status Triggering Business Transaction and to the Transaction Type.
              I have assigned this Status to INProcess and Released , with my 'Z' Status.
    I have Maintained the Same User Status Profile in ECC also.
    My questions are
    1) How can i Maintain the System Status with User Status in ECC (For example in CRM we maintain thrgh Business Transaction ,last field in Status Profile.) ?
    2)When ever i change the status in ECC that Status as to be update in the CRM?
            But here Order in CRM is not updated , For example , if i change the status to "COMPLETED" in ECC ,the Status "COMPLETED" is not triggered in CRM.  
            Here i need write a BadI or is there any Config settings that i need to Mainatain ??? or anything different approach ??
       Helpful Answer will be Rewarded with Points .
    Thanks in Advance
    Reagards
    Ram

    Hello Charitha,
    In txnn:R3AC4 of CRM , check INACTIVE flag for object MATERIAL (and any other objects whose data is not required in CRM)
    for your RFC destination (ECC).
    This would prevent any automatic data flow for this object from R/3 to CRM.
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • BAPI_ALM_ORDER_MAINTAIN Operation User Status Update

    Hi All,
    I am trying to use this BAPI_ALM_ORDER Maintain to update the user status at the Operation level, but am facing the following issue:
    In the IT_METHODS table, I am passing the USERSTATUS CHANGE (with the right object key - aufnr + vornr), and SAVE Method.
    And am filling the User Status table (IT_USERSTATUS) with the correct user status to be updated at the Operation Level.
    But when I execute the BAPI - it throws an error saying that the User status XXXX doesnt exist in the XXXXXX (This is the wrong profile. This profile is at the Header level and not at the operation level) Profile.
    So somehow its trying to update at the Header level and not at the operation level.
    Any idea what can be the reason?
    Regards
    Ankur

    Hi,
    BAPI_ALM_ORDER_MAINTAIN user status Change
    check out this link..
    Thanks & regards.

  • User Status update on Sales Order Header

    Hi all,
    I need to update the "User Status" on sales order header when a sales order is saved. As user status reside in JEST, what available user exits are there to change/insert new user statuses? I don't believe the common exits like MV45AFZZ would do.
    To clarify, to get to these user statuses, you go to the header of the sales order, select on the 'Status' tab, then click on the "Object Status" pushbutton.
    Any help would be greatly appreciated in the form of points!
    Thank you.
    Liam

    Hi Liam,
    In the Program MV45AFZZ in the FORM userexit_save_document
    you use the following fn module to change the user status
    'STATUS_CHANGE_EXTERN'
    Example
    IF t180-trtyp = 'H'.  "Only creation time
      READ TABLE xvbap WITH KEY matnr = c_matnr.
      IF sy-subrc = 0.  "If above material exist then change status
        LOOP AT xvbap WHERE cuobj NE space
                       AND  matnr =  c_matnr.
          l_objnr = xvbap-objnr.
          CALL FUNCTION 'STATUS_CHANGE_EXTERN'
            EXPORTING
              objnr               = l_objnr
              user_status         = 'E0013'  "Send ej IDOC
              set_chgkz           = 'X'
            EXCEPTIONS
              object_not_found    = 1
              status_inconsistent = 2
              status_not_allowed  = 3
              OTHERS              = 4.
        ENDLOOP.
      ENDIF.
      sy-subrc = 0.  "Restore the previous condition
    ENDIF.
    Reward if helpful *********

  • How to generate a report from crm table to find out user status changes

    Dear all,
    Could you please help me on generating a report from SAP CRM table level
    to find out user status changes in crm orders for a specific period of time?
    Thanks in advance,
    Regards,
    Shaik

    Hi Shaik.
    You would not need to write report for this. You need to create a Table view mainenance for the CRMD_ORDERADM_H or CRMD_ORDERADM_I for whichever  you need.
    Follow the below or search on google for more on table view maintenance.
    Go to SE11, give the table name and click on change. Then Go to utilities--> Table maintenance generator.
    In the table maintenance generator screen, you should give Authorization Group,
    Function Group name (Function Group name can be same as table name),
    Maintenance type can be one step or two step, usually you will create with one
    step. You should give maintenance screen number. After clicking on create button,
    a table maintenance generator will be created.
    To check it go to SM30 . In SM30, you find display, Maintain options.
    You can view the table contents by choosing Display and  supplying the selection criteria of dates.
    Regards
    Apoorva

  • STATUS_UPDATE error to update USER STATUS - Update termination error

    Hi All,
    I am using status_update FM in sales order user exit MV45AFZZ in a perform routine for updating user status in line item for sales order. There are 4 custom statuses created for the sales order line item. 1,2 3, and 4 by configuration. My job is to select one of those based on user selection.
    Scenario: During change order process using  VA02, I have to change the existing status to a third status when user selects the second one. That is for example, in VA02, user selects status 4 from previous status 3, and save, I have to make the status 4 inactive and save the new status 2 instead of 3 though user selected 3. How do I achieve this.?  ????Any programming example is really appreciated. Thanks!!!
    I am right now using STATUS_READ and reading the existing status 4. Then making it inactive using status_update FM. And updating the new status 2 as active one and 3 as inactive again. Two inactive updates and one active update is throwing an update termination error while saving the sales order.
    Any help is really appreciated. 
    Thanks
    Ricky

    Hi ricky,
    For saving any changes you need to have a Z-table.
    In programs we can't store the user selection. In your case you can create a z-table and store the status there and delete the last status. The process would be faster as you will always have one record in the table.
    . One more advantage is you can even track the changes through the Z-table(User who is changing it.)
    Hope this solution will surely help you.
    Cheers
    Suvi

  • Equipment User Status Update

    Dear Gurus,
    I want to update equipment user status with PM Order Status.
    for example, if i close the PM01 - Maintenance Order , equipment user status will be updated "001-Fixed".
    how can i update the user status like above example? I have found some user exit (STATTEXT) but it is not working in PM order. Is there any user - exit for this case?
    thanks for your help.

    Mahee,
    you are right, i guess my example is not clear for this case. I wrote this basic example for easy understanding.
    anyway, i wanna write a scenario, we have 4 user status for equipments. we wanna run with PM order status and good movements. equipments are on our customers so that we can refurbish and fix on the field or our refurbishment center.
    1.  if equipment is come  from customer for refurbishment , equipment status will be updated "001-waiting for refurbishment"  with good issue.
    2. if equipment is refurbished, (refurbishment)order will be completed so equipment status will be updated " 002- refurbished"
    3.if equipment is not refurbished, (scrap) order will be opened for removing equipment's spare so equipment status will be updated " 003- scrap"
    4.if equipment's spare is removed, (scrap) order will be closed and equipment status will be updated " 004 - write off"
    I hope it will be cleared.
    there is a bapi for updating equipment user status"BAPI_EQUI_GETSTATUS" but i don't want bapi because of locking the equipment. which can i use user-exit or badi for this case?
    thanks for your help

  • User status update

    Hi
    can anybody tell me the FM for updating the order operations user status in transaction IW37N.
    regards
    vijay

    Hi
    Check the fun modules for updation of order Status
    STATUS_UPDATE_DJEST
    STATUS_UPDATE
    ALM_ME_PUSH_STATUS_UPDATE
    STATUS_OBJECT_UPDATE
    STATUS_UPDATE_ON_COMMIT
    Reward points for useful Answers
    Regards
    Anji

  • User Status update on Header and Item in Sales Order

    Hi,
    I need to update the user status in both the header and Item based on some conditions. I checked the user exit's under 'MV45AFZZ' but no use.
    Could any one please provide me where I can write the code to upate user status in header and Item.
    Thanks
    Srihari.
    Edited by: SrihariKonduru on Dec 23, 2009 4:21 PM

    Hi,
    Thanks for quick reply.
    But I think this will be updated the satus using a report program. But in my case if the user creates a sales order or he is in change mode based on the selection of Distribution channels and Dunning key's I need to update the satus.
    For this I need a exit to write the code. And also I required sample code snippet to update the status in user exit. If that availble it will be great help to me.
    Thanks
    Srihari.

  • Badi to track user status update

    I have requirement to call smartform when the user status of the item for the service quotation changes to complete. Is there any BADI to track the item user status?
    Thanks

    I have tried CRM_ORDER_STATUS, however the BADI is not usefull as it is not getting called when I save the transaction. It is triggering as soon as I change the status. I think I need a BADI which is triggered on save and I should be able to access the new and old status in the BADI. Please help some one.

  • Automtic User Status updation in Service Order

    Hello ,
    Whenever I do "TECO" of service order , User status should automatically change."TECO" is a business transaction
    Do anyone have done this . Which exit is user to achieve above.
    Regards,

    Hi,
    Check the below FMs :-
    STATUS_CHANGE_EXTERN : This is used to set or delete User Status
    STATUS_CHANGE_INTERN :This is used to set or delete System Status
    STATUS_READ : This is used to read system status or user status
    First check up via User status , with proper status numbers
    If ur having many different than better u can go for user exit : IWO10009 PM Order: Customer Check for 'Save' Event. to check at save and set status accordingly ...
    For reading latest status - u may have to read from structure i think ..
    Tables :- JEST, TJ02T,TJ20 etc
    regards
    pushpa

  • User Status replication to ECC

    Dear Frnds ,
       I am Facing a Problem in updating the User status from ECC to CRM and CRM to ECC ( Delta Load) . When we are creating the order in CRM, this order is replicated to ECC and initial user status has updated in ECC.
       When ever user status is updated in ECC or CRM, the changes are not updated.
    Where as when we checked the bdocs, this status is appearing in BDOC, where as same is not updated in Order.
       Kindly let us know, is there any specific settings or developmenets need to be done to replicate the user status in order from ECC <-> CRM.
       Thanks all for your help.
    Regards,
    Pola

    Hi,
    User status dont get replicated automatically.
    You'll need to implement a BADI CRM_DATAEXCHG_BADI and method CRM_DATAEXCH_R3D_MBDOC_FILL for R3 to CRM.
    For CRM to R3 CRM_DATAEXCH_AFTER_MBDOC_FILL.
    Kindly reward with points in case helpful
    Sharif

  • Replication of storage loaction issue from crm to ecc

    HI Experts ,
    I am facing issue while store location replication from CRM to ECC.
    I have create field "Hub Location" using AET  on web  ui and behind that store  location search field is working .
    I have already created a Order . I have copied that order .Add store location .
    When i save Now all process executed and BDOC execute successfully with no error .
    I have enhanced BADI data exchange and add code in method crm_dataexchange_after_fill method and added store location .
    Issue : Now when i go-to to crmd_order transaction and checked that order then i am getting error that Store location plant is not defined .
    Please help .
    Regards ,
    Rishi

    Hi Rashi,
    Sorry for the late reply.
    Goto ECC system and find the FM "BAPI_SALESDOCU_PROXY_UPLOAD" and set the break point using your RFC user id (RFC user id from CRM to ECC and RFC user id should have the debug rights).
    Once you create the order in CRM and it will come to debug in ECC.
    Check TI_EXTENSION_IN tables whether your values are coming in.
    If not your CRM Middleware BADI coding was not done correctly.
    Hope this would help you.
    Regards,
    Bala

  • Wrong replication of partner "last name" from CRM to ECC.

    Hi everyone,
    In the specific environment of our company, we create business partners in CRM using t-code 'BP'  they are then instantly replicated to ECC (we visualize them using t-code 'XD03').
    When we create a partner as a person, the fields 'first name' and 'last name' (which are 2 distinct zones ) are concatenated into one single zone when replicated into ECC. I have visualized BDOCS using t-code SMW01, and haven't seen anything abnormal.
    I have been trying to debug the replication process, without any success.
    Please any clues on what I should do to get the problem solved would be very much appreciated.
    Many thanks
    C.K.

    Hi Rashi,
    Sorry for the late reply.
    Goto ECC system and find the FM "BAPI_SALESDOCU_PROXY_UPLOAD" and set the break point using your RFC user id (RFC user id from CRM to ECC and RFC user id should have the debug rights).
    Once you create the order in CRM and it will come to debug in ECC.
    Check TI_EXTENSION_IN tables whether your values are coming in.
    If not your CRM Middleware BADI coding was not done correctly.
    Hope this would help you.
    Regards,
    Bala

  • User status transfer for sales orders from ECC to CRM

    Hi,
    We use business process with CRM sales orders that are transfer to ERP.
    Users can change user status in the sales orders in ERP.
    How we can replicate custom user status from ECC Sales Order to CRM Sales Order?
    What is the steps to do this for CRM 7.0?
    Denis

    Hi,
    We are creating quotation ZPQT in CRM which is then get replicated to ECC on saving it on “Accepted” status. In ECC we then create sales order of type ZPOR. Sales order gets replicated in CRM and also updates document flow. This sales order is called as “Project Sales Order”. PS team assigns WBS element to this order and does billing later on. Upon billing document is created sales order status in ECC changes to “Completed”. This is system status. But the issue is status of order ZPOR is CRM remains in status “Inprocess”. We want it to change to “Completed”.
    We have similar scenario with order type ZOR. In this order after delivery and billing ECC assigns status “Completed” to sale order and same gets replicated to CRM.
    In CRM for user status Completed we have assigned system status as FINI. Both ZPOR and ZOR has same status profile assigned at header and item level.
    Our concern is if status is changing back in CRM for ZOR then why not for ZPOR. What is stopping system to do so?

Maybe you are looking for