Add stock types to MB5B report output

Hi,
We need to create a new report which will be a combination of MB5B and MB52.
In the sense, the new report should be able to give the stock on a particular posting date split into the different stock types like unrestricted, restricted, QI, blocked etc.
Please let m eknow if this is possible.
Thanks!
PM

material history may be available at the most for periods. you may have to transfer the data to a ztable from Mard on daily basis, may be as a job run in the night and can have  a logic to fetch it from the ztable

Similar Messages

  • Add CSV file as Scheduled Report Output Format

    Is there any option in BOXI R2 and R3 - Add CSV file as Scheduled Report Output Format. If not, how do we achieve this?

    Hai
    http://www.christiansteven.com/products/crd/
    http://webtrends.dbt.co.uk/wrc/help/webhelp/hlp_exrpt.htm
    http://www.businessobjectstips.com/tips/infoview/business-objects-cannor-not-create-an-excel-file/

  • MB5B report output

    Hi all,
        Can any one please let me know the output of the report MB5B. As the Key user can see both the stock qty and value, we are only able to see the stock qty. Whwther we can change the layout or any setting, so as to obtain the value also.
    thanks & regards
    Chaitanya

    Hi
    Please check whether you missed the settings Under, List Scope  Category,  Material with movements  & Material without movements.
    Run with Stock type as "Valuated Stock" , settings  " Totals  Only- Non-hierarchial Representation.
    You will get the output
    Regards
    SAM

  • To add "Transaction type" in  depreciation report  (S_ALR_87012026)

    Hi SAP Experts,
    I have a request from a user to add selection option of  "Transaction Type" in the Depreciation Report.Is this possible to be done by adding in Dynamic Selection?If yes, how?
    Refer to SAP Note 439407,it seem like it only cater for structure ANLAV only but not for for ANEPV - BWASL.
    Please advise since im trying to avoid copying the standard program.
    Regards,

    Hi,
    Yes, user-defined fields added as per SAP note 335065 are shown in the report output.
    Alternatively, you can also create a sort version. However, check the restrictions for both options as outlined in this note.
    Though still, you cannot add the transaction type as a field as the note  is pointing out the tables from which fields can be extracted from: ANLAV/ANLB/ANLV only.
    CI_ANLU is about user defiened fields in master data and so you cannot add BWASL in this table as this field has nothing to do with master data.
    Just on the side a small comment: not sure of what benefit it would be to see the transaction type in a report such as RAHAFA_ALV01 as this report is mainly about all sort of information regarding all types of depreciation values.
    I hope this helps further.
    Kind regards,
    Brigitte

  • Code page issue - Unix file(s) content display in a report output

    Hi All,
    I am trying to retrieve file from Unix server and display in my report output.
    I have written code as below:
    OPEN DATASET filename FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      DO.
        READ DATASET filename INTO i_tab-line.
      ENDDO.
    CLOSE DATASET.
    1. Now i am able to display files of type .txt in report output but with line numbers above each line.
    How can i avaoid it! I want to display as it looks in AL11 view.
    2. If i am displaying files of type .PDF it is giving dump with below message:
    A character set conversion is not possible.
    At the conversion of text from code page '4110' to '4102' is not possible.
    - a character was found that cannot be displayed in one of the two code pages;
    - or it was detected that this conversion is not supported.
    How can i display the .PDF (or) all types of files in my report as it is viewable in AL11.
    Can anybody solve this this.
    I have tried UTF-8 & NON-UNICODE options with ENCODE also they are also giving same dump.
    Can anybody resolve these issues!
    Thanks in advance.
    Thanks,
    Deep.

    Hi All,
    Any resolution for above posted issue!
    Thanks,
    Deep.

  • Need to block vendor stock, type O.  I need mvmt 342 or 344?

    Hello,
       I'm attempting to block stock provided to a vendor (type O) so that MRP doesn't consider it usable, until we decide what to do with it.  Unfortunately, SAP doesn't allow movement 344 to be used with type O stock, and movement 342, which should work, won't show up in MIGO or MIGO_TR.
       I have not been able to change configuration for movement 342 to make it show up in MIGO, and I have not been able to add stock type O to the allowed stock types for movement 344.
       Is there another way to block this stock type, and if not, which configuration should I modify, and how can I find the transactions to configure this?
    Thanks,
    Randy

    If this is subcontracted stock at the vendor then I do not believe it is possible to block this . Check a thread in this forum from Aug 22nd concerning the same- block sub contracted stock.The only other way to block this stock is to bring it back in house.

  • Report with Stock type against a material

    Hi All,
    We are creating a new report with the logic of MB5B (with exclusion of Material Movement from selection screen) and output will have fields from MB52 report (escpecially the stock type split data with qty & valuation amount along with other columns from differnet tables).
    The requirement of getting the stock type data (unrestricted, restricted, Blocked, QI) is for one particular date from this new report, as no date range selection will be provided on selection screen.
    How can we get stock type data for that particular date.
    Is  there any indicator based on which mapping can be done for the stock types.
    Any inputs on this line is really appreciated at the earliest.
    With regards,
    Deepak Pai

    HI Deepak,
    Check with Table MKOL....
    hope it helps..
    cheers...

  • MB5B Report for Date Wise Stock and Value

    Hi,
    I am Taking MB5B Report for Date Wise Stock and Value.
    But I have one doubt all stocks is coming or not in these report like Unrestrected Stock,Return Stock.Blocked stock,Transist stock,Restrected Stock,qty Inspection Stock.
    I have another Doubt in these report three Stock type indicaters are there like these.
    1.Storage Location / Batch Stock
    2.valuated Stock
    3.Special Stock.
    But i have one doubt what is defferent these
    1.Storage Location / Batch Stock
    2.valuated Stock

    Hi Prasad,
    Yes MB5B report consider the Unrestricted, Quality, Blocked, Transit stock and restricted stock. Not sure about Return Stock.
    If you select the Storage location/Batch stock radio button then the system will display all the possible stock from the storage location and the corresponding batch also.
    If you select Valuated stock radio button then system will show only the valuated stock not the Non-valuated stock. Because Non-valuated material type is available in SAP system will not show those stock suppose if you select the Valuated stock radio button.
    Regards
    Karthick

  • Add buttons in ALV Report output

    Dear Friends,
    I am developing one ALV report in PP moule for calculating Shelf Life. The output is coming properly in ALV.
      But my additional requirement is ADD coustomise buttons in ALV Reports.
    Please give me an idea how can I insert buttons in my alv report?
    Thanks & Regards
    Vasu

    Hi vasu,
    consider the code given below.
          FORM F4200_PF_STATUS_SET                                      *
    FORM f4200_pf_status_set USING i_extab TYPE slis_t_extab.
      REFRESH i_extab.
      PERFORM f4210_exclude_fcodes CHANGING i_extab.
    The PF status is an exact copy of the PF status 'STANDARD' of program
    SAPLSALV but with command 'CHNG' added to it.
      SET PF-STATUS 'ZSOM_STANDARD' EXCLUDING i_extab.
    ENDFORM.
    *&      Form  f4210_exclude_fcodes
    FORM f4210_exclude_fcodes USING i_extab TYPE slis_t_extab.
      DATA: ws_fcode TYPE slis_extab.
      CLEAR ws_fcode.
      ws_fcode = '&EB9'.            " Call up Report.
      APPEND ws_fcode TO i_extab.
      ws_fcode = '&ABC'.            " ABC Analysis.
      APPEND ws_fcode TO i_extab.
      ws_fcode = '&NFO'.            " Info Select.
      APPEND ws_fcode TO i_extab.
      ws_fcode = '&LFO'.            " Information.
      APPEND ws_fcode TO i_extab.
    ENDFORM.                    " f4210_exclude_fcodes
    *&      Form  f4300_user_command
    FORM f4300_user_command USING ucomm LIKE sy-ucomm
                                             selfield TYPE slis_selfield.
      CASE ucomm.
        WHEN '&IC1'.                              "Double Click line Item
          READ TABLE i_data INDEX selfield-tabindex.
          IF i_data-qmnum NE space.
            SET PARAMETER ID 'IQM' FIELD i_data-qmnum.
            CALL TRANSACTION 'IW52' AND SKIP FIRST SCREEN.
            CLEAR ucomm.
          ENDIF.
        WHEN 'CHNG'.                          " Change Notification Icon
          READ TABLE i_data INDEX selfield-tabindex.
          IF i_data-qmnum NE space.
            SET PARAMETER ID 'IQM' FIELD i_data-qmnum.
            CALL TRANSACTION 'IW52' AND SKIP FIRST SCREEN.
          CLEAR ucomm.
          ENDIF.
      ENDCASE.
      CLEAR ucomm.
    ENDFORM.                    " f4300_user_command
    EXPLANATION
    In this program, first we created a PF status (ZSOM_STANDARD), which was an exact copy of STANDARD of program SAPLSALV through transaction SE41 (Menu Painter). Then we added another button to it,with a new fcode called ‘CHNG’.  After this this we set this PF status instead of STANADRD.
    We initialize a third event USER_COMMAND and associate a form with it. In this form we can capture the function codes and write any functionality under it. If we write functionality for an existing fcode, then this gets precedence over the default functionality that might be associated with it.
    In this example, we capture a standard fcode ‘&IC1’ that is nothing but double clicking a line of the report.  We are capturing the notification number of that line and calling transaction IW52 with it. We are also doing the same when a user clicks on the new ‘Change Notification’ button.
    When the user clicks the “Back’ button in IW52, it comes back to the report.
    Please reward for the same.
    Message was edited by: Prakhar Saxena

  • MB5B shows different opening quantity when we select diffferent Stock Type

    Dear All,
    I am trying to run report MB5B - Stock on posting date with 2 different Stock Types:
    - Storage Loc/Batch Stock
    - Valuated Stock
    But the report shows different opening quantity,total receipt, total issue, but closing quantity is ok.
    Could you pls tell me the reason?
    Thanks
    Cao Huy

    Hi,
    MB5B transaction is used to display the stock on posting date
    It is not possible to view at the same time both Valuated stock and special stock. This is radio button input control,so any one of the stock type only possible to display the material document.
    This report display the material and plant vise material document number and total stock and total issue etc for the example,
    Plant            1256  test plant
    Material         TH1
    Description    steel rod
    Stock on 01/01/2010                   0.000  PC
      Total Receipts                      29.500  PC
      Total Issues                         3.000- PC
    Stock on 12/31/9999                   26.500  PC
    SLoc MvT S Mat. Doc.  Item Pstng Date          Quantity BUn
    TEST 101   5000003029    1 12/23/2009            1.000  PC
    TEST 101   5000003039    1 12/31/2009            1.000  PC
    Regards,
    thiru

  • MB5B report consider movement type 351 as a receipt.

    Hi Experts,
    I want to know why MB5B report consider 351 movement as receipt on the date of issue iteself & why it did not consider receipt on the GR date.
    Thanks,
    Kiran

    Dear Kiran,
    When we transfer the material using 351 movement type system creates the material document containing 2 lines
    Line 1 for issuing plant with Negative quantity 
    Line 2 for receiving plant with positive quantity (this line auto created, you can find in MSEG table XAUTO field)
    And posts the material into stock in transit in receiving plant
    So when we post 351 accounting document is also generated (Cr. in issuing plant ,Dr. in receiving plant)
    i.e stock account postings already completed after 351 (That is why no accounting doc generated after 101)
    Now in MB5B Report there is a selection option Stock Type now when you select Valuated stock
    It will show the quantity in receiving plant (As accounting doc generated, although 101 not yet done)
    But if you select Storage Loc./Batch Stock you will find that 351 will not show
    That is the logic of valuated stock

  • Reconciliation fo stock report at stock type level

    Hi gurus,
    I want to compare the stock quantities in a stock report with ECC when I drill down the report at Stock type level. I have tried to do it through MB5B but I found it not appropriate as the stock type calculation in BW as based on some LIS logic. also I found  it is not always same as in MB5B.
    Please suggest me how can I cpmpare the data at stock type in ECC.
    thanks in advance
    Regards,
    Jitendra

    Hi,
    Use 2LIS_03_BX, 2LIS_03_BF, 2LIS_03_UM to 0IC_C03 Cube and design the report.
    Use :
    0VALSTCKVAL   " for Value
    0VALSTCKQTY   " for Qty
    0CALMONTH        " for Month
    Use the above combinations in New Selections in columns and go it.
    For Qty Opening:
    New Selection bad drag abd drop following things
    0VALSTCKQTY   " for Qty
    0CALMONTH        " for Month and restrict with less then or equalto option variable (single value, user input)  and set the offeset
                                   value = -1 bcoz if user will give 12.2009 , so it will display 11.2009 closing stock, this is opening for 12.2009.
    For Qty Closing:
    New Selection bad drag abd drop following things
    0VALSTCKQTY   " for Qty
    0CALMONTH        " for Month and restrict with less then or equalto option variable (single value, user input) .
    In the same way build for Value and other Keyfigures on 0IC_C03.
    And
    Drag & drop
    0MATERAIL
    0PLANT  " Give some Input Variable.
    Reconcile BW Vs ECC MB5B
    In ECC goto MB5B and give Material and Plant and Date Range corrctly , select radio button Valuated Stock an dexecute and check teh Opening/Closing Stock for that month.
    Once you design your report like above then you can check in ECC in MB5B
    See the steps.
    Treatment of historical full loads with Inventory cube
    Setting up material movement/inventory with limit locking time
    If it is BI 7 then for BX in in DTP in Extraction Tab you need to select Extacrion mode = NON-Cumulative option.
    Thanks
    Reddy

  • How to add Material type(MTART) field on Selection screen of MB5B transaction code.

    Hi All,
        Please let me know how to add material type field on selection screen of MB5B transaction
    For that i made copy ZMB5B_COPY of original report RM07MLBD.
    Thanks in adv .
    Samadhan

    Hi,
    Once you copied the standard report to Z report, you can MTART in selection screen like below.
    and in order to inlcude the same in programming logic, we have three option.
    1) Check all related select queries, and include MTART in SELECT query using inner join with MARA.
    2) In START-OF-SELECTION event fill MATNR as shown below.
    3) If user entered any value in MTART, then before displaying the report just check material type of each material in the final internal table(which is used to display report) delete enteries from internal table accordingly.
    START-OF-SELECTION.
    IF MTART[] IS NOT INITIAL AND MATNR[] IS INITIAL.
        SELECT MATNR FROM MARA INTO MATNR-LOW WHERE MTART IN MTART.
          MATNR-OPTION = 'EQ'.
          MATNR-SIGN = 'I'.
          APPEND MATNR.
          CLEAR MATNR.
        ENDSELECT.
    ENDIF.
    The above option has one limitation: The selection screen variables has some restriction, please read the below thread.
    Facing problem in select statement dump DBIF_RSQL_INVALID_RSQL CX_SY_OPEN_S
    Getting Dump in the select query has more than 2000 entries
    Hope this will work for you .
    regards,
    Rajesh Sadula.

  • MB5B Report table for Open and Closing stock on date wise

    Hi Frds,
    I am trying get values of Open and Closing stock on date wise form the Table MARD and MBEW -Material Valuation but it does not match with MB5B reports,
    Could anyone suggest correct table to fetch the values Open and Closing stock on date wise for MB5B reports.
    Thanks
    Mohan M

    Hi,
    Please check the below links...
    Query for Opening And  Closing Stock
    Inventory Opening and Closing Stock
    open stock and closing stock
    Kuber

  • MB5B report having discrepancies in stock

    Dear All,
    I have checked the stock balance using MB5B for date 07.04.2009. The system while executing the transaction gives a warning message saying u201CFI document summarization is active / the results may be incorrect
    But on 31.03.2009 in MB5B stock value is showing as u201C319u201D and not u201C301u201D which is the correct stock balance (Ref: Transaction MC10)
    Now please tell me as to what exactly is done during this FI document summarization which gives us this exact stock difference...???
    waiting for your helpful answers
    Regards
    NanoSAP

    FI document summarization active mean actually there is only one FI document line item per G/L account in a FI document no matter how many lines are there in the corresponding material document. This affects the audit trail from FI postings back to MM postings as there is no one to one link. This type of summarization is normally required if it is normal to have FI document to have more than 999 lines as this the limit.

Maybe you are looking for