Safety Stock (ABAP Report)

Hello to All,
We have a problem regarding Safety Stock report (ABAP Report).  The program is designed to generate material's Plant/Sloc and Unrestricted Stock versus Safety Stock.  The report was working properly in DEV, QAS and PROD server.  Then another feature was requested to be added, the report should also eliminate or not display all materials that was marked as Flag for Deletion.  When the transport request for this enhancement was transported and tested in DEV and QAS server, the report is running properly.  But when transported in PROD server, the report only generates two material codes and doesn't list the other materials.
Regards,
Ann

Hello,
Thank you for the reply, I have checked the Safety Stock in the material and also the flag for deletion indicator... We have analyzed that the program needs to be reviewed on the part of "Flag for Deletion" indicator when eliminating records in the report list.
Thank You again.
Edited by: Meryll Penalosa on Dec 7, 2010 8:05 AM

Similar Messages

  • Report for Reorder point, safety stock, current stock and fixed lot size

    Hi,
    Purchasing Dept. is looking for a report which can give list of materials falling below the reorder point, so that they can go ahead and create procurement proposals for those materials.
    They also want to see the Reorder Point, Safety Stock, current stock and fixed lot size in the same report.
    Let me know if there ia any standard report availbale which displays the same or any approach to get the same.
    Thanks in Advance.
    Regards,
    Shankar Goud.

    Hi,
    There is no standard report because this is meant to be managed by the MRP run.
    The MRP lists show all materials that have a problem (such as stock below reorderpoint) but MRP generates requirements for these anyway and so all you need to do is to look for the MRP generated requirements (requisitions?) and you have your list?
    Are you using MRP?
    If so then please use the standard functions in MRP to get this.
    If not, then WHY NOT?
    Steve B

  • Report on current stock and safety stock

    Hi,
    I want to have the report on current stock and safety stock.
    In MC.9 it gives wrong safety stock. When I go to cross check the safety stock in material master & in MC.9 I see differences.
    Thanks,
    Kiran

    You can user tcode MC.9 or MC.5 to know valuated stock available at given plant. Stock lying in Returns (MB52) will not be a part of this report as it non-valuated stock.
    The stock in the accounting view of the material master considers stock at plant level including stock in Transit (Intra & Inter plant stock trasnfers) & special stock like stock issued to vendor , consigment stock etc which is valuated at plant level.
    whereas and stock in the plant stock view of the material master does not consider such special stocks hence there will always difference in both veiws.
    For Physical stock as on particular date you can consider MB5B report with radio button "Storage location/Batch Stock" wherein you will get Quantity issued & Qunatity received in those SLOC along with Opening stock & Closing stock for the specified period.
    use tcode
    MBLB to know stock at vendor.
    MB54 - Consignment Stock.

  • Report on Rorder Point and a safety stock

    Hi,
    Pls adivse, by which tcode, i can get  a report on Rorder Point and a safety stock for the material.
    ie. my client want to have a report abt the material status for reorder stock

    Hi,
    The safety stock and re-order point are plant specific details
    The values can be checked from SE16 - table MARC
    regards
    Merwyn

  • A report on Safety stock

    We have mass updated the safety stock using the T code MP38. The same is getting reflected corectly in to MD04.
    We are looking for a report to provide the safety stock material wise per plant.
    We have tried MCBE which do no reflect the correct quntity. Any reason?
    Thanks in advance.
    Vasu

    Hello Vasu
    MCBE is for the analysis of Receipt and issue during the specified time frame.
    Try out the following reports -
    MB53
    MC.1
    I hope it helps.
    Regards
    Avinash

  • Safety stock alesrt

    If total stock of a material goes below safety stock user can get a message at inbox as an safety stock alert...
    How can be the scenario configured????????
    Please suggest mmmmmme.......

    Hi,
    If the stock goes below the safety stock system wont allow you to draw the material and message come.
    But for your requirement you can have a Z-report run in back ground checking the exisitng stock and safety stock periodically and it will send a report to respective user in box. With the help of ABAP it is possible.
    Hope your requirement has been addressed.
    regards
    Venkat

  • How to Calculate the Stock aging report in BW

    Dear All,
    Please let me know the process to calculating the Stock Aging report in BW.
    And what are date field need to be consider and what are customer exits used to populated different agings in Stock like 0-30 days etc.
    Thanks
    Regards,
    Sai

    Hello,
    I would be very happy if you send me some sample code to implement this in User exits.
    I mean which ABAP statements are useful in this case. I think we need to implement the following logic for User Exit variable.
    1. At run time, retieve the SSN data from BW dabase
    2. Convert the first 5 digets into *****
    3. Make it available to report in BEX.
    Thanks
    VNM

  • Stock ageing report with batch Management active

    Hi Experts,
    My client wants a Stock ageing report and batch management is active
    According to my client, Inventory ageing report should show stock quantities and stock value as follows,
    1. Below one year
    2. Between one and two years
    3. Above two years
    What are the table and fields to be considered for this report.
    Thanks
    NDS

    What steps do you mean? taking an ABAP course and doing it yourself, or stepping to an ABAPer and let him know what he shall do?
    you asked for a stock report, not for a movement report.
    If I go into my warehouse and looking at all the stuff sitting there and want a report that should tell me how old this stuff is, then i am not intrested if there was a goods receipt movement.
    However I would like to know the last movement date. In this case you have to look into table S032 or into the movements MSEG (with MKPF as header table)

  • ABAP Reports

    Hi All ,
                  I am new to ABAP ,can someone please tell me how to do the following.
    1-Created an interactive report for displaying vendor information based on the selection made by the client.The transactions made by the vendor with the client till date will be displayed in details.On selection, further details of the selected line is made available in
    the secondary list like credits availed by the client on purchase, delivery details of tyhe vendor, payment details by the clients etc.
    2-Created an interactive report to display details of vendor and all bank transactions done with the client.
    3-Created a report on material master.The report gives stock grouped by  material type and plant.The output also shows material no., storage location and unit of measure and description in addition to group totals.
    Thanks in Advance,
    Sujata

    Hi
       i want to know how to get the screen and solution in brief about the following:
    1-Created an interactive report for displaying vendor information based on the selection made by the client.The transactions made by the vendor with the client till date will be displayed in details.On selection, further details of the selected line is made available in
    the secondary list like credits availed by the client on purchase, delivery details of tyhe vendor, payment details by the clients etc.
    2-Created an interactive report to display details of vendor and all bank transactions done with the client.
    3-Created a report on material master.The report gives stock grouped by material type and plant.The output also shows material no., storage location and unit of measure and description in addition to group totals.
    Thanks in Advance,
    Sujata
    Bharat Kalagara  
    Posts: 156
    Questions: 6
    Registered: 2/27/07
    Forum points: 116 
    Solved problem (10)
    Very helpful answer (6)
    Helpful answer (2)
       Re: ABAP Reports  
    Posted: Mar 21, 2007 5:21 AM    in response to: jita dash       Reply      E-mail this post 
    HI,
    u just check this code.
    this is very simple toundersatnd interactive report concept.
    REPORT ZBHREP3 LINE-COUNT 15(1) LINE-SIZE 75.
    TABLES: SFLIGHT,ZEMP.
    DATA VAR LIKE SFLIGHT-CONNID.
    DATA ITAB LIKE SFLIGHT OCCURS 0 WITH HEADER LINE.
    PARAMETERS NAME TYPE ZEMP-NAME DEFAULT 'BHARAT'.
    WRITE: 25 NAME COLOR 6.
    SELECT-OPTIONS CARRID1 FOR SFLIGHT-CARRID.
    SET PF-STATUS 'MENU'.
    SET TITLEBAR 'TIT'.
    FORMAT HOTSPOT ON.
    WRITE:/10 'AIRLINE CODE',25 'CONNECTION ID',40 'FLIGHT DATE'.
    SELECT * FROM SFLIGHT WHERE CARRID IN CARRID1.
    WRITE:/10 SFLIGHT-CARRID,25 SFLIGHT-CONNID,40 SFLIGHT-FLDATE.
    HIDE SFLIGHT-CONNID.
    ENDSELECT.
    *END-OF-PAGE.
    END-OF-PAGE.
    WRITE:/64 'P.NO:',SY-PAGNO.
    *TOP-OF-PAGE.
    TOP-OF-PAGE.
    WRITE:/ 'THIS IS MY FIRST REPORTS PROGRAM.'.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    DO 5 TIMES.
    WRITE:/ SY-INDEX.
    ENDDO.
    *THESE 3 STATEMENTS ARE FOR THE END-OF-PAGE CONTENTS IN LAST PAGE.
    DATA M TYPE I.
    M = SY-LINCT - SY-LINNO - 1.
    SKIP M.
    *AT LINE-SELECTION.
    AT LINE-SELECTION.
    CASE SY-LSIND.
    WHEN '1'.
    READ LINE SY-LILLI FIELD VALUE SFLIGHT-CONNID INTO VAR.
    SELECT * FROM SFLIGHT INTO CORRESPONDING FIELDS OF ITAB WHERE
    CONNID = VAR.
    WRITE:/ ITAB-CARRID,ITAB-PLANETYPE,ITAB-PAYMENTSUM.
    ENDSELECT.
    WRITE:/ VAR.
    SELECT * FROM SFLIGHT INTO CORRESPONDING FIELDS OF ITAB WHERE
    CONNID = SY-LISEL+24(4).
    WRITE:/ ITAB-CARRID,ITAB-PLANETYPE,ITAB-PAYMENTSUM.
    ENDSELECT.
    SKIP 1.
    WRITE:/ SY-LISEL+24(4).
    SELECT * FROM SFLIGHT INTO CORRESPONDING FIELDS OF ITAB WHERE
    CONNID = SFLIGHT-CONNID.
    WRITE:/ ITAB-CARRID,ITAB-PLANETYPE,ITAB-PAYMENTSUM.
    ENDSELECT.
    WRITE:/ SFLIGHT-CONNID.
    WHEN '2'.
    WRITE:/ SY-LILLI.
    WHEN '3'.
    WRITE :/ 'BHARAT'.
    ENDCASE.
    regards,
    bharat.
    keerthi kiran v...  
    Posts: 915
    Questions: 11
    Registered: 12/15/05
    Forum points: 1,078 
    Solved problem (10)
    Very helpful answer (6)
    Helpful answer (2)
       Re: ABAP Reports  
    Posted: Mar 21, 2007 5:29 AM    in response to: jita dash       Reply      E-mail this post 
    Hi ,
    chk this code for interactive report,this also covers totals concept
    *& Report ZTRAINING5_KEERTHI *
    REPORT ZTRAINING5_KEERTHI NO STANDARD PAGE HEADING
    LINE-SIZE 258
    LINE-COUNT 28(4).
    tables declaration *
    TABLES: VBAK,VBAP,VBUK,VBKD,TVKO,KNA1,MARA,KONV,T685T,TVKOV.
    data declaration *
    DATA: V_TAB LIKE SY-TABIX,
    V_KNUMV LIKE VBAK-KNUMV,
    L_TABIX LIKE SY-TABIX,
    DATE1 LIKE SY-DATUM.
    DATA: BEGIN OF IT_VBAK OCCURS 0,
    VBELN LIKE VBAK-VBELN,
    VKORG LIKE VBAK-VKORG,
    VTWEG LIKE VBAK-VTWEG,
    SPART LIKE VBAK-SPART,
    AUART LIKE VBAK-AUART,
    AUDAT LIKE VBAK-AUDAT,
    KUNNR LIKE VBAK-KUNNR,
    NETWR LIKE VBAK-NETWR,
    END OF IT_VBAK.
    DATA: BEGIN OF IT_VBAP OCCURS 0,
    VBELN LIKE VBAP-VBELN,
    POSNR LIKE VBAP-POSNR,
    MATNR LIKE VBAP-MATNR,
    ARKTX LIKE VBAP-ARKTX,
    KWMENG LIKE VBAP-KWMENG,
    WERKS LIKE VBAP-WERKS,
    LGORT LIKE VBAP-LGORT,
    NETPR LIKE VBAP-NETPR,
    END OF IT_VBAP.
    DATA: BEGIN OF IT_VBPA OCCURS 0,
    KUNNR LIKE VBPA-KUNNR,
    PARVW LIKE VBPA-PARVW,
    VBELN LIKE VBPA-VBELN,
    END OF IT_VBPA.
    DATA: BEGIN OF IT_VBKD OCCURS 0,
    BSTKD LIKE VBKD-BSTKD,
    BSARK LIKE VBKD-BSARK,
    POSNR LIKE VBKD-POSNR,
    END OF IT_VBKD.
    DATA: BEGIN OF IT_FINAL OCCURS 0,
    KUNNR LIKE VBAK-KUNNR,
    VBELN LIKE VBAK-VBELN,
    VKORG LIKE VBAK-VKORG,
    VTWEG LIKE VBAK-VTWEG,
    SPART LIKE VBAK-SPART,
    AUART LIKE VBAK-AUART,
    AUDAT LIKE VBAK-AUDAT,
    NETWR LIKE VBAK-NETWR,
    POSNR LIKE VBAP-POSNR,
    MATNR LIKE VBAP-MATNR,
    ARKTX LIKE VBAP-ARKTX,
    KWMENG LIKE VBAP-KWMENG,
    WERKS LIKE VBAP-WERKS,
    LGORT LIKE VBAP-LGORT,
    NETPR LIKE VBAP-NETPR,
    KUNNR1 LIKE VBPA-KUNNR,
    BSTKD LIKE VBKD-BSTKD,
    BSARK LIKE VBKD-BSARK,
    END OF IT_FINAL.
    DATA: BEGIN OF IT_KONV OCCURS 0,
    KNUMV LIKE KONV-KNUMV,
    KPOSN LIKE KONV-KPOSN,
    KSCHL LIKE KONV-KSCHL,
    KBETR LIKE KONV-KBETR,
    KWERT LIKE KONV-KWERT,
    END OF IT_KONV.
    DATA: BEGIN OF IT_TEXT OCCURS 0,
    KSCHL LIKE T685T-KSCHL,
    VTEXT LIKE T685T-VTEXT,
    END OF IT_TEXT.
    selection screen *
    PARAMETERS:P_VKORG LIKE VBAK-VKORG OBLIGATORY,
    P_VTWEG LIKE VBAK-VTWEG OBLIGATORY,
    P_SPART LIKE VBAK-SPART OBLIGATORY.
    SELECT-OPTIONS: S_AUDAT FOR VBAK-AUDAT ,
    S_VBELN FOR VBAK-VBELN ,
    S_KUNNR FOR VBAK-KUNNR ,
    S_MATNR FOR VBAP-MATNR.
    PARAMETERS: OPENORD RADIOBUTTON GROUP RAD1 DEFAULT 'X',
    ALLORD RADIOBUTTON GROUP RAD1.
    initialization *
    INITIALIZATION.
    DATE1 = SY-DATUM - 30.
    S_AUDAT-LOW = DATE1.
    S_AUDAT-HIGH = SY-DATUM.
    APPEND S_AUDAT.
    validations *
    AT SELECTION-SCREEN.
    validating sales org
    SELECT SINGLE VKORG FROM TVKO
    INTO TVKO
    WHERE VKORG = P_VKORG.
    IF SY-SUBRC <> 0.
    WRITE:/ 'Invalid sales organisation'.
    ENDIF.
    validating distribution channel.
    SELECT SINGLE VTWEG
    FROM TVKOV
    INTO TVKOV
    WHERE VTWEG = P_VTWEG.
    IF SY-SUBRC NE 0.
    WRITE:/ 'Invalid distribution channel'.
    ENDIF.
    validating division.
    SELECT SINGLE SPART
    FROM TVTA
    INTO P_SPART
    WHERE SPART = P_SPART.
    IF SY-SUBRC NE 0.
    WRITE:/ 'Invalid division'.
    ENDIF.
    validating customer.
    SELECT SINGLE KUNNR FROM KNA1
    INTO KNA1
    WHERE KUNNR IN S_KUNNR.
    IF SY-SUBRC NE 0.
    WRITE:/ 'Invalid customer'.
    ENDIF.
    validating material.
    SELECT SINGLE MATNR FROM MARA
    INTO MARA
    WHERE MATNR IN S_MATNR.
    IF SY-SUBRC NE 0.
    WRITE:/ 'Invalid MATERIAL NUMBER'.
    ENDIF.
    start of selection *
    START-OF-SELECTION.
    SELECT VBELN
    VKORG
    VTWEG
    SPART
    AUART
    AUDAT
    KUNNR
    NETWR
    FROM VBAK
    INTO TABLE IT_VBAK
    WHERE VBELN IN S_VBELN AND
    VKORG = P_VKORG AND
    VTWEG = P_VTWEG AND
    SPART = P_SPART AND
    AUDAT IN S_AUDAT AND
    KUNNR IN S_KUNNR .
    IF OPENORD = 'X'.
    LOOP AT IT_VBAK.
    READ TABLE IT_VBAK INDEX SY-TABIX.
    SELECT SINGLE VBELN FROM VBUK
    INTO VBUK
    WHERE VBELN = IT_VBAK-VBELN AND
    GBSTK <> 'C'.
    IF SY-SUBRC <> 0.
    DELETE IT_VBAK INDEX SY-TABIX.
    ENDIF.
    ENDLOOP.
    ENDIF.
    SELECT VBELN
    POSNR
    MATNR
    ARKTX
    KWMENG
    WERKS
    LGORT
    NETPR
    FROM VBAP
    INTO TABLE IT_VBAP
    FOR ALL ENTRIES IN IT_VBAK
    WHERE VBELN = IT_VBAK-VBELN AND
    MATNR IN S_MATNR.
    SELECT KUNNR
    PARVW
    VBELN
    FROM VBPA
    INTO TABLE IT_VBPA
    FOR ALL ENTRIES IN IT_VBAP
    WHERE VBELN = IT_VBAP-VBELN AND
    POSNR = IT_VBAP-POSNR AND
    PARVW = 'WE'.
    IF SY-SUBRC <> 0.
    SELECT KUNNR
    PARVW
    VBELN
    FROM VBPA
    INTO TABLE IT_VBPA
    FOR ALL ENTRIES IN IT_VBAP
    WHERE VBELN = IT_VBAP-VBELN AND
    POSNR = '000000' AND
    PARVW = 'we'.
    ENDIF.
    SELECT BSTKD
    BSARK
    POSNR
    FROM VBKD
    INTO TABLE IT_VBKD
    FOR ALL ENTRIES IN IT_VBAP
    WHERE VBELN = IT_VBAP-VBELN AND
    POSNR = IT_VBAP-POSNR .
    IF SY-SUBRC <> 0.
    SELECT BSTKD
    BSARK
    POSNR
    FROM VBKD
    INTO TABLE IT_VBKD
    FOR ALL ENTRIES IN IT_VBAP
    WHERE VBELN = IT_VBAP-VBELN AND
    POSNR = '000000' .
    ENDIF.
    LOOP AT IT_VBAK.
    L_TABIX = SY-TABIX.
    MOVE: IT_VBAK-KUNNR TO IT_FINAL-KUNNR,
    IT_VBAK-VBELN TO IT_FINAL-VBELN,
    IT_VBAK-VKORG TO IT_FINAL-VKORG,
    IT_VBAK-VTWEG TO IT_FINAL-VTWEG,
    IT_VBAK-SPART TO IT_FINAL-SPART,
    IT_VBAK-AUART TO IT_FINAL-AUART,
    IT_VBAK-AUDAT TO IT_FINAL-AUDAT,
    IT_VBAK-NETWR TO IT_FINAL-NETWR.
    READ TABLE IT_VBAP WITH KEY VBELN = IT_VBAK-VBELN.
    READ TABLE IT_VBAK INDEX L_TABIX.
    MOVE: IT_VBAP-POSNR TO IT_FINAL-POSNR,
    IT_VBAP-MATNR TO IT_FINAL-MATNR ,
    IT_VBAP-ARKTX TO IT_FINAL-ARKTX,
    IT_VBAP-KWMENG TO IT_FINAL-KWMENG,
    IT_VBAP-WERKS TO IT_FINAL-WERKS,
    IT_VBAP-LGORT TO IT_FINAL-LGORT,
    IT_VBAP-NETPR TO IT_VBAP-NETPR.
    READ TABLE IT_VBPA WITH KEY VBELN = IT_VBAK-VBELN.
    MOVE IT_VBPA-KUNNR TO IT_FINAL-KUNNR1.
    READ TABLE IT_VBKD WITH KEY POSNR = IT_VBAP-POSNR.
    MOVE: IT_VBKD-BSTKD TO IT_FINAL-BSTKD,
    IT_VBKD-BSARK TO IT_FINAL-BSARK.
    APPEND IT_FINAL.
    ENDLOOP.
    end of selection *
    END-OF-SELECTION.
    SORT IT_FINAL BY KUNNR VBELN.
    LOOP AT IT_FINAL.
    AT NEW KUNNR.
    NEW-PAGE.
    WRITE:/ SY-ULINE(255),/ SY-VLINE.
    FORMAT COLOR COL_POSITIVE.
    WRITE: 2 'customer no.',10 SY-VLINE,'sales doc.',25 SY-VLINE,'dis.ch.',
    30 SY-VLINE,'division',35 SY-VLINE,'salesordtype',50 SY-VLINE,'doc.date'
    ,62 SY-VLINE,'netvalue',85 SY-VLINE,'item no.',92 SY-VLINE,'materialno.'
    ,105 SY-VLINE,'item text',150 SY-VLINE,'ord.qty.',170 SY-VLINE,'plant',
    175 SY-VLINE,'sto.loc.',180 SY-VLINE,'net price',196 SY-VLINE,
    'ship2party',206 SY-VLINE,'pur.ord.',245 SY-VLINE,'purordtype' ,255
    SY-VLINE.
    WRITE:/ SY-ULINE(255).
    ENDAT.
    V_TAB = SY-TABIX MOD 2.
    IF V_TAB <> 0.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    ELSE.
    FORMAT COLOR COL_HEADING INTENSIFIED OFF.
    ENDIF.
    WRITE:/ SY-VLINE,2 IT_FINAL-KUNNR,10 SY-VLINE, IT_FINAL-VBELN,25
    SY-VLINE,
    IT_FINAL-VTWEG,30 SY-VLINE,IT_FINAL-SPART,35 SY-VLINE,
    IT_FINAL-AUART,50 SY-VLINE,IT_FINAL-AUDAT,62 SY-VLINE,IT_FINAL-NETWR,85
    SY-VLINE,IT_FINAL-POSNR,92 SY-VLINE,
    IT_FINAL-MATNR,105 SY-VLINE,IT_FINAL-ARKTX,150 SY-VLINE
    ,IT_FINAL-KWMENG,170 SY-VLINE,IT_FINAL-WERKS,175 SY-VLINE,
    IT_FINAL-LGORT,180 SY-VLINE,IT_FINAL-NETPR,196 SY-VLINE
    ,IT_FINAL-KUNNR1,206 SY-VLINE,IT_FINAL-BSTKD,245 SY-VLINE,
    IT_FINAL-BSARK,255 SY-VLINE.
    HIDE IT_FINAL-VBELN.
    WRITE:/ SY-ULINE(255).
    AT END OF KUNNR.
    SUM.
    WRITE:/ SY-VLINE,'TOTAL',63 IT_FINAL-NETWR,181 IT_FINAL-NETPR,255
    SY-VLINE.
    WRITE:/ SY-ULINE.
    ENDAT.
    ENDLOOP.
    AT LINE-SELECTION.
    AT LINE-SELECTION.
    CASE SY-LSIND.
    WHEN '1'.
    TO GET SECONDARY LIST
    PERFORM INTERACT.
    ENDCASE.
    *& Form interact
    text
    --> p1 text
    <-- p2 text
    FORM INTERACT .
    SELECT SINGLE KNUMV FROM VBAK
    INTO V_KNUMV
    WHERE VBELN = IT_FINAL-VBELN.
    SELECT KNUMV
    KPOSN
    KSCHL
    KBETR
    KWERT
    FROM KONV
    INTO TABLE IT_KONV
    WHERE KNUMV = V_KNUMV.
    SELECT KSCHL
    VTEXT FROM T685T
    INTO TABLE IT_TEXT
    FOR ALL ENTRIES IN IT_KONV
    WHERE KSCHL = IT_KONV-KSCHL AND
    SPRAS = SY-LANGU AND
    KVEWE = 'A' AND
    KAPPL = 'V'.
    CLEAR IT_KONV.
    CLEAR IT_TEXT.
    WRITE:/ SY-ULINE(72).
    FORMAT COLOR COL_NEGATIVE.
    WRITE:/ SY-VLINE,'COITEM',10 SY-VLINE,'RATE',28 SY-VLINE,
    'COND.VALUE',48 SY-VLINE,'NAME',72 SY-VLINE.
    WRITE:/ SY-ULINE(72).
    LOOP AT IT_KONV.
    L_TABIX = SY-TABIX.
    READ TABLE IT_KONV INDEX L_TABIX.
    READ TABLE IT_TEXT WITH KEY KSCHL = IT_KONV-KSCHL.
    L_TABIX = SY-TABIX MOD 2.
    IF L_TABIX <> 0.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    ELSE.
    FORMAT COLOR COL_HEADING INTENSIFIED OFF.
    ENDIF.
    WRITE:/ SY-VLINE,IT_KONV-KPOSN,10 SY-VLINE, IT_KONV-KBETR,28
    SY-VLINE,IT_KONV-KWERT,48 SY-VLINE,IT_TEXT-VTEXT,72 SY-VLINE.
    ENDLOOP.
    WRITE:/ SY-ULINE(72).
    ENDFORM. " interact
    regards,
    keerthi
    Sankar M  
    Posts: 543
    Questions: 18
    Registered: 11/20/06
    Forum points: 622 
    Solved problem (10)
    Very helpful answer (6)
    Helpful answer (2)
       Re: ABAP Reports  
    Posted: Mar 21, 2007 5:39 AM    in response to: jita dash       Reply      E-mail this post 
    Hi,
    This is the very simple INTERACTIVE REPORT. It will help really helps to u to understand the concept.
    REPORT YMS_INTERACTIVETEST LINE-SIZE 50 NO STANDARD PAGE HEADING.
    TABLES: VBAP,KNA1,VBAK.
    SELECT-OPTIONS: CUST FOR KNA1-KUNNR.
    DATA: BEGIN OF ITAB OCCURS 0,
    KUNNR LIKE KNA1-KUNNR,
    NAME1 LIKE KNA1-NAME1,
    VBELN LIKE VBAK-VBELN,
    AUDAT LIKE VBAK-AUDAT,
    AUART LIKE VBAK-AUART,
    POSNR LIKE VBAP-POSNR,
    POSAR LIKE VBAP-POSAR,
    END OF ITAB.
    DATA: ITAB1 LIKE ITAB OCCURS 0 WITH HEADER LINE.
    INITIALIZATION.
    START-OF-SELECTION.
    SELECT KNA1KUNNR KNA1NAME1 INTO CORRESPONDING FIELDS OF TABLE ITAB1
    FROM KNA1 WHERE KNA1~KUNNR IN CUST.
    LOOP AT ITAB1.
    WRITE:/10 ITAB1-KUNNR HOTSPOT, 30 ITAB1-NAME1.
    HIDE: ITAB1-KUNNR.
    ENDLOOP.
    AT LINE-SELECTION.
    CASE SY-LSIND.
    WHEN '1'.
    SELECT KNA1KUNNR VBAKVBELN VBAKAUDAT VBAKERDAT INTO CORRESPONDING FIELDS OF TABLE ITAB1
    FROM KNA1 INNER JOIN VBAK ON KNA1KUNNR = VBAKKUNNR.
    LOOP AT ITAB1.
    WRITE:/ ITAB1-VBELN HOTSPOT, ITAB1-AUDAT, ITAB1-AUART.
    HIDE: ITAB1-VBELN, ITAB1-AUDAT, ITAB1-AUART.
    ENDLOOP.
    WHEN '2'.
    SELECT VBAKVBELN VBAPPOSNR VBAP~POSAR
    INTO CORRESPONDING FIELDS OF TABLE ITAB1 FROM VBAK INNER JOIN VBAP ON VBAKVBELN = VBAPVBELN.
    LOOP AT ITAB1.
    WRITE:/ ITAB1-POSNR, ITAB1-POSAR.
    ENDLOOP.
    ENDCASE.
    TOP-OF-PAGE.
    WRITE:/ SY-VLINE,TEXT-001 COLOR COL_NEGATIVE.
    ULINE.
    Thanks,
    Shankar
    jita dash  
    Posts: 8
    Questions: 3
    Registered: 3/20/07
    Forum points: 0 
       Re: ABAP Reports  
    Posted: Mar 21, 2007 1:05 PM    in response to: jita dash         Reply      E-mail this post 
    2-Created an interactive report to display details of vendor and all bank transactions done with the client.
    jita dash  
    Posts: 8
    Questions: 3
    Registered: 3/20/07
    Hi
    i want to know how to get the screen and solution in brief about the following:
    Message was edited by:
            jita dash

  • Stock ageing report by profit center

    hi I am new to abap, please kindly send the code for the stock ageing report by profit center in MM module

    hi,
    for getting stock ageing report in  profit center in MM
    use the tcode :
    S_ALR_87013348
    from this u can get the necessary data.
    rewards points if useful.
    regards
    sandhya

  • Regarding MD04, Stock requirement Report

    Hi SAP Guru,
                              Hi Sir I am running MRP for the 05 finished material. All the Finished material has some material common and and Semi-finsief  also.Lot SIze for the SFG and raw material are FZ and safety stock maintained,MRP type-PD.
    Now after running MRP in MD04  report.Some of the material which are common in BOM are being being display no of times in Order tree.Couls you please explain it did so
    Regard
    Bhupendra

    Dear Sir,
    I ahve sechduiling agrrement which is being generating daily. Some of the BOM componenet exploded multiples times. I dont know why this happening although it is not affecting the overall requiremment but still client deman
    In my case me of the Semi-finshed of the BOM component multiples times
    Regard
    Bhupendra Singh
    Edited by: Bhupendrasingh on Sep 7, 2011 11:25 AM

  • Need to prepare an ABAP report!

    Hi MM Experts,
    I need to prepare an ABAP report on the following descriptions:-
    "Develop an MRP report that calculates the unrestricted stock, purchase order quantity, production order quantity, delivery quantity, planning order quantity on the basis of the selection made by the user on the given set of materials and the plant, MRP controller and ABC indicator and date. The report calculates the total available quantity of the materials and the sub materials as well as the required quantity and shortage or excess quantity."
    Please suggest me the tables and fields to be used in preparing this report.
    Thanks,
    Deepanshu.

    Hi,
    Try SQVI abap workbench for functional consultant here you enter table name of required data which you want.
    Thanks
    Rakesh

  • Safety stock

    Dear Mm kings,
    I need report which will tell the safety stock of all matl in a plant.
    is there tcode is available ?
    pl reply with ur input
    waiting
    guru

    Hi,
    I dont see any other standard report for this.But the required data is available in the TCodes MC.D etc.Other wise you can go for a query or browse the table MARC.Others may have any idea on it
    Dhruba
    Message was edited by:
            Dhruba Charan Behera

  • Safety Stock with consignment stock

    Hi,
    is there a way to define a safety stock for a customer consignment stock?
    Regards,
    Florian

    Dear Florian
    As you would be aware, the said details are being stored in Table MSEG  and Field SOBKZ for special stock indicator and for quantity the field is ERFMG.
    So applying some user exits, tell your requirement to ABAPer and write a logic.  May be you can consider some of the following user exits.
    - User exits in the program MV45AFZZ - USEREXIT_READ_DOCUMENT
    - User exits in the program FV45EFZ1 - USEREXIT_CHANGE_SALES_ORDER
    thanks
    G. Lakshmipathi

  • How to Call another screen using the ABAP Report which is displaying ALV ou

    Hello All,
    I am developing a ABAP report in which I want to transfer the stock from material to another material.
    My Report will include 3 to screens.
    The first sleection screen will display all the material with their stock value.
    When we execute the report I will get the list of materials along with their current stock. On the top of the output screen I want the Execute button. Also , each line of the output should have checkbox or the ALV provides the functionality of editing one cell like that.....Once the user tick the checkbox or the cell....then I want to move to another screen where user can enter the Quantity and then user will tick ok and then I will call one function module so that the material documnet is posted and transfer of posting form material to material is done successfully.
    Could anyone please help me out how to call another screen from the output screen where user can enter the Quantity amount....
    I dont want to use the Dialog programming.....I want to create the simple ALV Abap report.
    Regards,
    Komal Bhutada.

    Hi Raymond,
    Thanks for the input...I will try this in my code .....
    Can you please help me how to insert the checkbox in the ALV Output....so that I can select one of row and then press execute to process further?..
    Thanks for the information.
    Regards,
    Komal.

Maybe you are looking for

  • Anybody with W7 32 and 64 dual boot?

    There's no way to upgrade a 32 bit Windows 7 to 64 bit and I don't have the time to make a fresh install of everything. I've got two hard drives, so I could install W7-64 in the second one, but there's a thing I'm afraid of: two visible partitions bo

  • Can i get editor for graphic card?

    Im not happy with the original dispaly calibrator, because it doesnt do much. Is it possible to get different like when you buy a separate graphic card it comes with driver and proper editor made my the card's company, where there are more adjustmens

  • H.264 codec is not supported

    Any reason why a 1080p QuickTime movie encoded in h.264 at 10000kbps is not supported on the iPhone? That's the codes I'm always using and now all of a sudden it cannot be synced? Thanks, Simon

  • Iphoto; Classic environment no longer supported

    "You can't open the application iPhoto because the classic environment is no longer supported." Posting this for a pal whose new iMac (Nov 2008) gives her this msg when she tries to access her photos in iPhoto. She is no longer able to open the progr

  • Reorgs

    I am considering it because we've been having some strange performance issues. I have read mixed opinions of the topic. Any feedback is much appreciated.