Regarding Material

hi all,
     How can i get Stock of particular day for particular Material type(like finished goods).
Regards
Rami

chk this outline
select matnr from mara into itabmara where mtart = 'HALB' and lvorm = space.
select matnr labst into table itab from mard for all entries in itabmara where matnr = itabmara-matnr.
labst gives only the stock in storage location.
if u want the stock in Quality inspectiojn also consider the field INSME.
if u want to filter based on plant....then go to marc table and filter the materials based on WERKS

Similar Messages

  • IDOC Process And regarding material

    Hi,
        I want learn about IDOC In ABAP . So please send me the process of IDOC and the regarding material.

    Check out the following links:
    http://www.thespot4sap.com/Articles/SAP_ALE_IDOCS.asp
    http://www.erpgenie.com/sapedi/idoc_abap.htm#Updating%20IDoc%20data%20in%20segments
    http://help.sap.com/saphelp_47x200/helpdata/en/78/21750b51ce11d189570000e829fbbd/frameset.htm
    Please do assign points if useful
    Regards
    Aravind

  • ALE Process And regarding material

    Hi,
        I want learn about ALE's In ABAP . So pleasesend me the process of ALE and the regarding material.

    Hello Nagaraju,
    The following links will give you complete idea about ALE,
    <a href="http://help.sap.com/saphelp_46c/helpdata/en/c9/d97749ae0311d1a5120060087832f8/frameset.htm">ALE in Business Process</a>
    <a href="http://help.sap.com/saphelp_46c/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm">What is ALE and how it works?</a>
    Hope this helps.
    Regards
    Arif Mansuri

  • Regarding : Material document data and PO data do not match (Plant)

    Hi Gurus,
    Please go through this BAPI program.
    While uploading it is giving an error ' Material document data and PO data do not match (Plant) '.
    Please help regarding this issue.For all Other moment types it is working fine except this 351 moment type.
    dATA: i_excel TYPE truxs_t_text_data. "work table for excel upload
    DATA: BEGIN OF it_itab OCCURS 100,
          docdate(10),
          postdate(10),
          mvt_type(3), "Movement Type
          plant(4), "Plant
          lgort(4),
          pur_doc(10), "Purchase Document No
          po_item(3), "Purchase Document Item No
          material(18), "Material Number
         delnote(16),
          erfmg(13),
          uom(3),
         lfmng(13), "Quantity
          batch(10) TYPE c,
          vfdat TYPE vfdat,
          END OF it_itab.
    DATA: it_goodsmvt_head TYPE TABLE OF bapi2017_gm_head_01      INITIAL SIZE 100,
          it_goodsmvt_code TYPE TABLE OF bapi2017_gm_code         INITIAL SIZE 100,
          it_goodsmvt_item TYPE TABLE OF bapi2017_gm_item_create  INITIAL SIZE 100.
    DATA: wa_goodsmvt_head LIKE LINE OF it_goodsmvt_head,
          wa_goodsmvt_code LIKE LINE OF it_goodsmvt_code,
          wa_goodsmvt_item LIKE LINE OF it_goodsmvt_item.
    DATA: w_mat_doc  TYPE bapi2017_gm_head_ret-mat_doc,
          w_year     TYPE bapi2017_gm_head_ret-doc_year.
    DATA: BEGIN OF it_errmsg_goodsmvt OCCURS 10.
            INCLUDE STRUCTURE bapiret2.
    DATA: END OF it_errmsg_goodsmvt.
    DATA : obj_type LIKE bapiache09-obj_type,
           obj_key  LIKE bapiache09-obj_key,
           obj_sys  LIKE bapiache09-obj_sys.
    DATA: v_date1 TYPE sy-datum.
    DATA: v_date2 TYPE sy-datum.
    DATA: w_lines TYPE i.
    DATA: errflag.
    SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-100.
    PARAMETERS: p_file TYPE  rlgrap-filename.
    SELECTION-SCREEN END OF BLOCK bk1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          field_name = 'P_FILE'
        IMPORTING
          file_name  = p_file.
    Start-of-selection processing
    START-OF-SELECTION.
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
          i_line_header        = 'X'
          i_tab_raw_data       = i_excel
          i_filename           = p_file
        TABLES
          i_tab_converted_data = it_itab[]
        EXCEPTIONS
          conversion_failed    = 1
          OTHERS               = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      LOOP AT it_itab.
        REFRESH it_goodsmvt_head.
        REFRESH it_goodsmvt_item.
        CONCATENATE it_itab-docdate6(4) it_itab-docdate3(2) it_itab-docdate+0(2) INTO v_date1.
        CONCATENATE it_itab-postdate6(4) it_itab-postdate3(2) it_itab-postdate+0(2) INTO v_date2.
        wa_goodsmvt_head-pstng_date = v_date2.
        wa_goodsmvt_head-doc_date   = v_date1.
       wa_goodsmvt_head-ref_doc_no = it_itab-delnote.
    wa_goodsmvt_head-pr_uname   = sy-uname.
        APPEND wa_goodsmvt_head TO it_goodsmvt_head.
    Maintain it_goodsmvt_code
        wa_goodsmvt_code-gm_code    = '04'.
    Maintain it_goodsmvt_item
    *LOOP AT it_itab.
    IF wa_goodsmvt_item-po_number IS INITIAL.
        wa_goodsmvt_item-po_number    = it_itab-pur_doc.
        wa_goodsmvt_item-move_type    = it_itab-mvt_type.
        wa_goodsmvt_item-MOVE_PLANT      = it_itab-plant.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = it_itab-material
          IMPORTING
            output = it_itab-material.
        wa_goodsmvt_item-material     = it_itab-material.
        wa_goodsmvt_item-stge_loc     = it_itab-lgort.
        wa_goodsmvt_item-po_item      = it_itab-po_item.
        wa_goodsmvt_item-entry_qnt    = it_itab-erfmg.
        wa_goodsmvt_item-ENTRY_UOM_ISO    = it_itab-uom.
       wa_goodsmvt_item-po_pr_qnt    = it_itab-lfmng.
        wa_goodsmvt_item-batch        = it_itab-batch.
        wa_goodsmvt_item-expirydate   = it_itab-vfdat.
       wa_goodsmvt_item-NO_MORE_GR   = 'X'.
        wa_goodsmvt_item-mvt_ind      = 'B'.
        APPEND wa_goodsmvt_item TO it_goodsmvt_item.
        CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
          EXPORTING
            goodsmvt_header  = wa_goodsmvt_head
            goodsmvt_code    = wa_goodsmvt_code
          IMPORTING
            materialdocument = w_mat_doc
          TABLES
            goodsmvt_item    = it_goodsmvt_item
            return           = it_errmsg_goodsmvt.
    Process of commit work
        IF it_goodsmvt_head[] IS NOT INITIAL.
          DESCRIBE TABLE it_goodsmvt_head LINES w_lines.
        ENDIF.
        IF it_goodsmvt_item[] IS NOT INITIAL.
          DESCRIBE TABLE it_goodsmvt_item LINES w_lines.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              wait = 'X'.
        IMPORTING
        RETURN        =
          CLEAR errflag.
          READ TABLE it_errmsg_goodsmvt INDEX 1.
          IF it_errmsg_goodsmvt-type EQ 'E'.
            WRITE:/'Error in function', it_errmsg_goodsmvt-message.
            errflag = 'X'.
          ELSE.
            WRITE:/ it_errmsg_goodsmvt-message.
          ENDIF.
          IF errflag IS INITIAL.
            COMMIT WORK AND WAIT.
            IF sy-subrc NE 0.
              WRITE:/ 'Error in updating'.
              EXIT.
            ELSE.
              WRITE:/ 'Material Document created successfully and the Document Number for the Material',
                      wa_goodsmvt_item-material,'is:', w_mat_doc, w_year.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.

    Hey,
    Just wanted to post that in my case this was the error of MVT_IND field in item table. When I made it from 'B' to blank then it worked.
    Mine is solved....
    Thanks

  • Regarding Material Determination and free goods determination

    Hi Gurus,
                 I understand the Material Determination to be substitution of a new material for the old one for any possible reasons such as sales Campaign,non availability etc.
    Could anyone one explain the concept whether material determination and Free good determination can co-exist in a sales order ?
    How to substitute by material determination procedure for a free good in a sales order?
    Regards,
    S.Ravi kumar

    Hi.,
              We can use material determination and free goods,as per my knowledge material determination takes first and to the swapped material free goods determiination takes place
    Award points if helpful
    Narayana

  • Regarding material wise purchase order creation with reference to pr

    Dear sir
    I have a scenario depending on the  material wise pos creation
    I have two type of material
    1) raw material
    2) consumables
    When user will create purchase order for raw material, system should ask purchase requisition. ( i.e with out purchase requisition for raw material , system should not allow to create the purchase order)
    Where as for all consumables materials system should allow to create the purchase order
    Without purchase requisition also, for user.
    Regards
    Jrp.

    You have to create two different document type for purchase order.
    1) Raw Material Purchase
    2) Consumables Purchase
    You can create two different document type for purchase order with below mention path: -
    SPRO >> Materials Management >> Purchasing >> Purchase Order >> Define Document Types.
    After define two different document type, You can change field status for two different document type with below mention path.
    SPRO >> Materials Management >> Purchasing >> Purchase Order >> Define Screen Layout at Document Level.
    Select document type and change field status of purchase requisition.
    Regards,
    Mahesh Wagh

  • Regarding: material report

    Hi,
    I am making a report in ehihc i have to display the minimum,maximum,reorder point and stock level of a material .
    plzz tell me the tables where i can have these data as i want to display the cureent status of stock level .
    reagrds,
    ric.s
    Edited by: ric .s on May 5, 2008 7:30 AM

    hiii,
    hopefully you are creating report regarding the MM module.
    try for the tables -
    MARA     Inventory Master
    MARC     Plant Data
    MARD     Current Inventory
    MAKT     Descriptions
    MBEW     Material Valuation
    T179     Product Hierarchy
    MVKE     Sales data (materials)
    MKPF     Material document
    if helpful ,,,assing points...
    thanks....

  • Buget Exceed problem regarding material transfer in project system

    Hello Sir,
    I have a problem regarding budget in project system.
    when i do budget and release . and do any transaction
    with that budgeted wbs element in particular project.
    i get budget excced errors usally.
    however, budget remains more than exceeded buget.
    Let us touch with a example in brief, we have a buget for a L&T project 10 Lakh.
    Buget                                         Release                                          actual cost                                            total cost commitment
    10Lakh                                       10Lakh                                             8lakh                                                         1Lakh
    when i transfer a material from another project to this L&T project material worth is 50thousands.
    i get a errors for L&T project budget exceed with 40thousands.
    however in project budget remains 1Lakh remaining .
    why system shows errors for this material transfer worth rs 50thousands
    Please help me regarding this problem where is 1lakh budget
    with regards
    sanjay agrawal

    Hello sir,
    there is no any problem regarding budget supplement but if project sometimes
    remains 20lakh buget price remaining out of 50lakh.
    and need 1 lakh material price for transfer in project
    then why need to do budget supplement for 1 lakh if project
    remains 20lakh price rest.
    please guide me for above problems
    with regards
    sanjay agrawal

  • Regarding Material creation

    Hi friends........
    I have requirement to create Material through workflow.......
    menas we need to pass different views to different person..in his business workplace....
    Thanks in Advance.......
    Regards,
    Charan

    Hi twinkle..........
    I did same requiment object.......i will brief u....
    1) first create Delagate business object of BUS1001006 with method MATERIAL_MAINTAIN_DAILOGUE function........Using this function module u should create Method for that object.........
    Create parameters As T.CODe and status view.....
    2)Create Ztable with fields which are need to mandetary for diaplaying particular screen........
    3)now u configure u r workflow with this delagate business object and method which was create by your self.......
    4)While binding you should pass T.code and status value which view you need.......
    IF u doubts , please feel free to send mail........
    If useful plz Rewards.......
    Thanks In advance,
    Regards,
    Bhaksar Rao Javvaji

  • Regarding material in transit

    hi all,
    wht is the database table that has the invoice number of materials in transit.
    ( while transferring from plant to plant??)
    Edited by: Radhika on May 9, 2009 10:57 AM

    Hi Radhika,
    Hope MB5T solves your purpose.
    If the material is still in transit, it also means that the invoice is also not yet received. Please let me know the business process clearly.
    Regards,
    Sai
    Edited by: sai srinivas on May 11, 2009 11:36 AM

  • Workflow Help regarding Material master workflow

    Hi,
    I have a requirement as follows...anyone can help me or tell me the possibility of doing this..
    1. Basis material will be created with mandatory fields.
    2.Once the above material is stored it has to trigger workflow to inimate 10 members to fillup the fields(appropriate) for this material based on the material type and the fields to which they are attached or responsible.
    3. In the sameway the plant data needs to be maintained by 5 persons in addition to the above based on the plant.
    Help me to setting up this in ECC 6.0.
    Regards

    Hi,
    this sounds like a great iteration on the MM02 transaction. If the users can live with the standard screens, you can call transaction with a view corresponding to the selection in the beginning of the screen. The real chalange in this workflow is how to controle and maintain all the agents to do which enrichment of the material. This can be done with a small workflow, where you construct a large controle table, in which you can maintain, who will (or what roles) will maintain which views. When the agents have been found, create a subworkflow to run in parallel, for each agent.
    Hope it makes sence.
    Kind regards
    Mikkel

  • Regarding material management

    hi all
    will any body give detail description of material management process in ppt format
    regards
    brijesh

    hi,
    check this out
    MM flow
    MM flow
    MM flow
    PR >Release the PR>RFQ>Quotation>Quotation Comparison>PO>Release the PO>GR>Invoice Verification
    MM Process flow:
    Process Flow
    The typical procurement cycle for a service or material consists of the following phases:
    1. Determination of Requirements
    Materials requirements are identified either in the user departments or via materials planning and control. (This can cover both MRP proper and the demand-based approach to inventory control. The regular checking of stock levels of materials defined by master records, use of the order-point method, and forecasting on the basis of past usage are important aspects of the latter.) You can enter purchase requisitions yourself, or they can be generated automatically by the materials planning and control system.
    2. Source Determination
    The Purchasing component helps you identify potential sources of supply based on past orders and existing longer-term purchase agreements. This speeds the process of creating requests for quotation (RFQs), which can be sent to vendors electronically via SAP EDI, if desired.
    3. Vendor Selection and Comparison of Quotations
    The system is capable of simulating pricing scenarios, allowing you to compare a number of different quotations. Rejection letters can be sent automatically.
    4. Purchase Order Processing
    The Purchasing system adopts information from the requisition and the quotation to help you create a purchase order. As with purchase requisitions, you can generate Pos yourself or have the system generate them automatically. Vendor scheduling agreements and contracts (in the SAP System, types of longer-term purchase agreement) are also supported.
    5. Purchase Order Follow-Up
    The system checks the reminder periods you have specified and - if necessary - automatically prints reminders or expediters at the predefined intervals. It also provides you with an up-to-date status of all purchase requisitions, quotations, and purchase orders.
    6. Goods Receiving and Inventory Management
    Goods Receiving personnel can confirm the receipt of goods simply by entering the Po number. By specifying permissible tolerances, buyers can limit over- and underdeliveries of ordered goods.
    7. Invoice Verification
    The system supports the checking and matching of invoices. The accounts payable clerk is notified of quantity and price variances because the system has access to PO and goods receipt data. This speeds the process of auditing and clearing invoices for payment.
    Common Tables used by SAP MM
    Below are few important Common Tables used in Materials Management Modules:
    EINA Purchasing Info Record- General Data
    EINE Purchasing Info Record- Purchasing Organization Data
    MAKT Material Descriptions
    MARA General Material Data
    MARC Plant Data for Material
    MARD Storage Location Data for Material
    MAST Material to BOM Link
    MBEW Material Valuation
    MKPF Header- Material Document
    MSEG Document Segment- Material
    MVER Material Consumption
    MVKE Sales Data for materials
    RKPF Document Header- Reservation
    T023 Mat. groups
    T024 Purchasing Groups
    T156 Movement Type
    T157H Help Texts for Movement Types
    MOFF Lists what views have not been created
    A501 Plant/Material
    EBAN Purchase Requisition
    EBKN Purchase Requisition Account Assignment
    EKAB Release Documentation
    EKBE History per Purchasing Document
    EKET Scheduling Agreement Schedule Lines
    EKKN Account Assignment in Purchasing Document
    EKKO Purchasing Document Header
    EKPO Purchasing Document Item
    IKPF Header- Physical Inventory Document
    ISEG Physical Inventory Document Items
    LFA1 Vendor Master (General section)
    LFB1 Vendor Master (Company Code)
    NRIV Number range intervals
    RESB Reservation/dependent requirements
    T161T Texts for Purchasing Document Types
    Tcodes:
    RFQ to Vendor - ME41
    Raising Quotation - ME47
    Comparison of Price - ME49
    Creation of PO - ME21N
    Goods Receipt - MIGO
    Invoice (Bill PAssing) - MIRO
    Goods Issue - MB1A
    Physical Inventory - MI01( Create doc)
    MI04 (Enter Count)
    MI07 (Post)
    http://www.sapgenie.com/abap/tables_mm.htm
    http://www.sap-img.com/sap-download/sap-tables.zip
    http://www.allsaplinks.com/material_management.html
    http://www.training-classes.com/course_hierarchy/courses/2614_SAP_R_3_MM_Invoice_Verification_-_Rel_4_x.php
    http://www.sapfriends.com/sapstuff.html
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSMAT/PSMAT.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCMM/CAARCMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOMDMM/LOMDMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMMM/BCBMTWFMMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMIVMVAL/MMIVMVAL.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMWMLVS/MMWMLVS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMISVE/MMISVE.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSMAT/PSMAT.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCMM/CAARCMM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_MM.pdf

  • Regarding Material Pricing group

    Hi,
    What is the Path in SPRO to change thedescription og  "Material pricing group"
    Thanks,
    Saran

    Dear.
    It is as follows..
    SPRO>Logistics - General>Material Master>Settings for Key Fields>Data Relevant to Sales and Distribution-->Define Material Groups (material group 5) OR
    SPRO>Logistics - General>Material Master-->Settings for Key Fields-Define Material group( Tcode- OMSF)
    Regards
    AJIT K SINGH
    HAPPY TO HELP U
    Edited by: AJIT K SINGH on Dec 15, 2009 6:56 PM

  • Problem regarding material issue

    we have one material with 1 qty and value Rs 100 whose moving value price is 0.
    When we are trying to maintain moving avg price Rs 100 to issue this material and we are viewing report MC.1 system is showing qty 1 and value Rs 200. 
    our requirement is that we issue this qty on Rs 100,  so that the qty and value both shall be 0.
    can anyone suggest somehing on it.

    hi,
    i think the quantity that you have got in their could be 2 .....
    check it
    regards
    sayeed

  • Regarding material extension

    Hi Friends,
    Can any one explain about below scenario:
    I have created materials (12000 materials)  with one sales area. But now i want to extended that materias with another sales area. At a time 12000 materials, how we can extended. please tell me the process.
    Thanks and Regards

    hi,
    I am sending steps invloved in LSMW for customer, u can try for material master with help of ur MM person
    LSMW data migration for sales order VA01 / XD01 customer
    LSMW using session method for data migration as follows
    E.g. for XD01 (create customer)
    initially there will be 20 steps but after processing 1 step it will reduced to 14 for session method.
    1. T-Code: LSMW.
    2. ENTER PROJECT NAME
    Sub project name
    Object name.
    Execute.
    3. MAINTAIN OBJECT ATTRIBUTES.
    Execute
    Select Batch Input recording
    go to->recording overview    create
        Recording name.
        Enter transaction code.
        Start recording
        do recording as per your Requirement.
        Save à Back.
        Enter recording name in LSMW screen.
        Save à Back
    <b>Now there will be 14 steps.</b>
    2. MAINTAIN SOURCE STRUCTURES.
    Enter the name of internal table.
    Display change
    Create
    Save Back
    3. MAINTAIN SOURCE FIELDS.
    Display change
    Select structure
    Source_fieldsàCopy fields. (a dialogue window will pop out )
    Select à From data file
    Apply source fields
    a. Enter No. of field's
    b. Length of fields
    c. Attach file
    Save à Back.
    4. MAINTAIN STRUCTURE RELATIONS
    Display change
    Save à Back.
    5. MAINTAN FIELD MAPPING & CONVERSION RULE
    Display change
    Click on source field, select exact field from structure and Enter
    ***repeat these steps for all fields.
    Save à Back.
    6. MAINTAIN FIXED VALUES, TRANSACTION, USER DEFINED
    Execute
    Save à Back.
    7. SPECIFY FILES.
    Display change
    Click on legacy data
    Attach flat file
    Give description
    Select tabulators
    Enter
    Save à Back.
    8. ASSIGN FILE
    Execute
    Display change
    Save à Back.
    9. IMPORT DATA.
    Execute
    Display change
    Save à Back.
    10. DISPLAY IMPORTED DATA
    Enter ok
    ***it will show records only.
    Back
    11. CONVERT DATA
    Execute
    Display change
    Save à Back.
    12. DISPLAY CONVERTED DATA
    Execute
    Display change
    Save à Back.
    13. CREATE BATCH INPUT SESSION
    Tick keep batch input folder
    F8
    Back
    14. RUN BATCH INPUT SESSION.
          SM35 will come
          Object name will be shown here
          Select object & process
    hope this helps u
    regards,
    Arunprasad

Maybe you are looking for

  • Java 6 and 11.5.10

    I was a bit concerned when I read on Steven Chan's blog that (https://blogs.oracle.com/stevenChan/entry/java_jre_1_7_02) : EBS users will continue to receive critical bug fixes and security fixes as well as general maintenance for Java SE 6. These Ja

  • Discriminator and dynamic table selection

    Is there a way (in DSP 3.0) to use a discriminator to dynamically determine a related table to join in a select or update? On the java client I have a base class with extended class that I would like to model in related tables. Thanks, Jeff Edited by

  • OSX 10.4.10, Net beans and Sams Programing with JAVA

    I am brand new to Java so I downloaded Net Beans on my MAC. I bought a copy of Teach Your Self Programing with Java in 24 hrs. So far I got the first three programs to compile on Net Beans but got stuck when they started to talk about arguments. The

  • Types of Autonomous Access Point in the Cisco Market.

    Hi All, I am quite new to the wireless technologies. I need some help in understanding the basic models of Cisco wireless Hardware available in the market (Enterprise Level). From my initial studies in past 24 hours what i understand is that Autonomo

  • Update rules deactivated after transporting cube with zero elimination on

    Hello, The update rules were deactivated in the quality system after transporting the cube with the zero elimination flag switched on.  However, the update rules in development were not deactivated when setting the zero elimination flag.  So, the upd