Triggering events - status of the document

Hi folks,
I need to know what triggers the event SAVED in shopping card. What determines the occurance of this event? Does the SRM generates that event when shopping basket obtain proper status, for instance Completed?
I have to determine that moment, when system generates SAVED event which starts the approval WF. It's because I need to achieve situation where I can approve SC (external reqiurement) that is created from PM order (ERP). Normally SRM automatically sets the status of such a SC to Approved, and there is no approval. How can I change this status, and to which one, to obtain generation on event SAVED and in result triggering a approval WF? I need to be able to approve such a SC (external requirement).
Thanks for any replies!
RD

Hi,
Yes it is possible..
Just pass 'X' to the exporting parameter 'put_in_outbox'. The user can check the send mail in 'sost'. All the details of the mail will be there. This will be the proof that the mail was sent.
Reg the 2nd part of your query, if the mail is not delivered to any reciepent or to particular recipient, the details will be there in the SAP outbox, that also you can see through transaction 'sost'.
Thanks & Regards
Rocky

Similar Messages

  • Functional module which get triggered after posting of the document F-22

    Hi,
    I am posting the documents using the transaction F-22. I need to update some table after the documet will get post.
    I try to find out the BTE'S in the transaction FIBF but unable to find it out.
    Can anyone help me to find out the relvant functional module which will get triggered after the posting of the documents.
    Please help me with this.
    Thanks in advanced.
    Regards,
    Darshana

    Hi Harini,
    It is also not get triggered while i am posting the documents.
    Can you please suggest me some more functional modules.
    Thanks in advanced.
    Regards,
    Darshana

  • IDOC error status 'Enter the Document Number'

    Hi PI or SD masters,
    I have a status 51 in my IDOC. The reason was 'Enter the Document Number'. Has anyone encountered this before?

    Sold To Party Account number was changed

  • Help to find...Next status of the document or action executed

    Hi Gurus,
    I am working on SAP Solution manager CHARM. When i execute an action in a document(say YDCR), in the 'ORDER_SAVE' BADi, i need to know which is the next status. But i am not able to find any Function module to give me the next status.I presume that this is because the document is not yet saved. Is there any function module to get the action that has been executed or any way that will give me the next status when the action is executed ?
    Thanks for your help.
    Rithesh

    Hi
    Try to find the name of variable where code is stored and clear it.
    You should find it in the list of elements of the screen by screen painter.
    For example if the variable is called OK_CODE and the program is SAPXXXXX, you try to do something like this:
    FIELD-SYMBOLS: <FS_OK_CODE> TYPE SY-UCOMM.
    DATA: FIELD_OK_CODE(20) VALUE 'SAPXXXXX(OK_CODE)'.
    ASSIGN (FIELD_OK_CODE) TO <FS_OK_CODE>.
    IF ......
      CLEAR <FS_OK_CODE>.
    ENDIF.
    You can try to check the value of SY-UCOMM.
    Max

  • Same output type getting triggered twice upon saving the document

    Dear SDNers,
    I have a shipment Document.
    Upon saving it the same Output type gets generated twice. ( in a gap of 1 second)
    Clarification needed:
    1. Please guide as to where i need to look for the error as to why same output is getting triggered twice  simultaneously( gap of 1 second).
    2. i have checked in the processing routine associated with it. Is it the right place?
    P.S. I had posted another similar thread. Closed it since i felt it lacked clarity.
    Regards,
    SuryaD.

    Hi,
    Fetch the data from Nast table for that document number
    Check the vstat  . if it is 0 then use the below function module.
    CALL FUNCTION 'RV_MESSAGE_SET_PROCESS_STATE'.
    Then it will update the existing single record for the first time .
    Next time on wards you will get the multiple records for te document in the Nast table.
    For that you need to change the VSTAT status as per the requirement.
    Hope this might solve your problem.
    With Regards,
    Sumodh.P

  • Triggering event in u201Cchange statusu201D for Sales Document (SD) with TCode VKM1

    Hi guys, Iu2019m trying to trigger a new event in an u201CStatus Management u2013 Tcode BSVWu201D for a Sales Document when I use the transaction to release it (Tcode VKM1 -> CtrF10 to release), so the change is done in u201COverall blocked statusu201D field .
    For this, I created a new entry on the u201CSystem/user status eventu201D Tcode BSVZ using:
    StatusOT = VBK
    Schema = blank
    BusinessOT = BUS2032
    Event = u201CCustom Eventu201D
    I did test with and without status restriction (I0002 = REL) but nothing happened in TCode SWEL, no event were triggered so I donu2019t know what to do.
    The field affected for the status in the document is VA03-># Sales Order-> GoTo -> Header -> Status -> u201COverall blocked statusu201D.
    I appreciate any help.
    Thanks a lot
    Felipe Uribe

    Hi,
    You have to
    1) Mention the status profile used
    2) specify the bus. Obj and event to be triggered
    3) Then select the status which the event is to be created. System status starts with 'I' and User status starts with 'E'. You can get the status in table TJ02T for system status text & TJ30T for User status texts.
    See this [Link|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a0334534-aa28-2b10-a3a2-9ed4135727ed].
    Regards,
    Surjith

  • How to define user status that forbids editing the document

    Hi All,
    Im working on CRM 7.0
    I need to define a user status say " ON HOLD" . when this user status is set the document should not be edited or changed by anyone.  However as soon as we move to next status document should be editable.
    I configured a user status and in the TRANS column
    selected CLks .
    in the transaction control i have change document set to forbidden.
    The problem is when i set this status on the document , the document is locked as desired and i am not allowed to change the status itself (not desired) .
    How do i configure the status so that i can also switch between on hold  and other user statuses  or  how can i release the On Hold status?
    How do you set the Delete  option in transaction control for any allowed transaction for a user status.
    Thanks In advance!
    Survee

    Robert,
    Thank you for your input.
    We have defined a simple status  where in editing is  not alllowed by validation during save.
    We are controlling the status change from "On hold" to next status  by authorization group.
    Basically if the user has access to the auth group he can change the status to next status.
    Cheers
    Survee

  • Limit change access to all useres exept the one that created the document

    Hi,
    I wonder if it's possible to limit the change access only to the user that has created the document when it's in a specific status.
    This is what the customer wants:
    When a document is set to status K the document should be locked and no other users should be able to create a new version.
    There should be a admin group that can create new versions and change the document. - This is solved
    Best regards Kristoffer

    Hi Krip,
    generally I would recommend you to maintain one status of type 'O' for a document type in your system. This kind of status will allow a second user to display an already checked out original. If user A checks out the original and there is such a status maintained for this document type the system will change the status automatically to this status of type 'O'. Then a second user is able to display the last checked in version of this original in CV03N too. Without such status type the second user is not able to display the checked out file. This was implemented to avoid that two users may be able to change the same original at the same time. I hope this information could be useful for you.
    Best regards,
    Christoph

  • Performance Appraisal-Move the document from Part Appraiser to Appraiser

    Hello
    After the 2nd level manager (part appraiser) has rejected the document, it should be sent back to the 1st level manager review the notes and make changes before resending it back to the 2nd level manager.
    When the second level manager receives the document, it is in "IN PROCESS-PART APPRAISAL IN PROCESS" status. Is it possible to change the status of the document from this status to "IN REVIEW" or some other status for the first level manager to make changes based on the 2nd level manager's feedback.
    How else can we incorporate the functionality? Please advice.
    Many thanks in advance.

    Hello
    We were able to achieve this by adding multiple substatus to the status "In Process" and then control the authorization at that level.
    Thanks

  • Delete outbound delivery set status archived in document flow

    hello!
    when trying to cancel outbound delivery, the status of the document set to archived in the document flow.
    when trying to access the document i recieved message that the document was canceled.
    the status in the document flow should b canceld, instead of archived.
    I know that  its a bug in ECC6 , but i dont know how to fix it.
    Please help?
    Regards
    Yifat

    Hi,
    On initial screen system will not show status.and it is standard
    Rather select sales order and click on STATUS OVERVIEW at item level you can able to see status of P.O
    Purch. requisition -  Purch.req. available
    Purch.confirm.status - All schedLine confrm    confirmed
    Invoice recipt status - Complete invoice rpt     Posted
    Kapil

  • DTW - Line Status in Marketing Documents

    In SBO 8.8 SP00 PL13, I'm trying to load Sales Orders and use the "LineStatus" column to set the row to either 'Open' or 'Closed'.  The SDK indicates that valid field values are bost_Open or bost_Close.  The database column contains either 'O' or 'C'.  However, it seems that DTW only accepts a value of 'O'.  Thus, there is no way to load, or later change, a row status to closed within DTW.
    There also is no field to set the entire SO to a closed status.  If it were possible to set all rows to closed, then I presume the document itself would be closed when all lines have been entered.
    I guess the only alternative is to load all lines as open, and then write a short app that uses the bost_ values to later update the status via DIAPI.
    Dave

    We are loading historical sales orders from a legacy system so that the customer can continue to track the items, quantities, and dates sold at various customer locations.  The customer is a large, multinational organization that requires access to this history to drive their daily processes.  We've already verified the data load techniques and the customer is satisfied.  The only hickup was setting the line status of the documents, per my original message.
    The SOs and POs are being loaded as documents connected to an Activity, which is connected to a Service Call, which is in turn connected to an Equipment Card.  Most of the 58k order lines are closed, and needed for reference purposes only.  These are the lines that I will close after loading, so that they do not continue to drive demand.  The open order lines will, of course, be left open and be managed under the standard business flows.

  • User exit for FB60 after POSTING the Document.

    Hi,
    I have requirement with FB60 transaction where i have to display the error message to the user if the amount of the invoice is greater than some threshold value( this will be maintained in the custom table) to park the document .
    I have created project with enhancement SAPLF051 using the exit EXIT_SAPLF051_002 it is triggering only when parks the document .
    But my requirement is  i need an enhancement which trigger after user posts the document.
    Please help me...
    regards
    paveee.....

    Hi
    Following are the available user exits for fb60 transaction...
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not sen
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    If you still not find appropriate exit, go for badi's...
    1)To search for a badi, go to se 24 display class cl_exithandler.
    2) double click on method get_instance,
    3) get a break point on case statement. execute and start the required transaction in new session.
    4)look for variable exit_name. It would show the available badi's.
    <b>Please do reward if useful</b>
    Regards
    Dinesh

  • Issue-status of the sales order

    Hai Gurus,
             I'm facingo one problem that eventhogh i created delivery and billing the status of the document in document flow is showing wrong details.
    Is there any settings regarding status of teh documents that we make in SAP.
    Can any one please explain
    Thanks in advance
    take care
    sameer

    Hai veera,
       thanks for teh suggestion.hope i will check teh completion rule and confirm u that i will work r not.
    i do the necessary settings as specified.
    thanks
    take care
    sameer

  • Leveraging Workflow Approval status in Word document

    I am using SharePoint 2013 and have created an Approval workflow that works as expected.
    I would like to leverage the Approval Status within the document so that if someone views or prints the document, it will show "Pending" or "Approved" depending on where in the approval process the document is.
    Once final approval has been made, I would also like to display within the document (e.g. cover page) the name of the approver, the date the approval occurred.
    Would I have to use a Lookup column and point that to something?

    Hi,
    According to you description, my understanding is that you want to create an approval workflow which is able to set the status and approved time and the approver in the document.
    Per my knowledge, there is no OOTB way to achieve your request. As a workaround, you can set this in document library. If someone views the document library, it will show the status and approved time and the approver in the document.
    You could create a workflow using SharePoint 2010 platform in SharePoint  2013 Designer:
    Create a date column named “Date” and a person column named “Approver” and a Single line of text column named “MyStatus” default value is “Pending” in library.
    In SharePoint Designer 2013 using SharePoint 2010 platform ,select “Start Approval Process” action, set the user.
    Add action “set [Date field] to [Today]”, in Approval -> Change the behavior of the overall task process in Customization field -> in When the Task Process Completes field, shown as figure below.
    Add action “set [Approver] to [Current Task:Assigned To]”, “set [MyStatus] to [Approved]”in Approval -> Change the behavior of a single task in Customization field -> in When a Task Completes field. The steps are similar as above.
    Then you can show the library content type column value in document template via “Quick Parts”,  access library settings -> Advanced settings -> click Edit Template, in Insert tag -> Document Property -> insert column you want, shown as
    figure below.
    Thanks,
    Dean Wang

  • Triggering a scheduled event based on the approval status

    Hi,
    I have created schedules for my project (one task and one milestone) with three phases(draft,approval,approved). The milestone is dependent on the task.Task is created for draft phase and milastone for approval phase
    Now after creating the schedules when I have saved the project, even before i put my project in the draft phase the schedule is getting triggered and can be seen on the workbench in the events channel.
    That means the schedules are getting triggered based on the date irrespective of the task or milestone being completed and also the schedule for a task needs to be triggered each time until the task is completed.
    So now I want accomplish two things -
    1. How can I trigger the schedule only when the user puts it in the draft phase or any required phase ?
    2. How can I send a mail to the collaborator each day until he proceed the project to approved status and only on getting "approved" status the milestone schedule should be triggered.

    Both would require scripting...
    on phase change, add the required events
    build a custom class that gets called nightly via scheduled task and searches through the projects meeting your criteria and sends them an email reminder.
    -Howie Wexler
    www.craftysystems.com

Maybe you are looking for