Total of the number of stock lines held in storage at any given time

Hi Experts,
  Is there a transaction we could use that will quickly give us a total of the number of stock lines held in storage at any given time? can anyone please advise
  Many Thanks

Solved.
SE16 and table LQUA or LAGP. LAGP is more logical but takes longer to generate the result.
Regards
Simon

Similar Messages

  • How to find the number of fetched lines from select statement

    Hi Experts,
    Can you tell me how to find the number of fetched lines from select statements..
    and one more thing is can you tell me how to check the written select statement or written statement is correct or not????
    Thanks in advance
    santosh

    Hi,
    Look for the system field SY_TABIX. That will contain the number of records which have been put into an internal table through a select statement.
    For ex:
    data: itab type mara occurs 0 with header line.
    Select * from mara into table itab.
    Write: Sy-tabix.
    This will give you the number of entries that has been selected.
    I am not sure what you mean by the second question. If you can let me know what you need then we might have a solution.
    Hope this helps,
    Sudhi
    Message was edited by:
            Sudhindra Chandrashekar

  • Ignore the number of schedule lines in sale order item when run MRP

    Dear All,
    I have a problem when I create production order (discrete manufacturing)
    When I create a sale order with one sale order item and 3 schedule lines for this sale order item.
    After that, I run MRP for this sale order, what I get is 3 planned orders for 3 schedule lines. It means that I will have 3 production orders for 1 sale order item.
    I want  create one production order for one sale order item whatever the number of schedule lines in sale order item.
    I think I have to config in MRP. Please help me.
    Thanks in advance

    Dear
    Check in OPPQ then look in Master data Availability Check & strategy for material also check whether u have maintained strategy for same material and see did u extended sales views for other material
    As u said 3 schedule lines for this sale order item check whether u have extended sales views for next material
    With Regards
    Pushpalas

  • Text flow into one or two column text boxes depending on the number of text lines

    Question InDesignCS3
    Is it possible to let text flow into one or two column textboxes depending on the number of text lines?
    Example 1)
    --Default text box--|
    | Text line 1 |
    | Text line 2 |
    | Text line 3 |
    | Text line 4 |
    ------------------- |
    If there are more than 4 text lines in the in the text box, this box has to become a two column box. like example 2
    example 2)
    |Text line 1 | Text line 4 |
    |Text line 2 | Text line 5 |
    |Text line 3 | Text line 6 |

    if (myTextFrame.lines > 4) {
    myTextFrame.textFramePreferences.textColumnCount = 2;
    } else {
    myTextFrame.textFramePreferences.textColumnCount = 1;

  • How to limit the number of PO line items in ME59N

    Hi,
    The purchase requisition has more than hundred lines, possibly from the same vendor but different MC.
    During conversion in ME59N, User wanted to limit the number of PO line items to just 20 lines per PO.
    Is there a way to configure it?
    thanks

    Hi,
    I believe this is not possible in standard way...
    assume you can call a method on the IF_EX_ME_PROCESS_PO_CUST
    interface of the ME_PROCESS_PO_CUST add-in to do this.
    1. check out the enhancment
    MEREQ001
    2. In this, check out the FM Exits :
    EXIT_SAPLMEREQ_008
    EXIT_SAPLMEREQ_010..
    hope it helps you.
    Kuber

  • Count the number of extracted lines

    Access vekp with vekp-objkey = mkpf-xblnr and vekp-vpobj = '03' and vekp-uevel = blank.
    Get field vekp-venum.
    Access again vekp with vekp-vpobjkey = mkpf-xblnr and vekp-uevel = vekp-venum.
    Count the number of extracted lines.

    Hi,
    First u should start writing the code on ur own:
    here's some sketch:
    tables: vekp, mkpf.
    data: begin of itab_vekp occurs 0,
          venum like vekp-venum,
         end of itab_vekp.
    data: begin of itab_mkpf occurs 0,
            xblnr like mkpf-xblnr,
          end of itab_mkpf.
    data: count type i.
    select-options: s_xblnr for mkpf-xblnr.
    select xblnr from mkpf into table itab_mkpf where xblnr in s_xblnr.
    select venum from vekp
      into table itab_vekp
    *  for all entries in itab_mkpf
    where vpobjkey = itab_mkpf-xblnr
       and vpobj = '03'
       and uevel = ' '.
    if sy-subrc eq 0.
    count = sy-dbcnt.
    endif.
    Edited by: Mahesh Reddy on Mar 4, 2009 7:07 AM

  • HT5556 Hi ! I have a problem whit my iTunes card . I scratch the cod but is been of also the number and letter so I can't activate any more that card . Can you help me please to find the good code . Thank you

    Hi ! I have a problem whit my iTunes card . I scratch the cod but is been of also the number and letter so I can't activate any more that card . Can you help me how to fiind the good code  please  Thank you

    Click here and request assistance, supplying as much of the code as you can.
    (74543)

  • Setting the number of print lines in a Crystal 8.5 report

    I want to be able to conditionally start a new page when the number of lines reaches a set amount.  The report needs to print within the body of a preprinted report. 
    On a separate note, since Crystal changed from Business Objects it does not seem there is a knowledgebase that can be easily searched.

    If you have any field in the details section that contains data then you can use the condition  "NewPageAfter" that exist in section expert by right clicking on the details section and click on X+2 corresponding to "NewPageAfter" and write the condition like
    remainder(recordnumber,10)=0
    This prints the lines in a new page for every 10 records.
    for 15 records then use this
    remainder(recordnumber,15)=0
    so on......
    Regards,
    Raghavendra

  • Block stock calculation from mseg table for any given date.

    I am calculating stock from mseg table for any given date. Not just month end stock or current stock. It could be back date also. It is tallying also with MB5B stock report of that date. Now I have to bifurcate that stock into unrestricted stock, quality stock and block stock.
    I have checked INSMK and ZUSTD field in mseg table, but could not concluded. Should I check movement type wise? Block/ Quality stock could be transferred into unrestricted stock also. That also I have to take care.
    Can anyone clearly explain how the stock type posting takes place in mseg table when goods receipt as block / quality stock and when the same goods transferred in unrestricted stock, what are the reference indication.

    DATA : LIST_TAB TYPE TABLE OF ABAPLIST.
    DATA: BEGIN OF VLIST OCCURS 0,
          FIELD1(5)  TYPE C,
          FIELD2(19) TYPE C,
          FIELD3(16) TYPE C,
          FIELD4(17) TYPE C,
          FIELD5(25) TYPE C,
          FIELD6(24) TYPE C,
          FIELD7(25) TYPE C,
          FIELD8(25) TYPE C,
          END OF VLIST.
    TYPES : BEGIN OF ITAB,
           MATNR(18) TYPE C,
           WERKS(5) TYPE C,
           END_MENGE(20) TYPE C,
           END OF ITAB.
    DATA : ITAB TYPE STANDARD TABLE OF ITAB WITH HEADER LINE,
            WA_TAB TYPE ITAB.
    ----submit command to run mb5b in the background and -
    ----push the data into an internal table -
    " Calling MB5B for displaying the Closing Stock
    SUBMIT RM07MLBD USING SELECTION-SCREEN  '1000'
                    WITH DATUM BETWEEN S_DATE-LOW AND S_DATE-HIGH
                    WITH MATNR IN S_MATNR WITH WERKS IN S_WERKS
                    WITH BWART-LOW = '601' EXPORTING LIST TO  MEMORY
                    AND RETURN.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        LISTOBJECT = LIST_TAB
      EXCEPTIONS
        NOT_FOUND  = 1
        OTHERS     = 2.
    CALL FUNCTION 'LIST_TO_ASCI'
      EXPORTING
        LIST_INDEX         = -1
      TABLES
        LISTASCI           = VLIST
        LISTOBJECT         = LIST_TAB
      EXCEPTIONS
        EMPTY_LIST         = 1
        LIST_INDEX_INVALID = 2
        OTHERS             = 3.
    LOOP AT VLIST WHERE FIELD1 CS '|'.
    CHECK SY-TABIX GE 4.
    MOVE :  VLIST-FIELD1+1(4) TO ITAB-WERKS,
            VLIST-FIELD2+1(18) TO ITAB-MATNR,
            VLIST-FIELD8 TO ITAB-END_MENGE.
    APPEND ITAB.
    ENDLOOP.
    This is the program to call MB5B and the standard program and use the following settings for the closing stock opening stock and block stock

  • How to Increase the Number of Rows/Lines in a document

    Dear Experts,
    I have pre printed stationary that prints only 5 rows before moving to the next page. How can I increase this to 10 lines or more ?
    Regards

    Hi Martin,
    Which layout is this?  Is it the Cheque For Payment?  If it is, there is a setting to determine the max lines per page and even if you change the repetitive area setting it will still only print 5 lines.
    The setting is in:
    Administration / System Initialisation / Print Preferences.
    On the Per Document tab, select Cheque For Payment.  Change the Maximum Lines field.
    If it is not Cheque For Payment, try Jimmys solution.  The amount of rows though, is also dependant upon things such as the size of your page headers and footers and how much space is left after they have printed, so if you still can't get more lines per page, make those smaller.
    Regards,
    Adrian

  • How to find the start and end sector index/physical address of any given file?

    I need to find the range of sectors that a file occupied. Then determine the slack space in that file and then analyze the slack space. This is a forensics project work. I am new to forensics and have no idea what Window API calls may help me accomplish
    this task. Any kind of help will be appreciated. 

    One solution if you want all the dates in one column:
    SQL > SELECT *
      2  FROM
      3  (
      4     SELECT  (CASE WHEN ID = 1 THEN TRUNC(MTH,'MONTH') ELSE ADD_MONTHS(TRUNC(MTH,'MONTH'),1)-1 END) AS MTH
      5     FROM
      6     (
      7             SELECT  ADD_MONTHS(TO_DATE(:begin_month,'MM/DD/YYYY'),LEVEL-1) AS MTH
      8             FROM    DUAL
      9             CONNECT BY LEVEL <= ABS(MONTHS_BETWEEN(TO_DATE(:begin_month,'MM/DD/YYYY'),TO_DATE(:end_month,'MM/DD/YYYY')))+1
    10     )
    11     CROSS JOIN
    12     (
    13             SELECT 1 AS ID FROM DUAL UNION ALL
    14             SELECT 2 FROM DUAL
    15     )
    16  )
    17  WHERE MTH BETWEEN TO_DATE(:begin_month,'MM/DD/YYYY') AND TO_DATE(:end_month,'MM/DD/YYYY')
    18  ORDER BY MTH
    19  /
    MTH
    03/31/2009 00:00:00
    04/01/2009 00:00:00
    04/30/2009 00:00:00
    05/01/2009 00:00:00
    05/31/2009 00:00:00
    06/01/2009 00:00:00
    06/30/2009 00:00:00
    07/01/2009 00:00:00
    07/31/2009 00:00:00
    08/01/2009 00:00:00
    08/31/2009 00:00:00
    09/01/2009 00:00:00
    09/30/2009 00:00:00
    10/01/2009 00:00:00
    10/31/2009 00:00:00
    11/01/2009 00:00:00
    11/30/2009 00:00:00
    12/01/2009 00:00:00
    12/31/2009 00:00:00
    01/01/2010 00:00:00
    01/31/2010 00:00:00
    02/01/2010 00:00:00
    02/28/2010 00:00:00
    03/01/2010 00:00:00

  • See the user's hostname when doing transactions at any given time.

    Hi SAP Experts,
    I want to see the hostname it used the user when the user is executing a transaction at a particular date and month. And current condition Security Audit not active. Can I see this? I can see on tCode ST03N (1 month ago), but I can't see detail the hostname.
    Do I need to enable Security Audit (SM19) if I want to track user activity? Is it necessary for security reasons?
    Please advice for active strategy schedule Security Audit because if it is activated storage will fill up quickly.
    Thanks,
    Marjan

    Hi Marjan,
         Without enabling the Security Audit, You can't find the required details like hostname/Terminal, User, Tcode/Report... Use SM19 to enable the Audit functionality and check for information in SM20.
    Yes, Definitely storage will fill up if you activate this functionality but it will helps you alot.
    If you are using Production Server, you must enable for security and audit purpose.
    You can activate for Development, Quality and Test purpose systems, if required otherwise no need..
    Ask me if you have any queries..
    Regards
    Santosh K

  • How do you limit the number of emails that download in ios7?

    How do you limit the number of emails that download in iOS7? In previous versions, I was able to limit (i.e. 50/100/ etc), the number that would download to my phone at any given time - other than new emails. Past/old emails would only be reloaded if I deleted newer ones or I requested more be loaded.

    Now solved:
    https://discussions.apple.com/thread/5325394?tstart=0
    Guy in my thread fixed it for me. Very simple to do.

  • How to find the number of Z or Y programs and amount of code lines?

    hi all, I'm trying to find the number of programs on user namespace (Z* or Y*) and the number of coded lines in them. something like report Z_MY_REPORT, lines 582; Include Z_MY_INCLUDE, lines 135.
    Exist any standard report to do it or do I have to develop it by myself?
    thanks for any suggestion.

    If you have to do in urself
    DATA: i_reptx TYPE STANDARD TABLE OF textpool WITH HEADER LINE.
    READ TEXTPOOL 'ZJ_ALV' INTO i_reptx.
    and describe the itab.. and get  the lines.
    In conjunction with TADIR table to get the program repository.

  • How to increase the number of scrollable shell/terminal lines?

    Hi guys,
    I've just run "pacman -Syu" and got hundreds of error lines. When I tried to scroll up to the first one by pressing "shift-pageup" I noticed, that I could only go back a couple of lines. So apparently my terminal "forgot" the first few lines.
    How can I increase the number of "history lines" (no, I do not mean the bash command history) in my terminal? I'm not using any terminal emulator like xterm. I have no GUI installed on that box. It's just the normal virtual console I'm talking about.
    Thanks a lot in advance,
    Blackhole

    dschrute wrote:
    From what I've read, the standard config uses your vga card's memory, and is pretty limited in how much it can be changed.  I have seen it sugested that using less virtual consoles might give you more of a scrollback, but I can't confirm that.
    There is also a somewhat new option with 2.6 kernels for "Soft Scrolback" that uses system RAM rather than VGA ram.  This is a kernel, compile time option so if it isn't enabled by default in Arch, you'd have to recompile your kernel with it turned on.  Google "console soft scrollback" or VGACON_SOFT_SCROLLBACK for more info.
    Thanks a lot. I didn't expect it to be so difficult. I thought there would be some config file somewhere. Can't the shell/bash itself do the soft scrollback out of the box?

Maybe you are looking for

  • Lion takes 15 seconds to log in after reboot on Macbook Pro 13" (early 2011)

    I have been having sluggish performance (repeated beachballs, etc.) on my Macbook Pro 13-inch (2.7 GHz Intel Core i7, 4 GB RAM), which I bought this summer pre-installed with Lion. I didn't migrate my old system, I just installed everything on my new

  • How to use a stored procedure as a datasource in Crystal Report for Eclipse

    Hi All, I've written a stored procedure in oracle 10g with few input parameters and one refcursor output parameter. I want to use this stored procedure as a data source for creating a report in "Crystal Report For Eclipse 3.6.0". When I tried to add

  • IWeb functions no longer work - web pages gone!! HELP!

    I was working in iWeb this evening and when I went back to finish it... everything was gone!!!! I can open the program but all the menu items are dimmed and I cannot start a new page or access a previous page. Neither can I find what I was working on

  • Lack of Ghz KT3 Ultra2 Barton 3000+

    Dont want to sound like a broken record but I aswell am having problems with my newly purchased Barton 3000+ (400 fsb) with my MSI KT3 Ultra2. The problem is that whenever I try to set the FSB to the correct level, the computer fails to boot and I ha

  • Aperture import stopped working?

    I have used Aperture for about a year now and love it. Never really had much of a problem with it. I recently went to add photo's from my Rebel XT's CF card and it popped up like normal. I selected the photo's from the card to import and told it was