Table for temporarily stock /requirement  for tocde /afs/mdo4

Dear expart,
I developed a zreport for display STO number, Production order number, operation etc.
mainly I use here AFPO,AFRU, MSEG, MCHB & J_3ABDSI Table.
My problem is, when I compare with Tcode /afs/md04 tab-temporarily stock /requirement  .
for some MATNR
data show properly.
and some MATNR are blank  with message Last MRP run on 04.04.2011 or such date.
Hhow i can filter the in Z-report which MATNR are not in Tcode /afs/md04 tab-temporarily stock /requirement  .
my code is.
SELECT  j_3abdsiaufnr j_3abdsimatnr j_3abdsij_4krcat j_3abdsimbdat j_3abdsi~menge INTO TABLE it_eket FROM j_3abdsi
    FOR ALL ENTRIES IN it_final1
    WHERE
          j_3abdsi~j_4krcat = it_final1-j_4ksca AND
          j_3abdsi~matnr = it_final1-matnr AND
          j_3abdsi~werks = it_final1-werks AND
          j_3abdsi~bdart = 'TB' AND
          j_3abdsi~plart = 'B' AND
          j_3abdsi~bsart = 'UB'.
Pls help .
Rayhan
Edited by: Abu Rayhan on Apr 5, 2011 10:24 AM

CLEAR i_data1.
  REFRESH i_data1.
  LOOP AT i_mara.
    READ TABLE i_marc WITH KEY matnr = i_mara-matnr  BINARY SEARCH .
    IF sy-subrc = 0 .
      CALL FUNCTION 'J_3AM_DISPOSITION_DISPL'
        EXPORTING
          i_matnr                 = i_mara-matnr
          i_werks                 = p_werks
      I_DIALOG                = ' '
      I_SPERR                 = ' '
      I_AUFRUF                = ' '
      I_BANER                 = ' '
         i_todate                = todate
      I_HEADER_ONLY           = ' '
       IMPORTING
         ex_dbba                 = i_data3
      E_MDKP                  =
      EX_PBBD                 =
      EX_MELD                 =
      E_CM61M                 =
       EXCEPTIONS
         material_gesperrt       = 1
         wbz_fehler              = 2
         material_prgr           = 3
         dispo_gesperrt          = 4
         OTHERS                  = 5
      IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        IF i_data3[] IS NOT INITIAL.
          LOOP AT i_data3 INTO i_data4 .
              IF ( i_data4-j_3astat ='A' OR i_data4-j_3astat ='T') AND i_data4-j_3abskz ='C'   .
                READ TABLE i_t001l WITH KEY lgort = i_data4-lgonr  BINARY SEARCH .
                IF sy-subrc = 0 .
                  CLEAR i_data1str.
                  i_data1str-matnr = i_data4-matnr.
                  i_data1str-j_3asize = i_data4-j_3asize .
                  i_data1str-lgort = i_data4-lgonr.
                  i_data1str-menge = i_data4-menge .
                  COLLECT i_data1str INTO i_data1.
                ENDIF.
              ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
  ENDLOOP.
Questions
i_mara  recordset 500 material
It take more than 3 house to finished this report.
do changed ?
do you help me ?
Think.

Similar Messages

  • Stock Requirements for days

    Dear Expert,
    Please let me know if we can see the stock requirements for each day in MD04, our forecasting prediction shows the total requirement for each week but we need to know the requirement for each day or every two days in a week from the total requirement, it is to avoid stocking more inventory in our warehouse.
    Please advise
    Thanks.

    Hi Mario,
    Could you please explain the procedure to employ a split strategy at the demand planning level (from the week to the day). We input the total consumption values in of recent  eight weeks and forecast for upcoming eight weeks. As you said so the requirements are shown for each week upto eight weeks in MD04.  But they want to know the quantities to order for every two days in a week so that the inventory stock mayn't be necessary.
    Thanks again...

  • Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code

    I get this message when I check the Device manager for my Ipod
    Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code 52)
    How do I resolve this I have reinstalled iTunes but it still doesn't recognise my ipod

    I reinstalled Itunes a couple of times.  I unistalled all programs that I never use, I updated all of my drivers, Windows swept my computer and found no problems.  I have a yellow causion lite when I look at the USB-port with the phone connected.  All other devices work without a problem.

  • "Windows cannot verify the digital signature for the drivers required for this device."

    When I connect my iPod to my laptop, it only connects for about 10 seconds before disappearing. If I look at the iPod's properties in the Device Manager, it says:
    Windows cannotverify the digital signature for the drivers required for this device. A recenthardware or software change might have installed a file that is signedincorrectly or damaged, or that might be malicious software from an unknownsource. (Code 52)

    I would uninstall and reinstall the Apple software.  See the following.  The following also has a link for Win7/Vista
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • Windows cannot verify the digital signature for the drivers required for this device. Code 52

    Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code 52).
    I have reinstalled, uninstalled, the whole 9 yards.

    See the driver topic of:
    iOS: Device not recognized in iTunes for Windows
    I would start with:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • Windows cannot verify the digital signature for the drivers required for this device. A recent hardw

    windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is singned incorrectly or damaged, or that might be malicious software from unknown source (Code 52)

    Hi,
    What are you trying to do ? To help us answer question quicker, please read this:
       http://h30434.www3.hp.com/t5/First-Time-Here-Learn-How-to/Welcome-Get-started-here/td-p/699035
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Table name and field required for Project name

    Hi Guys
    I need to print Transfer order print out
    Which Table and field I need to take to print Project number (Original format) BSA01.000045.00002

    hello,
    if i am right in understanding your question, then you wanted to know the technical details about the project number or should i say project id, from which wbs elements are created, on which we finally place the orders.
    if this is what you want, then for getting the prject number for a particular order, at the table level, follow the below steps -
    using the po number or order number as an input in ekkn table, along with the po line item, you will get the wbs element for the order number for that particular po line item.
    and using this wbs element as an input in prps table, you can find the current project number.
    finally using this current project number as an input in the table proj, you can find the project id or project number = proj-pspid
    so you will require 3 tables to get the required details.
    hope this helps you.
    Regards,
    Zafar.

  • How to find out the table column that is required for index

    hi all,
    i want to the column required for index in one schema.
    what are the ways to achieve the same.

    To know what columns to index you must, not should, but must, know your data, know how it will be used, and know how your WHERE clause filters will affect how the data is accessed.
    Building indexes based on some rule is a waste of CPU, disk i/o, and space.
    To build indexes that enhance rather than degrade a system requires research and the use of explain plan reports generated with DBMS_XPLAN.
    http://www.morganslibrary.org/library.html

  • Account determination for project stock delivery (for movement type 281Q)

    Hello
    We are trying to carry out delivery for project stock (CNS0) using  movement type 281Q.
    We notice that there is no account modifier availalbe for this scenario resulting in error during PGI. However, we can do PGI after changing the config of account determination without account modifier.
    Since working without an account modifier is not acceptable for various business reasons, we must have an account modifier defined. We are wondering why SAP has not provided a standard solution for dealing with project stock delivery.
    Can any one please suggest how to deal this situation.
    Thanks and warm regards,
    Jagadeeesh

    We have business requirement as stated below:
    We need to procure materials for specific Projects but also want to track the stock for the Project by value in the invnetory. In other words, the encumbrance of the procurement needs to take place against the Project but we want to be able to take it into inventory as a valuated stock and issue to the WBS whenever it is required.
    Is this possible?  What we know is that as soon as we give reference of the WBS for the Procurement, it gets expensed to the Project and we cannot value manage in inventory.
    The reason for this requirement is there is a long time between when the item is procured and when it is used for the project. Till such time we have to track the Project items in the inventory as any other stock but its still tagged for the project and encumbrance would need to have happened
    Any ideas on how to deal with this will be appreciated
    Thanks
    Noornie

  • Function module for getting stock details for a given period or date range

    Hi experts,
         Any function module available for getting stock details batch, plant, storage location, and period wise. <<removed_by_moderator>>
    Thanks in advance
    M Prasanna
    Edited by: Vijay Babu Dudla on Apr 28, 2009 7:23 AM

    Hi,
    Try with this FM:
    BAPI_MATERIAL_AVAILABILITY .
    Go through this link for more details:
    ABAP Development
    by
    Prasad gvk.

  • Please send sample document for understanding the requirement for reports

    Hi
    Can some body send sample document for the understanding the requiremets of reports in BI
    I nee to prepare sample document for understanding the requirement.
    please help on this.
    Regards,
    Anand Reddy

    hai experts,
            please  share the code how to enable the selections  at the rsa3 level ,if the generic extractor is based on function module.
         thanks in advance

  • Services for Object activation required for VA02 in SAP 4.0B version

    Hello,
    This is regarding Sales Order Change (VA02) and If I select the  MENU navigation :  SYSTEM -> Services for Object in ECC 6.0 then it is populating one Pop-up stating that "Sales Order XXXXXXX" Here we have the option for "Create Attachment".
    For this we need to do one prerequist in SAP ECC 6.0 Goto Tcode SU01 under the "Parameter" Tab we need to provide the following Parameter ID i.e
    SD_SWU_ACTIVE and Parameter value is : "X".
    The Same scenario I need in SAP 4.0b version.
    It would be grateful if you can helpout in this issue.
    Than you very much in Advance ...

    Hi,
    Absolutely it is not possible.
    The services for object is only visible, once the original object is created.
    Even if you check for normal F-02 entry also, it wont be visible during entry, but will be visible after posting if we go thru FB02 or FB03.
    Any attachment can be assigned through the services for object, is possible only after creation of the dependent / original data.
    So for AS02 and AS03, the dependent data has to be there in the DB, which has been created with AS01.
    Thanks,
    Srinu

  • Is Ansi c cc compiler for HP-UX require for installation of oracle 9i (9.2)

    Hi.
    I'm doing an installation of Oracle 9i 9.2 on HP -UX Itanium version 11i. The installation fails when OUI tries to relink executables. Release note clearly states "Requires Ansi c cc which is located in /opt/ansic/bin".
    Is this Ansi c cc a requirement?. I don't have a /opt/ansic/bin directory.
    Help will be greatly appreciated ...!

    Hi.
    I've read that already and linked files with the root user, because I don't understand what they mean by enable superuser privileges. Superuser privileges for whom? the oracle user?. How do i do it? by making it a part of root group?. Anyway, as i said, i made those links as the root user and tried to install DB with same result.
    Now if you read release notes, it clearly states that ansci c cc is required and is located at /opt/ansic/bin. I'm afraid I don't have that directory, so i assume i have to install ansi c cc. Since this is stated on release note, i consider this information more current.
    Please review release note and let me know what you think!.
    Regards Luis !

  • Looking for what software required for Enterprise Manager Installation

    Hi All,
      I am fairly new in working with Enterprise Manager, Previously used 11g Database Control, but never install Enterprise Manager (OEM). Now due to the increase in databases, I am considering to install OEM (Oracle Enterprise Manager) to list all database (from over 20 Linux severs) to one location.
    I have read documentation and still confused on what should be installed for OEM. I am planning to use OEM 12c Release (12.1.0.4), my current databases are 11gR2 (11.2.0.4 ).
    Could you tell what I need from below list?
    OEM (12.1.0.4)
    Web Logic server (Do I need that separately, or will this be installed with OEM?)
    OEM Agent on all other 20 servers (do I need to install separate software on them? Please guide)
    Any specific version of Java.
    Please guide me if I need any other software or plugin.
    I have already installed oracle software and have created a database by using “Custom” option in DBCA. My server OS is Linux 64 Bit for Enterprise Manager.
    Thanks in Advance.

    Hi,
    You would need 12c OEM cloud control software , Database software(For creating repository) and agent software (For monitoring targets on other hosts)
    Java Development Kit (JDK) 1.6.0.43.0 and Oracle WebLogic Server 11g Release 1 (10.3.6) are installed by default with the 12c OMS installation although you do have a option of installing it separately if you want but Oracle strongly recommends using the 12c installation process to install the JDK and Oracle WebLogic Server for use with Enterprise Manager 12c.
    Below is the link for Enterprise Manager Cloud Control 12c Architecture
    http://docs.oracle.com/cd/E24628_01/doc.121/e25353/overview.htm#EMCON112
    For 12c OMS installation steps refer to
    http://docs.oracle.com/cd/E24628_01/install.121/e22624/toc.htm
    EM 12c R2: How to Install Enterprise Manager Cloud Control 12.1.0.2 using GUI Mode (Doc ID 1488154.1)
    For agent installation refer to
    Installing Management Agents Using Add Host Targets Wizard or EM CLI
    http://docs.oracle.com/cd/E24628_01/install.121/e22624/install_agent.htm#EMBSC181
    Installing agents using other methods
    http://docs.oracle.com/cd/E24628_01/install.121/e24089/part_installing_agent.htm#sthref323
    To download 12c software
    http://www.oracle.com/technetwork/oem/enterprise-manager/downloads/index.html
    Regards,
    Rahul

  • How to satisfy "Waiting for user logon" requirement for multiple machines

    Let me preface this by saying I know the "real" solution is to make my package run whether or not a user is logged on, but here me out.
    I have some packages that someone else builds where they're set to only run when a user is logged on, which then in Monitoring builds up quite a few "waiting for user logons" since some machines go unused for a week at a time.
    Is there any slick way to get around that?  or to have a script which logs on to a list of machines then logs off after say 10 minutes so the SCCM installs can occur?

    if you are worried about packages deploying to user machines irrespective of logged in or not,why dont go with program settings 'whether or not used logged in' instead of choosing 'only when user logged in' and try for other alternatives to install app
    .'whether or not used logged in' will straight away install the applications for you .
    Eswar Koneti | Configmgr blog:
    www.eskonr.com | Linkedin: Eswar Koneti
    | Twitter: Eskonr

Maybe you are looking for

  • Why are times not displayed in Monthly view of iCalendar?

    After the last update, the times for events in the monthly view in Calendar are no longer displayed? I have checked preferences and cannot find how to get this back. It did before and I used it for my office for appointments and I need the times disp

  • Windows desktop application -- version of this file is not compatible with the version of Windows you're running

    I am developing on 64-bit Windows7 Enterprise using VisualStudio 2013.  I created a new Windows desktop VB.net application and just created a release build of the default solution/project targeting "Any CPU".  I provided the EXE to a colleague who is

  • [JS, CS3] Change text color and export pdfs

    Hi there, I am new to scripting and I am trying to find out if a script exists that will export a PDF, then change all text of a certain color to black, then export another pdf with the same settings as the first, but appending the filename. I've sea

  • How to upload a text file to a webpage and process it using a Java app?

    Apologies if the question is off topic. I would like a user to upload a text file to a webpage and have a pre-existing Java application I created process the text file and return the results to the user. The Java application is fairly memory intensiv

  • Why Two?

    As most of you now, sound in movies are represented by two audio tracks. My question is, Why is this? And do I need to keep both tracks which are playing the same thing when I mix the sound, or should I just delete one track?