Changing Status of preceeding document in CHARM

Hi Experts ,
I need to change the status of a preceeding document in CHARM.
I created a YDAD document from YDCR.
When i change status of YDAD to cancelled i need to change status of YDCR to Cancelled.
Steps i followed :
1 . While changing status of YDAD to cancelled i added a new parameter PREDOC_STATUS and given status of YDCR as E0009.
2. In "Assign actions" for  status "cancelled" of YDAD i hve given a action SET_PREDOC .
3.In  "Specify Status Attributes"  for  status "cancelled" of YDAD  i hve given YDCR  YDCRHEAD  E0009.
But still it is not working . Please help me on this .
Thanks , Vijay

Hello,
please take a look to this Re: Change status of previous document
If solution is not provided; please put break points as stated lines and tell us what you see
Regards
Khalil

Similar Messages

  • Set Status of next document in CHARM

    Hi Solman experts,
    I would like to automatically set the status of a "next document" in CHARM. For example if i set a close state for a SDCR i would also like the attached "next documents" to also move to a close state (SDHF etc....). I know this is possible for preceding doc's, but i have never seen it the other way.
    I hope somebody can help me with this one.
    Thanks in advance.
    Best regards,
    Ricky

    Hi
    ofcourse you can use the CRM_SOCM_SERVICE_REPORT to do the needful.
    goto set38 run the report provide your SDCR doc no and press f8 remember to choose the status
    some important sap notes
    Note 901034 - Process change transactions again
    Note 926087 - Phase check whether change transaction can be edited
    hope problem solved
    Regards
    Prakhar
    Edited by: Prakhar Saxena on May 13, 2011 4:20 PM

  • Change Status of archived document after approval process

    hi how can we change the status of an archived document in KM after it has gone thru the approval process.
    the reason once we archive we cannot resubmit the document for approval.
    thanks

    Hi Venu,
    have a look under System Administration - System Configuration -- Knowledge Management -- Configuration --Content Management -- User Interface -- Commands -- UI Command Groups -- StatemanagementGroup.
    See Java class: com.sapportals.wcm.rendering.uicommand.cm.UIStatemanagementGroupCommand. Take the class and decompile this and everything needed around to understand how this class works.
    Then you can choose to extend this CommandGroup to also have a command "Resubmit for Approval" or you can implement your own UI Command only for resubmitting (you will also have to activate your command (group) by settings within the configuration).
    On the other hand, if all this is completely new to you, I'm a bit sceptical if the task isn't a bit too big as a first task on KM implementation topics...?
    Hope it helps
    Detlev

  • System changes status of preceding document

    Hello *,
    within our quotation process we're faced to a not expected and not required behaviour.
    process:
    1. Create quotation with item lines
    2. Press button "more" --> "Send all Items"
    3. Create a follow-up quotation
    4. Choose to be copied items
    5. Save the follow-up
    ==> The system sets the status E0005 "transferred to R/3" with systemstatus RELE automatically for the preceding document. Of course this transaction is distributed to the ECC what is not required.
    How to avoid this step?
    There is no entry for "Send all items" in column transaction to control a system status within status customizing.
    We do not use a copy routine for follow-up generation and no BADIs are implemented. The event trace did not give any usable results.
    How to avoid the automatically document transfer from CRM to ECC by not requested status change during follow-up creation in quotation process?
    Kind regards
    Thomas

    Hi Thomas,
    I am also facing the same issue. I am also looking for the solution. will let you know if any success.
    Best regards,
    Dinesh.

  • Not able to change status after creating revision

    Hi All,
            I am not able to change status of the document after creating revision.
    Here are the steps I am doing:
    Set 
    - I assign the change number to the document.
    - Now, I open the document in cv02n and change the status.
    - New revision is created with revision level 01.
    Now I want to change the status of the document to the next status according to status network but its not happening. Would you please provide your valuable suggestions.
    Regards
    Vidit

    Hi Vidit,
    based on your description I've tested the behaviour on our test system and I would kindly tell you that the behaviour you are facing is the standard. The mentioned error message are raised because, since the Change Order is released, the DIR remains locked and you will not be able to make any changes to the DIR, including the status.If this DIR was not associated to the Change Order(which is released),you could have made changes to the document status.
    Please note that status change with 'Change Master Without Release Key' is possible to change the status but with 'Engineering Change Order with Release Key' it's not. I hope this information will help you.
    Best regards,
    Christoph

  • ChaRM: Change status by means of tasklist

    Who knows how to change status of charm document by means of task list?
    Reason: I want to schedule some operation in task list and after its completing I want that status of my document will change.
    Please help me if you can...

    Hi Dmitry,
    All the things that you see in the Tasklist are linked to the actions. You need to schedule conditions in the action, such that when you run that particular action, then the status of the change document should change. It doesnt happen through tasklist, it happends through conditions (for actions)
    Let me know if you need any more help.
    Regards,
    Sneha.

  • User-Exit for document changes (status)

    Hi!
    I'm looking for an user-exit where I can check if the status of the document has been changed. Therefore I found the exit "EXIT_SAPLCV110_004" with the include "ZXCV110U04" which is triggered when a document (transaction CV02N) is saved. The problem is that there is no structure of the document provided so I cannot check the status of it! The interface if this exit is just
    FUNCTION EXIT_SAPLCV110_004.
    ""Lokale Schnittstelle:
    *" CHANGING
    *" REFERENCE(PFX_OKCODE) TYPE SY-UCOMM
    INCLUDE ZXCV110U04 .
    ENDFUNCTION.
    Is there another exit or how can I check if the status has changed for each document?
    Thanks,
    Konrad

    You can code in EXIT_SAPLCV00_001. Write your code in the program  ZXCV001U01. This has DRAW structure valeus and also DRAZ Item details.
    FUNCTION EXIT_SAPLCV00_001.
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(I_DRAW) LIKE  DRAW STRUCTURE  DRAW OPTIONAL
    *"             VALUE(I_OK_CODE) OPTIONAL
    *"             VALUE(SOURCEPATH) LIKE  DRAW-FILEP OPTIONAL
    *"             VALUE(SOURCEFILE) LIKE  DRAW-FILEP OPTIONAL
    *"             VALUE(TARGETPATH) LIKE  DRAW-FILEP OPTIONAL
    *"             VALUE(TARGETFILE) LIKE  DRAW-FILEP OPTIONAL
    *"       TABLES
    *"              I_INTDRAZ1 STRUCTURE  DRAZ OPTIONAL
    *"              I_INTDRAZ2 STRUCTURE  DRAZ OPTIONAL
    *"       EXCEPTIONS
    *"              ERROR
    INCLUDE ZXCV001U01 .
    ENDFUNCTION.
    Hope this will help you to check the conditions.

  • Changing Status of document should start workflow

    Hi WF-experts,
    another issue I have to deal with:
    My WF should start after the status of a document has been changed.
    The process is that the customer creates a document and saves the entries (status is "in process"). Later he wants to have the opportunity to change the sales document. If he sets the status to "for approval" the WF should start (with the approval process).
    First I defined the event "CREATED" as start event but that is not right. I enhanced my business object (BUS200115) with a new event and mentioned that one in the start event tab of my workflow. But it does not work.
    Do I have to define an action profile?
    How can I start my workflow after changing a status of a sales document which was already created?
    Thanks a lot

    Depending on the type of document, you can trigger the event by change of status:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/e4aee2453d11d189430000e829fbbd/content.htm
    For example this works for "classic" SAP objects like production orders, document management documents, etc, and is a very nice way to handle it, because you can easily customize your status profile to support your business process.  These status profiles are maintained in the IMG or transaction BS02 (BS22 displays system statuses for objects that use this status type).
    I've noticed that a lot of newer SAP components don't support this though.
    I hope it is helpful, if not in this case maybe in the future.
    Margaret

  • Status Profile - Restrict any changes made in sales document

    Hi SD Guru's
    I have a situation here. I have maintained status profile with one of the status as "REJ - Reject Sales Order". Now when i set that status "REJ" and save the order, and open it by transaction VA02, i can make any changes in the order document such as adding new line item. I want to restrict any changes for this order now. How can i tackle this situation. Can you please help me with the same, its urgent.
    Regards
    Ravi

    Dear Ravi
    This can be controlled in two ways.
    1)  Through User Exit : MV45AFZZ by not allowing the specific users to make changes
    2)   With the help of your Basis Team, authorization of VA02 should not be allowed for the said users.
    Thanks
    G. Lakshmipathi

  • Change Status of Follow up document ( Call of Order )

    Hi Experts,
    The Scenario is to create a contract in CRM whose follow up document is call of order. Now the requirement is, When the Status under the general tab in the Contract changes to Approved immediately the status of the follow up document (i.e. the Call of Order documents) should changed into an Approved state.
    I want to know  the procedure as well as the Function Module name which i can use to change the status of preceding documents. Also, I want to know the diffrence between SYSTEM and USER status as i was asked to change the USER STATUS.
    Kindly Suggest...

    Hi Shreeya,
    Use FM CRM_WR_CHANGE_STATUS to change the status and then use FM
    CRM_WR_ORDER_MAINTAIN to update the changes to Document.
    Best Regards,
    Pratik Patel.
    Reward with points if it is of any help to you!

  • 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

  • Change mass status and desscription documents.

    Hi all,
    I would like to know how is possible mass change status and description from all documents in SOLMAN?
    Thanks in advantage.
    Warlei Figueiredo

    Hello Warlei,
    Unfortunately i don't know such functionalitiy and i highly doubt that it even exists.
    I would advice you using transaction SI80 to change description and status because you ll get an overal view of all documents of your project in one and only screen
    For each entry (doc) you can click on button 'Set Status' to change status and button 'Change Attributes' to change other attributes such as Document type, Document Properties, Title, Technical Name, Content type...
    In order to have your list in SI80 Click on button '+ with search', then select 'Solution Manager', then in 'technical Name' fill your ptoject Name and validate.
    You ll see a new line that adds to your Favorites. By double clicking on your project you ll see the list of documents.
    If you need a mass update tool , you can ask a developer helping you achivere that. Table SA01PHIO contains description & status of all documents !!
    PHIOID is the hexadeciman id of documents; DESCRIPT is the description you want to change and STATE is status of doc
    A simple program mass updating this table (meaning description and status) won't be complicated for a developer to code
    Hope this helps
    Regards
    Khalil
    Edited by: Khalil SERRHINI on Jun 21, 2010 4:19 PM

  • Cannot complete document due to status of preceding document

    Hi everyone,
    We encounter the following problem;
    We have a grantor application and from there we create a grantor agreement via the copy control settings in customizing.
    Both transaction types have their own status profile (user status).
    Now, when we have created the agreement (as follow up document), we are missing some of the user statussses, for example 'CANCEL'.
    This is simply not available to select.
    Investigation turns out that this is due to the fact that the preceding document (grantor application) is not yet completed. After we manually change the status of the application to 'Completed', then in the agreement we can select the missing user status.
    How can we fix this? It is not a workable solution to first create the follow up document, then go back to the preceding document to change the status of that document and then go back again to the follow up document and start processing that one.
    I was told that it should be possible with normal customizing to make sure that the follow up document is "leading" and will not be affected by any status of the preceding document.
    Another option would be to use some function modules and badi's to make sure that the status of the preceding document is automatically set to completed during the copy control.
    But to be honest, we would prefer not to enhance any FM's and/or badi's but to use standard customizing.
    Does anybody have some ideas how to solve this.
    Thank you very much for your help.
    Regards,
    Pieter

    please check SCVMM 2012 | Force Remove vCenter Server
    http://digitaljive.wordpress.com/2012/07/06/scvmm-2012-force-remove-vcenter-server/
    Mohamed Fawzi | http://fawzi.wordpress.com

  • Need the status of billing document!!

    Hi experts,
    i am an ABAP guy. Can any one tell me how to get the status of the billing document. I need the table name and the field name that shows the status of billing document.
    I need to find the status of the billing document and after that i need to retrieve the statistical value for the billed quantity in the billing document.
    Thanks in advance. Points will be awarded.

    Hi,
    If VBRK-RFBSK is having value 'C-Posting document has been created', 'D-Billing document is not relevant for accounting' and 'H    Posted via invoice list' that means invoice is released to accounting. For ay other values Invoice is open i.e. still you can make changes in Invoice.
    If VBRK-FKSTO is having value "X" then Invoice is cancelled, also if VBRK-SFAKN is having some value that means invoice is cancelled.

  • Status of Financial Document

    Hi All,
    Can we change the Financial Document Status to "C" (Notification that document has been sent) after the status of that financial document was set to "E" (Change in document has been submitted) ? And how to do that ? Or we must create a new Fin Doc ?
    Because one of my user want to change back the status of a fin doc.
    Thank you

    Hi Rudy,
    Not sure if following references could help or related to your case, but you could try it out to see how the effects.
    Setting the Status of Financial Documents
    Use:
    A financial document's status controls whether it is available for use in sales orders. For example:
    Status to B 'Document is incomplete' means that you still need additional information for the financial document
    Status D 'Document is available and can be used' means that the financial document can be assigned to sales orders
    Status E 'Change in document has been submitted' means that the document cannot be assigned to a sales order until you change its status to D
    Prerequisites
    The status of a financial document is protected by an authority object. You can configure the authorization object to allow several users to create, change, or display financial documents while allowing only one or a few users to maintain the documents’ statuses. Only users assigned activity 36 (extended maintenance) for this authority object have permission activate a financial document.
    You can also configure the SAP System to require two people to activate a financial document. This configuration helps ensure that the financial document data is double-checked before it can be used in the system. Maintain the double-check feature in Customizing for Sales and Distribution. Choose Foreign Trade/Customs ® Documentary Payments ® Basic settings ® Define Indicators for Financial Documents. Select a Financial Document Indicator and then Goto ® Details. Select Double-check on under Extended confirmation control.
    Procedure
    Go to the Cockpit for Documentary Payments.
    Choose Maintain financial documents.
    On the Status tab, select a status.
    If you want to activate the document, choose status D (Document is available and can be used).
    Save the financial document.
    See also:
    Maintenance of Financial Documents
    Regards.

Maybe you are looking for