Change WBS in CJ20N - Service Order change log

Hi PS experts
Scenario.
Service order 1 has WBS element A.
User goes into CJ20N and changes the WBS ID/ name to A2.
Service order 1 now automatically has WBS element A2. However, if you look at the change logs on the service order, there isn't one for the allocation of this WBS change. Is there a way of updating the change order log for the service order? When saving in CJ20N it must update the service order through the back door.
Thanks for looking.

System stores the WBS element using external and internal numbers. What the user has changed in your case is only the external number and the internal number (which is system generated) would remain the same.
That's the reason the external ID is updated in SO. Don't think you can get his logged in change log of order. Is change document activated for the order type? Even if checked I really doubt if this would be logged using standard.
Let's see other views on this.
Regards
Sreenivas

Similar Messages

  • How to change the Partner in Service Order

    Dear Experts,
      I am working in SAP CRM 5.0.I want to change the Partners of Service Order Using the Function Module 'BAPI_ACTIVITYCRM_CHANGEMULTI'.Can anyone give me the Sample code for Changing the Partners.It is very Urgent Requirement.Please help me.
    Thanks & Regards,
    Ashok.

    Hi,
        Following is the code for changing partner: Please go through it:
    "fill the details of partner which is
              "to be added as main partner or in place of Interaction Agent
              wa_partner_new-ref_guid = w_guid_ref.
              wa_partner_new-ref_handle = '0000000000'.
              wa_partner_new-ref_kind = 'A'.
              wa_partner_new-kind_of_entry = wa_partner-kind_of_entry.
              wa_partner_new-ref_partner_handle = '0000'.
              wa_partner_new-ref_partner_fct = 'Z_IA'. "
              wa_partner_new-ref_partner_no = wa_partner-partner_no.
              wa_partner_new-ref_no_type = wa_partner-ref_no_type.
              wa_partner_new-ref_display_type = wa_partner-ref_display_type.
              wa_partner_new-display_type = 'BP'.
              wa_partner_new-no_type = 'BP'.
              wa_partner_new-partner_fct = 'Z_IA'.
              wa_partner_new-partner_no = w_partner_no.
              wa_partner_new-mainpartner = 'X'.
              INSERT wa_partner_new INTO TABLE it_partner_new.
              wa_partner_newx-display_type = 'X'.
              wa_partner_newx-no_type = 'X'.
              wa_partner_newx-partner_fct = 'X'.
              wa_partner_newx-partner_no = 'X'.
              wa_partner_newx-mainpartner = 'X'.
              INSERT wa_partner_newx INTO TABLE it_partner_newx.
               IF it_partner_new[] IS NOT INITIAL AND it_partner_newx[] IS NOT INITIAL.
        "maintain all changes to be done
        CALL FUNCTION 'BAPI_ACTIVITYCRM_CHANGEMULTI'
          TABLES
            partner  = it_partner_new
            partnerx = it_partner_newx.
        CLEAR : wa_guid1.
        REFRESH : it_guid1.
        wa_guid1-guid = w_guid_ref.
        APPEND wa_guid1 TO it_guid1.
        "save the changes
        CALL FUNCTION 'BAPI_ACTIVITYCRM_SAVE'
          TABLES
            objects_to_save = it_guid1.
        "commit the transaction
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.
    Please reply if anything else os required.
    Please reward points if useful.
    Regards,
    Ashlesha

  • How to read service order change document data

    Hi Experts,plz help me,my requirement is to read the service order change document data,for that one i need to read from cdhdr and cdpos tables,so what i need to do.in input parameters for cdhdr table in place of ibjectclass and objectid what i need to pass.plz help me.

    Same for CDHDR and CDPOS.
    OBJECTCLAS = 'ORDER'
    OBJECTID = combination of client(AUFK-MANDT) + Order category(AUFK-AUTYP) + Order number (AUFK-AUFNR)
    for example
    OBJECTCLAS = 'ORDER'
    OBJECTID = '10030004001108788'
    Chaiphon

  • Change WBS element from Sales order

    Hi...
    I have created one sales order with WBS element assignment then I have created billing document and released to accountingu2026.
    Accounting and controlling documents are fineu2026
    After creation of accounting document system is allowing to change or delete the WBS element at sales order item levelu2026same time profit centre field does not allow to change or delete
    We donu2019t want to user to change WBS element after creation of accounting documentu2026that field should be shown in greyu2026
    Please help me to solve this issueu2026
    Thanks,
    Raj

    Hi,
    You can create a Transaction Variant for the transaction VA02 in which you have to maintain the WBS Element field as output only.
    1. Go to SHD0, enter VA02 in Transaction & give a name to the transaction variant and press Create.
    2. Enter an order no., go to the item "Account Assignment" tab.
    3. Check "Output Only" against WBS Element in the screen listing all the tabstrips & Fields.
    4. Exit & Save.
    You will be returned to the SHD0 screen.
    Select the "Standard Variants" Tab under "Standard Vriants" tab. Press activate to activate the Transaction Variant.
    Go to VA02 to test the variant. You will get the WBS Element disabled.
    Revert in case of any doubts.
    Regards,
    Vijay

  • Exit IWO10005(Profit center ) didn't work for service order change mode

    Dear Guru,
    I have built exit IWO10005 to substitute profit center, but it only work for the first initial profit center determination, it didn't work for the below scenario:
    1) Change mode on service order
    2) before service order save, change some field , it also didn't trigue profit center determination.
    And other Badi and exit can help?
    Thanks.

    GGB1?

  • IW45 changes cancellation of confirmed service orders

    Hi Every one,
    User is trying to cancel a confirmed service order using Transaction code IW45. When he cancells the service order it is showing the posting date is past date( order confirmed date). Not current date.
    But when we do the cancellaton of production orders and goods issue against service orders it is showing current date ( default ).
    As per user requirement the cancellation of confirmed service order should display the current date not past date.
    Since IW45 is a standard process , then the user requirement is the cancellation of service orders posting date should be the current date but not the service order confirmed date( Past Date ).
    Please let me know is there any possibility if so how??

    Step 1 Request
    November 19, 2012: Empty box shipped. need send for 10 days i not send phon  and i want send again iphon for reparing ,haw to make again for sent ?

  • SO-Service Order - Change in qty

    Dear Gurus,
    I have a SO. But when i try to reduce the qty in line item in ME22N, I get the following error :
    Quantity may not exceed quantity already entered
    Message no. SE858
    Please advice me on how I can reduce the qty. Thank you.

    hi Siva,
    You will not be able to reduce the quantity at the line item level as it take care of the service activity..
    In ME22N But you can surely reduce the quantity at the service lien item level, for that go to service tab at the line item detail level and reduce the service line item quantity as per your requirement.
    Note if the Service order is released first UN release it.
    Regards
    Sujoy

  • Production and Service order Release Log updation

    Hi,
    Can any one help me how to update the release log of Production and service order.
    I have a requirements to add new custom logs to the production and service order release process.
    sudha

    As far as I know the standard behaviour is that the PR is created upon order save and not upon the status of the order or items changing to released.
    To get around this you can set user status and use status management to prevent the PR getting created or use the BADI CRM_SRV_FIND_LOG_SC to supress creation of the PR.
    Hope this helps.

  • Change status profile of Service order

    Hi,
    we like to harmonize all status profile of all incident process types  we have in our system. This means we like to create one status profile and assign this to 5 different process types. The problem is, we have in our system round about 20000 incidents and ( open and closed). This incidents have to be migrated. I think we have to change E-Status and Status profile and change documents. Are there any experiences with this task. I found nothing what really works (change status profile) in this time. I checked CRM_STATUS_PROFILE_CHANGE but dosn't work for me.
    Could anyone give some hints how to handle this problem?
    Kind regards Stefan

    Hi Stefan,
    You can try the below code to change the status and status profile
    ls_status_com-ref_guid = lv_guid."document guid
            ls_status_com-ref_kind = 'A'.
            ls_status_com-user_stat_proc = 'CRMACTIV'. " status profile
            ls_status_com-activate = 'X'.
            APPEND ls_status_com TO lt_status_com.
            ls_input_fields-ref_guid = ls_status_com-ref_guid.
            ls_input_fields-ref_kind = 'A'.
            ls_input_fields-objectname = 'STATUS'.
            CONCATENATE ls_status_com-status ls_status_com-user_stat_proc INTO ls_input_fields-logical_key.
            ls_fieldname-fieldname = 'ACTIVATE'.
            INSERT ls_fieldname INTO TABLE ls_input_fields-field_names.
            INSERT ls_input_fields INTO TABLE lt_input_fields.
    CALL FUNCTION 'CRM_ORDER_MAINTAIN'
            EXPORTING
              it_status         = lt_status_com
            CHANGING
              ct_input_fields   = lt_input_fields
            EXCEPTIONS
              error_occurred    = 1
              document_locked   = 2
              no_change_allowed = 3
              no_authority      = 4
              OTHERS            = 5.
          IF sy-subrc EQ 0.
            INSERT lv_guid INTO TABLE lt_guids.
            CALL FUNCTION 'CRM_ORDER_SAVE'
              EXPORTING
                it_objects_to_save = lt_guids
              EXCEPTIONS
                document_not_saved = 1
                OTHERS             = 2.
            IF sy-subrc IS INITIAL.
              COMMIT WORK AND WAIT.
         endif.
    Best Regards,
    Dharmakasi

  • Change delivery date on sales order -- change of Billing date on item

    Hi,
    We are trying to change a delivery date for a sales order's item, if we do so normally the billing date on that item's billing tab will change automatically also.
    Now, for a specific sales order the billing date in the billing tab is not changing.
    We compared 2 sales orders .. the same statusses - no blocks - ... and with one it works (changing of the billing date) and with the other it does not work..
    Please help !
    thanks a lot!

    Hi,
    Check the following.
    If invoice dates are defined for the customer, the system proposes the billing date from the invoice date calendar. If no invoice dates are agreed, then the actual goods issue date is formed on the basis of delivery related billing. In order related billing, the billing date of the order forms the basis of the billing date.
    If you are billing services, the system proposes the date of services rendered. You can change the date manually in the sales document.
    If you are using a billing plan to bill a project, the system can propose billing dates for the billing plan on the basis of planned or actual dates in the corresponding milestone.
    In a billing plan for a maintenance or rental contract, you can specify rules by which the system determines billing dates on the basis of other dates in the contract.
    Regards
    Nadarajah Pratheb

  • Changed name on account, services were changed without permission for more $$

    Hi, I'm trying to resolve a situation that has me baffled. I recently moved and had to sign up for new FiOS service at my new apartment last week (I had FiOS at my old apartment, but couldn't just transfer my services because Verizon didn't offer those plans anymore, so I signed up for a new triple play bundle for the new apartment). Everything was installed and I was up and running on Thursday. Good stuff. Fast forward to today, when I realized that the last name on my account needed to be changed, so I called this morning to change the last name. I then get an email from Verizon saying that my new plan would be $10 extra a month, and that I would now be looking at a $250 bill come August (versus the original $172 I was quoted for August) because I changed my last name. Huh? It turns out the representative I talked to this morning changed my internet from 50/50 to 75/75 without my permission for an extra $10 a month. I later discovered that when you change your name on your Verizon account, Verizon considers this to be an act of signing up for a new plan, which the representative never disclosed to me during our conversation. Had I known this, I would never agreed to change the name and just left it as it was. But now it's too late, and I've been signed up for a more expensive monthly plan that I didn't agree to. What's worse, no one can explain to me why I'm looking at a $250 bill for August. If the bump up to 75/75 internet (which I didn't authorize in the first place, but okay fine, let's say I accept the unauthorized change) was an extra $10 a month, the prorated amount should not have changed the expected bill in August from $172 to $250. Something is very wrong here and things do not add up. I have called back twice now and gotten nowhere with the people I spoke with. Is there any other avenue I can take to get answers to what is wrong here?  Thanks in advance.

    Hi stormgrl,
    Your issue has been escalated to a Verizon agent. Before the agent can begin assisting you, they will need to collect further information from you. Please go to your profile page for the forum and look at the top of the middle column where you will find an area titled "My Support Cases". You can reach your profile page by clicking on your name beside your post, or at the top left of this page underneath the title of the board.
    Under "My Support Cases" you will find a link to the private board where you and the agent may exchange information. The title of your post is the link. This should be checked on a frequent basis, as the agent may be waiting for information from you before they can proceed with any actions. To ensure you know when they have responded to you, at the top of your support case there is a drop down menu for support case options. Open that and choose "subscribe". Please keep all correspondence regarding your issue in the private support portal.

  • Service order status change

    Hi,
    I am working on interfacing CRM with a third party system. The integration should trigger when the user status of the service order change to say "status1" or "status2".
    Also I want to update the user status programatically from another third party system.
    Quetion-
    1. Which function module/BADI can be called to update the User status?
    2. Which function module/BADI will be called after the User status updated?
    thanks in advance,
    KP

    Hello,
    Question 1.
    To update the user status, you can use crm_order_maintain or more specific CRM_STATUS_MAINTAIN_OW.
    Question 2.
    After the user status update, you can use the method after_change of badi CRM_ORDER_STATUS.
    You can also use transaction CRMV_EVENT and create your own after_change event with your own FM.
    Hope this will help you,
    Regards,
    Frédéric

  • Accounting indicator not able to change after service order is released

    Hi,
    The accounting indicator cannot be changed anymore after a service order is released.
    Does anyone know how to change this setting so that accounting indicator can be changed even after a service order is released?
    Thanks.
    Edited by: SAP INFOUSER on Oct 18, 2010 8:48 PM

    Hi,
    I think you haven't done RA yet?
    If a sales order has something called a Results Analyis Key and has status REL the system tries to settle whats called RA (results analysis also known as WIP). In this case you have not calculated RA but has an RA key and status REL. So technically there is nothing for the system to settle. You should either calculate RA (via KKA3) which he would have to customize or remove the RA Key from the "Account Assignment" tab on the item in VA42.

  • How to track Service Order Status Change (IW31/IW32).

    I have a requirement to send the customer an Email if the status of service order has been changed say from unconfirmed to confirmed. So i have to find out whether the status of the service order has been changed on the current date.
    As per my understanding, Changes corresponding to any object are stored in tables CDHDR and CDPOS if the change document creation is enabled for that object. But in case of service order status, the changes are not being captured in these tables because change document creation is not enabled for the data element (J_STONR) of service order status.
    Anyone having any knowledge about it please help me.
    Edited by: Gagan Garg on Feb 23, 2009 6:52 AM

    Hi,
    Thanks for your reply. I have found out the way to track the service order changes. Function module STATUS_READ_MULTI can be used for the same. Pass service order number in OBJNR_TAB and the change document for status is returned in JCDS_TAB

  • Extending sales order change BAPI and updating custom fields

    Hi
    i added 3 new fields into VA01/02/03 screen.i added at the header level in the additional data tab B area and appended them in VBAK table.
    i want to change these values using sales order change BAPI.i added the fields in the structure VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX.
    may i know what else i need to do?should i move them anywhere with in the code or does the bapi take those values automatically using EXTENSIONIN structure?
    also can some one send me code to actually check if bapi is changing my values?
    if poss tell me how should i populate values into BAPI.

    After adding field in structures VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX, create pair of name-value pair extensiot structure and value.
    Fill values as follows :
    Data :   ls_parex  TYPE  bapiparex,
                lt_parex  TYPE STANDARD TABLE OF  bapiparex.
    ls_parex-structure = 'BAPE_VBAK'.
    ls_parex-valuepart1+0(10) = Sales order no
    ls_parex-valuepart1+10(XX) = somevalue.  <---- Value for custom field no 1
    ls_parex-valuepart1+XX(XX) = somevalue.  <---- Value for custom field no 2
    APPEND ls_parex TO lt_parex  .
    clear ls_parex.
    ls_parex-structure = 'BAPE_VBAKX'.
    ls_parex-valuepart1+0(10) = Sales order no
    ls_parex-valuepart1+10(1) = 'X'. <--- checkbox mark for custom field no 1
    ls_parex-valuepart1+11(1) = 'X'. <--- checkbox mark for custom field no 2
    APPEND ls_parex TO lt_parex.
    Same pair for VBAKKOZ & VBAKKOZX
    Updating custom fields
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument    = Sales order number
          order_header_inx = 'U'   <--- U for update
        TABLES
          extensionin      = lt_parex[].
    Edited by: nkarwa on Oct 25, 2010 12:39 PM

Maybe you are looking for