Run time error  iview  'Leave Overview' in ESS -  Pl Help

Hi Gurus ,
We are getting run time error when we
click the 'Leave Overview' in
ESS.
when emloyee applies for leave he may
need to wait for aproval during
that time he cannot access the 'leave
overview' screen he will be
facing run time error .
because of this run time error system
performance become very slow .
please help me .i will give points for valid answers .
:-Suneetha reddy
Edited by: Sunitha Reddy on Mar 26, 2008 9:47 AM

Hi ,
I am soory for late reply ,
I changed the runtime parameter to 1200 and monitaring the system .
Now there is no Run time error but still Leave overview is taking time .
Please help
Thanks,
Sunitha

Similar Messages

  • Run time error when we click  "Leave overview " in ESS - pl help

    Hi Gurus ,
    We are getting run time error when we
    click the 'Leave Overview' in
    ESS.
    when emloyee applies for leave he may
    need to wait for aproval during
    that time he cannot access the 'leave
    overview' screen he will be
    facing run time error .
    because of this run time error system
    performance become very slow .
    please help me .i will give points for valid answers .
    :-Suneetha reddy

    Hi ,
    I am soory for late reply ,
    I changed the runtime parameter to 1200 and monitaring the system .
    Now there is no Run time error but still Leave overview is taking time .
    Please help
    Thanks,
    Sunitha

  • Run time error elements 10 tried everything on web help pages, rename reload still does not run, works fine with edit

    How do i fix it

    Hi 8tharmy,
    It's hard to tell what this error triggered,  Best approach will troubleshooting the issue and narrow down to the root cause. Best KB provided by Adobe you find here.
    Windows: https://helpx.adobe.com/x-productkb/global/troubleshoot-system-errors-freezes-windows.html
    Mac: Troubleshoot system errors, freezes | Mac OS 10.x | Adobe software
    If you like help please share some additional information in this topic or share the result and the issue statement with Adobe support. Learn & Support

  • Unable to open attachments in my aol email account, i get a run time error. I am able to open them in ie. Also unable to open up a downloaded doc in word.

    Since updating to firefox 15. whatever and now 16.0.1, i have been unable to open up any email attachments in my aol email account. I am able to view them via internet explorer. Initially the attachment will open (i can see it) but then a message of "run time error" comes up and when I close that window, the document goes blank. Also, today I clicked on a link via an aol news story and the same thing happened. It went to my firefox downloads, I was able to see part of the document and then that window with "run time error" message in it popped up. Help!!!!

    This is a tip I got from ehow.com:
    "While less common in Firefox, runtime errors can still occur on that browser. To prevent it from happening again, merely uninstall and reinstall Firefox on your computer."

  • How do I fix this run time error crash on start up?

    Whe I start Elements 10, it stops and waits at the "Organize" or "Edit" choice. (normal operation.) I chose edit and it crashes with a C++ run time error.

    See if this Adobe troubleshooting document helps:
    http://helpx.adobe.com/x-productkb/global/troubleshoot-c-runtime-errors-products.html
    Ken

  • How to display "Non-Fatal Run-Time Error In Function Panel" dialog?

    I'm learning how to develop an IVI-C specific driver using LabWindows/CVI. When I run my function from its function panel and it returns an error, I would like to display a dialog with both the error code and error message (as opposed to simply returning an error code on the function panel). This would save the user from having to call Prefix_error_message() to translate the error code to its error message. NI-DCPower driver is a good example of this behavior (see attached error dialog). How do I show the "Non-Fatal Run-Time Error In Function Panel" dialog? Any help is greatly appreciated. Thanks!
    Attachments:
    ErrorDialog.png ‏8 KB

    Hi Shawn,
    Thank you for replying to my post. The checkErr is just an error handling macro defined in ivi.h to goto Error: tag when the function returns a non-zero value. I have been using the checkErr macro (as well as viCheckErr and other macros) in my driver.
    Using the same hp34401a specific driver as an example, please allow me to explain my question in more details:
    Let's take the hp34401a_close function as an example. It is a simple function with only a few lines of code:
    When the hp34401a_close function is run from its front panel using an invalid session handle (e.g. "8" in this screen capture):
    You will get three "Non-Fatal Run-Time Error" popup dialogs, one from each of the IVI library functions that it calls: Ivi_LockSession, Ivi_UnlockSession, and Ivi_Dispose. However, there is no "Non-Fatal Run-Time Error" popup dialog from the hp34401a_close itself.
    My IVI-C specific driver is behaving identical to the hp34401a specific driver.
    In comparison, if run niDCPower_close function from its front panel using an invalid session handle (using the same "8" in this screen capture):
    You will only get one "Non-Fatal Run-Time Error In Function Panel" from the niDCPower_close function itself:
    I think the behavior of niDCPower driver is much better than the hp34401a driver. It replaces the three "Non-Fatal Run-Time Error" popup dialogs from the IVI library with a single "Non-Fatal Run-Time Error In Function Panel" popup dialog from the driver function itself. I would like to do the same thing with my driver but have not figured out how to display a "Non-Fatal Run-Time Error In Function Panel" dialog. Thanks in advance for your help!

  • Portal Run time error in MSS iView

    Hi,
         I am getting portal run time  error in MSS iView when i am navigating  MSS>Online form>People related form and clicking on the employee name in the table which has hyper link. How to remove the hyper link from the employee name?
    When i am selecting the same employee from radio button and clicking on To Form Selection button ,it's working fine.
    Someone can help me to resolve this error.
    Thanks,
    Kundan

    Still my question is open. Someone can provide the solution for the same?
    Thanks,
    Kundan.

  • A run Time Error Has Occured

    Hi All
    Please help, I have recently got a new PC and reinstalled Contribute CS3.  I had to update to MS Service Pack 3 due to other software requirements.
    I previously had some shockwave files saved on to pages within my site, however each time i now try to update the pages with any shockwave file on the page, I get the following.
    A Run Time Error has Occured
    Do you wish to debug?
    LIne '0'
    Error 'Null' is Null or not an object.
    With an option of YES or No
    If I press 'No' I end up in a continous loop and end up having to carry out an End Task.
    If I press 'YES' I end up In Microsoft Script Editor with the code below
    try { document.getElementById("").SetReturnValue(__flash__toXML(getFlashLogLevel("xcelsius")) ); } catch (e) { document.getElementById("").SetReturnValue("<undefined/>"); }.  There is no way of editing the code and I still end up ending the task.
    Could anyone tell me if this is related to the installation of Serive Pack 3 or is there something more sinister going on.
    Thanks fior reading and any adive would be gratefully received.
    Thank
    Luke

    Hi Krishna
    Thanks for your reply, it was while trying to "edit" the page containing the shockwave file however it’s a bit of a strange one, as When I reposted this post , I had been experiencing the problem for about a week.  I then went on leave for a week and when I returned it started working again???.  I queried with my IT department if anything had changed or been updated but they could not think of anything.
    So for now it's working, but if you have any thoughts on what may of happened I would appreciate any suggestions?
    Thanks again
    Luke

  • Run time error while executing KP06

    Hello All,
    A run time error is being returned when I execute the tcode KP06. After entering all required field such as cost elements, cost center / CCgroup, then I pressed period screen / overview screen ... and it went to abap dump ...
    FYI, I have upgraded to 4.7 to ECC system.
    Regards,
    Bharath.
    Moderator message: please do more research before asking, use ST22, search for SAP notes, check your custom enhancements.
    Edited by: Thomas Zloch on Aug 22, 2011 9:58 AM

    Ok. Look at the dump in ST22 and solve your problem.

  • Run time error in Portal (BW 7 version)

    Hi,
    I am using BW 7 for generating a graph.i am using web application designer where i will give the name of query
    which is generating a report that consists of graph.
    then i am pasting the link of above report into a portal(iview)...later when i will see the portal,sometimes i can see the report(graph) but some times i get an error without graph saying that
    "A run time error has occured.Do you wish to debug?
    Line 7: Error: Undeterminated String constant"
    Please tell me the solution.

    Can you provide exception details logged in your trace file ?
    Thanks
    MMK

  • Run time error QA32 of QM

    We are geting following run time error when executeing QA32 t-code of QM , error as follows ,
    Error analysis
    After a specific time, the program is terminated to make the work area
    available to other users who may be waiting.
    This is to prevent a work area being blocked unnecessarily long by, for
    example:
    - Endless loops (DO, WHILE, ...),
    - Database accesses with a large result set
    - Database accesses without a suitable index (full table scan)
    The maximum runtime of a program is limited by the system profile
    parameter "rdisp/max_wprun_time". The current setting is 600 seconds. If this
    time limit is
    exceeded, the system attempts to cancel any running SQL statement or
    signals the ABAP processor to stop the running program. Then the system
    waits another 60 seconds maximum. If the program is then still active,
    the work process is restarted.
    How to correct the error
    Programs with long runtime should generally be started as background
    jobs. If this is not possible, you can increase the system profile
    parameter "rdisp/max_wprun_time".
    Depending on the cause of the error, you may have to take one of the
    following measures:
    - Endless loop: Correct program;
    - Dataset resulting from database access is too large:
    Instead of "SELECT * ... ENDSELECT", use "SELECT * INTO internal table
    (for example);
    - Database has unsuitable index: Check index generation.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    Runtime Errors TIME_OUT
    Date and Time 30.06.2009 10:17:31
    Short dump has not been completely stored (too big)
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "TIME_OUT" " "
    "SAPLBSVA" or "LBSVAU14"
    "STATUS_PRE_READ"
    If you cannot solve the problem yourself and want to send an error
    notification to SAP, include the following information:
    1. The description of the current problem (short dump)
    To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
    Display the system log by calling transaction SM21.
    Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
    In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    System environment
    SAP-Release 700
    Application server... "GALT"
    Network address...... "202.54.13.238"
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "2x Intel 80686"
    Character length.... 8 Bits
    Pointer length....... 32 Bits
    Work process number.. 0
    Shortdump setting.... "full"
    Database server... "GALT"
    Database type..... "ORACLE"
    Database name..... "PRD"
    Database user ID.. "SAPSR3"
    Char.set.... "English_United State"
    SAP kernel....... 700
    created (date)... "Oct 13 2006 00:08:41"
    create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
    Database version. "OCI_10201_SHARE (10.2.0.1.0) "
    Patch level. 80
    Patch text.. " "
    Runtime Errors TIME_OUT
    Date and Time 30.06.2009 10:17:31
    Short dump has not been completely stored (too big)
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
    SAP database version. 700
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
    Memory consumption
    Roll.... 8112
    EM...... 16724736
    Heap.... 0
    Page.... 450560
    MM Used. 6688784
    MM Free. 626280
    User and Transaction
    Client.............. 400
    User................ "MGMTSER"
    Language key........ "E"
    Transaction......... "QA11 "
    Program............. "SAPLBSVA"
    Screen.............. "SAPMQEVA 0200"
    Screen line......... 41
    Information on where terminated
    Termination occurred in the ABAP program "SAPLBSVA" - in "STATUS_PRE_READ".
    The main program was "SAPMQEVA ".
    In the source code you have the termination point in line 61
    of the (Include) program "LBSVAU14".
    Source Code Extract
    Line SourceCde
    31
    32 OBJNR_TAB[] = JSTO_PRE_TAB[].
    33
    34 * Merken: jeweils bisherige Anzahl Einträge im Puffer
    35 DESCRIBE TABLE JSTO_BUF LINES JSTO_BUF_LINES.
    36 DESCRIBE TABLE JEST_BUF LINES JEST_BUF_LINES.
    37 DESCRIBE TABLE OBJNR_TAB LINES OBJNR_TAB_LINES. "Note978655
    38 ADD 1 TO JSTO_BUF_LINES.
    39
    40 l_percentage = OBJNR_TAB_LINES * 100 / JSTO_BUF_LINES. "Note978655
    41 * Small number of object numbers to be read, insert records "Note978655
    42 * sequentially to avoid expensive SORT on JSTO_BUF,JEST_BUF "Note978655
    43 IF ( l_percentage <= 1 OR OBJNR_TAB_LINES < 20 ) AND "Note978655
    44 get_change_documents IS INITIAL. "Note978655
    45 LOOP AT objnr_tab. "Note978655
    46 SELECT * FROM JSTO CLIENT SPECIFIED "Note978655
    47 FOR ALL ENTRIES IN OBJNR_TAB "Note978655
    48 WHERE MANDT EQ CLIENT "Note978655
    49 AND OBJNR = OBJNR_TAB-OBJNR. "Note978655
    50 READ TABLE JSTO_BUF WITH KEY MANDT = JSTO-MANDT "Note978655
    51 OBJNR = JSTO-OBJNR "Note978655
    52 BINARY SEARCH. "Note978655
    53 IF SY-SUBRC <> 0. "Note978655
    Runtime Errors TIME_OUT
    Date and Time 30.06.2009 10:17:31
    Short dump has not been completely stored (too big)
    54 JSTO_BUF = JSTO. "Note978655
    55 CLEAR JSTO_BUF-MOD. "Note978655
    56 JSTO_BUF-STSMA_OLD = JSTO_BUF-STSMA. "Note978655
    57 INSERT JSTO_BUF INDEX SY-TABIX. "Note978655
    58 ENDIF. "Note978655
    59 ENDSELECT. "Note978655
    60 "Note978655
    >>>>> SELECT * FROM JEST CLIENT SPECIFIED "Note978655
    62 FOR ALL ENTRIES IN OBJNR_TAB "Note978655
    63 WHERE MANDT EQ CLIENT "Note978655
    64 AND OBJNR = OBJNR_TAB-OBJNR. "Note978655
    65 READ TABLE JEST_BUF WITH KEY MANDT = JEST-MANDT "Note978655
    66 OBJNR = JEST-OBJNR "Note978655
    67 STAT = JEST-STAT "Note978655
    68 BINARY SEARCH. "Note978655
    69 IF SY-SUBRC <> 0. "Note978655
    70 JEST_BUF = JEST. "Note978655
    71 CLEAR JEST_BUF-MOD. "Note978655
    72 JEST_BUF-INACT_OLD = JEST_BUF-INACT. "Note978655
    73 INSERT JEST_BUF INDEX SY-TABIX. "Note978655
    74 ENDIF. "Note978655
    75 ENDSELECT. "Note978655
    76 ENDLOOP. "Note978655
    77 CLEAR: JSTO_BUF,JEST_BUF. "Note978655
    78 EXIT. "Note978655
    79 ENDIF. "Note978655
    80
    Contents of system fields
    Name Val.
    SY-SUBRC0
    SY-INDEX0
    SY-TABIX15
    SY-DBCNT15
    SY-FDPOS1
    SY-LSIND0
    SY-PAGNO0
    SY-LINNO1
    SY-COLNO1
    SY-PFKEYA101
    SY-UCOMMBU
    SY-TITLE Record Usage Decision: Characteristic Overview
    SY-MSGTY
    SY-MSGID
    SY-MSGNO000
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO0
    SY-DATUM20090630
    SY-UZEIT101723
    SY-XPROGSAPLQAMB
    SY-XFORMCONVERSION_EXIT
    Edited by: Raghavendra Balegar on Jul 3, 2009 12:21 PM

    No Dear,
    Not at all. I think it should work for atleast one month period.
    But sometimes depending on the database size and hardware, this criteria can vary.
    Regds,
    Anil

  • Run time error in ALV editable

    Hi Gurus
    I am getting a run time error when I edit a field in the ALV report and press enter. The run time error is : GETWA_NOT_ASSIGNED. It says I tried to access an unassigned field symbol. I have not used any field symbols in my field catalog or anywhere. It also says that the location of the termination was : cl_gui_alv_grid .
    I have to get this report working today at anycost. Any help will be very useful

    Yes , I have internal tables , a whole lot of them ...here is the code.
    REPORT ZSCREENREPORT NO STANDARD PAGE HEADING MESSAGE-ID YE.
    TABLES : VBUK ,
             VEPVG ,
             LIKP  ,
             VTTP  ,
             LIPS  ,
             LQUA  ,
             MAKT.
    DATA :  PWERKS TYPE LIPS-WERKS , PLGNUM TYPE LIPS-LGNUM.
    DATA  PTKNUM TYPE VTTP-TKNUM.
    DATA  PVBELN TYPE LIPS-VBELN.
    DATA : t_toolbar   type ui_functions with header line.
    DATA  OKCODE LIKE SY-UCOMM.
    DATA  S_OKCODE LIKE SY-UCOMM.
    DATA  B_VIEWREPORT.
    DATA  B_CLEARALL.
    DATA  B_PRINT.
    DATA  pr_data_changed TYPE REF TO cl_alv_changed_data_protocol.
    *DATA: g_event_receiver TYPE REF TO lcl_event_receiver.
    *TYPES: PR_DATA_CHANGED TYPE xxxxxx.
    *TYPES: LCL_EVENT_RECEIVER TYPE .
    class lcl_event_receiver definition deferred.
    selection-screen begin of block b2 with frame title text-001.
    selection-screen begin of block b1 with frame.
    BLOCK B1 FOR FIRST SET OF SELECT OPTIONS
    ALL ENTRIES ARE NECESSARY IN THIS BLOCK
    SELECT-OPTIONS : S_ORG      FOR  LIKP-VKORG MODIF ID B1,  "Sales Org
                     S_DISCHA   FOR  LIKP-VTWIV MODIF ID B1,  "Dis Cha
                     S_DIV      FOR  LIKP-SPAIV MODIF ID B1,  "Division
                     S_SPOINT   FOR  LIKP-VSTEL MODIF ID B1.  "Shipping
    "point
    selection-screen end of block b1.
    selection-screen begin of block b3 with frame.
    *BLOCK B3 FOR PICKING DATE . THIS FIELD IS OBLIGATORY
    PARAMETERS :     P_DEL    LIKE  VBUK-KOSTK DEFAULT 'A'.
    SELECT-OPTIONS : S_PICDAT     FOR  LIKP-KODAT OBLIGATORY ,
                     S_PGDAT FOR  LIKP-WADAT .
    selection-screen end of block b3.
    selection-screen begin of block b4 with frame.
    BLOCK B4 FOR SHIPMENT NUMBER / DELIVERY NUMBER. ONLY ONE CAN BE
    *ENTERED
    SELECT-OPTIONS:  S_SHNUM  FOR  VTTP-TKNUM MODIF ID B2 ,     " Shipment
                                                                "Number
                     S_DENUM  FOR  LIKP-VBELN MODIF ID B2 .     " Delivery
    " Number
    selection-screen end of block b4.
    PARAMETERS : C_BBINS  AS CHECKBOX .
    selection-screen end of block b2.
    RANGES :         R_ORG      FOR  VEPVG-VKORG ,  "Sales Org
                     R_DISCHA   FOR  VEPVG-VTWEG ,  "Dis Cha
                     R_DIV      FOR  VEPVG-SPART ,  "Division
                     R_SPOINT   FOR  VEPVG-VSTEL ,  "Shipping point
                     R_PICDAT   FOR  LIKP-KODAT  , " Planned Pick Date
                     R_PGDAT   FOR  LIKP-WADAT  ,      " Planned goods issue
                     R_SHNUM  FOR  VTTK-TKNUM  ,     " Shipment Number
                     R_DENUM  FOR  LIKP-VBELN  ,     " Delivery Number
                     R_VBELN FOR   VBUK-VBELN  ,
                     R_MATNR FOR LIPS-MATNR .
    DATA : BEGIN OF ITAB1 OCCURS 0.
    DATA:  MATL  LIKE LIPS-MATNR,
           QUANT LIKE LIPS-LFIMG,
           UOM   LIKE LIPS-VRKME,
           KUNR  LIKE LIKP-KUNNR ,
           WERKS LIKE LIKP-WERKS,
           LGNUM LIKE LIPS-LGNUM,
           LGTYP LIKE LIPS-LGTYP ,
           VBELN LIKE LIPS-VBELN ,
           TKNUM LIKE VTTP-TKNUM.
    DATA : END OF ITAB1.
    DATA : BEGIN OF ITAB2 OCCURS 0.
    DATA :
           MATL  LIKE LIPS-MATNR,
           QUANT TYPE I,
           UOM   LIKE LIPS-VRKME,
           KUNR  LIKE LIKP-KUNNR.
    DATA : END OF ITAB2.
    DATA : BEGIN OF ITAB3 OCCURS 0.
    DATA : MATL  LIKE LIPS-MATNR,
           QUANT LIKE LIPS-LFIMG,
           UOM   LIKE LIPS-VRKME,
           KUNR  LIKE LIKP-KUNNR.
    DATA : END OF ITAB3.
    DATA : BEGIN OF ITAB_VBELN OCCURS 0.
    DATA : IBLN LIKE VBUK-VBELN.
    DATA : END OF ITAB_VBELN.
    DATA : BEGIN OF DEMANDTAB OCCURS 0.
    DATA : D_MATL LIKE LIPS-MATNR,
           D_MQUANT LIKE LIPS-LFIMG,
           D_MUOM LIKE LIPS-VRKME,
           D_QUANT LIKE LIPS-LFIMG,
           D_UOM LIKE LIPS-VRKME,
           D_KUNR LIKE LIKP-KUNNR.
    DATA : END OF DEMANDTAB.
    DATA : VMATNR LIKE LIPS-MATNR,
           VKUNR  LIKE LIKP-KUNNR,
           VQUANT LIKE LIPS-VRKME.
    DATA : BEGIN OF INVTAB OCCURS 0.
    DATA : IMATL   LIKE LIPS-MATNR,
           IBINLOC LIKE LQUA-LGPLA,
           IBATCH  LIKE LQUA-CHARG,
           IWARSTK LIKE LQUA-VERME,
           IUOM LIKE LQUA-MEINS.
    DATA : END OF INVTAB.
    DATA : BEGIN OF ITABX OCCURS 0.
    DATA : XMATL LIKE LIPS-MATNR,
           XMATDESC LIKE MAKT-MAKTX,
           XQUANT TYPE I,
           XUOM LIKE LIPS-VRKME,
           XBALQ TYPE I.
          EXPAND.
    DATA : END OF ITABX.
    DATA : BEGIN OF ITABMASTER OCCURS 0 .
    DATA : MMATL LIKE LIPS-MATNR,
           MKUNR LIKE LIKP-KUNNR,
           M_KQUANT  TYPE I,
           M_KUOM LIKE LIPS-VRKME,
           MBINLOC LIKE LQUA-LGPLA,
           MBATCH LIKE LQUA-CHARG,
           MWATSTK LIKE LQUA-VERME,
           M_IUOM LIKE LQUA-MEINS.
    DATA : END OF ITABMASTER.
    DATA : BEGIN OF ITABDESC OCCURS 0.
    DATA : MATNR LIKE MAKT-MATNR,
           MATDESC LIKE MAKT-MAKTX.
    DATA : END OF ITABDESC.
    TYPES : BEGIN OF ITABT ,
           FMATL LIKE LIPS-MATNR,
           FINDEX LIKE SY-TABIX,
           FKEY LIKE LIPS-MATNR,
           FMATDESC LIKE MAKT-MAKTX,
           FQUANT LIKE LIPS-LFIMG,
           FUOM LIKE ITAB1-UOM,
           FKUNR LIKE LIKP-KUNNR,
           F_KQUANT LIKE LIPS-LFIMG,"TYPE I,
           F_KUOM LIKE LIPS-VRKME,
           F_BALQUANT LIKE LIPS-LFIMG,"TYPE I,
           FBINLOC LIKE LQUA-LGPLA,
           FBATCH LIKE LQUA-CHARG,
           FWATSTK LIKE LQUA-VERME,
           F_IUOM LIKE LQUA-MEINS ,
           SEL_QUANT type LIPS-LFIMG," corr_1,
           END OF ITABT.
    DATA : BEGIN OF FLAGTAB OCCURS 0 .
    DATA : SEL_QUANT TYPE I , FKEY LIKE LIPS-MATNR.
    DATA : END OF FLAGTAB.
    DATA : ITAB type  ITABT occurs 0 with header line  .
    data : itab_w like line of itab .
    DATA t_layout    type lvc_s_layo.
    DATA: ok_code LIKE sy-ucomm .
    DATA:
         go_grid             TYPE REF TO cl_gui_alv_grid,
         go_custom_container TYPE REF TO cl_gui_custom_container.
    DATA : I_SELECTED_ROWS TYPE LVC_T_ROW,
           W_SELECTED_ROWS TYPE LVC_T_ROW,
           I_MODIFIED TYPE STANDARD TABLE OF ITABT,
           W_MODIFIED TYPE ITABT,
           WA TYPE ITABT.
    *field catalogs -
    DATA : WA_FIELDCAT TYPE lvc_t_fcat with header line.
    data : fcat type  lvc_t_fcat WITH HEADER LINE .
    FIELD-SYMBOLS : <FS_FIELDCAT> TYPE LVC_S_FCAT .
    DATA : V_VALID TYPE C.
    clear fcat.
          CLASS LCL_EVENTS_D0100 DEFINITION
    CLASS LCL_EVENT_receiver DEFINITION.
    PUBLIC SECTION.
    METHODS :
        handle_data_changed         for event data_changed
                             of cl_gui_alv_grid
                            IMPORTING er_data_changed.
    ENDCLASS.
    data : my_application type ref to lcl_event_receiver.
          CLASS LCL_EVENTS_D0100 IMPLEMENTATION
    CLASS LCL_EVENT_receiver IMPLEMENTATION.
    METHOD handle_data_changed.
    DATA: ls_good TYPE lvc_s_modi.
    DATA : L_PLANETYPE TYPE LIPS-ANZSN.
    data : swapper type LIPS-ANZSN .
    LOOP AT er_data_changed->mt_good_cells INTO ls_good.
         CASE ls_good-fieldname.
           WHEN 'SEL_QUANT'.
             CALL METHOD pr_data_changed->get_cell_value
                EXPORTING
                  i_row_id = ls_good-row_id
                  i_fieldname = ls_good-fieldname
                IMPORTING
                  e_value = l_planetype.
    *read table itab into itab_w index  ls_good-row_id.
        swapper = itab_w-f_balquant - l_planetype.
         move swapper to itab_w-f_balquant.
         modify itab FROM itab_w .
       ENDCASE.
    ENDLOOP.
    ENDMETHOD.
    ENDCLASS.
    DATA: g_event_receiver TYPE REF TO lcl_event_receiver.
    INITIALIZATION.
      S_PICDAT-SIGN = 'I'.
      S_PICDAT-OPTION = 'BT'.
      S_PGDAT-SIGN = 'I'.
      S_PGDAT-OPTION = 'BT'.
      S_PICDAT-LOW = SY-DATUM.
      S_PICDAT-HIGH = SY-DATUM + 1.
      APPEND S_PICDAT.
      S_PGDAT-LOW  = SY-DATUM.
      S_PGDAT-HIGH = SY-DATUM + 1.
      APPEND S_PGDAT.
    **--VALIDATIONS--
    AT SELECTION-SCREEN .
      IF  S_ORG IS  initial AND  S_DISCHA IS INITIAL AND S_DIV  IS
    INITIAL AND S_SPOINT  IS initial AND S_SHNUM  IS INITIAL AND S_DENUM  IS
       INITIAL .
        MESSAGE E082(YE) WITH 'AT LEAST ONE FIELD MUST BE ENTERED'.
      ENDIF.
      DATA LV_COUNT TYPE I VALUE 0.
      IF NOT S_ORG IS  initial OR NOT S_DISCHA IS INITIAL OR NOT S_DIV  IS
      INITIAL OR  NOT  S_SPOINT  IS initial.
        lv_COUNT = 1.
      ENDIF.
      IF NOT S_SHNUM  IS INITIAL .
        LV_COUNT = LV_COUNT + 1.
      ENDIF.
      IF NOT S_DENUM  IS INITIAL .
        LV_COUNT = LV_COUNT + 1.
      ENDIF.
      IF LV_COUNT > 1.
        MESSAGE E081(YE) WITH 'Please Enter Only in Block1 Or Block3' .
      endif.
      read table s_PICDAT index 1.
      data: days type i.
      days = s_PICDAT-high  - s_PICDAT-low .
      if days > 2.
        message e080(YE) with 'Range can not be > 2 days'.
      endif.
      read table s_PGDAT index 1.
      data: days2 type i.
      days2 = s_PGDAT-high  - s_PGDAT-low .
      if days2 > 2.
        message e080(YE) with 'Range can not be > 2 days'.
      endif.
    VALIDATIONS FOR FIRST BLOCK---------------------------------------
    *IF S_SHNUM IS INITIAL AND S_DENUM IS INITIAL.
    IF S_ORG IS INITIAL OR S_SPOINT IS INITIAL OR S_DISCHA IS INITIAL OR
    *S_DIV IS INITIAL .
    *MESSAGE E083(YE) WITH 'ALL FIELDS IN BLOCK ONE REQUIRED'.
    ENDIF.
    *ENDIF.
    *--START OF SELECTION--
    START-OF-SELECTION .
      IF NOT S_ORG IS  initial OR NOT S_DISCHA IS INITIAL OR NOT S_DIV  IS
      INITIAL OR  NOT  S_SPOINT  IS initial.
        PERFORM INPUTBLOCK1.
        PERFORM TABPRINT1.
      ENDIF.
      IF NOT S_SHNUM  IS INITIAL .
        PERFORM INPUTBLOCK2 .
        PERFORM TABPRINT1.
      ENDIF .
      IF NOT S_DENUM  IS INITIAL .
        PERFORM INPUTBLOCK3 .
        PERFORM TABPRINT1.
      ENDIF .
      CLEAR ITAB2.
    *LOOP AT ITABX.
       R_MATNR-SIGN = 'I'.
       R_MATNR-OPTION = 'EQ'.
       R_MATNR-LOW = ITABX-XMATL.
       APPEND R_MATNR. CLEAR R_MATNR.
    *ENDLOOP.
      PERFORM WARINVENTORY.
      PERFORM WARMASTERUPLD.
      CALL SCREEN 100.
    *=====================================================
    *&      Module  user_command_0100  input
          text
    MODULE USER_COMMAND_0100 INPUT.
    SAVED_OKCODE = OKCODE.
      S_OKCODE = OKCODE.
      CLEAR OKCODE.
      CASE S_OKCODE.
      WHEN 'EXIT' OR 'BACK' OR 'CANC'.
       LEAVE PROGRAM.
      WHEN OTHERS.
      call method go_grid->check_changed_data
       importing
          e_valid = V_VALID .
      PERFORM SAVE_ITAB.
    endcase.
    case sy-ucomm.
      when 'b_clearall'.
      loop at itab.
      itab-sel_quant = 30.
      modify itab.
      endloop.
      CALL TRANSACTION 'YWMINI'.
       ENDCASE.
      call method go_grid->check_changed_data.
       importing
         e_valid = v_valid.
    *LOOP AT ITAB.
    *IF ITAB-SEL_QUANT NE 0.
    *MOVE ITAB-SEL_QUANT TO FLAGTAB-SEL_QUANT.
    *MOVE ITAB-FKEY TO FLAGTAB-FKEY.
    *COLLECT FLAGTAB.
    *ENDIF.
    *ENDLOOP.
    LOOP AT ITAB.
      LOOP AT FLAGTAB WHERE FKEY = ITAB-FKEY.
      ITAB-F_BALQUANT = ITAB-F_BALQUANT - FLAGTAB-SEL_QUANT.
      MODIFY ITAB.
      ENDLOOP.
    *ENDLOOP.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  STATUS_0100  OUTPUT
          text
    MODULE STATUS_0100 OUTPUT.
    *SET PF-STATUS 'ZSTAT'.
      set pf-status 'STAT'.
    SET TITLEBAR 'WAVEPICK'.
    *call screen 1010  .
      IF go_custom_container IS INITIAL.
        CREATE OBJECT go_custom_container
          EXPORTING container_name = 'ALV_CONTAINER'.
        CREATE OBJECT go_grid
          EXPORTING
            i_parent = go_custom_container.
    set handler  pr_data_changed=>on_data_changed
    *for all instances.
    call method go_grid->register_edit_event
                   exporting
                      i_event_id = cl_gui_alv_grid=>mc_evt_enter.
      CREATE OBJECT g_event_receiver.
      SET HANDLER g_event_receiver->handle_data_changed FOR go_grid.
      PERFORM xclude_toolbar.
      PERFORM CREATE_FIELDCAT.
      PERFORM load_data_into_grid.
    ENDIF.
    else .
    call method my_application->refresh_table_display.
      endif.
    *call method go_grid->register_edit_event
    *exporting
    *i_event_id = cl_gui_alv_grid=>mc_evt_enter.
    *CALL METHOD GO_GRID->REFRESH_TABLE_DISPLAY
    perform load_data_into_grid.
      CLEAR ITAB1.
      READ TABLE ITAB1 .
      PWERKS = ITAB1-WERKS.
      PLGNUM  = ITAB1-LGNUM.
      PVBELN = ITAB1-VBELN.
      PTKNUM = ITAB1-TKNUM.
    ENDMODULE.                 " STATUS_0100  OUTPUT
          FORM INPUTBLOCK1                                              *
    FORM INPUTBLOCK1.
      SELECT LIPSMATNR  LIPSLFIMG LIPSVRKME LIKPKUNNR LIPS~WERKS
       LIPS~LGNUM
       LIPSLGTYP LIPSVBELN  INTO TABLE ITAB1 FROM
       LIPS JOIN LIKP ON LIPSVBELN = LIKPVBELN JOIN VBUK ON LIKP~VBELN =
      VBUK~VBELN   WHERE
      LIKP~VKORG IN S_ORG AND
      LIKP~VTWIV IN S_DISCHA AND
      LIKP~SPAIV IN S_DIV    AND
      LIKP~VSTEL IN S_SPOINT AND
      LIKP~KODAT IN S_PICDAT AND
      LIKP~WADAT IN S_PGDAT  AND
      LIPS~LGTYP = '001' ."    AND
    *VBUK~KOSTK = 'A' .
    ENDFORM .
          FORM INPUTBLOCK2                                              *
    FORM INPUTBLOCK2.
      SELECT LIPSMATNR LIPSLFIMG LIPSVRKME LIKPKUNNR  INTO
      TABLE ITAB1
    FROM LIPS JOIN LIKP ON LIPSVBELN = LIKPVBELN JOIN VTTP ON LIKP~VBELN =
      VTTPVBELN JOIN VBUK ON LIKPVBELN = VBUK~VBELN  WHERE
      VTTP~TKNUM IN S_SHNUM
       AND
      LIKP~KODAT IN S_PICDAT AND
      LIKP~WADAT IN S_PGDAT AND
      VBUK~KOSTK = 'A'.
    ENDFORM.
          FORM INPUTBLOCK3                                              *
    FORM INPUTBLOCK3 .
      SELECT LIPSMATNR LIPSLFIMG LIPSVRKME LIKPKUNNR  INTO
      TABLE ITAB1
    FROM LIPS JOIN LIKP ON LIPSVBELN = LIKPVBELN JOIN VBUK ON LIKP~VBELN =
       VBUKVBELN WHERE LIKPVBELN IN
      S_DENUM
      AND
      LIKP~KODAT IN S_PICDAT AND
      LIKP~WADAT IN S_PGDAT AND
      VBUK~KOSTK = 'A'.
    ENDFORM.
          FORM TABPRINT1                                                *
    FORM TABPRINT1.
      LOOP AT ITAB1 .
        MOVE: ITAB1-MATL TO ITAB2-MATL,
              ITAB1-UOM  TO ITAB2-UOM,
              ITAB1-KUNR TO ITAB2-KUNR,
              ITAB1-QUANT TO ITAB2-QUANT.
        COLLECT ITAB2.
      ENDLOOP.
      LOOP AT ITAB2.
        MOVE ITAB2-MATL TO ITABX-XMATL.
        MOVE ITAB2-QUANT TO ITABX-XQUANT.
        MOVE ITAB2-UOM TO ITABX-XUOM.
        MOVE ITABX-XQUANT TO ITABX-XBALQ.
        COLLECT ITABX.
      ENDLOOP.
      clear ITABX .
      LOOP AT ITABX.
        R_MATNR-SIGN = 'I'.
        R_MATNR-OPTION = 'EQ'.
        R_MATNR-LOW = ITABX-XMATL.
        APPEND R_MATNR. CLEAR R_MATNR.
      ENDLOOP.
      SELECT  MAKTMATNR MAKTMAKTX INTO TABLE ITABDESC FROM MAKT
      WHERE MAKT~MATNR IN R_MATNR .
      DATA  C_DESC LIKE MAKT-MAKTX.
      C_DESC = '0'.
      LOOP AT ITABDESC   .
        IF ITABDESC-MATNR = C_DESC .
          DELETE ITABDESC.
        ELSE .
          C_DESC = ITABDESC-MATNR.
        ENDIF.
      ENDLOOP.
      LOOP AT ITABDESC.
        LOOP AT ITABX WHERE XMATL = ITABDESC-MATNR.
          ITABX-XMATDESC = ITABDESC-MATDESC.
          MODIFY ITABX.
        ENDLOOP.
      ENDLOOP.
      CLEAR ITABX.
    *ENDSELECT.
    ENDFORM.
          FORM WARINVENTORY                                             *
    FORM WARINVENTORY.
    *Select matnr from LQUA
              into LQUA where
                  matnr in r_matnr.
                  endselect.
    *if not r_matnr-low is initial .
    MESSAGE E080(YE) WITH 'NOT IN RANGE'.
    SELECT LQUAMATNR LQUALGPLA LQUACHARG LQUAVERME LQUA~MEINS INTO TABLE
      INVTAB FROM LQUA WHERE LQUA~MATNR
    IN R_MATNR AND LQUAWERKS = ITAB1-WERKS AND LQUALGNUM = ITAB1-LGNUM AND
       LQUA~LGTYP = '001' AND
       NOT LQUA~LGPLA = '000'.
    ENDFORM .
          FORM WARMASTERUPLD                                            *
    FORM WARMASTERUPLD .
      LOOP AT ITAB2.
        DELETE ITAB2.
        LOOP AT INVTAB WHERE IMATL = ITAB2-MATL.
          MOVE:  ITAB2-MATL TO ITABMASTER-MMATL ,
                 ITAB2-KUNR TO ITABMASTER-MKUNR,
                 ITAB2-QUANT TO ITABMASTER-M_KQUANT,
                 ITAB2-UOM TO ITABMASTER-M_KUOM ,
                 INVTAB-IBINLOC TO ITABMASTER-MBINLOC,
                 INVTAB-IBATCH TO ITABMASTER-MBATCH,
                 INVTAB-IWARSTK TO ITABMASTER-MWATSTK,
                 INVTAB-IUOM TO ITABMASTER-M_IUOM.
          APPEND ITABMASTER.
          DELETE INVTAB.
          CLEAR INVTAB.
          CLEAR ITAB2.
          EXIT.
        ENDLOOP.
      ENDLOOP.
      IF NOT INVTAB[] IS INITIAL.
        LOOP AT INVTAB.
          MOVE:  INVTAB-IMATL TO ITABMASTER-MMATL,
                 INVTAB-IBINLOC TO ITABMASTER-MBINLOC,
                 INVTAB-IBATCH TO ITABMASTER-MBATCH,
                 INVTAB-IWARSTK TO ITABMASTER-MWATSTK,
                 INVTAB-IUOM TO ITABMASTER-M_IUOM.
          ITABMASTER-MKUNR = SPACE.
          ITABMASTER-M_KQUANT = SPACE.
          ITABMASTER-M_KUOM = SPACE.
          APPEND ITABMASTER.
        ENDLOOP.
      ENDIF.
    *-- BEGIN ITAB UPLOAD--
      DATA : MATCHK LIKE ITABX-XMATL VALUE 0.
      LOOP AT ITABX.
    DELETE ITAB2.
        LOOP AT ITABMASTER   WHERE MMATL = ITABX-XMATL.
    IF ITABX-XMATL NE MATCHK .
         IF ITABMASTER-MMATL = ITABX-XMATL.
            MOVE:
                  ITABX-XMATL TO ITAB-FMATL,
                  ITABMASTER-MMATL TO ITAB-FKEY,
                  ITABX-XMATDESC TO ITAB-FMATDESC,
                  ITABX-XQUANT TO ITAB-FQUANT,
                  ITABX-XUOM TO ITAB-FUOM ,
                  ITABX-XBALQ TO ITAB-F_BALQUANT.
            MATCHK = ITABX-XMATL.
          ELSE .
            MOVE ITABMASTER-MMATL TO ITAB-FKEY.
            ITAB-FMATL = SPACE  .
            ITAB-FMATDESC = SPACE.
            ITAB-FQUANT = SPACE .
            ITAB-FUOM = SPACE .
            ITAB-F_BALQUANT = SPACE.
          ENDIF.
          MOVE:
                  ITABMASTER-MKUNR TO ITAB-FKUNR,
                  ITABMASTER-M_KQUANT TO ITAB-F_KQUANT,
                  ITABMASTER-M_KUOM TO ITAB-F_KUOM,
                  ITABMASTER-MBINLOC TO ITAB-FBINLOC,
                  ITABMASTER-MBATCH TO ITAB-FBATCH,
                  ITABMASTER-MWATSTK TO ITAB-FWATSTK,
                  ITABMASTER-M_IUOM TO ITAB-F_IUOM.
          ITAB-FINDEX = SY-TABIX.
          ITAB-SEL_QUANT = 0.
          APPEND ITAB.
          DELETE INVTAB.
          CLEAR INVTAB.
          CLEAR ITABX.
    *EXIT.
        ENDLOOP.
      ENDLOOP.
    *----- END ITAB UPLOAD--
    *TEST----
    *LOOP AT ITABMASTER.
    DELETE ITAB2.
    LOOP AT ITABX  WHERE XMATL = ITABMASTER-MMATL.
    **IF ITABX-XMATL NE MATCHK .
    *MOVE:
          ITABX-XMATL TO ITAB-FMATL,
          ITABX-XMATDESC TO ITAB-FMATDESC,
          ITABX-XQUANT TO ITAB-FQUANT,
          ITABX-XUOM TO ITAB-FUOM ,
          ITABX-XBALQ TO ITAB-F_BALQUANT,
           ITABMASTER-MKUNR TO ITAB-FKUNR,
           ITABMASTER-M_KQUANT TO ITAB-F_KQUANT,
           ITABMASTER-M_KUOM TO ITAB-F_KUOM,
           ITABMASTER-MBINLOC TO ITAB-FBINLOC,
           ITABMASTER-MBATCH TO ITAB-FBATCH,
           ITABMASTER-MWATSTK TO ITAB-FWATSTK,
           ITABMASTER-M_IUOM TO ITAB-F_IUOM.
           APPEND ITAB.
          DELETE INVTAB.
          CLEAR INVTAB.
          CLEAR ITABX.
    **EXIT.
    ENDLOOP.
    *ENDLOOP.
    *SORT ITAB BY FMATL.
    *END TEST----
    ENDFORM.
          FORM load_data_into_grid                                      *
    FORM load_data_into_grid.
      CALL METHOD go_grid->set_table_for_first_display
        EXPORTING
          IS_LAYOUT                     = t_layout
        i_structure_name = 'ITABT'
        IT_TOOLBAR_EXCLUDING    = t_toolbar[]
        CHANGING
        it_outtab        = ITAB[]
        IT_FIELDCATALOG  = fcat[]
    *call method go_grid->refresh_table_display
    *EXPORTING
    *i_event_id = cl_gui_alv_grid=>mc_evt_modified.
    i_structure_name = 'ITABT'
    CHANGING
    IT_OUTTAB = ITAB[]
    ENDFORM.
    form create_fieldcat.
    CLEAR wa_fieldcat.
    WA_FIELDCAT-REPTEXT = 'MATERIAL'.
    WA_FIELDCAT-COLTEXT = 'MATERIAL'.
    wa_fieldcat-fieldname = 'FMATL'.
    wa_fieldcat-col_pos =  1.
    wa_FIELDCAT-ref_table = 'ITAB'.
    wa_fieldcat-outputlen = 8.
    APPEND wa_fieldcat to fcat .
    CLEAR wa_fieldcat.
    WA_FIELDCAT-REPTEXT = 'MATERIAL'.
    WA_FIELDCAT-COLTEXT = 'MATERIAL DESCRIPTION'.
    wa_fieldcat-fieldname = 'FMATDESC'.
    wa_fieldcat-col_pos =  2.
    wa_FIELDCAT-ref_table = 'ITAB'.
    wa_fieldcat-outputlen = 20.
    APPEND wa_fieldcat to fcat .
    CLEAR wa_fieldcat.
    WA_FIELDCAT-COLTEXT = 'QUANTITY'.
    wa_fieldcat-fieldname = 'FQUANT'.
    wa_fieldcat-col_pos =  8.
    wa_FIELDCAT-ref_table = 'ITAB'.
    wa_fieldcat-outputlen = 8.
    WA_FIELDCAT-QUANTITY = 'VRKME'.
    WA_FIELDCAT-QFIELDNAME = 'VRKME'.
    APPEND wa_fieldcat to fcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'FUOM'.
    wa_fieldcat-col_pos =  4.
    wa_FIELDCAT-ref_table = 'ITAB'.
    WA_FIELDCAT-COLTEXT = 'UOM'.
    wa_fieldcat-outputlen = 4.
    APPEND wa_fieldcat to fcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'FKUNR'.
    wa_fieldcat-col_pos =  5.
    wa_FIELDCAT-ref_table = 'ITAB'.
    WA_FIELDCAT-COLTEXT = 'CUSTOMER'.
    wa_fieldcat-outputlen = 8.
    APPEND wa_fieldcat to fcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'F_KQUANT'.
    wa_fieldcat-col_pos =  6.
    wa_FIELDCAT-ref_table = 'ITAB'.
    WA_FIELDCAT-COLTEXT = 'QUANTITY'.
    wa_fieldcat-outputlen = 8.
    WA_FIELDCAT-QUANTITY = 'VRKME'.
    WA_FIELDCAT-QFIELDNAME = 'VRKME'.
    APPEND wa_fieldcat to fcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'F_KUOM'.
    wa_fieldcat-col_pos =  7.
    wa_FIELDCAT-ref_table = 'ITAB'.
    WA_FIELDCAT-COLTEXT = 'UOM'.
    wa_fieldcat-outputlen = 4.
    APPEND wa_fieldcat to fcat.
    CLEAR wa_fieldcat.
    WA_FIELDCAT-COLTEXT = 'BALANCE QTY TO PICK'.
    wa_fieldcat-fieldname = 'F_BALQUANT'.
    wa_fieldcat-col_pos =  8.
    wa_FIELDCAT-ref_table = 'ITAB'.
    wa_fieldcat-outputlen = 8.
    WA_FIELDCAT-QUANTITY = 'VRKME'.
    WA_FIELDCAT-QFIELDNAME = 'VRKME'.
    APPEND wa_fieldcat to fcat .
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'FBINLOC'.
    wa_fieldcat-col_pos =  9.
    wa_FIELDCAT-ref_table = 'ITAB'.
    WA_FIELDCAT-COLTEXT = 'BIN LOCATION'.
    wa_fieldcat-outputlen = 8.
    APPEND wa_fieldcat to fcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'FBATCH'.
    wa_fieldcat-col_pos =  10.
    wa_FIELDCAT-ref_table = 'ITAB'.
    WA_FIELDCAT-COLTEXT = 'BATCH'.
    wa_fieldcat-outputlen = 8.
    APPEND wa_fieldcat to fcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'FWATSTK'.
    wa_fieldcat-col_pos =  11.
    wa_FIELDCAT-ref_table = 'ITAB'.
    WA_FIELDCAT-COLTEXT = 'WAREHOUSE STK'.
    wa_fieldcat-outputlen = 8.
    APPEND wa_fieldcat to fcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'F_IUOM'.
    wa_fieldcat-col_pos =  12.
    wa_FIELDCAT-ref_table = 'ITAB'.
    WA_FIELDCAT-COLTEXT = 'UOM'.
    wa_fieldcat-outputlen = 4.
    APPEND wa_fieldcat to fcat.
    CLEAR wa_fieldcat.
    wa_fieldcat-fieldname = 'SEL_QUANT'.
    wa_fieldcat-col_pos =  13.
    wa_FIELDCAT-ref_table = 'ITAB'.
    WA_FIELDCAT-COLTEXT = 'SELECTED QTY'.
    wa_fieldcat-edit    =  'X'.
    wa_fieldcat-outputlen = 8.
    WA_FIELDCAT-QUANTITY = 'VRKME'.
    WA_FIELDCAT-QFIELDNAME = 'VRKME'.
    APPEND wa_fieldcat to fcat.
    *LOOP AT FCAT ASSIGNING <FS_FIELDCAT>.
    *CASE <FS_FIELDCAT>-FIELDNAME.
    *WHEN 'SEL_QUANT'.
    *<FS_FIELDCAT>-EDIT = 'X'.
    *ENDCASE.
    *ENDLOOP.
    *CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
    *EXPORTING
    *I_STRUCTURE_NAME = 'ITABT'
    *CHANGING
    *CT_FIELDCATALOG = FCAT.
    *LOOP AT FCAT ASSIGNING <FS_FIELDCAT>.
    *CASE <FS_FIELDCAT>-FIELDNAME.
    *WHEN 'SEL_QUANT'.
    *<FS_FIELDCAT>-EDIT = 'X'.
    *ENDCASE.
    *ENDLOOP.
    endform.
    form xclude_toolbar .
    t_toolbar = '&DETAIL'.
    append t_toolbar.
    t_toolbar = '&&SEP00'.
    append t_toolbar.
    t_toolbar = '&&SEP01'.
    append t_toolbar.
    t_toolbar = '&&SEP02'.
    append t_toolbar.
    t_toolbar = '&SORT_ASC'.
    append t_toolbar.
    t_toolbar = '&SORT_DSC'.
    append t_toolbar.
    t_toolbar = '&FIND'.
    append t_toolbar.
    t_toolbar = '&MB_FILTER'.
    append t_toolbar.
    t_toolbar = '&&SEP04'.
    append t_toolbar.
    t_toolbar = '&MB_SUM'.
    append t_toolbar.
    t_toolbar = '&MB_SUB_TOTAL'.
    append t_toolbar.
    t_toolbar = '&PRINT_BACK'.
    append t_toolbar.
    t_toolbar = '&MB_VIEW'.
    append t_toolbar.
    t_toolbar = '&MB_EXPORT'.
    append t_toolbar.
    t_toolbar = '&GRAPH'.
    append t_toolbar.
    t_toolbar = '&COLO'.
    append t_toolbar.
    t_toolbar = '&&SEP06'.
    append t_toolbar.
    t_toolbar = '&&SEP07'.
    append t_toolbar.
    t_toolbar = '&INFO'.
    append t_toolbar.
    t_toolbar = '&&SEP03'.
    append t_toolbar.
    endform.
    FORM SAVE_ITAB.
    *CALL METHOD GO_GRID->GET_SELECTED_ROWS
    *IMPORTING
    *ET_INDEX_ROWS = I_SELECTED_ROWS.
    *LOOP AT I_SELECTED_ROWS INTO W_SELECTED_ROWS.
    *READ TABLE ITAB INTO WA INDEX W_SELECTED_ROWS-INDEX.
    *IF SY-SUBRC EQ 0.
    *MOVE-CORRESPONDING WA TO W_MODIFIED.
    *APPEND W_MODIFIED TO I_MODIFIED.
    *ENDIF.
    *ENDLOOP.
    *MODIFY ITAB FROM TABLE I_MODIFIED.
    *ENDFORM.
    ENDFORM.

  • After migration EP 5.0 to EP 6.0 SR1 Run Time Error Occured

    Hi,
    After all migration processes (except the post-migration steps ) we bounced the portal and got a run time error. We checked the error log and it was : cannot get user management factory class. We already reviewed two oss notes which were 728075, 713210 and couldn't fix our problem. Here is the error message and the information about our system.
    From   EP 5.0 SP6 P1 HF8   to   EP 6.0 SP9 Patch 8
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    The exception was logged. Inform your system administrator..
    Exception id: 04:10_08/09/05_0002_9436550
    See the details for the exception ID in the log file
    Does anyone have any idea? please let me know.
    Thanks
    Serkan
    Message was edited by: Serkan Tumer

    Hi Serkan
    Please Check the log file for the exact nature of the error. You can find the log file in this location on your server.
    <Directory>:\usr\sap\CP1\JC00\j2ee\cluster\server0\log\DefaultTrace
    Do let us know what error you are facing.
    Warm Regards
    Priya

  • Portal run time error while accessing R/3 transaction code

    Hi all,
    We have configured R/3 system and BW system to the Portal.
    In R/3 system we have user ids named "ADMIN" and "FIAR" . ADMIN is for adminstrator and FIAR is for FIAR module. I created the same user ids in Portal , for ADMIN i have assigned ADMINSTRATOR role and for FIAR BI as it is also for our BW system.
    But when iam checking the r/3 iviews for FIAR , it shows PORTAL RUN TIME ERROR , while for ADMIN it works fine.
    Can any body have some ideas about this , pts will be assigned,
    Thanks ..

    Have you collected the error log details which looks similar to the below one??
    "The initial exception that caused the request to fail was:
    User has no RFC authorization for function group SDIFRUNTIME.
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: User has no RFC authorization for function group SDIFRUNTIME.
    at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:455)
    at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1442)
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3979)
    at com.sap.mw.jco.JCO$Client.execute(JCO.java:3416)
    at com.sap.mw.jco.JCO$Repository.execute(JCO.java:20471)"

  • [ADI]Budget upload fails with "A run-time error has occured:...

    제품 : FIN_GL
    작성날짜 : 2003-11-20
    [ADI]Budget upload fails with "A run-time error has occured:...
    ===========================
    PURPOSE
    아래의 오류사항에 대한 해결
    Budget upload fails with "A run-time error has occured:current task will terminate".
    Problem Description
    ADI를 이용하여 GL의 Budget자료를 upload시 오류
    Workaround
    Solution Description
    Client PC에서 regedit를 이용하여 NLS_LANG값들을 applications의 NLS_LANG과 같은 값으로 바꿔주세요
    Reference Documents
    -------------------

    Hi Krishna
    Thanks for your reply, it was while trying to "edit" the page containing the shockwave file however it’s a bit of a strange one, as When I reposted this post , I had been experiencing the problem for about a week.  I then went on leave for a week and when I returned it started working again???.  I queried with my IT department if anything had changed or been updated but they could not think of anything.
    So for now it's working, but if you have any thoughts on what may of happened I would appreciate any suggestions?
    Thanks again
    Luke

Maybe you are looking for