Lock document before saving comment

Hi gurus
I have to send a message to write comment when Workitem for approval document arrives.
So I send workitem ;
user approve document (DMS) setting status and SAVE, after save arrives a workitem (sofm) to write comment. Is there a method to lock the document until user insert comment?
The problem that the userA changes status of the document but at save another workitem approval for another user has already sent...while  the user A is writing the comment ....;
I have to send the comment of the user attach workitem to the next user, so How Can I lock the change status of the document until the comment has not written?
I use DRAW and SOFM...
Best regards
Vanessa

Hi Sankar
thank you for your information.
I moved my abap code in another method "All_obb". My old method call CV02N and then : create object Sofm and write attach object in the container, and the method is completed..I create a new method "All_obb" with only last section about SOFM..
So  I insert the method All_obb like AFTER in my task call method CV02N...,
I don't understand why ..Initially I have to create a workflow container of SOFM type and pass all the required values to the it.,
my business object is DRAW (method All_obb , belong to ZDRAW..)  and I don't know which values i have to pass....
If I define a container like SOFM , I cannot select my method that is in DRAW..
Could help me?
Thanks ...
Vanessa

Similar Messages

  • Tcode FV50: How to find long text in FI Document line item Before Saving.

    Hi,
    How to find long text in FI Document line item.
    During Parking of the FI document through Tcode FV50 i m giving the some text in the long text not in the text field.
    I would like to validate the Long Text Before Saving in user exit "U300" under  the  "Sunstitution" .
    Please anybody can be help me out where exactly this long text is going to be stored or in which internal table or memory id.
    Please give me the answer as soon as possible .
    Note:- Read_Text function module is not useful. Because Read_text useful after saving document.

    Hi Amit,
    In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
    Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
    Just try to explore in your system how the other validations are maintained.
    After you are done with all your code, you have to run the regeneration program RGUGBR00.
    Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except  GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS  & TRACE PROG. GENERATE CALLS .
    Hope this make your doubt clear.
    Regards
    Abhii

  • User Exits for transaction VF01 before saving the billing document

    Can any one say is there any user exit which exits before saving the billing document since i want to check the net value of the billing with the net value of sales order so that it should not go beyond the total amount specified in sales order.

    J_3RSINV
    SDVFX001  User exit header line in delivery to accounting
    SDVFX002  User exit for A/R line in transfer to accounting
    SDVFX003  User exit cash clearing in transfer to accounting
    SDVFX004  User exit G/L line in transfer to accounting
    SDVFX005  User exit reserves in transfer to accounting
    SDVFX006  User exit tax line in transfer to accounting
    SDVFX007  User exit: Billing plan during transfer to Accounting
    SDVFX008  User exit: Processing of transfer structures SD-FI
    SDVFX009  Billing doc. processing KIDONO (payment reference numbe
    SDVFX010  User exit item table for the customer lines
    SDVFX011  Userexit for the komkcv- and kompcv-structures
    V05I0001  User exits for billing index
    V05N0001  User Exits for Printing Billing Docs. using POR Procedu
    V60A0001  Customer functions in the billing document
    V60P0001  Data provision for additional fields for display in lis
    V61A0001  Customer enhancement: Pricing
    These are the Exits Available in the Package
    Jus try finding which will suffice ur Requirement.
    Regards,
    Mithun

  • In VF01, before saving the billing document, can we use "issue output to"

    In VF01 transaction before saving the billing document, can we use "issue output to" under Billing Document in Menu.
    i.e., can we enable the option "Billing Document -> Issue output to -> Issue output to"

    Hi,
    No as a standard, unless the billing document is created and released to accounting, you can't use issue output to.
    Regards,

  • I modify a document en word and saved it. I need to return to the document before the modification. How can I do it? Thank You

    I modify a document en word and saved it. I need to return to the document before the modification. How can I do it? Thank You

    Are you using Time Machine? If not, do you have a backup?
    Best of luck.

  • InCopy workflow in InDesign: Is there a way to find the document in which an ICML file has NOT been checked IN again before saving the doc?

    The situation:
    We are working with the InCopy feature (checking in and checking out ICML files).
    The problem:
    I might have saved a document with an ICML file still checked out.
    The question:
    Is there a way to find out which document was saved with the ICML file still checked out?
    or in other words:
    Is there a way to find the document in which an ICML file has NOT been checked IN again before saving the doc?
    Thanks for any help!

    Hello Sumit Singh,
    thank you for your answer and your reasonable recommendation. Unfortunately, this only works when the ICML content is used in one INDD file. In our case, we use ICML content in multiple docs (various manuals with the same safety instructions, warranties, adresses etc.).
    So, is there a way to trace back where an ICML has been used?
    Is it possible to find out in which document the ICML is still checked out?

  • Alart pop-up before closing a document withouit saving, no more?

    Since Lion, Pages no longer pops up the alart message when you try to close a document withouit saving; it just saves without asking. I find this quite annoying.
    I save small changes that I make to a document quite frequently. If I close a document by accident, thereby saving it, then the content of the document and that of the auto back-up become almost identical. That means the back-up is utterly useless. Nor can I "undo" the changes as I lose all the edit history by closing the document.
    Is there any way to bring back the old alart pop-up?

    Dale Gillard wrote:
    If you delete a document you cannot view it's "backup" (aka a copy of it in Versions).
    Hello Dale
    This is why I wrote the set of scripts available in my iDisk (address below).
    Download :
    For_iWork:about_versions.zip
    Yvan KOENIG (VALLAURIS, France) jeudi 29 septembre 2011 15:46:34
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Enhancment Before saving document

    Hi Gurus,
    Is there is any User Exits or Enahancemets available for delivery or  pgi befor saving system has to check certain requirment like for that perticular customer wether we received payment or not.If we received payment system has to allow or system has to give error message .
    Thank you in advance .
    Regards,
    Suresh

    If you are looking for a userexit then I think 'senya_1111' is correct in recommending USEREXIT_SAVE_DOCUMENT_PREPARE (MV50AFZ1).
    However, I believe the best solution to this issue would be to use credit management.
    You can define any of the following credit checks for various combinations of credit control area, risk category, and document credit group:
    Static Credit Limit Check
    The customer's credit exposure may not exceed the established credit limit. The credit exposure is the total combined value of the following documents:
    - Open orders
    - Open deliveries
    - Open billing documents
    - Open items (accounts receivable)
    The open order value is the value of the order items which have not yet been delivered. The open delivery value is the value of the delivery items which have not yet been invoiced. The open invoice value is the value of the billing document items which have not yet been forwarded to accounting. The open items represent documents that have been forwarded to accounting but not yet settled by the customer.
    Dynamic Credit Limit Check with Credit Horizon
    The customer's credit exposure is split into a static part; open items, open billing, and delivery values (see above), and a dynamic part, the open order value. The open order value includes all undelivered or only partially delivered orders. The value is calculated on the shipping date and stored in an information structure according to a time period that you specify (days, weeks, or months). When you define the credit check, you can then specify a particular horizon date in the future (for example: 10 days or 2 months, depending on the periods you specify). For the purposes of evaluating credit, you want the system to ignore all open orders that are due for delivery after the horizon date. The sum of the static and dynamic parts of the check may not exceed the credit limit.
    Maximum Document Value
    The sales order or delivery value may not exceed a specific value which is defined in the credit check. The value is stored in the currency of the credit control area. This check is useful if the credit limit has not yet been defined for a new customer. It is initiated by a risk category which is defined specifically for new customers.
    Changes Made to Critical Fields
    The credit check is triggered by changes made in the document to values in any of the credit-sensitive fields. According to your Customizing settings, the system runs a check credit between changes or differences in the sales order data against the default values in the customer master record. Examples of such fields are terms of payment and fixed value dates.
    Date of Next Review
    Uses the date of the next credit review as a trigger for an automatic credit check. If you process a sales order after a customer's next review date has already gone by, the system automatically carries out a credit check.
    Overdue Open Items
    The relation between open items which are more than a certain number of days overdue and the customer balance may not exceed a certain percentage.
    Oldest Open Item
    The oldest open item may not be more than a specified number of days overdue.
    Maximum Number of Dunning Levels Allowed
    The customer's dunning level may only reach a specified maximum value.
    User-Defined Checks
    If you want to carry out checks other than the standard checks, you can define your own checks in the appropriate user exits in Customizing for Sales.
    There is very good information available in the F1 help for the above fields in trx OVA8.
    I hope this helps.
    Gerard
    Edited by: Gerard Magorrian on May 28, 2010 2:58 PM
    Edited by: Gerard Magorrian on May 28, 2010 2:59 PM
    Edited by: Gerard Magorrian on May 28, 2010 3:04 PM

  • Can I get back a pages document which I closed before saving?

    can I get back a pages document which I closed before saving?

    The answer is no, even if you're using OS X Lion. (You don't mention what version of OS X or Pages you use.)
    OS X Lion and Pages 4.1 autosave documents, even unsaved documents. But if you close an unsaved document, click the Don't Save button, then this document no longer exists.
    Earlier versions of OS X and Pages do not autosave documents. So closing an unsaved document effectively deletes it.

  • Check SD billing price before saving

    Hi experts,
    I need your help.
    I'm looking for an exit to check the price on header and items of the billing document created through VF04 / VF06 / VF01.
    if the price is <= 0 (VBRK-NETWR / VBRP-NETWR) the billing should not be created.
    The exit should allow to stop the billing document posting without the need of writing a "MESSAGE Exxx" so that if the posting is done through a background job for massive posting, it will not lock the whole elaboration, but just the current document.
    Thank you in advance
    - francesco

    Look at [User Exits In Sales Document Processing|http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/content.htm]
    in "User exits in the program MV45AFZZ", form USEREXIT_SAVE_DOCUMENT_PREPARE may fill your requirement
    Use this user exit to make certain changes or checks immediately before saving a document. It is the last possibility for changing or checking a document before posting.
    The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.
    Regards,
    Raymond

  • Using Firefox, I used to be able to open a document on a website and look at it without downloading.  Now, I must download a document in order to view it.  How can I change settings so that I can open documents without saving them?

    Using Firefox, I used to be able to open a document on a website, such as a bank statement, and view it without downloading.  Now, I must download and save a document before I can view it.  How can I change settings so that I can open documents without saving them first?

    Do you know what kind of docs they are? Did you upgrade/Update Firefox lately?
    https://addons.mozilla.org/en-US/firefox/addon/pdf-download/
    http://kb2.adobe.com/cps/333/333563.html
    https://addons.mozilla.org/en-US/firefox/addon/open-it-online/

  • Pop up Window before saving remembering the need (forcing) to fill required fields in a form

    Hi!
    I searched the "old" forum and have very good help from UVSAR but unfortunately I'm not able to access my message sent to that forum anymore.
    [I could never thank all the people who answered because I keep receiving "Your submission has triggered the spam filter and will not be accepted.""]
    I've have never use Java scripts in my life: I started about three days ago.
    1) I'm using Adobe Acrobat Pro X (Windows 7)
    2) I've created a form using Microsoft Word and save it as a pdf file.
    3) After I created a form using Acrobat Pro X;
    3.1.) This form it's not going to be submitted over Internet. It will be send by e-mail to some persons. They will receive it, fill in the form and send it back to me via e-mail. Note: I will save it with extended rights in order to allow to be read with acrobat reader (I'm the only one of the group having Professional edition).
    4) In that form I've created some text fields (for now it's just what I need - no radio buttons, dropdown
    menus, and so...)
    5) Choosed Properties and marked 7 fields as "required";
    6) Used a script I found in here: http://forums.adobe.com/thread/784322 (thank you for the authors of the thread)
    if (!event.target.valueAsString) {
    app.alert("My text My text", 3);
    7) This script allows me to remember people to fill that 7 specific fields (when using mouse or tab).
    8) So... What I really need? Here are the reasons for my request for help:
    8.1.) When people use the Acrobat Reader Save button (not a button I created inside the form) it will pop up an alert message. Users will receive a pop up window telling them they need to fill those fields before saving the form and send it back to me. Can someone share a script, please? Thanks in advance.
    8.2.) Is there a way to colorize the fileds that need to be filled? Again I only learned where to insert a java script yestaerday sou I'm not able to write one. I'm sorry for my newbie questions.
    8.3.) Last question: In one of the fields there will be an e-mail address. On the end of the form I want to create a button like "Send by e-mail" and When someone press that button the e-mail will be sent to the address that was written in the earlier specific field. How can I do this (link a button to an e-mail address in a specific field)? Can someone help me with a script or ideas? Hope I was clear.
    8.1.) UVSAR sent me the following code that works fine untill I save the document for the first time. Affter that he never shows me pop up window again.
    var isFilled = true;
    for (var i=0;i < this.numFields;i++){
    var f = this.getNthFieldName(i);
    if (this.getField(f).required && !this.getField(f).valueAsString) isFilled = false;
    if (!isFilled) app.alert("You must complete all the required fields");
    8.3.) With the help of UVSAR I used:
    var mailto = this.getField('emaddr').valueAsString;
    if (mailto!='') this.mailForm({ bUI:true, cTo:mailto, cSubject:"This is the subject", cMsg: "This is the body of
    the mail." });
    else app.alert("Cannot submit form until the email address field is completed");
    but gives me an error (Note: I named the filed with e-mail "emaddr")
    Once again Thank you so very very much to all the kind people who take their time to share knowledge...
    I'm not a native speaker, sorry for some errors
    Best regards
    AC

    Hi Winnie
    Unfortunately I have been sick and did not read the message before. I apologize.
    I have not received help beyond what is on the page. But when I get I tell you.
    I hope you can get answers. If you receive, I ask that you share with me.
    thank you very much
    best regards
    AC
    Date: Mon, 27 Feb 2012 09:33:10 -0700
    From: [email protected]
    To: [email protected]
    Subject: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        Re: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        created by Win_Form in Forms - View the full discussion
    Hi ACI wonder if you can share any responses on to your question above?I too have never used a script but, I have the same problems as you in regards to building a form. And wants to have the same 'protection' and message reminders for the end users. Any information, including a script and/or a contact email of experts you can share with me will help tremendously. Thank you so much in advance. Winnie
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4232307#4232307
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4232307#4232307. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Forms by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Print Preview of PO before saving .

    Dear Experts ,
    Is it possible to view a print preview of a PO after  just checking the PO & before saving it ??
    If yes pls let me know how ?
    Regards
    Anis

    Hi Anis,
    yes, you can view a PO in print preview in ME21N before saving it but the following are pre-requisities:
    1 - There are valid messages defined for the PO - check by clicking on 'Messages' at the top of the screen. So long as there is a message defined, you can display, if not, add the output type that you would like to use (NEU for example).
    2 - The output type must be pointing correctly to a printer or valid e-mail address (for e-mail outputs)
    3 - You must have access to transaction ME9F in authorisations - although you are not navigating to ME9F, you will still need the access
    If these things are OK, click on print preview and you will get an image of what the printed document will look like.
    Rob

  • How to read header text in MM contract (ME31K/ME32K) before saving record?

    Hi All,
    In ME31K / ME32K (Contracts), before saving the contract I would like to check if the user has entered header text in the contract or not.
    I am using customer exit MM06E005.
    Can anybody help me with this?
    Thanks in advance.

    Try creating dummy text id which will be part of text determination procedure @ Customers sales text & document header text.
    else, maintain the SO10-text against this text ID. whenver user createds quotation this text will be defaulted irrespective of the cusotmer.
          then based on if user want to modify the text they have to enter manually in this text id. print this text in header.
    Regards,
    Reazuddin MD

  • "Document Not Saved" Microsoft Excel 2010 SP1

    We have a remote office which has a 2mb WAN link, The users in the remote office have a variety of Office installs from 2003 to 2010 SP1.
    When attempting to open an excel file over the WAN link (The file is on our main shared drive in Sydney) they can open and edit the document however when it comes to saving they receive "Document not saved" and the original document is gone and a .tmp file
    remains where the original file was on the network drive/shared folder.
    If they then hit save a second time it saves correctly and the document is in the correct .xls format.
    The excel files do have some funky tables etc in them and are a few mb's in size, however we have the same issue with a new excel document with only one word written in it.
    Does anyone know what would be causing this issue?
    We have tried added NetworkResiliency and PivotTableNetworkResiliency as per http://support.microsoft.com/kb/291204.
    We have tried removing certain hot fixes from Microsoft as mentioned in http://support.microsoft.com/kb/983458.
    We added the share to be a trusted site.
    There are no errors in Event Viewer. 
    I have found another few threads on similar issues with no fix:
    http://social.technet.microsoft.com/Forums/en-US/office2010/thread/f559b061-b98f-4b33-ab8a-d1a41d2e8cb8/
    http://social.technet.microsoft.com/Forums/en-US/officeappcompat/thread/4af962a0-d883-4e82-8995-7eb766d6c720
    We do have a RiverBed at the remote office and one at the site in Sydney which is for network optimization. On the RiverBed with have all CIFS ports added and QoS marking done so it should be optimized.
    Any assistance with how to fix this annoying issue would be greatly appreciated.
    Thanks

    We're having the same exact issue in our office where we just installed a new Riverbed Steelhead as well... only happening in that office as well...User opens a document on a network share that the rest of the company works from day to day, they save 10
    or 20 minutes later and BAM... "There has been a network or file permissions error. The network connection may be lost", then a non-hidden *.tmp file is then created in the same network directory as the actual file and the original file doesn't get
    written to, you click [OK] on the error and then try to save again and it magically works...and you're left with a messy TMP file as well in the directory now. I doubt it's related to antivirus, definitely not firewall, reinstalling/repairing office and tweaking
    settings doesn't help, I agree it has nothing to do with locking files or read-only files as they're plain old word docs and excel files...MAYBE it has to do with the Riverbed WANOP appliance but either way... don't you love how this thread just randomly died
    with no solutions? :'(   Thanks Micro$oft ;)
    {Edit} Oh! And one last thing...this MIGHT help steer someone in the right direction in the future... there could be a problem related to your network filer such as a NetApp appliance, EMC, Netgear etc where there is an SMB version mis-match or a bug of some
    kind requiring you to apply a patch your storage device in order to fix this type of issue.

Maybe you are looking for

  • Installing on iBook G4 - Microsoft no longer works

    I installed Leopard on my son's iBook G4 (1.2mgz). Systems was okay except I did go thru a hassle getting his iPod Touch to work. After dealing with Apple care that was resolved. They are great! However, microsoft office is not working. When you open

  • How to get of loop of get objec

    can some one tell how to get of logical database PCH.

  • Itune 8 installs but crashes with BEX error

    Problem signature: I am getting this when running itune 8 in 32 bit vista home preminum. It works however when run in xp Sp2 compatibility mode. 7.7.1 was working before in vista before the upgrade so it's not problem with other softwares. Can't beli

  • Use of Touch Drag Enter/Exit

    I want to delete an item when click a button and drag it into a trash button. Can I and how can I do this by using Touch Drag Enter and Exit in Builder?

  • Can't submit feedback because the submit button is greyed out.

    I tried to use the Firefox made me sad to tell about a problem and it won't work. I checked the happy link just to be sure and it is greyed out also.