Document user status not changed from follow-up document

Hi gurus!
My task is to set new user status of primary document (service order) from follow-up document (task) after follow-up document is created.
To do this I've created Badi-impl. of ORDER_SAVE Badi and in PREPARE method when saving newly created follow-up task I'm setting new service order user status using 'CRM_ORDER_CHANGE_STATUS' function. sy-subrc = 0 and, moreover, when in SAP GUI I'm pressing "Back" button I see new user status in  service order. But after I'm pressing "Change" or re-open the service order - I see the old user status, so nothing happens at all.
Why could it be?
Thanks in advance.
Best regards,
Alexander Kirillov

Hello Szymon,
The solution is:
1. CALL 'CRM_STATUS_CHANGE_EXTERN_OW'
2. If ok - CALL 'CRM_STATUS_SAVE_OW' passing relevant header/ item GUID
Regards,
Alexander
Edited by: Alexander Kirillov on Jul 17, 2009 6:47 PM

Similar Messages

  • Service Order status  Not Changing From Resloved to Closed status

    The service order Status not automatically moving from Resolved to closed after 30days.
    Observation
    We Revived program Z program ,seems to be fine.
    I am set the program in debugging mode for testing the Service orders by  reduce the time duraion for staus resolved to closed, am getting the getting the Error Test determination procedure is not evaluated . 
    Point of dout
    1) Is there any relation between Test Determination Procedure and Z program.
    2) while am checking for Text Customing for Consistency I found an error Log.
    3) While creating Service Order Test field was Mandatory
                      for that have dout about is there any relation between for this program
    Thanks in Advance
    Regards
    Raju.........

    Solved ...
    BD75  (RBDMOIND ) is T-Code and report name ...
    need to schedule ...

  • Document in status not posted' trip cannot be changed"

    Dear Gurus,
    I have a situation here that,  iam unable to change the expenses, iam getting the following message.
    "document in status not posted' trip cannot be changed"
    The Posting run was created for this trip, which was  accidentally deleted,  from PRRW.
    Now we wanted to change the expenses from PR05, but we are getting this message.
    How to go about this situation.
    Thanks in advance

    Hi,
    Please use the report RPRDETEC to check the inconsistency. You can either delete this trips in the cluster table or manually repair it by writing your own z report.
    Regards,
    Raynard

  • Change Management Request will not change from Status New

    When I create a new Change Request the Status is listed as New.  The Status never changes from "New" to "Pending" or "In Progress."  In addition, my Review Activity Status is blank and I cannot approve the Change Request.
    Any ideas?

    Hi,
    You can also try this :
    http://www.systemcentercentral.com/scsm-2012-tip-all-workflows-stuck-in-new-status-and-never-completing-issue-and-workaround/
    1. Stop the 3 System Center Management services on the Service Manager Management Server responsible for your workflows:
    System Center Management
    System Center Data Access Service
    System Center Management Configuration
    Note: Technically, I likely could have gotten away with just stopping the System Center Management service, but I wanted to give this server a fresh start.
    2. Delete the contents of the C:\Program Files\Microsoft System Center 2012\Service Manager\Health Service State folder.
    Make sure the Health Service Store folder and the .edb files in it are deleted.
    3. Restart the 3 services listed above.
    4. Verify the contents of the C:\Program Files\Microsoft System Center 2012\Service Manager\Health Service State  folder are recreated.
    5. The SRs in the “New” state should start processing and progress into the ”In Progress” state.
    Remy BOVI

  • Item 000002 is not copied from the reference document

    Dear All,
    I am facing a typical problem while creating Price difference sales order w.r.t. invoice.
    Document types in the system are -
    Z2FC - Normal Sales order type, ZPD - Price change order type, Z2FB - Normal invoice type
    My item category determination is -
    Doc. type -  Itm cat. gp.  -  Usage - Hghr itm cat - Default itm cat. - Manual itm. cat.
    ZPD         -   NORM         -  blank   - blank           -  G2N                  - L2N
    ZPD         -   NORM         -  blank   - G2N            -  G2N                  - L2N
    Z2FC       -   NORM         -  blank   - Blank           - TAN                  - TAP
    Z2FC       -   NORM         -  blank   - TAN            - TANN                - TAN
    Copy control is -
    Z2FB to ZPD for item category TAN with proposed item categories are G2N and L2N.
    Z2FB to ZPD for item category TANN u2013 requirement 302 [Do not copy item]
    During my Z2FC sales order creation I was having line items as follows
    Item no. -  Mat. code     -  Qty -      Higher level item - Item category - Amount
    10         -  101329          -  3     -      blank                 - TAN                - 35,000.00
    20         -  MC091234    -  3     -      10                      - TANN             - 0
    30         -  MC091234    -  1     -      10                      - TAN                - 5000
    We are not using the sales BOM. I need to provide line 20 free to the customer. Hence I have manually maintained 10 in the higher level item column for the line item 20. The item category determined was TAN. Then I had changed it to TANN manually. So the amount became zero. Line 20 became the child and line 10 became parent.
    At the same time customer also wishes to buy the material code MC091234. Now the material code MC091234 is of HALB type where as the material code 101329 is of FERT type. There is validation in the system that only FERT type of material could be sold and HALB type of material could be supplied as free. [With item category TANN]. In case HALB type material is also required to be sold then I need to manually maintained value in the higher level item. So I had maintained the value 10 in the higher level item column for the line item 30. The default item category determined is TAN. The invoice is also created properly. [Z2FB type]
    But when I am creating the invoice correction document type ZPD w.r.t. Z2FB type invoice, I am able to get the two line items for the material code 101329 in line item 10. One each for G2N and L2N item category.
    But for the material code MC091234 in line item 30, I get only one line item with item category G2N. I did not get another line item for the material code MC091234 for the corresponding L2N type item category
    At the same time following messages are displayed
    Message no. V1475 Item category for item 000002 cannot be determined and
    Message no. V1476 Item 000002 is not copied from the reference document
    Please help.
    Thanks in advance
    Piyush Ranpura

    Dear All,
    Any help???
    Yet my issue is unresolved.
    Thanks & Regards
    Piyush Ranpura

  • SHC status not changing to - PO created

    Hi Gurus,
    I am facing an issue with SHC status. It is working perfectly fine in Dev but not in integration.
    I have the setting- "Sourcing never carried out" . So, when a shopping cart is created, it should create a PO in held mode.
    When I create a SHC with no approval workflow WS10000060, the shopping cart status remains as approved. It doesn't change to Follow on document created.
    Regards
    Kapil

    Printer did not exist so, error in PO creation

  • Status Profile : Status not changing in CRM

    Hi Gurus
    Created order with  header status as  as " In process" ,  item status is defaulted  to  " open"  and  order  replicatd to ECC ,  billed aswell .  But  when I checked in  CRM still status  not changing to completed  but retains with In process  at header level & open at item level.
      I would expect order status should be completed at header level & Item level.
    Is there any thing wrong with status profile settings at header  & Item level? , I have created  status profiles with following settings.
    I have  copied standard status profile  " CRMORDER" and assigned to  trasaction type  and made following settings:
    Under Open :   following transactional contorl selected
    To be distributed   :  Selected options "Forbidden " & No active
    Under In process: 
    In process : Selected options " Allowed " & Set
    Undo Rejection :  Selected options " No infulence " & Set
    Under Completed:
    Complete :  Selected options " Allow " & Set
    Created status profile for Item  i.e. copied standard CRMORD_i  and made following changes:
    Under Open : No transaction control selected
    Under In Process : 
    Edit :  Seleted options " No influence" & Set
    Undo Rejection : Selected options " No Influence & Set
    Under Completed:
    Completed :  Selected options " Allowed & Set"
    Rejected :  Selected options " Allowed & Set"
    Actually we are using material which is non deliverable but should be billed, while creating order , I can see staus at item level is open and remains open even after billed in ECC. And also we are mapping  Business activity reasons to order reasons in ECC.
    Is any thing i am selecting wrong options in status profile at header level & item level?  Much appricieated for solution.
    Thanks
    shash

    Hi Gurus
    Created order with  header status as  as " In process" ,  item status is defaulted  to  " open"  and  order  replicatd to ECC ,  billed aswell .  But  when I checked in  CRM still status  not changing to completed  but retains with In process  at header level & open at item level.
      I would expect order status should be completed at header level & Item level.
    Is there any thing wrong with status profile settings at header  & Item level? , I have created  status profiles with following settings.
    I have  copied standard status profile  " CRMORDER" and assigned to  trasaction type  and made following settings:
    Under Open :   following transactional contorl selected
    To be distributed   :  Selected options "Forbidden " & No active
    Under In process: 
    In process : Selected options " Allowed " & Set
    Undo Rejection :  Selected options " No infulence " & Set
    Under Completed:
    Complete :  Selected options " Allow " & Set
    Created status profile for Item  i.e. copied standard CRMORD_i  and made following changes:
    Under Open : No transaction control selected
    Under In Process : 
    Edit :  Seleted options " No influence" & Set
    Undo Rejection : Selected options " No Influence & Set
    Under Completed:
    Completed :  Selected options " Allowed & Set"
    Rejected :  Selected options " Allowed & Set"
    Actually we are using material which is non deliverable but should be billed, while creating order , I can see staus at item level is open and remains open even after billed in ECC. And also we are mapping  Business activity reasons to order reasons in ECC.
    Not sure whether i am  selecting wrong options in status profile at header level & item level? 
    Plz help me on this.
    Thanks
    shash

  • TS1398 my wifi will not change from off to on. I have done everything possible, including resetting my network settings.  Internet is working fine on tablet etc.

    My wifi will not change from off to on. I have done everything possible, including resetting my network settings.  Internet is working fine on tablet etc.

    Hello dthlah,
    Thanks for the question. Based on the information you have provided, it sounds like your Wi-Fi option on an iPhone 4S is greyed out. The following article explains this issue and potential resolution:
    iOS: Wi-Fi settings grayed out or dim
    http://support.apple.com/kb/TS1559
    Follow these steps to resolve the issue:
    1. Verify that airplane mode is off by tapping Settings > Airplane Mode.
    2. Reset the network settings by tapping Settings > General > Reset > Reset Network Settings.
    Note: This will reset all network settings, including Bluetooth pairing records, Wi-Fi passwords, VPN, and APN settings
    3. Ensure that your device is using the latest software. To do so, connect your device to your computer and check for updates in iTunes.
    4. If your issue is still unresolved, perform a software restore in iTunes.
    If you are still unable to turn Wi-Fi on, please contact Apple for support and service options.
    Thanks,
    Matt M.

  • When I share a pages document as a PDF (via e-mail) all the pictures change from the original document, most are missing with just a few of them repeated in the spots where others had been.  How do I do this without the document changing?

    When I share a pages document as a PDF (via e-mail) all the pictures change from the original document, most are missing with just a few of them repeated in the spots where others had been.  How do I do this without the document changing?
    I need to be able to send it to a PC in order to print it.

    Hard to say what is happening without examining the file.
    If you like click on my blue name and email me both the .pages file and the the .pdf you have made from it.
    Peter
    ps It would help to say what version of Pages you are using and on what you are running it. iOS or Mac and what version.

  • Status keeps changing from invisible to online: why the issue is ignored?

    There is a serious issue raised in the parallel thread, which is critical for many people: "Status keeps changing from invisible to online" (initiated on ‎16-11-2014 by b.agne, Mac section). In short, when starting using a device, the Skype status changing from "invisible" to "online" - sometimes just for a moment, though enough for others to notice you. These affects very much any type of devices. I am sure the issue has already led to multiple personal crisises and potentially financial losses due to buseness partnership issues (I came close to that myself, and now use anything but Skype for business). The question is: WHY the issue is completely ignored by Skype, Microsoft and expert comunity? Please post the solution if anybody knows how to fix the issue, or suggest how to make Microsoft to know that it should be fixed. Kind regard...

    Hi, I also have the same issue. I change the status to Invisible and a later on it is already as "Online", without having even touched/opened Skype. The only way that I see this may happen is that I have the app installed on the smartphone, but before it never had this issue, but from some month ago it started. Any correction or suggestion to work around this issue? Regards

  • Preference status not changed for the processed products

    Hello All,
    While Aggregating the vendor declaration, I am getting the message as below
    Preference status not changed for the processed products
    Could you please help me to resolve this issue.
    Thanks & Regards
    Rahul

    Hello Rahul,
    aggregation is not changing status on LTVD. (Possibly LTVD has been already agregated). Newly maintained LTVD is not changing status of the product, its remaining negative whatsoever.
    Kr,
    Gabriel.

  • Why does my home user name not change when I created a new administrator

    why does my home user name not change in finder when I created a new administrator?

    Because you need to be logged into that account to have a different home username.
    (69884)

  • I can't update my apps, I think that the problem is that I've change my password from my ID Apple but  they have not change from the telephone configuration. Any idea?

    I can't update my apps, I think that the problem is that I've change my password from my ID Apple but  they have not change from the telephone configuration. Any idea? Thanks

    Hi skippy2012trev,
    Welcome to the Apple Support Communities!
    I understand that you updated your Apple Id and password but now you are being prompted for the old information in iCloud. You are on the right track by changing the Apple ID back to the previous email address temporarily so that you can sign out. You should not need to verify the email address. After you edit the Apple ID back to the old email address and then sign out of iCloud on your iPhone, edit the Apple ID back to the address you would currently like to use. There is no need to change the password again, only the email address, unless you prefer to update the password again.
    If you're asked for the password to your previous Apple ID when signing out of iCloud - Apple Support
    Change your Apple ID temporarily
    If signing out and back in to iMessage or FaceTime didn't help, try these steps:
    Change your Apple ID to the Apple ID you used previously. You shouldn't need to verify the email address.
    Tap Settings > iCloud. Complete these steps only if the Find My [Device] setting is turned on:
    Scroll down and tap Sign Out, then tap Sign Out to confirm. If you're using iOS 7 or earlier, tap Delete Account, then tap Delete to confirm.
    Tap Keep on My [Device] or Delete from My [Device]. In either case, your data remains in iCloud and will be updated on your device when you sign in to iCloud again.
    Enter the password for your previous Apple ID.
    Change your Apple ID to the new email address that you want to use. You'll need to verify the email address.
    Return to Settings > iCloud and sign in with your new Apple ID.
    Cheers,
    Joe

  • Document Status not changing when document approval procedure in SOLAR01/02

    Here is my situation:
    We created and assigned a Status Schema for Solution Manager Document and to that status assigned a signature strategy. We have defined the following end results  for the signature strategy, when the process is initiated:
       FROM               TO
    Copy_editing -> in_progress
    In_progress ->  Reviewed
    Reviewed -> Released
    We initiate the process and the author performs the first signature, so the outcome expected is for the strategy to change the status from copy_editing into in_progress so on and so forth.
    This is not happening and the document stays in copy editing throughout the approval process.
    Any ideas? I can provide the complete configuration done in order to see if we missed something.

    are you using digital signature? Yes we are using Digital Signature since we want to have the correct approval once a document is loaded and reviewed.
    In case not, you do not have to create a signature strategy, but only an approval scheme.
    Did you assign the approval scheme to a document type? Yes we have.
    What happens, if a user tries to changes the status using the document attributes? currently it doesnt allow you to manually change it once the document is saved but this is what happens in detail.
    1. I load the document into solman.
    2. based on the digital signature and doc strategy the Author needs to Sign the document once the save button has been clicked.
    3. The strategy defined states that the document will start as copy_editing and when singed it will go into in_progress.
    This is not happening.
    When I load the document I can actually change the status as always as I dont save the same.
    Here is the document Strategy configuration we have set:
    Status              init    Seq low   high    Dig Sig               End stat                     Cancelled stat
    COPY_EDITING      X      10 10     20     ZTECHENT     IN_PROGRESS         COPY_EDITING
    IN_PROGRESS      X      20 10     30     ZTECHAPP     REVIEW                  IN_PROGRESS
    REVIEW              X      30 20     40     ZTECHAPP       RELEASED          REVIEW
    RELEASED      X      40 30     40                          RELEASED

  • Change User status of Task of Follow up function

    Hi All,
    Does any one of you know how to change the User status of Task through customizing or programming.
    Basically I want to change User status from 'TINI' to 'TSNT' once the email is triggered. I could send the email but I am unable to change the status.
    Thanks in advance,
    Jagadish

    Hey Thomas,
    This should solve your problem..
    CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN'
          EXPORTING
            client              = sy-mandt
            objnr               = wa_new_user_status-guid
            user_status         = wa_new_user_status-status
            no_check            = 'X'
      SET_INACT                 = ' '
      SET_CHGKZ                 =
      XNOAUTO                   =
          EXCEPTIONS
            object_not_found    = 1
            status_inconsistent = 2
            status_not_allowed  = 3
            OTHERS              = 4.
    In this FM NO_CHECK parmeter must be set to True, else u wil not be able to set the Status.....
    Sample is given above...
    Reward points for usefull answer...
    Regards,
    Anand...

Maybe you are looking for

  • How can i retrieve music, videos & films i have on my itunes from an old pc that no longer works?

    How can i retrieve music, videos & films i have on my itunes from an old pc that no longer works? I'm going to see if Currys can remove all info from my hard drive and hopefully recover my itunes, but if this does not work is there another way to get

  • Can't create new sites in Dreamweaver CS3.  Help!

    I am trying to create a new site in Dreamweaver CS3 but keep getting the following error: "The action cannot be completed because the other program is busy. Choose 'Switch to' to activate the program and correct the problem" I have tried every docume

  • How to configure OAE for release?

    What is the best practice for configuring OAE/HTML-DB for release to production? A number of thinggs are different on the prod machine than on the dev, namely the ldap host url used for authentication and authorization, and dblink to data storage tha

  • Integration with JDE using NER with new 8.97 release

    Has anyone tried integrating SOASuite with E1-NER, new tools release 8.97 where business functions are exposed are web services ? I am planning to do that, so wanted to understand if it can be done and any gotchas .. appreciate your help - thanks Sha

  • How can I change my webOS to Android

    can any one could help to change webOS to Android on my HP Palm Pre 2