RAISE_EXCEPTION  error in iw31 iw32 iw34 iw36

Hi guys,
My problem is that I am getting RAISE_EXCEPTION  error in my development when ever i am trying to acces standard transaction like iw31, iw32, iw34, iw36 from my program .

Check the dump if any in st22. Go to active call and event and then try to find out the root cause.
Regards
Kavindra

Similar Messages

  • Screen enhancement with table control IW31, IW32, IW33.

    Hi Gurus,
    I am facing issues with enhancement implementation for Maintenance Orders transaction IW31, IW32, IW33. (SAP basis version 4.7)
    1) I have implemented enhancement IWO10018 for creating an Enhancement tab in transactions Iw31/ 32/ 33. This tab has got a table control which has 4 columns: -Operations, Operation short text, Estimated Cost and Currency Unit.
    First two fields are non editable and are populated for all the Operations in Operations tab. Last two columns are editable and value entered in these are stored in the database on saving. Now the issue is I am able to fetch all the operations from  AFVC table but these are the one which have been saved. Suppose I navigate between the tabs Operations and Enhancement and enter a new operation in Operations tab, I should get the same in my Enhancement tab table control field as well.
    Though we can obtain one value from structure (SAPLCOIH)AFVGD but this gives only one value. If we need to get the table of values, is their any option ???
    P.S. Assumption in this requirement was that there can be at max 50 operations in an order and 200 new fields are created for this in include CI_AUFK in table AUFK.
    2) In standard report transction IW39 to display the orders and operations, if we need to display additional columns for displaying Estimated Costs and Units per order, how do we need to implement enhancement IWOC0004. Do we need to add all custom fields in structure RIHAUFK_LIST as well. If you could please elaborate its implementation, it would be helpful.
    3) In standard report transaction IW49N, is there any enhancement available to add new fields in ALV display. (SAP basis version 4.7).
    I would be grateful if i can get a quick response as I am stuck in middle of something important.
    Edited by: shreya tagra on May 12, 2010 8:32 PM

    Hey All,
    To my questions further, I had found the runtime internal table where Operations are stored before saving.
    It is AFVGD_BT and its main program is SAPLCOBO. So it can be accessed through (SAPLCOBO)AFVGD_BT[].
    Also for 2 and 3 question, the given enhancement would work and we need to update fieldcatalog with custom fields.
    For this add our fields in RIHAUFK_LIST.
    Now, I am facing another issue. Since the enhancement tab is a subscreen, i am not able to get its okcodes. eg: When I click enhancement tab, sy-ucomm is 'CUK', when I scroll up or down again it is 'CUK', if I press enter again it is '+CUK'. To enable scrolling functions I need to get correct okcodes and differentitaed ones because on each user command, a different action is required. Any pointers how can this be achieved.
    Will post my solution once i m completly done with it. Till then your pointers are awaited..
    Thanks,
    Shreya

  • Long Text to Short Text connversion in IW31/IW32

    Hi Experts,
    I am working on a requirement where I need to overwrite the short text for material description with the long text while creating the maintenance order in IW31/IW32.
    Initially I thought of handling this in a implementation of BADI IWO1_PREQ_BADI in method DECISION_COLL_PREQ.
    But this this method is gettign triggered when the paurchasing data is being entered and even before the long text is entered.
    Once the order is ready to be saved, and once the user clicks on save I want to write this conversion where I can copy the long text into short text overwriting the material description in component tab of IW31/IW32.
    Please check and suggest the BADI/userexits for thsi purpose.
    Regards
    Kishore

    Hi Kishore,
    Go to transaction SE24, class name CL_EXITHANDLER, go to methods, double click on method GET_INSTANCE.
    Set a break point at
    CALL METHOD cl_exithandler=>get_class_name_by_interface
    EXPORTING
    instance = instance
    IMPORTING
    class_name = class_name
    CHANGING
    exit_name = exit_name
    EXCEPTIONS
    no_reference = 1
    no_interface_reference = 2
    no_exit_interface = 3
    data_incons_in_exit_managem = 4
    class_not_implement_interface = 5
    OTHERS = 6.
    CASE sy-subrc.
    Now run trasaction IW31, press f8 till you reach bfore save button, enter the long text and all, now press the save buttton, control will break if in case any BADi is there(I think there is), exit name and instance will give you the BADI details.
    I think this is one of the simplest way.
    Thanks and Regards,
    Antony Thomas
    Edited by: Antony Thomas on Aug 10, 2010 12:13 PM

  • Screen Exit for Component tab in IW31/IW32

    Hi All,
    I require to add a custom column in the table control of Component tab of tcode: IW31/IW32.
    Please share the idea how to achieve the requirement.

    Hi,
    check exit: IWO10012: Maintenance order: Priority handling on central header
    Regards,
    Alok Tiwari

  • User exit at PM order reading (IW31/IW32)

    Hi!
    Does anyone know, which user exit is triggered, during the reading of a PM order in IW31/IW32?
    If I enter the PM order number in IW32 and press enter, it has to stop, before the order appears...
    Please do NOT list all of the exits, I know their names...
    Thank you
    Tamá

    use following prog to find user exits for the given tcode.
    *& Report  ZUSEREXIT                                                   *
    report zuserexit no standard page heading.
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
             tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
       select single * from tadir where pgmid = 'R3TR'
                        and object = 'PROG'
                        and obj_name = tstc-pgmna.
       move : tadir-devclass to v_devclass.
          if sy-subrc ne 0.
             select single * from trdir where name = tstc-pgmna.
             if trdir-subc eq 'F'.
                select single * from tfdir where pname = tstc-pgmna.
                select single * from enlfdir where funcname =
                tfdir-funcname.
                select single * from tadir where pgmid = 'R3TR'
                                   and object = 'FUGR'
                                   and obj_name eq enlfdir-area.
                move : tadir-devclass to v_devclass.
              endif.
           endif.
           select * from tadir into table jtab
                         where pgmid = 'R3TR'
                           and object = 'SMOD'
                           and devclass = v_devclass.
            select single * from tstct where sprsl eq sy-langu and
                                             tcode eq p_tcode.
            format color col_positive intensified off.
            write:/(19) 'Transaction Code - ',
                 20(20) p_tcode,
                 45(50) tstct-ttext.
                        skip.
            if not jtab[] is initial.
               write:/(95) sy-uline.
               format color col_heading intensified on.
               write:/1 sy-vline,
                      2 'Exit Name',
                     21 sy-vline ,
                     22 'Description',
                     95 sy-vline.
               write:/(95) sy-uline.
               loop at jtab.
                  select single * from modsapt
                         where sprsl = sy-langu and
                                name = jtab-obj_name.
                       format color col_normal intensified off.
                       write:/1 sy-vline,
                              2 jtab-obj_name hotspot on,
                             21 sy-vline ,
                             22 modsapt-modtext,
                             95 sy-vline.
               endloop.
               write:/(95) sy-uline.
               describe table jtab.
               skip.
               format color col_total intensified on.
               write:/ 'No of Exits:' , sy-tfill.
            else.
               format color col_negative intensified on.
               write:/(95) 'No User Exit exists'.
            endif.
          else.
              format color col_negative intensified on.
              write:/(95) 'Transaction Code Does Not Exist'.
          endif.
    at line-selection.
       get cursor field field1.
       check field1(4) eq 'JTAB'.
       set parameter id 'MON' field sy-lisel+1(10).
       call transaction 'SMOD' and skip first   screen.
    Sameer

  • How to populate Special Stock Indicator in IW31/IW32

    Hi SAP experts,
    I want to populate the <b>Special Stock Indicator</b> under <b>Components Tab</b> automatically when user presses ENTER in T.Code <b>IW31/IW32</b> based on some condition.
    Thanks in Advance.
    Help will be rewarded.
    Gaurav

    Gaurav,
    You want to do it during a Call txn BDC or write your conditions as an enhancement?
    Assuming that it is a Call Txn BDC, all you need is an additonal field in your input file for the stock indicator, with 'X'. Also, you will have to call the screen & tab (dynpro).
    Correct me if I got it wrong.
    Reward if helpful.
    Karthik

  • Settlement order in iw31 / iw32

    Hi all,
    I am working on work order validation during release.
    Using iw31/iw32, without selecting release button or additional data ;i am not able to get details of Settlement rule for a work order.
                My requirement is to check this settlement rule before saving the work order.Since settlement rule is generated and saved in table COBRB only if i select RELEASE , i am not able to check the work order if it is not released. Kindly provide me a solution for the same.
    Anil..

    Hi,
    Search is there any BADI/USER EXIT which triggering before clicking save button.
    Hope this helps u.
    thanks.

  • Iw31/iw32 change date using userexit

    HI,
    I need to change a date(CAUFVD-GLTRP) when PM work order creates or changes based on the rules(tcodes IW31,IW32).
    I have tried couple of userexits. i didn't gey any luck. Please help , if anyone come across this issue.
    thanks

    Check Note [441323|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=441323] for change log or use revision field for change the date
    -S.N

  • IW31/IW32/IW33 Transaction - Custom Fields at Operation Level

    Hi All,
    We have a requirement that we need Custom Fields (more than 30) at Operation Level during IW31-IW32-IW33 transactions.
    Can you kindly suggest the approach and which User Exit we can follow to achieve this? Is the exit 'FLT00001' suitable for this purpose?
    Let me know if you guys need more information on the requirement.
    Regards
    Ankur Malhotra

    Hi,
        Check if the BADI :-  /***/BADI_AFVU_MAINT :CU: BAdI for Customer Fields on Operations - Works for your case or no ..
    regards
    pushpa

  • How can I modify the screen of TCode IW31/IW32/IW33?

    How can I modify the screen of TCode IW31/IW32/IW33?
    I'm trying to add new fields, so that after inputting the order type and hit on enter, a new field will be added under the Service area. Does anyone knows how can I do it?

    Hi,
    Screen badi's for IW31.
    IWO1_SCREEN_MODIFY
    IWO1_PREQ_BADI
    WOC_FL_DETERMINE
    Refer This:
    Screen exit for transaction IW31 for ref. object O150
    Regards,
    Shiva Kumar

  • Need User exit or BADI for IW31/IW32 transactions

    Hi all,
    Is there any user exit OR BADI availble for transactions IW31 and IW32. I need to restrict some Activity types and work centres(Error message should come when we give wrong combination of these 2 and press on save button).
    Thank you very much in advance.
    Thanks,
    Venu

    Hi,
    Check the BADI
    WORKORDER_UPDATE  - Business Add-In PM/PP/PS/PI Orders  Operation: UPDATE
    This is multiple use Badi , hope this is the one you are looking for.check by implementing and placing the breakpoint in appropriate methods.
    Alos check the below
    IWO1_SCREEN_MODIFY
    IWO1_PREQ_BADI
    WOC_FL_DETERMINE
    Regards,
    Raj.

  • Reservation authorization to limit plant on IW31,IW32

    Dear all,
             Could you please advise me about authorization check in
    reservation created from maintenance order. I create role to use IW32
    and maintain authorization to limit plant at authorization object
    M_MRES_WWA. But we still create reservation from maintenance order all
    plant but we cannot create reservation by MB21 except plant that we
    maintain at authorization object.
    I do not sure that I maintain it correctly or there are other way
    to limit plant to create reservation from maintenance order.
    Thank you.

    Hi consult.,
                      I am not very sure about the object you are using, but if it is correct(else serch for the correct object), then make a master role for the T-Codes IW31 and IW32.
    then make a drived role from the above made role, and assign the object(above searched object) in the object give the value as that of your plant, and activity as per the requirement.
    you can maintain as many derived roles as the no. of plants.
    hope it helps.
    regards,
    YK

  • Add a new tab in IW31/IW32

    Hi,
    I have a requirement where in I need to add a new tab in IW331, IW32.
    Also, how do I add fields on to that tab?
    I know there is one enhancement IWO10018, but I have never worked on enhancement before.
    So can someone please tell me how to use this enhancement to add an additional tab in IW31. IW32?
    Any useful help will be appreciated a lot!
    Thanks

    Hi,
    List your fields in the structure CI_AUFK using transaction SE11 (ABAP Dictionary) if they have not already been defined by other applications. Code the function exit EXIT_SAPLCOIH_018 for data transfer from the SAP application to the screen area
    Code the function exit EXIT_SAPLCOIH_019 for data transfer from the screen area to the SAP application
    Create the screen area SAPLCOIH 6666 CUSTSCR1 SAPLXWOC 0900.
    Regards
    Narasimhan

  • RAISE_EXCEPTION     ERROR MESSAGE

    HI GURU'S
      I'M UNABLE TO SEND THE SCREENSHOT OF THIS PARTICULAR ERROR MESSAGE.
      THIS IS THE STATUS I AM GETTING
    Request still running
    Diagnosis
    No errors could be found. The current process has probably not finished yet.
    System response
    The ALE inbox of the SAP BW is identical to the ALE outbox of the source system
    and/or
    the maximum wait time for this request has not yet run out
    and/or
    the batch job in the source system has not yet ended.
    Current status
    No selection information arrived from the source s
    HI GURU'S
      I AM NEW TO BW AND TRYING TO LOAD DATA AND FACING LOAD PROB WHEN LOADING DATA TO DATA TARGET ,GOT ERROR AS RAISE_EXCEPTION .
    Message was edited by: venkat Thota

    Venkat
    Whats your data flow
    try replicating data source and activate the infosource
    What the exact error message in the monitor?
    Better look at the detailed view of the short dump in the transaction ST22.There look at the details of Error Analysis and Source Code Extract given.
    Regards
    Naveen

  • Raise_exception error when running DTP  to writ optmized DSO

    Hi guru's,
                  I have been getting this ABAP dump raise_exception when running a DTP to DSO,
    i went thru the dump, actually this DSO updating another standard DSO, i deleted the writ optzd DSO request before deleting the request from target it is updating. Tried to activate the data flow, created a new DTP and tried to run DTP (full load), still getting the same dump.
    any idea on this ,
    thanks,
               peter r

    Hi ,
    check this thread:
    ABAP Dump "RAISE_EXCEPTION"
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/abap-runtime-errors-raise_exception-397395?cv=expanded
    Hope it helps,
    Supriya

Maybe you are looking for