Urgent: reagrding output display preoblem

Hi,
I had made dis report adn when i execute it does not display the all changes made to a purticular material. As i made the report reagrding the changes made to a purticular material in a purticular period. here is d code:-
REPORT ZNEW01 no standard page heading LINE-SIZE 310.
TABLES: CDHDR,CDPOS.
DATA: BEGIN OF ITAB OCCURS 0,
      OBJECTCLAS LIKE CDHDR-OBJECTCLAS,
      OBJECTID LIKE CDHDR-OBJECTID,
      USERNAME LIKE CDHDR-USERNAME,
      UDATE LIKE CDHDR-UDATE,
      UTIME LIKE CDHDR-UTIME,
      TCODE LIKE CDHDR-TCODE,
      CHANGE_IND LIKE CDHDR-CHANGE_IND,
      END OF ITAB.
DATA: BEGIN OF ITAB1 OCCURS 0,
      OBJECTCLAS LIKE CDPOS-OBJECTCLAS,
      OBJECTID LIKE CDPOS-OBJECTID,
      FNAME LIKE CDPOS-FNAME,
      CHNGIND LIKE CDPOS-CHNGIND,
      VALUE_OLD LIKE CDPOS-VALUE_OLD,
      VALUE_NEW LIKE CDPOS-VALUE_NEW,
      END OF ITAB1.
SELECT-OPTIONS: M_DATE FOR CDHDR-UDATE,
                U_ID FOR CDHDR-CHANGE_IND.
SELECT BOBJECTCLAS BOBJECTID BUSERNAME BUDATE BUTIME BTCODE B~CHANGE_IND INTO
TABLE ITAB
FROM CDHDR AS B WHERE B~OBJECTCLAS = 'MATERIAL' AND UDATE IN M_DATE AND CHANGE_IND IN U_ID.
Check not itab[] is initial.
SELECT OBJECTCLAS OBJECTID FNAME CHNGIND VALUE_OLD VALUE_NEW INTO TABLE
ITAB1 FROM CDPOS
FOR ALL ENTRIES IN ITAB WHERE OBJECTID = itab-objectid and objectclas = ITAB-OBJECTCLAS .
*SELECT OBJECTCLAS OBJECTID FNAME CHNGIND VALUE_OLD VALUE_NEW INTO TABLE
*ITAB1 FROM CDPOS
*WHERE OBJECTID = itab-objectid and objectclas = ITAB-OBJECTCLAS .
ULINE.
LOOP AT ITAB.
WRITE:/ ITAB-OBJECTID,22 ITAB-USERNAME,ITAB-UDATE,ITAB-UTIME,ITAB-TCODE.
LOOP AT ITAB1 WHERE OBJECTCLAS = ITAB-OBJECTCLAS AND OBJECTID = ITAB-OBJECTID.
WRITE: 60 ITAB1-FNAME,ITAB1-CHNGIND,ITAB1-VALUE_OLD(40),ITAB1-VALUE_NEW(40).
ENDLOOP.
ENDLOOP.
PLZZ HELP ME OUT AS HELP WILL BE DEFINATELY REWRDED.
Edited by: ric .s on Jan 31, 2008 9:11 AM

hi,
i give u example of that ,if there is material 10000014 and it had been changed by 3 differrent users whic is disaplaying correct but when i  click it in MM04 it also displays the correct value dat dese are changed by 3 persons but when i double click that for 1 st user it shows details that these are changes made but when i check my report it is not displaying allthe fields which had been changed.
plzz help me out as it is really urgent.
TABLES: CDHDR,CDPOS.
DATA: BEGIN OF ITAB OCCURS 0,
      OBJECTCLAS LIKE CDHDR-OBJECTCLAS,
      OBJECTID LIKE CDHDR-OBJECTID,
      USERNAME LIKE CDHDR-USERNAME,
      UDATE LIKE CDHDR-UDATE,
      UTIME LIKE CDHDR-UTIME,
      TCODE LIKE CDHDR-TCODE,
      CHANGENR LIKE CDHDR-CHANGENR,
      END OF ITAB.
DATA: BEGIN OF ITAB1 OCCURS 0,
      OBJECTCLAS LIKE CDPOS-OBJECTCLAS,
      OBJECTID LIKE CDPOS-OBJECTID,
      FNAME LIKE CDPOS-FNAME,
      CHNGIND LIKE CDPOS-CHNGIND,
      VALUE_OLD LIKE CDPOS-VALUE_OLD,
      VALUE_NEW LIKE CDPOS-VALUE_NEW,
      CHANGENR LIKE CDPOS-CHANGENR,
      END OF ITAB1.
*SELECT-OPTIONS: M_DATE FOR CDHDR-UDATE.
               U_ID FOR CDHDR-CHANGE_IND.
SELECT BOBJECTCLAS BOBJECTID BUSERNAME BUDATE BUTIME BTCODE B~CHANGE_IND INTO
TABLE ITAB
FROM CDHDR AS B WHERE B~OBJECTCLAS = 'MATERIAL'.
AND UDATE IN M_DATE.
AND CHANGE_IND IN U_ID.
Check not itab[] is initial.
SELECT OBJECTCLAS OBJECTID FNAME CHNGIND VALUE_OLD VALUE_NEW CHANGENR INTO TABLE
ITAB1 FROM CDPOS
FOR ALL ENTRIES IN ITAB WHERE OBJECTID = itab-objectid AND objectclas = ITAB-OBJECTCLAS.
*SELECT OBJECTCLAS OBJECTID FNAME CHNGIND VALUE_OLD VALUE_NEW INTO TABLE
*ITAB1 FROM CDPOS
*WHERE OBJECTID = itab-objectid and objectclas = ITAB-OBJECTCLAS .
ULINE.
LOOP AT ITAB.
WRITE:/ ITAB-OBJECTID,22 ITAB-USERNAME,ITAB-UDATE,ITAB-UTIME,ITAB-TCODE.
LOOP AT ITAB1 WHERE OBJECTCLAS = ITAB-OBJECTCLAS AND OBJECTID = ITAB-OBJECTID AND CHANGENR = ITAB-CHANGENR.
WRITE: 60 ITAB1-FNAME,ITAB1-CHNGIND,ITAB1-VALUE_OLD(40),ITAB1-VALUE_NEW(40).
ENDLOOP.
ENDLOOP.
DATA: BEGIN OF ITAB OCCURS 0,
      MATNR LIKE MSTA-MATNR,
      LAEDA LIKE MSTA-LAEDA,
      AENAM LIKE MSTA-AENAM,
      STATM LIKE MSTA-STATM,
      WERKS LIKE MSTA-WERKS,
      PSTAT LIKE MARA-PSTAT,
      END OF ITAB.
      SELECT AMATNR ALAEDA AAENAM ASTATM AWERKS BPSTAT INTO TABLE ITAB
      FROM MSTA AS A INNER JOIN MARA AS B ON BMATNR = AMATNR.
      LOOP AT ITAB.
      WRITE: / ITAB-MATNR,ITAB-LAEDA,ITAB-AENAM,ITAB-STATM,ITAB-WERKS.
      ENDLOOP.
Edited by: ric .s on Jan 31, 2008 10:59 AM

Similar Messages

  • Urgent: regarding output display problem

    hi,
    i had made dis report for displaying changes made to a purticular material in a purticular month.
    d poblem is dis when i check a materail in MM04 which use to display a change made to a single material and when i check further that what changes had made it shows 4 changes but when i check my report it shows only 2 changes had been made.
    plzz help me out as help will be definately rewarded.
    last time i asked in dis forum not much help was provided.
    here is d code:-
    REPORT ZNEW01 no standard page heading LINE-SIZE 310.
    TABLES: CDHDR,CDPOS.
    DATA: BEGIN OF ITAB OCCURS 0,
    OBJECTCLAS LIKE CDHDR-OBJECTCLAS,
    OBJECTID LIKE CDHDR-OBJECTID,
    USERNAME LIKE CDHDR-USERNAME,
    UDATE LIKE CDHDR-UDATE,
    UTIME LIKE CDHDR-UTIME,
    TCODE LIKE CDHDR-TCODE,
    CHANGE_IND LIKE CDHDR-CHANGE_IND,
    END OF ITAB.
    DATA: BEGIN OF ITAB1 OCCURS 0,
    OBJECTCLAS LIKE CDPOS-OBJECTCLAS,
    OBJECTID LIKE CDPOS-OBJECTID,
    FNAME LIKE CDPOS-FNAME,
    CHNGIND LIKE CDPOS-CHNGIND,
    VALUE_OLD LIKE CDPOS-VALUE_OLD,
    VALUE_NEW LIKE CDPOS-VALUE_NEW,
    END OF ITAB1.
    SELECT-OPTIONS: M_DATE FOR CDHDR-UDATE,
    U_ID FOR CDHDR-CHANGE_IND.
    SELECT BOBJECTCLAS BOBJECTID BUSERNAME BUDATE BUTIME BTCODE B~CHANGE_IND INTO
    TABLE ITAB
    FROM CDHDR AS B WHERE B~OBJECTCLAS = 'MATERIAL' AND UDATE IN M_DATE AND CHANGE_IND IN U_ID.
    Check not itab[] is initial.
    SELECT OBJECTCLAS OBJECTID FNAME CHNGIND VALUE_OLD VALUE_NEW INTO TABLE
    ITAB1 FROM CDPOS
    FOR ALL ENTRIES IN ITAB WHERE OBJECTID = itab-objectid and objectclas = ITAB-OBJECTCLAS .
    *SELECT OBJECTCLAS OBJECTID FNAME CHNGIND VALUE_OLD VALUE_NEW INTO TABLE
    *ITAB1 FROM CDPOS
    *WHERE OBJECTID = itab-objectid and objectclas = ITAB-OBJECTCLAS .
    ULINE.
    LOOP AT ITAB.
    WRITE:/ ITAB-OBJECTID,22 ITAB-USERNAME,ITAB-UDATE,ITAB-UTIME,ITAB-TCODE.
    LOOP AT ITAB1 WHERE OBJECTCLAS = ITAB-OBJECTCLAS AND OBJECTID = ITAB-OBJECTID.
    WRITE: 60 ITAB1-FNAME,ITAB1-CHNGIND,ITAB1-VALUE_OLD(40),ITAB1-VALUE_NEW(40).
    ENDLOOP.
    ENDLOOP.

    hey ric
    i have tested ur code
    i think u have got a problem with the selection criteria "date"
    because i have cross checked the code you have developed and through the transaction
    it is impeccably right
    i think the selection of date in your report should be the range of dates in which they have been modfiied/changed
    if satisfied plz do reward
    regards
    samarendra

  • Urgent :- Sending output to SAP User's inbox as Excel Attachment.

    Hi,
    This is urgent requirement
    Requirement Description in breif :-
    1.I have a report and but when run in background, it should create an excel file and should be sent as attachment to sap inbox of the same user who is executing the report.
    2.I have tried all most all function modules. the limitations were some of the F.M are not supported in background mode (which the sap it self uses) And I could able to send data  to excel excel file only upto 255 chars per record. i.e these F.M's are allowing me to send a internal table but every record of 255 chars only.
    3.Which is not sufficient to send my ITAB contents. and contents after 255 are truncating.
    Sending output of report in Excel Format ,in Background

    Hi srinivas,
    check this thread
    Convert output display to Excel file and Email to a set of users
    Regards,
    Raj

  • Help on output Display

    Help on output Display
    Thanks in Advance
    ID ROUTE STRT_NAME BEGIN_DESCRIPTION END_DESCRIPTION OVERLAP BEG_MP END_MP Hierarchy
    100899 CR ELM AVE EXT FUERA BUSH RD ELM AVE 1551 0 0.46 3
    100899 CR ELM AVE ELM AVE RT 910A 1551 0.46 0.95 3
    100899 CR ELM AVE ELM AVE DELMAR BYPASS 1551 0.46 0.83 3
    100290 NY32 ELM AVE EXT RT 910A FEURA BUSH RD ELM AVE 1551 16.85 17.31 1
    100290 NY32 ELM AVE ELM AVE DELMAR BYPASS 1551 17.31 17.68 1
    My output will be Based on Hierarchy Max valuewhich is "3"
    ID = Hierarchy Max value 3 =(100899)
    ROUTE = Hierarchy Min Value which is "NY32"
    STRT NAME = Hierarchy Max value (3) and Min of Beg_MP of Hierarchy Max value(3) = ELM AVE EXT
    Begin Description = Hierarchy Max value (3) and Min of Beg_MP (0) of Hierarchy Max value(3) = FUERA BUSH RD
    End_description =Hierarchy Max value (3) and Max of Beg_MP (0.95) of Hierarchy Max value(3) = RT 910A
    Beg_MP = Hierarchy Max value (3) and Min of Beg_MP (0) of Hierarchy Max value(3) =0
    end_mp = Hierarchy Max value (3) and Max of Beg_MP (0.95) of Hierarchy Max value(3) = 0.95
    ID ROUTE STRT_NAME BEGIN_DESCRIPTION END_DESCRIPTION BEG_MP END_MP
    100899 NY32 ELM AVE EXT FUERA BUSH RD RT 910A 0 0.95

    CREATE TABLE TABLE_query(ID NUMBER,ROUTE VARCHAR2(30),STR_NAME VARCHAR2(30), BEGIN_DESCRIPTION VARCHAR2(300),END_DESCRIPTION VARCHAR2(300),BEG_MP NUMBER,END_MP NUMBER,HIERARCHY NUMBER,overlap number);
    INSERT INTO TABLE_query(ID ,ROUTE,STR_NAME, BEGIN_DESCRIPTION,END_DESCRIPTION,BEG_MP,END_MP ,HIERARCHY,overlap)
    values(100899,'CR','ELM AVE EXT','FUERA BUSH RD','ELM AVE',0,0.46,3,1551);
    INSERT INTO TABLE_query(ID ,ROUTE,STR_NAME, BEGIN_DESCRIPTION,END_DESCRIPTION,BEG_MP,END_MP ,HIERARCHY,overlap)
    values(100899,'CR','ELM AVE','ELM AVE','DELMAR BYPASS',0.46,0.95,3,1551);
    INSERT INTO TABLE_query(ID ,ROUTE,STR_NAME, BEGIN_DESCRIPTION,END_DESCRIPTION,BEG_MP,END_MP ,HIERARCHY,overlap)
    values(100899,'CR','ELM AVE','ELM AVE','DELMAR BYPASS',0.46,0.83,3,1551);
    INSERT INTO TABLE_query(ID ,ROUTE,STR_NAME, BEGIN_DESCRIPTION,END_DESCRIPTION,BEG_MP,END_MP ,HIERARCHY,overlap)
    values(100290,'NY32','ELM AVE EXT','RT 910A FEURA BUSH RD','ELM AVE',16.85,17.31,1,1551);
    INSERT INTO TABLE_query(ID ,ROUTE,STR_NAME, BEGIN_DESCRIPTION,END_DESCRIPTION,BEG_MP,END_MP ,HIERARCHY,overlap)
    values(100290,'NY32','ELM AVE','ELM AVE','DELMAR BYPASS',17.31,17.68,1,1551);
    ID     ROUTE     STR_NAME     BEGIN_DESCRIPTION     END_DESCRIPTION     BEG_MP     END_MP     HIERARCHY     OVERLAP
    100899     CR     ELM AVE EXT     FUERA BUSH RD     ELM AVE     0     0.46     3     1551
    100899     CR     ELM AVE     ELM AVE     DELMAR BYPASS     0.46     0.95     3     1551
    100899     CR     ELM AVE     ELM AVE     DELMAR BYPASS     0.46     0.83     3     1551
    100290     NY32     ELM AVE EXT     RT 910A FEURA BUSH RD     ELM AVE     16.85     17.31     1     1551
    100290     NY32     ELM AVE     ELM AVE     DELMAR BYPASS     17.31     17.68     1     1551
    My output will be Based on Hierarchy Max valuewhich is "3"                         
    ID = Hierarchy Max value 3 =(100899)                                        
    ROUTE = Hierarchy Min Value which is "NY32"                                        
    STRT NAME = Hierarchy Max value (3) and Min of Beg_MP of Hierarchy Max value(3) = ELM AVE EXT                                        
    Begin Description = Hierarchy Max value (3) and Min of Beg_MP (0) of Hierarchy Max value(3) = FUERA BUSH RD                                        
    End_description =Hierarchy Max value (3) and Max of Beg_MP (0.95) of Hierarchy Max value(3) = DELMAR BYPASS                                        
    Beg_MP = Hierarchy Max value (3) and Min of Beg_MP (0) of Hierarchy Max value(3) =0                                        
    end_mp = Hierarchy Max value (3) and Max of Beg_MP (0.95) of Hierarchy Max value(3) = 0.95                                        
    ID     ROUTE     STRT_NAME     BEGIN_DESCRIPTION     END_DESCRIPTION     BEG_MP     END_MP          
    100899     NY32     ELM AVE EXT     FUERA BUSH RD     DELMAR BYPASS     0     0.95          
    I figured out how to get id,beg_mp and end_mp
    Can anyone help me getting the rest of data coumns please
    --route,str_name,begin_description,end_description,beg_mp,end_mp,hierarchy,
    select distinct max(id) keep (dense_rank last order by hierarchy) over (partition by overlap) ,
    min(beg_mp) keep (dense_rank last order by hierarchy) over (partition by overlap) beg_mp,
         max(end_mp) keep (dense_rank last order by hierarchy) over (partition by overlap) end_mp                              
    from table_query

  • WBS element field to Depreciation Simulation Report  output display

    Hi SAP Experts,
    We need to Add the WBS element field to Depreciation Simulation Report  output display (S_ALR_87012936)
    Could please give your valuable inputs
    Thanks
    Hari Pothula

    HI Javed,
    We have capitalized with WBS element but not displaying in simulation report.
    All configurations done in in ACSET and activation Account assignment objects
    Thanks
    Hari

  • How to redirect the output display on Ultra 5 box.

    Hello,
    Good day to you.
    I have issues with redirecting display output to my console server (which is configured with cyclades switch) on a newly installed solaris 10, Ultra 5 box.
    I could access the output display on the monitor when I connect it directly to the serial port. But I also have my parallel port connected to cyclades switch which is primarily being used for accessing multiple servers thro' one single console server.
    When I try to access my ultra 5 box thro' console server, the display not getting redirected over there..I did checked the port from cyclades switch front, it did work well with other machines.
    Looks like some work needs to be done at Ultra 5 box level so that the parallel port can send output signals to the respective port on cyclades switch and consequently to the console server.
    Any thoughts ??
    Thanks.

    Hi,
    Good day to you.
    Apologize for quoting "Parallel" port. It is a in-built 25pin serial connector placed next to regular 15 pin serial port.
    Just to make a point here, this 25 pin serial connector has an external converter attached with other side having RJ45 jack.
    CAT5 cable connected between switch port to this RJ45 jack.
    I did tested this converter with another machine and could able to access the display on my console server. So it seems to be the connectivity from serial port to switch port works fine.
    Adding to that, this ultra 5 box with the current connectivity set up was working fine until I rebuild this machine. I was very well accessing this box thro my console server. There was no changes done except rebuilding the operating system.
    I think some work needs to be done at the ultra 5 box level to get this 25pin serial connector to act.
    Thanks.

  • Problem In report output display when i run in the background

    Hi,
    In a classical report i am printing around 17 fields  the width of the report out put is around 800 characters.
    If i run  the report in the  fore ground it running perfectly. But the thing is when i give large selection is it GETTING ' TIMED OUT ' as it is running more than an Hour.
    so i wanted to run it in the back ground to avoid TIME OUT problems.
    But when i run in the backgroud   i am not getting  full  out put in the SPOOL request(SIZE of the report output may causing the problem) .
    Pls come up with some solutions
    Thanks in advance

    Try increasing the spool length..
    Refer this link for doing so.
    Spool List output display > 255 char when the rpt is run in Background
    Thanks
    mahesh

  • For output display report is final_internal table or structure in wd ABAP?

    Hi all,
    for output display report is final_internal table or structure in wd ABAP?
    in wd java output display report -.> CALLING rfc and that RFC OUTPUT table
    finally in internal table is assigned to STRUCTURE .Same procdure?
    Thanks,
    RAMA

    Dear Madhu,
    thanks for guidence!
    its showing popup tht this BADI ( ME_CHANGE_OUTTAB_CUS ) is only use for "SAP Internal  use".
    Regards,
    Praphull

  • Bold font in report output display

    Dear All,
    Will any one let me know how to set BOLD font in the report output display?
    Thanks,
    Ranjan

    <b>u cannot use this in 4.7</b>
    REPORT ZFONT NO STANDARD PAGE HEADING LINE-SIZE 80 LINE-COUNT 65.
    Start of print-control
    NEW-PAGE PRINT ON.
    PRINT-CONTROL FUNCTION 'SF000'.
    WRITE: / 'This is CPI 20'.
    SKIP.
    PRINT-CONTROL FUNCTION 'SF020'.
    WRITE: / 'This is CPI 6'.
    SKIP.
    PRINT-CONTROL FUNCTION 'SF008'.
    WRITE: / 'This is CPI 12'.
    Depending on your SAP printer device, this may also work
    PRINT-CONTROL FONT 1 LPI 6.
    you can try to change font and LPI numbers
    WRITE: / 'font 1 lpi 6'.
    PRINT-CONTROL FONT 2 LPI 6.
    WRITE: / 'font 2 lpi 6'.
    PRINT-CONTROL FONT 3 LPI 6.
    WRITE: / 'font 3 lpi 6'.
    End of print-control
    NEW-PAGE PRINT OFF.
    *--- End of Program

  • Urgent:short description display

    Hi Experts,
        Basically my tool is developed to detect the syntax, warnings,upgrade and unicode errors of other programs.
    At output i'm creating a field as short description in which i want to display each program short description which we declare while creating a program.
    so i want for each and every program means if i provide at selection screen one program or multiple programs at output for every program it as to display its short description also.
    i hope u understood what i meant to say. If u don't please let me know.
    regards,
    aadi.

    hi,
    just create a report by selecting data from that table using condition name and sprsl.
    now in output display those fields.
    check this code.
    tables: trdirt.
    data:itab type standard table of trdirt with header line.
    select-options: s_name for trdirt-name.
    select * from trdirt into corresponding fields of table itab
    where name in s_name.
    loop at itab.
    write: /10 itab-name,itab-text.
    endloop.

  • Delete modify in itab output display

    hi,
    i am create a query for delete data from database table by using an internal table i am delete data from DB table but a problem are come as in output display
    i am showing  the
    NUMBER OF ENTRIES ARE DELETE FROM TABLE: 2
    NUMBER OF ENTRIES ARE REMAIN IN TABLE AFTER DELETEION:
    seletion screen contains 
    SELECT-OPTIONS: s_ordid FOR zapolp22-ordid,   "APO order id
                                s_matnr FOR zapolp22-matnr,   "Material Number
                     s_locto FOR zapolp22-locto.   "APO Destination location
    PARAMETERS: p_days TYPE i. "Number of days
    the problem are as:
    if i am given only P-days parameter value 3
    than it works as fine
    showing output right as 2 rows are deleted
    and 8 rows are remains in table
    if i given all fields fill up in selection screen
    as s_ordid----->4516 to 4517
        s_matnr---->85503 to 85505
       s_locto------> m100 to m101
    p_days----> 2
    then i get output display as
    number of entries  are deleted   2
    number of entries are remain in table  0.
    but the 2 rows are deleted from DB table and 8 rows are remain in table but it not show the 8 rows on display screen it shows zero.
    my code is as:
    DATA:  lv_count  TYPE i,
           lv_count1 TYPE i.
    DATA: lv_date TYPE sy-datum.
    SELECT mandt
           ordid
           schedid
           matnr
           locto
           lfmng
           lfdat
           locfr
           rqmng
           rqdat AS lv_date
           prckz
           blkstk
           oppdelqty
           zzapologmod
           zzflagurgent
           zzapottype
           zzndays_l_time
    FROM zapolp22 INTO TABLE lt_output
    WHERE ordid IN s_ordid  AND
           matnr IN s_matnr  AND
           locto IN s_locto.
    SORT lt_output[] BY rqdat.
    >Number OF Days to be Counted
    lv_date = sy-datum - p_days.
    LOOP AT lt_output.
      IF lt_output-rqdat LT lv_date.
        MOVE-CORRESPONDING lt_output TO lt_delete.
        APPEND lt_delete.
        lv_count = lv_count + 1.
      ELSE.
        lv_count1 = lv_count1 + 1.
      ENDIF.
    endloop.
    DELETE FROM zapolp22  WHERE rqdat LT lv_date AND
                                ordid IN s_ordid AND
                                matnr IN s_matnr AND
                                locto IN s_locto.
    IF sy-subrc = 0.
      WRITE:/25 'Number of entries deleted            :', lv_count.
      WRITE:/25 'Number of entries remaining          :', lv_count1.
    ELSEIF sy-subrc NE 0.
      WRITE:/ 'No data are selected for delete'.
    ENDIF.
    Tell me where in this code i do mistake.
    Thanks jayant.

    I don't know the contents of the table, but if you increase the number of restrictions in the SELECT statement, it will probably have lesser entries.
    Now, you are not really counting the total number of rows left in the table, but the total number of rows in the table that match the criterion.
    Basically, the first time (with lesser options) 10 rows are put into internal table, and 2 are deleted. So 8 are left.
    In the second time, only 4 rows are getting selected, of which 2 are deleted, and 2 are left in the internal table NOT in the database table. In the database table, more rows are left (because they never got selected into the itab)
    But if you want to count the total number of rows left in the DB, its better to count the number of rows in the end of the program with:
    SELECT COUNT(*) FROM dbtab INTO lv_integer.
    This can be pretty slow if the table is huge.

  • Re : ALV Output Display

    hi
    i'm doing an ALV Report. In the output  i'm double clicking on the Document field using user-command
    it is taking me to a particular Transaction and my requirement is if i change any field for ex : Description
    in that transaction and come back again to the output display the Changed Description should appear
    when i refresh the Output.how to get it?
    Regards

    1. create one icon on allication toolbar which is REFRESH icon, and give some function for it.
    2. write the code like:
        CASE SY_UCOMM.
          when 'FCODE'.
              refresh itab.
              perform get_data.
              perform_displaydata.
    it is nothing but u need to put the same code which u used earlier to show the data in output gaian after clicking on function code.
    Regards,
    Rajesh.

  • Download List output displayed

    Hi Friends,
    I want to donwload the list output displayed from the Report program with the exisitng formatting structure (displayed).
    1)From SAP menu we can click on System –> List –> Save –> Local file to download the file locally.
    2) I want to obtain same functionality as mentioned in point 1 through a button on tool bar.
    I dont want to prepare any internal table locally with the same data that is displayed on the screen, in the same formatting structure and Download, which is similar to a local download functionality.
    Please let me know ur suggestions.
    Regards,
    Lavanya.

    Then you have to  display your  O/p in the ALV   display  ...
    so that you can achive  your requirement  ..Because the ALV has the similar icon for downloading to pc  ..etc
    by Normal reporting  you cannot get this Option  .in the Application tool bar  .  one  is there as you menioned
    From SAP menu we can click on System –> List –> Save –> Local file to download the file locally.
    because   by pacing the  icon in  the Apllication bar it will not   call the  path ..etc.  you have to  do the coding  ...instead of that ALV is  best .
    But  in the ALV   it is there  in the standard  ALV  GRID    with   Downlaod icon , summation,scroldown ,sorting (A/D) ,etc...
    reward  points  if it is usefull ..
    Girish

  • Output display in alv

    Hi,
    i create a programm use alv but a problem occurs
    in my output display there is a quantity field KONV-KBETR
    o/p come as 100,00 (COMMA)
    but i want it come as 100.00 it come in decimal
    plz give me a solution for this.
    Thanks,
    ajay

    >
    ajay kumar wrote:
    > plz give me codes notation for this i am not use user settings.
    >
    > thanks
    > ajay
    Why not with User Settings?
    Else Press F1 on replace all occurances  and code.

  • After Effects warning: couldn't set Quicktime video output display mode

    After Effects warning: couldn't set Quicktime video output display mode
    I'm getting this error when exporting video from after effects. I also get it when the program starts up. I'm using Windows XP. Cannot find anything about a fix anywhere. Does anyone know how to fix this?

    Thanks for your reply. I profess ignorance regarding the GDI only mode and have no idea how to access that. Can you give me a little more info on that?
    I am using an ATI Radeon HD 3850. I have two monitors on that card, Monitor one is a Trinitron HP 1130 CRT.(set to 1280x1024 16bit) The other is DVI wide screen Ilo 26 inch monitor. (1024x768 at 32 bit)
    I have a BlackMagic Design DECKLINK standard definition broadcast card which outputs component video to a sony broadcast Beta deck. 480ix720 standard video.
    The machine has a gigabyte motherboard. Intel Core 2 quad cpu 2.66 ghz
    2.50 gb ram reported (4gigs installed)
    These hasn't been a major issue as I can still output AVI uncompressed but it is annoying.
    John

Maybe you are looking for

  • Create word in web dynpro

    HI:     Now come across a problem.     In Web Dynpro, there are several UI: inputfield and fileupload. when click submit, create an microsoft word with the content of  inputfield and fileupload. then save in server.    My question is : how to create

  • How do I install FocusMagic 4 as a plugin on Lightroom 4.4 (on a Win 7 – 64 bit PC).

    I have installed Lightroom 4.4 (on a Win 7 – 64 bit PC), and have installed FocusMagic 4.00. But how do I get FocusMagic to work as a plug in within Lightroom? I have located the plug in file, FocusMagic64.8bf But cannot find any folder to copy it to

  • Flash player tablet help

    Why can't flash player be installed on ipad? what tablets does flash player work on?

  • Menu option not available in SAP GUI transaction in Portal

    Hi all, When accessing SAP Transaction iview via the portal 7.31 the drop down menu option is not available in the first session. It is available in the second session and when accessing SAP Traansaction directly from the SAPLOGON pad, the option all

  • Adding information in IT0105 (communication)

    Helllo guys, We have created a subtype for IT015 (communication). This subtype has a field which will be unique for all the employees. Whenever the subtype data for a particular employee has to be created, the system should randomly generate the next