Error msg dump issue?

hi
i am having a issue in using the method raise_error_message.
I am using it for displaying a msg if the customer is locked.
currently if my system has locked a customer & i try to access it through,its give me the msg for user locked by user name.
but now i am facing a problem,if the some other user has locked the customer & me or any other system try to access the same customer,than this raise_error_message gives the dump & error message is not raised.
below is my code:
    CALL FUNCTION 'ENQUEUE_EZMDAP_OCM'
     EXPORTING
       mode_zmdap_stat_hist       = 'E'
  MANDT                      = SY-MANDT
       kunnr                      = ls_cr_gen_data-kunnr
  X_KUNNR                    = ' '
  _SCOPE                     = '2'
  _WAIT                      = ' '
  _COLLECT                   = ' '
     EXCEPTIONS
       foreign_lock               = 1
       system_failure             = 2
       OTHERS                     = 3
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 into lv_msgtxt.
              get message manager
              DATA lo_api_controller     TYPE REF TO if_wd_controller.
              DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
              lo_api_controller ?= wd_this->wd_get_api( ).
              CALL METHOD lo_api_controller->get_message_manager
                RECEIVING
                  message_manager = lo_message_manager.
              report message
              CALL METHOD lo_message_manager->raise_error_message----<dump coming here for WebDynpro Exception
                EXPORTING
                  message_text  = lv_msgtxt.
Edited by: Vipin on Nov 9, 2009 3:39 PM

Hi,
you can even do in the following way..
CALL FUNCTION 'ENQUEUE_EZLOCK_PCT'
EXPORTING
   MODE_ZRM_C_CV_OPEC       = 'E'
   MANDT                    = SY-MANDT
   USERID                   = LV_USERID
   LANG                     = LV_LANG
*   INDEX1                   =
*   X_USERID                 = ' '
*   X_LANG                   = ' '
*   X_INDEX1                 = ' '
*   _SCOPE                   = '2'
*   _WAIT                    = ' '
*   _COLLECT                 = ' '
EXCEPTIONS
   FOREIGN_LOCK             = 1
   SYSTEM_FAILURE           = 2
   OTHERS                   = 3
CALL METHOD lo_message_manager->report_t100_message
      EXPORTING
        msgid =  sy-msgid
        msgno =  sy-msgno
        msgty =  sy-msgty
        p1    = sy-msgv1
        p2    = sy-msgv2
        p3    = sy-msgv3.
Using this you can even catch the exceptions thrown by the FM
Hope this helps you.
Priya

Similar Messages

  • Performance issue: Calling a BAPI PO create in test mode to get error msgs

    Hi,
    We have an ALV report in which we display purchase orders that got created in SAP, but either got blocked due to not meeting PO Release strategy tolerances or have failed output messages. we are displaying the failed messages even.
    We are looping the internal table of eban(PR) & calling bapi po create in test mode to get failed messages.
    Now we are facing performance issue in production. What can be the alternate efficient way to get the error msgs with efficiency
    Regards,
    Ayub H.
    Moderator message: duplicate post (different ID, same company...), see below:
    Performance issue calling bapi po create in test mode to get error messages
    Edited by: Thomas Zloch on Mar 9, 2012

    Hi Suvarna,
    so you need to reduce the number of PO-simulations.
    - Likely you checked already, that all EBAN-entries should already be converted into POs. If there would be a large number of "new" EBAN-entries, they don't need to be simulated.
    - If it's a temporary problem: give aid to correct the problems (maintain prices or whatever the error-reasons are) Then the amount of not-converted purchase requisitions (PR) should drop, too
    - If it's likely, that your volume of open PR will stay high: create a Z-Table with key of EBAN and a counter, simulate (once a day) PO conversions and store the results in the Z-table. In your report you can use the results... if they are "new enough". From time to time new simulations should be done, missing master data might be available.
    Maybe users should be allowed to start this 2nd report manually (in background), too -> then they can update the messages after some data corrections themself, without waiting for the result (just check later in online report and do something different in between).
    And you might need to explain, PO simulation takes as long as PO creation... there is no easy or fast way around this.
    Best regards,
    Christian

  • When am trying to install Windows server 2008 OS. Error msg was coming 0x80070070:"not having enough space for installation"..Even though i have 20GB space?..Pls resolve this issue earliest.

    Hi Guys
    I have an issue please help on that earliest.
    When am trying to install Windows server 2008 OS. Error msg was coming 0x80070070:"not having enough space for installation"..Even though i have 20GB space?..Pls resolve this issue immediately.
    Regards,
    Shiv

    Is this a clean install or an upgrade?  20 GB, though greater than the minimum, is pretty minimal.  How much memory do you have on the system?  2008 would try to create a page file of 1.5x physical memory, so if you are building on a large
    memory system, you could be having an issue there.
    "Pls resolve this issue immediately"
    Forums are not for support.  They are monitored by people, like yourself, who are willing to take time out of their days to provide the benefit of their past experience.  If you need support, you need to purchase a support contract from Microsoft
    or some other party.
    . : | : . : | : . tim

  • In attempting to burn a playlist onto a new CD, iTunes seems to burn about half the tracks then shuts down and issues an error msg. (4900) - although that msg. has rec'd a lot of attn., there does not appear to be an adequate or workable fix or suggestion

    In attempting to burn playlists onto new CD's, iTunes regularly completes half the burn, stops, ejects the CD and issues error msg. #4900.  Although there appears to have been similar problems for some time, I cannot locate any suggestions for fixing the problem.  I have installed the newest version of iTunes but that does not appear to have any effect on the problem.  Thoughts?

    I had the same problem after updating my DVD-Drive Firmware.
    Disabling the Option to burn "CD TEXT" solved my problem. Hope that helps !!

  • Why did I get error msg that "MSVCR80.dll is missing" when I tried to update iTunes to 11.1.4?  Never had such an issue before when updating iTunes.

    Can anyone help with the question, above?  Why an error msg that "MSVCR80.dll is missing" when attempting to update iTunes to version 11.1.4 on my laptop?

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
    C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    and paste into:
    C:\Program Files (x86)\iTunes
    The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.
    tt2

  • Process chains time outs and hangs with no error msg - in SP13

    Hi all,
    We are having all kind of weird problems after we patched our system with SP13. Our process chain time outs and hangs, but surprisingly we never get any error msg. And scarier part is, the problem seems to be intermittent. PC runs fine on some days and hangs on some.
    Further analysis into the dump – as below
    Termination occurred in the ABAP program "SAPLRSSM" -
    in "RSSM_SLEEP_DEBUG".
    The main program was "SAPMSSY1 ".
    In the source code the termination point is in (Include) program "LRSSMU39".
    This refers to an issue that appears to have been addressed by OSS Note
    934648(meant for SP8). This notes also indicates to populate RSADMIN table to
    exclude "RSSM_SLEEP_DEBUG". Not sure if this note is valid for SP13? However we went ahead and populated the RSADMIN table.
    So now we have no clue what’s going on and where to fix the issue.
    As per SAP suggestion we applied the following notes:
    0000653996  Analyzing lock situations
    0000893563  Correction: Deadlock on completion of a remote chain
    0000994007  Corrections: Deadlock with external status query
    0001005481  Correction: Process successful, but there is no instance
    0001047174  Correction: Incorrect scope when locking in process chains
    0001051957  Correction: TIME_OUT during dialog confirmation of processes
    0001083660  Report for error stack analysis
    Nothing seems to help us. And SAP suggested a few options, which we implemented to no rescue.
    I’m sure that many of the customers have applied SP13, and want some feedback from them, if this is happening in their systems too?
    If so, how did you fix this issue?
    Or this situation is unique to us?Please note that no settings were changed as of SP13 to that of what they were in SP12(unless it is a side effect of the patch itself). Everything worked fine with SP12 and is still working on the BIP system. All the problems are in BIQ patched to SP13.
    Any pointers or insight would be appreciated. We have a customer msg open with SAP, and going back and forth, but nothing seemed to work as of today.
    Thanks,
    Voodi

    Not sure which OSS helped us get past the issue, as SAP asked us to apply a ton of notes. But along which the notes, SAP has some suggestions for us, which we think did the magic. After the implementation of the suggestin we never faced the same issue again. The suggestion by SAP:
    move the process chain callback in a batch job by executing
    program RSSM_TRACE_SWITCH and selecting the flag "verifcation
    of asynchronous processes - execute in batch".
    Lemme know if this doesnt fix the issue, I can give all the notes that SAP asked us to apply.
    Message was edited by:
            voodi

  • Error msg 13019 please help

    hi
    i need help in getting rid of this error msg 13019. it started after downloaded a couple of songs. and it will not allow me to sync my nano ipod thanks

    Ive fixed this issue before. The steps are kinda long but they work.
    This is for windows computers with iPod nano that get the error 13019 during or after a sync with iTunes.
    -Open itunes
    --click, edit, click preferences
    --select advanced
    ---make a note of the iTunes media folder location on a notepad.
    ---put a check in organize files
    ---take the check out of copy files
    ---click ok
    --Click file, at the top of iTunes
    --move mouse over library, select organize, and consolidate files. ( This ensures all music in you iTunes will be in the iTunes media folder later.)
    At this point, if you have playlists you want to save:
    -Create a folder on your desktop, call it, playlists
    --Hover you mouse over your playlist in iTunes, should be at the bottom of the blue/grey column on the left.
    --right click the playlist, select export playlist
    --Navigate to your desktop and open the playlist folder and save.
    ---Do this for each playlist you want to save
    -Close itunes
    -Click your start button, and open computer or my computer
    --Using what you wrote down on your note pad, follow the path to the "iTunes folder", NOT the iTunes media folder
    --Open the iTunes folder.
    --Stop here
    -You will see icons that look like folders and you will see icons that look like files-
    -You will KEEP the FOLDERS
    -You will DELETE the FILES
    --If it makes you more comfortable you can cut the files out and paste on your desktop, but as of now we do not need the files any longer as we have the playlists backed up. Remember-Keep the folders.
    --That was the magic--
    -Disconnect your iPod if connected.
    -When you open your iTunes, it will be empty, that is OK. We are recreating the library. Everything will come back in a few seconds.
    -Click file at the top
    --Select, add FOLDER to library, not to be confused with add file.
    --In the window that pops up, locate and click on computer or my computer
    --From here follow the path to the iTunes media folder on your note pad, but do not open the iTunes media folder.
    --Click the iTunes music/media folder one time so it highlights.
    --On the bottom right you will have option to select folder, or choose folder or OK. Hit that button.
    All you music will start to import back into iTunes.
    -Plug in iPod after completed
    --a message pops up about being synced with a different library.
    --Click erase and sync
    --Watch all your songs go on your iPod with no error message.
    From here you may sync your iPod the way you want with out worrying about the persnickety error 13019!!!!!
    Hope this helps!!!
    Julian
    p.s. Follow the directions exactly.
    p.s.s. To add your playlists back to iTunes:
    -Click file at the top of the screen
    --move your mouse over library, selecte import playlist
    --on the new screen that pops up, navigate to your desktop
    --open the playlist folder, select the first playlist, hit ok
    --repeat for each playlist exported

  • Error msg when changing the MRP type in ME22N

    Hi,
    When i change MRP type from MRP to Manual  in ME22N, it will come out the error msg:Purchase request mandatory for MRP generated Purchase order (Application area: ME Message no. ME901)!  My question is how to change this error msg to warning msg?
    From SPRO-Material Management-Purchasing-Environment Data-Define Attributes of System Messages ,i can not find the entry regarding this issue.
    Any suggestion!
    Thanks!

    Hi,
    Sometimes end user want to add some item without PR under MRP PO.
    As before system will only indicate the warning msg that we change to error msg three month ago, but i forgot how to change!
    thanks!

  • Payroll Error msg "The gross wages do not cover the negative offset that has been forwarded, therefore, no grossup is permitted".

    Hi Experts,
    I am getting the below error msg while running payroll for an US employee.
    "The gross wages do not cover the negative offset that has been forwarded; therefore, no grossup is permitted."
    I am getting this error msg just after USTAX function processing part of UTX0 subschema. I am highlighting below facts & findings for your reference.
    As per a client requirement,  I have configured a new gross up WT (ER benefit contribution) for a benefit plan (IT 0168) and the changes are in QAS system. The changes have to be reflected in period 20/2014 (4th May'14- 10th May'14) with retro effective 01/01/2014 as per the benefit plan record maintained from 01/01/2014.
    This error msg is coming only for few employees. In my example, when I am running payroll in period 20/2014 with forced retro as 01/01/2014, system is giving error in period 14/2014 (23rd Mar'14-29th Mar'14). When I checked the pay result of this employee for period 14/2014, I can see the /101 is in -ve value and there is claim generated for this period. So I think, eventhough, a value of $ 2.53 is getting added as per the IT 0168 record, its not helping to give a +ve gross value and thus tax is not able to recoved on the same.
    I hope you have come across this issue and can help me to assist to resolve the error msg.
    Regards,
    Prakash  

    If you have correctly configured payroll the system should automatically off set that and should create wage tyes /561 or /563 in RT.

  • I have a question about Lightroom 5... I used it last night, I go to get on it today and its will not open. I have an error msg "Lightroom encountered an error when reading from its preview cache and needs to quit" Lightroom will attempt to fix the proble

    I have a question about Lightroom 5... I used it last night, I go to get on it today and its will not open. I have an error msg "Lightroom encountered an error when reading from its preview cache and needs to quit" Lightroom will attempt to fix the problem when reopened

    https://forums.adobe.com/message/6219922#6219922
    See if the issue in the thread above helps you to solve your problem.

  • Prob While Creating Customer Master - Error Msg "Number '0' Not defined"

    Dear Experts,
    I am Trying to create a customer with diff SP, SH, BP and PY. I was able to create Customer for BP and PY.
    But now when I go and try to created a SH customer with xd01 for my Sales.Org (99SS-XS-X1),
    In the Sales Area Data, Partner Function Tab, Partner function field the Number is 0 before the SH function field (instead of Internal / Blank) and at the bottom  give the error Msg that "Number '0' is not define". I have Cross checked the my Number ranges(no-22 from 7000-7999), account groups(ZA22)  and Partner function (SH), everything seems to Ok. But unable to find the solution. plz help me with this if you have ever come across such a prob.
    I would like to mention that the previously had no issues in creating customers following same procedure. I guess some one must have changed some settings by accident.
    This prob is only specific while creating only SP and SH Customers.
    Many ThanX.

    Thanks Amit for your valuable suggestion, But today I was able to solve the problem with help of my trainer, Someone has changed the default settings in partner determination, the solution is below which will help anyone who may come across a similar Problem.
    Spro->IMG->Sales & Distribution->Basic Functions->Partner Determination->Setup Partner Determination->Setup Partner Determination for Customer Master->Partner Functions
    Find the partner Function SP/SH/BP/PY there partner type should be KU. If anyone changes this settings Then the above problem arises.
    Regards.

  • Sap error msg no: AW624 while doing the settlement for KO88

    Hi all
    We are having an issue with settling the order from KO88 and we are getting the following error: msg no AW624.We are not able to settle the order  beacause of this issue and the order needs be settled fast as its open form last month.iam not able to settle asset form previous year.please advice on the same.
    First settle the items from the previous year in previous year 2013: 1190056/001
    Message no: AW624
    You have not settled all the items of investment measure in previous year.line items : 1190056/001 is not settled.it was posted in 2013 was not settled in the periodic settlement in the same fiscal year.
    sap fico
    aman

    Dear Aman
    Please refer following thread and follow Mr. Ravi's suggestion, it may help you.
    http://scn.sap.com/thread/1368717
    Regards
    Rajneesh Saxena

  • Error msg RSAR502,while creating source system?

    Hello Gurus,
    when i am creating source system i got error msg called RSAR502,can any one solve this issue..
    Thanks in Advance

    Hi,
    Check the OSS note : 184586,493422.
    Take the help of ur Basis support.
    Hope it helps-
    MM

  • Error (Short Dump) while posting any Material document

    Hello All Experts,
    I am facing an error (short dump) while doing all material document related transactions (for example MIGO,MB1A etc) . I am getting the below message:-
    Short text of error message:
    Document number 1000 5000000000 2009 was already assigned
    Earlier, I had posted some material documents using the same transactions.
    Kindly help
    Regards,
    Atul

    Hi Atul,
    Please use T-code OMBT to check the number range status of material document. You can click on the 'Intervals' button to check the 'Current number', the last material document number the system was created so far. Try to change the 'Current number' to a number greater than 5000000001, save the change, and post material document again.
    Hope it can solve your issue.
    Cheers

  • Error msg, "Maximum selection does not contain value 9999999999.

    Hi, I am getting this error wile doing Reclassification of HFM Movement.
    Error msg, "Maximum selection does not contain value 9999999999 of subassignment HFM CD2 & Asset Type "                                         
    in the Data Monitor, ( in Reclass Net Reserve). While running BCF task for a company for period 16/2009     
    Actually, We have converted the consolidation area from XX(2009) to YY(2010).
    Before this task, user has performed the balance carry forward.
    My Analysis is as follows:-
    Method Used in this Reclassification                                         
    RECYX (Reclassify HFM Movement at YE lvl 10)                                        
         TRIGGER                                   
         Items : 100-299, 9900-9999                                   
         HFM Movement Type : O200 to O300                                   
         Posting Level : 10                                   
         TARGET                                   
         Items : 100-299, 9900-9999                                   
         Move : O100C                                   
         Posting Level : 10                                   
         HFM CD2 and Asset type : Ticked                                    
    After TEST run in UCMON, the error message comes :-                                        
    The "HFM CD2 & Asset Type value 9999999999" is not maintained in Breakdown Categories Y500, Y700  etc.                                        
    Breakdown categories in Workbench                                        
    Maintained as "OPTIONAL, Initialized value allowed".                                        
    Single Selection                                         
    1A                                        
    1B                                        
    AR                                        
    GA                                        
    Default Selection                                        
    99999999999                                        
    BCS CUBE                                         
    HFM CD2 & Asset Type - coming blank               
    LOTR                                        
    HFM CD2 & Asset Type - Coming blank     
    Please help to go forward.
    In Anticipation,
    Deepankar Jain

    Thanks a lot Dan for the reply.
    Yes, the single selection is 1A, 1B etc, I agree that including this default value 9999999999 in single selection will resolve this issue, but the BREAK DOWN TYPE is OPTIONAL, that means It will also consider a blank value, right?
    Also, In the method defined for RECLASSIFICATION in workbench, in the TARGET parameters, the" HFM CD2 and Asset Type"  is blank but the "DEFAULT is TICKED" which makes it a mandatory derivation rule.
    Please correct me if I am wrong.
    Your replies on it are highly appreciated.
    Thanks and Regards,
    Deepankar

Maybe you are looking for

  • How to I add a background image in an Encore slidehsow?

    How do I add a background image in an Encore slidehsow? Currently the slideshow has a black background and I would love to be able to change that to an image.

  • Client (Document-Level?) Javascript

    I have a server application that requires (client-side?) javascript. By this I mean, I need to deploy a javascript file into C:\Program Files\Adobe\[version]\[product]\Javascripts So when a user goes to a page in the server application, a prompt will

  • Call Customer Exist Enhancement (EXIST_SAPLRSAP_001) CMOD with 11310 records

    Hello Experts, Extraction from 2lis_11_vaitm is taking longer time even there are only few records. Normally it takes 2-3 mins but sometimes it takes 2-3 hrs to complete. Even once it take 12 hrs. there is no idoc stuck in SM58. I've attached job log

  • My Nokia 701 cannot share photo using NFC to C7

    My 701 used to be able to share photo from gallery to my wife's C7 Anna. Strangely, when i tried to send few marked photos, the sending process was taking forever and i had to cancel it. After that, when i tried to share even one photo at a time, the

  • Adobe Flash CS4 installation

    I am trying to install Adobe Flash CS4. Is Adobe Flash CS4 same as Adobe Flash Player or different ? I want to create a slide show of images and for that purpose, I am downloading Adobe Flash CS4. Is that the correct product to download or do I need