Showing last material no. records in all material

Hi,
its a material master report, i have a problem in it that records are not coming properly...
means against 1 material no....there shows his correct data...but when i want to display more than 1 material data...it shows the last material data in all rows...
e.g.
16-7856.....0010.....5000.....0000....5500
17-4564.....0010.....5000.....0000....5500
18-6856.....0010.....5000.....0000....5500
19-4894.....0010.....5000.....0000....5500
Note:...material numbers are diff., but its records are same...here these records are related to last material number...
Plz help...

LOOP AT ITAB.
SELECT LABST FROM MARD INTO ITAB-LABST8 WHERE MATNR IN MATNR AND LGORT EQ 'RECP'.
MODIFY ITAB INDEX SY-TABIX TRANSPORTING LABST8.
ENDSELECT.
SELECT INSME FROM MARD INTO ITAB-INSME WHERE MATNR EQ ITAB-MATNR AND LGORT EQ 'RECP'.
MODIFY ITAB INDEX SY-TABIX TRANSPORTING INSME.
ENDSELECT.
ENDLOOP.
WHERE MATNR EQ ITAB-MATNR 
not
WHERE MATNR IN MATNR.

Similar Messages

  • SCCM report to show last logged on user and the Active Directory department attribute of that user.

    I need to create an SCCM report to show last logged on user on all machines and the Active Directory department attribute of that last logged on user.

    You problem is here.
    right
    join v_R_User USR on USR.ResourceID
    = CS.ResourceID
    USR.ResourceID != CS.ResourceID, you need to map the username to the user logon to the PC. By using the user’s department information you will
    end up with unreliable results.
    Anyways you need to make these changes to your query.
    left
    join v_R_User USR on USR.Unique_User_Name0
    = CS.UserName0
    http://www.enhansoft.com/

  • Show attached material picture in ABAP screen object

    Hello,
    I'm attaching material pictures with the GOS create attachment option. Here I could attach all kind of documents including the files "*.gif, *.tif, etc." These pictures are stored on our document server. Another possibility I use is to create a url to the direct link of the picture on the vendors site.
    The materials are our own stock materials. These stock materials could be ordered by the reservation system. For that we have created our own reservation screen. In one of the fields they could enter a part of a material description to search for a particular material. If more material is valid these materials are shown in a selection list. To make is easier to pick the right material I want to show the material picture in a ABAP object on the selection screen.
    I'm already able to show, in the list, if there is a material picture available with the function "BAPI_REL_GETRELATIONS"
    If this function returns a table I know there is a (picture) document attached.
    If the clicks on the hotspot in the list I want to show the picture in the ABAP object on the screen.
    Here is a part to see if there is a material picture?
    CLEAR OBJECTID.
    OBJECTID-OBJKEY = makt-matnr. " Long number incl. zero's
    OBJECTID-OBJTYPE = 'BUS1001006'.
    N_lines = 0.
    clear LISTOFRELATIONS.
    CALL FUNCTION 'BAPI_REL_GETRELATIONS'
    EXPORTING
    OBJECTID = OBJECTID
    ROLE =
    RELATION =
    RECURSIONLEVEL = 1
    IMPORTING
    RETURN = B_RETURN2
    TABLES
    LISTOFRELATIONS = LISTOFRELATIONS
    describe table LISTOFRELATIONS lines N_lines.
    IF N_lines > 0.
    WRITE ICON_TIF AS ICON to artikelen-pic.
    ELSE.
    artikelen-pic = ' '.
    ENDIF.
    I'm able to show a picture in the ABAP object with the following code:
    IF P_CONTAINER IS INITIAL.
    CREATE OBJECT: P_CONTAINER EXPORTING container_name = 'MAT_PIC',
    MM_PIC1 EXPORTING parent = P_CONTAINER.
    l_alignment = cl_gui_control=>align_at_left +
    cl_gui_control=>align_at_right +
    cl_gui_control=>align_at_top +
    cl_gui_control=>align_at_bottom.
    CALL METHOD mm_pic1->set_alignment
    EXPORTING
    alignment = l_alignment.
    CALL METHOD mm_pic1->set_3d_border
    EXPORTING
    border = 1.
    CALL METHOD mm_pic1->set_display_mode
    EXPORTING
    display_mode = mm_pic1->display_mode_stretch
    EXCEPTIONS
    error = 1.
    ENDIF.
    IMPORT pict_tab = pict_tab FROM DATABASE abtree(pi) ID 'ENJOY'.
    CALL FUNCTION 'DP_CREATE_URL'
    EXPORTING
    TYPE = 'IMAGE'
    SUBTYPE = 'GIF'
    SIZE =
    DATE =
    TIME =
    DESCRIPTION =
    LIFETIME =
    CACHEABLE =
    SEND_DATA_AS_STRING =
    TABLES
    DATA = pict_tab
    FIELDS =
    PROPERTIES =
    CHANGING
    URL = url
    EXCEPTIONS
    DP_INVALID_PARAMETER = 1
    DP_ERROR_PUT_TABLE = 2
    DP_ERROR_GENERAL = 3
    OTHERS = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD mm_pic1->load_picture_from_url
    EXPORTING
    url = url
    EXCEPTIONS
    others = 4.
    Could any one help me further to show the picture in the ABAP object 'MAT_PIC'?
    I'm using SAP release 4.7 on a Oracle database.
    The document server is the SAP DMS server on a SAP-DB database.
    Kind regards,
    Richard Meijn

    Refer the following:
    REPORT  ZTEST12.
    * Type declarations.....................
    TYPES pict_line(256) TYPE c.
    * data declarations......................
    DATA :init,
          container TYPE REF TO cl_gui_custom_container,
          editor    TYPE REF TO cl_gui_textedit,
          picture   TYPE REF TO cl_gui_picture,
          pict_tab TYPE TABLE OF pict_line,
          url(255) TYPE c.
    CALL SCREEN 100.
    * Dialog modules......................................
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN100'.
      IF init is initial.
        init = 'X'.
        CREATE OBJECT:
               container  EXPORTING container_name = 'PICTURE_CONTAINER',
               picture    EXPORTING parent = container.
      ENDIF.
      IMPORT pict_tab = pict_tab FROM DATABASE abtree(pi) ID 'ENJOY'.
      CALL FUNCTION 'DP_CREATE_URL'
           EXPORTING
                type    = 'IMAGE'
                subtype = 'GIF'
           TABLES
                data    = pict_tab
           CHANGING
                url     = url.
      CALL METHOD picture->load_picture_from_url EXPORTING url = url.
      CALL METHOD picture->set_display_mode
           EXPORTING display_mode = picture->display_mode_fit_center.
    ENDMODULE.
    MODULE cancel INPUT.
      LEAVE TO SCREEN 0.
    ENDMODULE.

  • Report showing overdelivery material and its value.

    A report is required showing the material received by giving overdelivery/unlimited tolerance.  It should give the details of the material,quantity excess received, excess quantity value.
    How to get it.
    Pl reply.
    T.SRINIVAS

    Hello Friend
    Try Report with Tcode ME2M and in input screen dont forget to choose "ALLES" in Scope of list.
    Else If your corporate policy is the same regardless of vendor /
    material combination, then you can use the ME2N transaction. It
    has a dynamic selections button that allows you to search on
    practically any PO field. The Delivery tolerances fields are
    contained on the PO item folder of the dynamic selections.
    Additionally, you can enter a document date restriction to limit
    the results. I also recommend entering "WE101" - "OPen Goods
    Receipt" as a Selection parameter to keep the list to include
    open, GR relevant PO Items.
    If the Delivery tolerances vary by Material vendor and you can
    not create variants in the ME2N transaction to capture the
    relevant scenarios, then you may have to write a SAP query to
    compare the PO Item to the Purchasing Information REcord. If
    this is the case, I recommend using Infoset MEPOLDB for the
    Purchase ORder information, and table EINE for the Delivery
    tolerance information of the PIR.
    Reward if useful
    Regards
    SE
    Edited by: SAP Enjoy on Jan 24, 2008 4:56 PM

  • My phone has been smashed I need to get records of all my iMessages and texts from the last month. How do I get these?

    My phone has been smashed I need to get records of all my iMessages and texts from the last month. How do I get these?

    Do you have a backup of your iPhone which contains these messages?
    If so, you can restore a new iPhone from that backup during setup.
    If not, the messages are gone.

  • I was trying to make a new screen recording using quicktimeplay, but when I watched the video after recording it all I could hear was me talking while the video was showing on the screen. How do I turn off that recording and turn the right one on? thanks

    I was trying to make a new screen recording using quicktimeplay, but when I watched the video after recording it all I could hear was me talking while the video was showing on the screen. How do I turn off that recording and turn the right one on? thanks

    Hi j2399123,
    It sounds like your screen recording is doing what it was designed to do, capture what is happening on your screen, with optional voice over with the microphone.
    Screen recording is for recording what you see on the screen, it is not a "video capture" option, like for capturing a movie with sound that is playing on your screen.
    For the QuickTime recording options, check out "Recording with QuickTime Player" in
    Mac Basics: QuickTime Player creates, plays, edits, and shares video and audio files
    http://support.apple.com/kb/ht4024
    And for screen recording specifically, there's
    QuickTime Player 10.x: Record your computer’s screen
    http://support.apple.com/kb/PH5882
    Thank you for thinking of Apple Support Communities for your support needs.
    Nubz

  • Help in MB51 showing Old Material Number.

    Dear gurus
    Is there any way to show Old material number in MB51 ?
    Please help
    regards
    Saad Nisar

    Hi,
    This field will not be displayed in MB51.
    You will have to copy the programme to MB51 & take the table MARA, from where you can take the required field into the report.
    This programme can then be assigned to z report (For example - ZMB51).
    Regards,
    Prashant Kolhatkar

  • Last time i used FFsync it didnt ask me about any key! there was a phrse only which it didnt work now so i generate a new code as ur guide shows me and now i lost all my data! i need them alot, i adopted on your servies :( i need my data so badly plz help

    Last time i used FFsync it didnt ask me about any key! there was a phrse only which it didnt work now so i generate a new code as ur guide shows me and now i lost all my data! i need them alot, i adopted on your servies :( i need my data so badly plz help

    Lord K.  Thank you. Yes I am within the 90 time period, however I travel Intertionally and I can not receive not make a call to Apple. I was just at the Genius Bar in Chicago and they said, don't worry about it.  It just floats out there, however, I can not recover my messages on a flash drive. I need to go back to my old computer which I don't have with me.  My messages were in folders for a lawsuit.  It is going to take an incredible amount of work for me to, you have no Idea.  We are talking thousands of pages!  I the defendent will have them during discovery so I am not so worried.  However, I can not bring them to him on a Flashdrive when I meet with him without an extraordinary amount of presssure on my part.  THis is not just some little email issue. This is suing EXPEDIA and Tripadviosr.com

  • TS3899 My email only shows last weeks worth of mail! I want it to show all of my mail previous

    My email only shows last weeks worth of mail! I want it to show all of my mail previous

    There are a couple of things that could be deleting mail messages.
    In Mac's Mail app click on the Mail > Preferences menu item. Now select your offending mail account from the Accounts list.  Now click on Advanced.  There is a setting to "remove copy from server after retrieving message."  The Mail app will delete messages from your email service based on this setting.  This will not delete messages from your computer.
    If you are losing messages from your computer then click on  Rules in Mail's Preferences, then check each "rule" to see if there is one that could be deleting messages. Click on the rule and then  on Edit to see the rules criteria
    Example of a rule that would delete messages:
    If neither of these is your problem I suggest you check with Yahoo to see if there is a setting  on their service that could be deleting messages.
    Dan

  • My ipod randomly deleted half my music last night. When I plugged it into my MBAir, all my music and playlist were showing on itunes but the were all flagged. what's happened and what do I do to fix this???? HELP!

    My ipod randomly deleted half my music last night. When I plugged it into my MBAir, all my music and playlist were showing on itunes but the were all flagged. what's happened and what do I do to fix this???? HELP!

    It doesn't say anything. It runs through the sync process like normal and tells me all of the songs that it's synking. But then when it says I can disconnect it, nothing actually synked.

  • Combined analysis to show Opportunity records and all related Contacts?

    Hi All,
    I am trying to create an analysis that would pull up Opportunity records and all their associated Contacts, not only the Primary Contacts. I believe there is a way of doing this using Combined Analyses.
    Any suggestions will be of great help.
    Regards,
    Andy

    If you are using the out of the box fields defined for this purpose, both on the Product Revenue and Opportunity objects, then the Update Opportunity Totals button on the Product Revenue section would do it. If not then you'd need to go the Webservices way.
    Udaya

  • Show last month's actual figures

    Hello,
    I am creating a balance sheet report per profit center.  The columns involved showing the YTD actual balances as well as last month's actual figures.  I have tried making use of variables and sets (0SRPMAX) but can't figure out how to show last month's YTD actual figures.   Kindly advise.
    Thanks and regards,
    Thess

    Hi Sneha,
    Sorry for the late reply.  Below is how I have done it but I have to warn you that since I am new to config, it is still a work in progress.
    Based on the current report, I have to show P&L by plants (or in this case, profit center).   As such, I have two main profit center groups.
    All the cost centers are mapped to the correct profit centers.
    All the materials are also mapped to the profit centers and keeping a note on which plant the material has been assigned.
    In the IO master data, the profit center field have been made as a required field to make sure that statistical postings from IOs will be assigned with a profit center.
    For the B/S accounts which are NOT recon accounts, I assigned a default profit center in 3KEH.  And in 3KEI, a derivation rule has been maintained for the same B/S accounts.
    Then I proceeded in making the report via GRR2.
    Hope this helps.
    Regards,
    Thess

  • How can i get records of all text messages

    How do you get records of all your texts? Everyone tells me to go to text usage for my number but it does not show up. Any ideas? I need them like now

        Hey there Amanda_x,
    I've heard your cry for help and I am here to assist. Are you looking just for the numbers that you've texted and received texts from? Or are you looking for the actual text message conversation?
    If you are just looking for the numbers that you've texted and received texts from you can retreive that information through My Verizon. Once you are signed in as the account owner you would click on "view my usage" under Manage My Account. From there you can click on Breakdown of Recent Activity and from there you can view the messaging log for your line.
    If you are looking for previous text messages that may have been deleted. That cannot be retreived through My Verizon.
    Verizon Wireless is only able to provide an average of the last 3-5 days of content, but never more than ten days from the date and time the message is delivered.  Only messages that are received may be available. We also must receive a message with your consent and have it notarized and submitted by an attorney or law enforcement official.  You can have those documents faxed to (847) 706-7276.
    Let me know if you have any additional questions.
    NicholasB_VZW
    Follow us on Twitter @VZWSupport

  • Three Physical Samples withdraw from inspection lot 04  and then result record for all three

    Dear Gurus,
    We have 3 quality labs and each lab is sent a separate samples to inspect certain characteristics once we receive material from production. I have created an inspection plan and mapped these three labs as  work center in operation and then assigned MICs under each operation to inspect.
    Now my issue is how to map separate 3 samples to inspection lot generated from production  ( type-4) and also how to configure that to inspection plan.
    I have to result record for all these three physical sample as withdrawn from Lot based upon inspection plan as mentioned above.
    I can mention sample drawing procedure in inspection plan but how to map actual sample there.
    Any help will be greatly appreciated.
    Regards,
    Satish

    Hi Satish
    You are creating three operation for depicting three testing Labs.
    Against each lab (operation) you had assigned MICs as per your requirement.
    Now you have to assign a SDP along with inspection point type 200 for physical sample in task list.
    After prod confirmation system will create inspection lot along with a sample by default for 1st operation.
    For other operations you have to create samples manually referring the same inspection lot (QPR6).Remember to click ' Create Insp points' and mention operation.
    Release the samples in QPR4.
    Now when you go for result recording system would ask first for operation, so select the operation , then system will ask for insp point (sample no).There click on assign insp point , so system will provide the Sample no which were created in QPR6 for that particular operation.
    Please follow the steps and revert.
    Regards
    D Mohanty

  • ST03N Tcode not showing last 3 days average response time

    Hi,
    In my Production system not showing last 3 days average response time.In our production 1 (CI+DB) and 3 dialog instances are there. In all servers sapcollector working fine but in all servers not showing last 3 days values.Please advise solution.
    Thanks,
    Srinivas.

    The following are the prerequisites needed to get the workload monitor(st03) working.
    1)      The system time zone of the SAP and the Operating system has to be same. This can be done by customizing time zones of the SAP using the Tcode STZAC.
    2)     All the standard background jobs has to be scheduled to run. This can be done by scheduling the standard background jobs using the Tcode SM36.
    3)     The following parameters has to be added to the instance profile.
    Parameter                                                  Value(default)                                                  Description
    i.     stat/as_collect                                                          = 2                                          Application statistic: detailed records.
    ii.     stat/as_level                                                              = 1                                          Records for application statistic are active.
    iii.     stat/max_files                                                           = 48                                        Max. no. of stat files to be kept.
    iv.     stat/as_max_files                                                    = 48                                        Max. no. of appl. stat files to be kept.
    This can be done by editing the profiles using the Tcode RZ10.

Maybe you are looking for

  • Old problem with compressor

    Hi There, I am using a somewhat older version of FCP (5.0.4) A few years ago I remeber having some trouble with the compressor. It could not find the file's or something like that. Someone in this forum helped me to solve the problem. If I remeber we

  • How can I receive my email again?

    MY IPad stopped receiving mails last Thursday.  I have tried restarting my IPad, but it did not help.

  • Help Stored Procedure Problems

    I'm trying to call this stored procedure from VB to update an existing table where its fields match fields in another table. I always get a created with erros noteification when I create the procedure. CREATE OR REPLACE PROCEDURE smsattribute AS CURS

  • Do I need to buy Mac OS X Lion before purchasing Mac OS X Mountain Lion?

    Do I need OS X Lion before purchasing OS X Mountain Lion for Version 10.6.8?

  • Hierarichal tree from

    hi dear all,' i am new in oracle form developer. i design a some form in oracle form developer 6i now i want to run these form in one main form in this way i want to design a hierarichal tree. please any body help me how i can do that.....