QM02 - longtext during save

Hi
I generate a message in the userexit ZXQQMU20 during SAVE.
Is it possible, to get the longtext from a action at this time?
The FM READ_TEXT will not work, because the text will be still not saved, or?
Thx

Hi Chris,
Please find the Code below
[Link|Long Text at Activity Level in CJ20N]
Hope this will be Very useful
Thanks
kalyan

Similar Messages

  • User Exit / BADI for  F-02 during SAVE to update BSEG Line Items.

    Hi Experts,
    I need a User Exit / BADI for Transaction code F-02 which triggers during save to update  BSEG-SGTXT with Vendor / Customer 
    name in the Tax Line Item.This is to update table BSEG .
    Thanks in Advance,
    Nithy

    Hi,
    Do it with the BTE 00001120 (tcode FIBF).
    I hope this helps you
    Regards,
    Eduardo
    PD: I forgot, check this link. It will tell you how to do it
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
    Edited by: Eduardo Hinojosa on Jul 15, 2009 6:38 PM

  • Unable to change the order quantity value during save of sales order

    Hi Experts,
    There is a need to change the order quantity value, based on some conditions, when pressed 'ENTER' or during 'SAVE' of the sales order (VA01, VA02).
    We are trying to change the order quantity value (KWMENG) in table XVBAP in the subroutines userexit_field_modification, userexit_save_document and userexit_save_document_prepare of the user exit 'MV45AFZZ'. But the change is not replicated to field on GUI.
    The order quantity value can be changed in subroutine 'userexit_move_field_to_vbap', but the subroutine is not getting triggered when user changes only the order quantity on screen.
    Please help us in resolving this issue.
    Regards,
    Santosh

    Thanks for your time guys. The issue is resolved.
    SAP is not triggering the vbap user exit as the order quantity on screen is in structure RV45A.
    There are two ways of resolving the issue.
    1. Implement the SAP note #513342 - Quantity change and USEREXIT_MOVE_FIELD_TO_VBAP. But, it is SAP modification note.
    2. Write the code in VBEP exit of MV45AFZZ. This user exit is called whenever the order quantity is changed. But, it is called multiple times in some cases. Hence, need to write code to limit our code execution only once e.g. maintain a global table with our quantity & uom. Check when the quantity and uom in our table is same as quantity on screen. If not, exit from user-exit.
    Edited by: Santosh Kacham on Nov 11, 2011 6:37 AM

  • LV 2009 SP1 corrupts front panel VI during 'save' operation

    My best guess is that corruption happens during 'save' operation.
    Steps:
    1. Slightly modify vi.
    2. Run it, then stop and exit with saving of changes. (Saving takes unusual big amount time and cpu/memory resources)
    3. Try to open vi and get the message "LabVIEW:Generic error... error code 3:Could not load front panel."
    4. Exit from LabView
    5. Start LabView and got the message "The last time you ran LabVIEW, an internal error or crash occurred at loaddata.cpp, line 3070"
    Tried to reinstall LabView but it didn't help.
    Any advice?
    Thanks,
    Boris

    There were a lot of things that you did not post so I skipped through them.
    Did a diagram clean-up and saved without issue.
    maybe you should duplicate what I did (load with sub-VI and X-Controls adn save) to see if it is still corrupted for you. If not start adding stuff back in until you find what causing the crash.
    So no crash on my machine.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • BADI name during SAVE after creating or changing a material in MM01and MM02

    Hi gurus,
    Please refer me BADI name during SAVE after creating or changing a material in MM01and MM02.
    Whenever a user changes or creates a meterial ,I want the BADI name at that point.Exit name or Enhancement point will also suffice.Please help..

    Hi,
    Enhancement: MGA00001
    Function module Exit : EXIT_SAPLMGMU_001 Enhancements for Material Master Tables
    BADI_MATERIAL_CHECK  Enhanced Checks for Material Master Tables
    BAPI_MATERIAL_SAVEDATA Create and Change Material Master Data

  • Excel encountered errors during save. however excel was able to minimally save your file to C:\...

    Error: Excel encountered errors during save. However, Excel was able to minimally save your file to c:\users\*****\appdata\roaming\microsoft\excel\***.xlsb.
    Basically, these are multiple macro enabled spreadsheets from one client. It happens with no other clients who also use macros. They are all saved to our network, which has plenty of space. Any of our users that access these files have the same issue.
      

    Hi
    Take following steps to troubleshoot the issue:
    Check the Macro and File Blocker settings in the Trust Center.(File>Option>Trust center>Trust center settings)
    Then we suggest to perform a clean startup to determine whether background programs are interfering with your Office program.
    http://support.microsoft.com/kb/331796
    It is recommended that you disable Antivirus application while checking the issue.
    Regards
    Tylor Wang
    TechNet Community Support

  • PCUI Pop up Confirmation during save event

    Hi,
    I would like to implement a confirmation pop up at tthe time of save. the user may
    choose to proceed with the save or cancel save.
    I have implemented in the following fashion but apparently it does not refresh the data on the PCUI page.
    1. CHECK_BEFORE_SAVE - Raise Information Message. Set Flag not to save.
    2. SAVE - Check if flag is set not to save, return error code. and do not continue with save.
    3. GET_MESSAGES - Add the messages to rt_applog (Message is configured for navigation)
    4. PROCESS_EVENT - Process for the pop up events 'Yes' and 'No'.
    'Yes' event will call the save method after initializing do not save flag. 'No' with exit.
    Please recommend correct way to implement a pop-up confirmation during save event.
    Thanks
    Shyam

    Hi,
           This pop up is related to the WorkProtect mode,
    It will be configured in the portal,
    There will be 3 options available
    if Workprotect mode is 0--- then navigate automatically
    1-- pop up and then navigate
    2- navigate with out saving.
    i'm not sure about the values.
    WorkProtect mode can be seen in the personalize link and this link is available if eu_role is assigned to the corresponding user.
    Please contact portal admin team regarding this.
    Anilkumar

  • How avoid of dialog in MS Word 97 during Save As HTML with JACOB...

    How to avoid of dialog "Microsoft HTML Conversion" in MS Word 97 during Save As HTML with JACOB. Dialog has this type of content: This document contains characters that are not in the current language encoding. To preserve them, choose cancel and select the appropriate language encoding. For multilingual documents, use UTF-8.

    It's not a JACOB issue, probably you have to direct your question to some Microsoft newsgroup (about Microsoft Word 97 automation using OLE/COM)

  • Why does Acrobat XI PRO freeze during save or save as tasks in Window 8?

    Why does Acrobat XI PRO freeze during save or save as tasks in Window 8?  It is intermittent, but CHRONIC, and I am forced to "repair" the installation, or reboot by computer.  This has been a problem since upgrading to Windows 8 and installing the only Acrobat XI update.  Feedback most welcome and appreciated, but an Adobe FIX would be the best solution.

    10/4 to all, same problem here with Save or Save As in Acrobat XI Pro using Win 8 Pro, is it Adobe or Win 8 or both causing the problem.
    FYI, I just retired and am trying to archive/reduce my printed material and pictures to pdf, this continuing problem is really the pits.................

  • Illustrator CS5 crashes every time the destination is changed during save & save as

    I have a new Macbook Pro Retina with OS X Yosemite, version 10.10.1.
    Every time I try to change the destination folder for a file during "Save" or "Save As" in Illustrator CS5 the program crashes & I get an extensive error message. I have tried uninstalling & reinstalling Illustrator 3 times but the issue persists. I have tried installing it both with the original Creative Suite disk I purchased in 2010 and with the download from Adobe's website, and neither made a difference. I have not experienced any problems with the Photoshop or InDesign programs from the same Creative Suite package.
    Please advise on how to fix this issue.
    Beginning of Error Report (there's much more but I wasn't sure how useful it would be):
    Process:               Adobe Illustrator [397]
    Path:                  /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/MacOS/Adobe Illustrator
    Identifier:            com.adobe.illustrator
    Version:               399 (15.0.2)
    Code Type:             X86 (Native)
    Parent Process:        ??? [1]
    Responsible:           Adobe Illustrator [397]
    User ID:               502
    Date/Time:             2015-01-04 02:35:58.099 -0500
    OS Version:            Mac OS X 10.10.1 (14B25)
    Report Version:        11
    Anonymous UUID:        7FA53558-D47E-CB6A-7CC3-8C017ACE9B7F
    Sleep/Wake UUID:       F663268C-89E9-4BF8-9FB9-105DB01F6612
    Time Awake Since Boot: 850 seconds
    Time Since Wake:       190 seconds
    Crashed Thread:        0  Dispatch queue: com.apple.main-thread
    Exception Type:        EXC_BAD_ACCESS (SIGBUS)
    Exception Codes:       KERN_PROTECTION_FAILURE at 0x0000000016752b8c
    VM Regions Near 0x16752b8c:
        __IMPORT               000000001674b000-000000001674c000 [    4K] rwx/rwx SM=COW  /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/adobe_caps.framework/Versions/A/adobe_caps
    --> __LINKEDIT             000000001674c000-0000000016755000 [   36K] r--/rwx SM=COW  /Applications/Adobe Illustrator CS5/Adobe Illustrator.app/Contents/Frameworks/adobe_caps.framework/Versions/A/adobe_caps
        MALLOC_LARGE           0000000016755000-00000000167bb000 [  408K] rw-/rwx SM=PRV 
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   com.apple.HIToolbox            0x09504025 HIStandardMenuView

    same here, new computer today and I got the exact same problem. I wonder if Adobe would do something about it, or just asking us to update and pay more to upgrade to CC

  • Use the Recycle Bin during Save Operations

    The other night I was working on a big image.  I had been saving it to my master .psd file, and right before I quit my Photoshop session I downsized the image and did a Save - As .jpg so I would have a draft copy.
    When I exited Photoshop it dutifully prompted me "The document has changed, do you want to save?" and I absent-mindedly clicked [ Yes ].  Oops!
    By virtue of the fact that I had saved the master file in several different folders, I did not lose all my work, even though my latest master file was overwritten with a small image.
    I believe that when Photoshop saves a file it actually writes a new file with a temporary name, then deletes the old file and renames the newly written file to the name of the old.  So I thought to myself, perhaps Photoshop used the Recycle Bin, and I can undelete the previous version...  But it wasn't there.
    If the deletion I mention above is actually happening...
    It would be great if Photoshop would to send files that are deleted during Save operations to the Windows Recyle Bin.  Then prior files could be available via undelete.
    I've also submitted this via the wish form.
    Thank you.
    -Noel

    Thank you, c., for the suggestion and offer to help.  I'm quite aware of making duplicate images, etc., to avoid what I boneheadedly did.  I actually have an action that does the job, though I've kind of stopped using it now that Photoshop can now Save-As a Copy directly to an 8 bit JPEG from a 16 bit document.  Perhaps I should resurrect it.  I rarely make this kind of mistake, but it was late and I was tired.  My practice of changing folders for my final sprint to the finish line saved me in this case, as I had only done one or two small things that needed redoing.
    But it would have been nice to find the previous version of the file all nestled and waiting for me in the Recycle Bin. 
    -Noel

  • Dump during save the solution in Solution Database (Service Desk)

    Hello!
    I use the functionality of Service Desk within SAP Solution Manager 4.0 (SP13).
    Currentyl I am facing with the error during operation "Create of solution in Solution Database", when I try to save solution in SDB.
    <i>The following error text was processed in the system SSM : The ABAP/4 Open SQL array insert results in duplicate database records. records in the data base.
    The error occurred on the application server <> and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Function: ISMV_POST_SYMP of program SAPLISMV
    Function: ISMV_GENERATE_SYMPTOM of program SAPLISMV
    Form: GENERATE_SYMPTOM of program SAPLISMB
    Form: POST_SYMPTOM of program SAPLISMB
    Form: %_PROCESS_P_O_C of program SAPMSSY0
    Form: %_COMMIT of program SAPMSSY0
    Method: CREATE_SDB_SYM_SOL of program CL_SDK_SDB_NOTIFICATION=======CP
    Method: SAVE_WORK of program /1BCWDY/247RJ8VA8ISK2P37WABF==CP
    Method: IF_COMPONENTCONTROLLER~SAVE_WORK of program /1BCWDY/247RJ8VA8ISK2P37WABF==CP
    Method: ONACTIONBTN_SAVE of program /1BCWDY/247RJ8VA8ISK2P37WABF==CP</i>
    My questions are:
    <b>- Should TREX also be installed with SAP Solution Manager or can one existing from other SAP system be used?
    - Is there some SPRO steps to be executed in order to create and save solution in SDB?</b>
    Thank you very much!
    regards
    Thom

    Hi
    check the sap note  1124452 and implement the correction instruction or make a program with Zcode implementation.
    Reagrs,
    Vijay.

  • Acrobat 9 Pro - PDF Optimizer fails when selecting overwrite file during save process

    Hello Everyone,
    I am wondering if Acrobat 9 Pro has changed in the way it handles PDF Optimizing functioning when trying to overwrite the file you are attempting to optimize. In Acrobat 8 Professional, it overwrites the file just fine when it gets to the save process. It does work when you modify the name during the save process, however, it would be nice to know if this is "the way it works" or the "program has an issue".
    Thoughts?
    Message received when trying to overwrite the file,
    COnversion Warnings> "An error was encountered while saving the document."
    Logically, it seems as though the application cannot save over an "opened" file thus dumping that message on me.
    Regards. D.

    > When using Save As to save a PDF, is it possible to have Commenting and Analysis enabled for that saved PDF by default?
    No.

  • How to terminate remaining Actions in a script sequence if the user presses "Cancel" during SaveAs

    Hello,
    I'm using the following script to email a completed form to a pre-programmed email address and would like a way to cancel remaning in-line scripts if the user cancels teh first Step.
    Basically, after completing the form I cereated, the user would click the submit button and a series of actions will take place:
    1. Execute a menu item: SaveAs giving the user a chance to Save the current state of the form.
    [Here is where I need a Arcobat script that terminates all remaning actions if the user cancels the SaveAs action]
    2. Once the form has been saved (and not canceled), the next action involves prepping and generating an email to send the form using the user's default email client:
    var e = this.getField("ccAdd");  //There is a field on the form that enables the user to enter a CC: address, if applicable
    var cCCAddr = e.value;
       var cSubLine = "Subject goes Here"; //preformatted subject
       var cBody = "File attached." // preformatted Body text
       // Build the e-mail URL
       var cEmailURL = "mailto:[email protected]?cc=" + cCCAddr
                     + "&subject=" + cSubLine
                     + "&body=" + cBody;
    //Before sending, set ALL form fields to "readonly"
    for (var i = 0; i < this.numFields; i++) {
        var fname = this.getNthFieldName(i);
        var f = this.getField(fname);
            f.readonly = true;
    // hide submit display button, so that it doesn’t show on “readonly” version
    var h = getField("Button1");
    h.display = display.hidden;
    //Generate the outgoing email using the user’s default email client. Send attachment as a PDF
       this.submitForm({cURL: cEmailURL, cSubmitAs:"PDF", cCharSet:"utf-8"});
    3. Once the form has been emailed, another SaveAs menu item fires, thereby, allowing the user to save the "readonly" version.  So now, he has a clean "open version"  that he saved before Step #2, and a "readonly" version after step #2.
    The only thing that's causing an issue now is if the user presses Cancel after the Step #1  (where he/she is asked to save the form), the remaining scripts in-line continue to fire, alougth the "Cancel" button was pressed. 
    SO, I need a script that terminates all remaining scripts (i.e. end process) if the user hits cancels during Step #1, thereby preventing step 2 from starting.
    Any ideas? Thanks in advance.
    S

    ok, i've had a play with it . . . and come up with two options, one that breaks attempts to break any code being run if the cancel button is hit.  either way, they need to be added into a document level javascript, and applies the required action to your submit button (trust me, this becomes a lot easier than applying script to buttons directly!)
    i just wrote functions that chain, so the first function calls the second, and the second calls the third.  seemed easier than trying to nest them.  i know the finaliseForm function simply calls the first in the chain, but that's just a matter of personal preference, i prefer to define functions with logical names.  also, that way, you can test each function individually, or all together, and write more code to the finaliseForm function if you need to.
    not sure if you're using acrobat 9 or X, but the document level javascript is in two different places.  in 9 it's under advanced - document processing - document javascripts.  just give it a name, add it, remove any lines in the window that appear and paste in this code.
    so here's the one that continues the script, with prompts, even when the no button is hit. let me know how you go!
    function saveasEditable() {
        //prompt the user to continue save as
        var saveasPrompt = app.alert({
                    cMsg : "Do you want to save an editable version of this file before emailing?",
                    cTitle : "Save As Editable Form",
                    nIcon : 2,
                    nType : 2
        //where 4 is yes and 3 is no
        if (saveasPrompt == 4) {
            app.execMenuItem("SaveAs");
            emailForm();
        } else {
            emailForm();
    function emailForm() {
        //and invoke a second alert to prompt emailing the form
        var emailPrompt = app.alert({
                    cMsg : "Do you wish to email the form now?",
                    cTitle : "Submit form via email",
                    nIcon : 2,
                    nType : 2
        if (emailPrompt == 4) {
            var e = this.getField("ccAdd"); //There is a field on the form that enables the user to enter a CC: address, if applicable
            var cCCAddr = e.value;
            var cSubLine = "Subject goes Here"; //preformatted subject
            var cBody = "File attached."// preformatted Body text
                // Build the e-mail URL
                var cEmailURL = "mailto:[email protected]?cc=" + cCCAddr
                 + "&subject=" + cSubLine
                 + "&body=" + cBody;
            //Before sending, set ALL form fields to "readonly"
            for (var i = 0; i < this.numFields; i++) {
                var fname = this.getNthFieldName(i);
                var f = this.getField(fname);
                f.readonly = true;
            // hide submit display button, so that it doesn’t show on “readonly” version
            var h = this.getField("Button1");
            h.display = display.hidden;
            //Generate the outgoing email using the user’s default email client. Send attachment as a PDF
            this.submitForm({
                    cURL : cEmailURL,
                    cSubmitAs : "PDF",
                    cCharSet : "utf-8"
            saveasReadonly();
        } else {
    function saveasReadonly() {
        //and invoke a third alert to prompt save of the read only form
        var readonlyPrompt = app.alert({
                    cMsg : "Do you wish to also save a read-only copy of this file?",
                    cTitle : "Save As Read-only Copy?",
                    nIcon : 2,
                    nType : 2
        if (readonlyPrompt == 4) {
            app.execMenuItem("SaveAs");
        } else {}
    function finaliseForm() {        saveasEditable();
    //assign all of this to the submit button from the doc level
    this.getField("Button1").setAction("MouseDown", "finaliseForm();");

  • MIRO - User Exit during SAVE: Read items & Update header

    Hi there!
    During MIRO after pressing save...
    I search for an user-exit or BAdI, to READ ITEM DATA and UPDATE HEADER DATA (XBLNR) after SAVE but before UPDATE.
    I have searched this forum, but with no luck. Many more then me seem to have the same problem. The most common answer have been to try BAdI INVOICE_UPDATE, but that BAdI only give READ access and NO UPDATE, so no luck there..
    To summarize all my searching here and findings... I list all exits I have tested...
    User-Exits
    LMR1M001 User exits in Logistics Invoice Verification
    LMR1M002 Account grouping for GR/IR account maintenance
    LMR1M003 Number assignment in Logistics Invoice Verification
    LMR1M004 Logistics Invoice Verification: item text for follow-on docs
    LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006 Logistics Invoice Verification: Process XML Invoice
    MRMH0001 Logistics Invoice Verification: ERS procedure
    MRMH0002 Logistics Invoice Verification: EDI inbound
    MRMH0003 Logistics Invoice Verification: Revaluation/RAP
    MRMN0001 Message output and creation: Logistics Invoice Verification
    BADI - When saving in MIRO the following BAdI were passed...
    PPA_CUST_BADI
    /CCIS/FICLRDC_ENH
    INVOICE_UPDATE  << only read no update
    ME_DP_CLEARING
    AC_DOCUMENT
    FI_LIMIT_PROCESS
    AC_QUANTITY_GET
    FMRE_BUS_PROCESS
    EXIT_XFMPRI_001
    CO_DOCUMENT_INFO
    INVOICE_UPDATE (method change_before_update ) << only read no update
    MRM_RANSACT_DEFAULT
    MRM_HEADER_DEFAULT
    Other BAdI's
    MRM_HEADER_CHECK - Bara ingående värden för kontroll
    MRM_HEADER_DEFAULT - Tyvärr sätter bara XBLNR precis när man går in i MIRO...dvs för tidigt.
    MRM_ERS_HDAT_MODIFY  - EJ anropad...
    Would be greatful for any ideas on this matter...
    Best regards
    Henrik

    Hello Henrik,
    In BADI INVOICE_UPDATE there are 3 methods CHANGE_AT_SAVE, CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE.
    Of these CHANGE_AT_SAVE is called before INSERT / UPDATE statements are executed. We can use this to update RBKP-XBLNR.
    We can't use CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE methods as they are called after INSERT / UPDATE statements are executed and before COMMIT.
    You can update RBKP-XBLNR through INVOICE_UPDATE~CHANGE_AT_SAVE method using call stack technique like below. You can replace 'VALUE' in the below code with the value based on your calculation using other variables like s_rbkp_new, ti_rseg_new etc.
    method IF_EX_INVOICE_UPDATE~CHANGE_AT_SAVE.
      DATA: lv_name_xblnr(30) TYPE c VALUE '(SAPLMRMP)RBKPV'.
      FIELD-SYMBOLS: <fs_rbkpv> TYPE mrm_rbkpv.
      ASSIGN (lv_name_xblnr) TO <fs_rbkpv>.
      IF <fs_rbkpv> IS ASSIGNED.
        <fs_rbkpv>-xblnr = 'VALUE'.
      ENDIF.
    endmethod.
    Best regards,
    Vishnu Tallapragada

Maybe you are looking for

  • How do a scan a file from my scanner and make it a PDF. . . . I do not see this choice in the Adobe program?

    How do a scan a file from my scanner and make it a PDF. . . . I do not see this choice in the Adobe program? In the past I would simply place a copy of the document on my scanner, then selected create PDF from scanner.  However, there is now no creat

  • Camcorder and imovie

    Can anyone tell me the best camcorder for recording onto mini dvd's and use with macbook. Thankss much

  • Please help me with addAll method of ArrayList

    Hi guys, I am trying to wrtie a method to add all elements of one ArrayList to another one. My code is import java.util.*; public class Purse public Purse() coins = new ArrayList<String>(); public void add(String coinName) coins.add(coinName); public

  • How to restore some parts of Keychain

    Hello, My Macbook Pro is backuped with Time Machine. In Keychain, I opened a crypted note and discovered it is empty. How is it possible to restore the note (or the whole keychain) with Time Machine ? Best regards Alef

  • ABAP Tips and Tricks Section/Document

    Howdy, It'd be totally cool if we could share tips and tricks with each other!!! I've had a llook at the new ABAP sections and I suppose its okay but it needs beefing up! If someone'd be good enough to share their nuggets of knowledge eith us then I'