How to get out of stock material in report

Hi,
I have a requirement where we need to find out which customers orders were not fulfilled due to stock availability. or how do I get which materials were out of stock yesterday.
thank you for your input in advance.
biapprentice

Stock is the most difficult information to manage in Business Warehouse, since it is fast changing and time depended data.
If I were you I will built my solution based on DSO and then infocubes. For example, you will store day + SKU + stock quantity in one DSO and you may create an other DSO you may store the daily order requirement. After this stage you can load calculated data in a infocube and report by using simple queries.
Hope I can open a gate.
Cheers,
Sarhan.

Similar Messages

  • How to get a opening stock of a material on a particular date

    Hi,
    Could you pls provide me the logic of how to get the opening stock of the material on a particular date. I searched the forum and found the logic to fetch the closing stock at a given period but not for a date.
    An immediate response would be really appreciated.
    Thanks
    Harris

    Dear,
    Please read following part of my code
    FORM GET_OPENING .
       IF IT_FINAL[] IS NOT INITIAL.
         SELECT *  FROM MARD
           INTO CORRESPONDING FIELDS OF TABLE IT_MARD
           FOR ALL ENTRIES IN IT_FINAL
           WHERE MATNR = IT_FINAL-MATNR
           AND   WERKS = '1000'.
         SELECT A~MBLNR A~MJAHR A~BUDAT B~WAERS B~ZEILE B~BWART B~MATNR B~WERKS B~LGORT B~CHARG B~SHKZG B~MENGE B~MEINS B~BUSTM B~XAUTO
           INTO CORRESPONDING FIELDS OF TABLE IT_MKPF
           FROM  MKPF AS A JOIN MSEG AS B
           ON A~MANDT = B~MANDT
           AND A~MBLNR = B~MBLNR
           AND A~MJAHR = B~MJAHR
           FOR ALL ENTRIES IN IT_FINAL
           WHERE B~MATNR = IT_FINAL-MATNR
           AND   A~BUDAT GE P_BUDAT-LOW
           AND   B~WERKS = '1000'.
       ENDIF.
       AKTDAT = SY-DATLO + 30.
       IF NOT ( P_BUDAT-HIGH IS INITIAL OR P_BUDAT-HIGH > AKTDAT ).
         LOOP AT IT_MKPF INTO WA_MKPF WHERE BUDAT > P_BUDAT-HIGH.
           MOVE-CORRESPONDING WA_MKPF TO IT_MKPF1.
           APPEND IT_MKPF1.
           DELETE IT_MKPF.
         ENDLOOP.
       ENDIF.
       SORT IT_MKPF1 BY WERKS MATNR SHKZG.
       LOOP AT IT_MKPF1.
         IF ( IT_MKPF1-XAUTO IS INITIAL ) OR
             ( IT_MKPF1-BUSTM <> 'MA02' AND  IT_MKPF1-BUSTM <> 'MA05' ) .
           MOVE-CORRESPONDING IT_MKPF1 TO IT_MAT.
           COLLECT IT_MAT.
         ELSE.
           DELETE IT_MKPF1.
         ENDIF.
       ENDLOOP.
       SORT IT_MKPF BY WERKS MATNR SHKZG DESCENDING.
       LOOP AT IT_MKPF INTO WA_MKPF.
         IF ( WA_MKPF-XAUTO IS INITIAL ) OR
            ( WA_MKPF-BUSTM <> 'MA02' AND
            WA_MKPF-BUSTM <> 'MA05' ).
           MOVE-CORRESPONDING WA_MKPF TO T_MAT.
           COLLECT T_MAT.
         ELSE.
           DELETE IT_MKPF.
         ENDIF.
       ENDLOOP.
       LOOP AT IT_MARD.
         CLEAR IT_MAT-MENGE.
         MOVE-CORRESPONDING IT_MARD TO FINAL.
         READ TABLE IT_MAT WITH KEY WERKS = IT_MARD-WERKS
                                    LGORT = IT_MARD-LGORT
                                    MATNR = IT_MARD-MATNR
                                    SHKZG = 'S'.
         FINAL-ENDMENGE = IT_MARD-LABST + IT_MARD-INSME + IT_MARD-SPEME + IT_MARD-EINME + IT_MARD-RETME - IT_MAT-MENGE.
         CLEAR IT_MAT-MENGE.
         READ TABLE IT_MAT WITH KEY WERKS = IT_MARD-WERKS
                                    LGORT = IT_MARD-LGORT
                                    MATNR = IT_MARD-MATNR
                                    SHKZG = 'H'.
         FINAL-ENDMENGE = FINAL-ENDMENGE + IT_MAT-MENGE.
         COLLECT FINAL.
       ENDLOOP.
       LOOP AT FINAL.
         CLEAR T_MAT-MENGE.
         READ TABLE T_MAT WITH KEY WERKS = FINAL-WERKS
                                    MATNR = FINAL-MATNR
                                    SHKZG = 'S'.
         MOVE T_MAT-MENGE TO FINAL-SOLL.
         CLEAR T_MAT-MENGE.
         READ TABLE T_MAT WITH KEY WERKS = FINAL-WERKS
                                    MATNR = FINAL-MATNR
                                    SHKZG = 'H'.
         MOVE T_MAT-MENGE TO FINAL-HABEN.
         FINAL-ANFMENGE = FINAL-ENDMENGE - FINAL-SOLL + FINAL-HABEN.
         MODIFY FINAL.
       ENDLOOP.
       LOOP AT FINAL.
         WA_FINAL1-MATNR = FINAL-MATNR.
         WA_FINAL1-MEINS = FINAL-MEINS.
         WA_FINAL1-OP_MENGE = FINAL-ANFMENGE.
         WA_FINAL1-RE_MENGE = FINAL-SOLL.
         WA_FINAL1-IS_MENGE = FINAL-HABEN.
         WA_FINAL1-CL_MENGE = FINAL-ENDMENGE.
    *  WA_FINAL-LGORT = FINAL-LGORT.
    *    READ TABLE IT_MAKT WITH KEY MATNR = FINAL-MATNR.
    *    MOVE IT_MAKT-MAKTX TO WA_FINAL-MAKTX.
         APPEND WA_FINAL1 TO IT_FINAL1.
       ENDLOOP.
    ENDFORM.                    " GET_OPENING

  • In sales return how to get in unrestricted stock the commission number 653E

    Dear All ,
    We have return the sales order how ever the material is in Sales order stock
    How to get in unrestricted stock 411E i have tried GL account not maped
    Regards
    Ramesh

    Hi Ramesh,
    Your requirement is not clear
    you want to move the return sales order stock to unrestricted ?
    If not, please give some additional information
    thanks
    santosh

  • Cant Figure out how to get out of App's like Twitter

    I just got my new Q5 (Traded in Curve)  \i figured out most of the phone but have not been able to figure out how to get out of App's like Twitter or any browser Apps once \i am in there.  I used to have the nice little "back button" on the Curve but no more Back Button on this one  Ive tried swipping every which way but loose with no luck.  Even when I am in my photos, I can figure out how to go back to the main menu (other than to turn the phone off and turn it back on)   Is there a Back button somewhere or is my phone just not working right.  please help
    Solved!
    Go to Solution.

    Hello tomanator
    To close app, swipe up from the bottom of the screen, and tap X at bottom right of each app.
    • Click Likes to appreciate those who helps you
    • If your issue solved, mark the best post in your thread as Solution

  • How to get out of full screen mode in Firefox 4?

    How to get out of "Full Screen Mode" in firefox 4 ?

    Pressing the F11 should do it.

  • How to get out of recovery mode in ipod touch 4thgen?

    Hello Apple i am rohith. iam having ipod touch 4th gen. it has ios version 4.1. recently i tried to update it, i have downloaded the update also but while installing an errour has occured and it has gone to recovery mode. can u please give your answer how to get out of recovery mode. it has some imprtant notes belonging to my office

    Without knowing what the error message said:
    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer          
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • How to get out of for loop in eclipse debugging

    How to get out of for loop in eclipse debugging for java classes ?
    I am in a for loop in a code. i want to get out of it ...but how ?

    is changing the behaviour of a running class like that really going to be any use for debugging? what's the actual problem?

  • Computer password doesn't work! How to get out of this ****! Cannot install apps!

    computer password doesn't work! How to get out of this ****! Cannot install apps!
    I am not talking about appleID of course!
    Must I reinstal the system?

    OS X: Changing or resetting an account password
    Forgot Mac Password? How to Reset Your Mac Password (with or without CD)
    Change the Admin Password with Mac OS X Single User Mode
    Reset mac mini admin password: Apple Support Communities

  • My ipod touch 4 gen is in recovery mode and i dont know how to get out of it,i tried everything like hold the home and top button at the same time. All it did what g to the apple logo and went back to recovery mode any help?

    My ipod touch 4 gen is in recovery mode and i dont know how to get out of it,i tried everything like hold the home and top button at the same time. All it did what g to the apple logo and went back to recovery mode any help?

    Once the Device is asking to be Restored with iTunes... it is too late to save anything... and you must continue with the Recovery...
    kevinpowell1 wrote:
    how can i get it out of recovery mode?
    Make sure you have the Current Version of iTunes Installed on your computer
    iTunes free download from www.itunes.com/download
    Then See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
    Take your time... Pay particular attention to Steps 3 and 4.
    Some users have reported as many as 8 or 9 attempts were necessary before success.
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766
    If the issue persists...
    Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • How to get out of recovery mode iphone 3gs ios4.3.5

    please can any help on how to get out of recovery mode iphone 3gs ios4.3.5

    Reset, hold both Home and Power buttons until the iPhone restarts.
    If still in Recovery Mode, Restore in iTunes. If the iPhone Errors, write down the Error Code so you can look up the cause and solution.

  • How to get out of demo mode on ipad2

    how to get out of demo mode on ipad2

    Did you erase it and restore it as a new iPad after you bought it? If not, I would do that first and see if that helps.
    ~Lyssa

  • How to get out of recovery mode? (urgent)

    how to get out of recovery mode?

    You iPod encountered an error and has to be restored.
    Maybe a data recovery company can help get the info back..
    Also,
    - Maybe via How to perform iPad recovery for photos, videos
      Wondershare Dr.Fone for iOS: iPhone Data Recovery - Wondershare Official

  • How to get out of recovery mode iphone 4

    how to get out of recovery mode iphone 4

    Plug it into your computer running iTunes and restore it.

  • HT4061 how to get out of restore mode

    how to get out oif recovery mode

    Have you worked through both of these kb's?
    http://support.apple.com/kb/HT1414
    http://support.apple.com/kb/HT1808 (particularly point #6)
    What do you see on the device screen?

  • Why does my Imac screen slide and I lose my screen?  It goes back to my desktop.  Then sometimes my screen goes to full screen and I don't know how to get out of it.

    Why does my Imac screen slide and I lose my screen ~ It goes back to my desktop.
    Then sometimes my screen goes to full screen without me doing any commands, and I don't know how to get out of it without going to force quit and starting all over. 

    Hi,
    When it goes full screen try moving the mouse up to top right of scren & see if there a double diagonal Arrow to click on.
    On the other see if it's the silly implentation of Spaces/Mission Control/Expose in ML...
    https://discussions.apple.com/thread/4298411?start=0&tstart=0

Maybe you are looking for

  • Exported audio is same size of original video, after video'ss been cut

    I have a 1.2GB video file, and its audio file is about 500MB. If I cut the video into pieces in iMovie, they get smaller, but the extracted audio piece is always 500MB. Is there any way around this ? Is it possible to split a video in QuickTime ? I w

  • Reserving the sessions for a user in Oracle database

    Hi, Suppose the Oracle database is running in dedicated mode. I want sys or abc user to have some sessions reserved for them. This is because if there is heavy load on the system and all the sessions are used up then we can not connect to database to

  • How to install EP 5.0 ?

    Hi experts, Can anyone show me step by step how to install the EP 5.0 on the server windows 2000? (We have R/3 4.6C as SAP system on the same server.) Thanks!

  • Requirement to generate new IDOC'S

    Hi All, I have a flat file with customer legacy data . Using the data from the file, I  need to generate IDOCS and populate the respective database tables. Please could someone guide me as to how we could do this. Regards, Sushanth Hulkod

  • Can JNDI store a datasource? It is supposed to...

    I am trying to learn how to use JNDI to store a datasource. If I use the DataSource as below (without JNDI), the path and process works: connection = mysqlDataSource.getConnection();However, I want to try to retrieve the connection via a Context, and