Cheking the material for base unit  or convert it to base unit.

Hi friends,
I have a requirement asa follows.
I Have an internal table ITAB1 in that i have some 200 records. In that ITAB1 i have
MATNR and MEINS field and iam selecting those fields from MSEG table.
Now my requirment is i have to check for base unit of that particular.
example :
now let us say iam getting in my ITAB1.
MATNR      MEINS
M-123          EA
now  i have to check the base material for that material. if both the base unit and what i got i same then its ok.        or    if the both are not same then it should convert to the base unit.
how can i do that.
Regards,
Priyanka.

Hi Priyanka,
To this FM u have to pass the material number, Input unit(itab1-meins), Output unit(Base unit-mara-meins), Quantity. In Importing parameter E_MENGE pass one variable. After FM call u will receive the converted value in this variable.
Just check the where used list of the FM to see the sample code.
    CALL FUNCTION 'MD_CONVERT_MATERIAL_UNIT'
         EXPORTING
              I_MATNR              = P_MATNR
              I_IN_ME              = P_MEEHT "Input unit
              I_OUT_ME             = P_AUSME "Base unit
              I_MENGE              = P_MENGE "Input Quantity
         IMPORTING
              E_MENGE              = I_AUMENGE "Quantity in base unit.
         EXCEPTIONS
              ERROR_IN_APPLICATION = 1
              OTHERS               = 2.
Thanks,
Vinod.

Similar Messages

  • Error :Maintain pricing conditions for the material for the excise invoice

    Hi
    i have maintained excise data for material, after that i have created scheduled agreement with lp and with 0 value private and dummy tax code  and delivery schedule is released. Now when i do the goods receipt i am getting error " Maintain pricing conditions for the material for the excise invoice date
    Message no. 8I629" can some body can help me.
    with regards
    Narendra kumar

    Hi,
    goto tcode fv11 u have to maintained the condition.
    first enter the condition type like jmop -
    then enter, next screen u have the select the below comination.
    select the plant/vendor/material base u have to maintain the conditions.
    Thank's
    MVS

  • Maintain pricing conditions for the material for the excise invoice date

    When I am doing MIGO (Release GR Blocked Stock-movement type) t)he system is giving an error "Maintain pricing conditions for the material for the excise invoice date"I am attaching screen shot for reference.
    I request if any one can provide me the solution

    Hi,
    Check did you have entry of that movement type in the following path where you specify which movement type relating to goods receipts involve excise invoices
    SPRO -
    > Logistics general -> tax on Goods Movements-> India -> Business Transactions--> Specify Which Movement Types Involve Excise Invoices
    Regards,
    Biju K

  • Extend the material for the storage location in mass.

    Hi,
    Can any genius let me know how can I extend the material for the storage location in mass.
    Currently our support team doing it by trx MMSC, but now we required to extend the materials for storage location in mass for which MMSC is to lengthily
    Is there any other way apart LSMW for MMSC.
    Regards,
    Shyamal.

    hi
    did u tried mass
    try this
    go to MASS
    then select BUS1001
    go to plant data for material  execute
    click on data records to be creatd
    then add material in field
    then select  select field button and add storage for extrenal procurement then there u will find on filed for external proc
    now do mass change
    reward if helpful
    regards
    kunal

  • How to restrict the material for speific storage type

    Dear all,
    i am maintained  the X - material to 001 warehouse and 001 rack storage type when i try to create TO for putaway process it will allow me some  other storage type like open,shelf....as per my client requirement it should not be .....
    i am using manual strategy for putaway proces ....kindly guide me....
    Thanks
    Muthuraman.D

    Hi,
    The storage types during Putaway are proposed based on the strategy defined.
    Change the stcok placement indicator in WM view 1.
    If you have a storage type search strategy defined that matches your requirement, then maintain the same in WM view 1 for the material
    Hope this helps
    regards

  • Can anyone pls..  give me the material for sales information system?

    hi,
    good evening to all gurus,
    this is arunteja vasan
    pls.. if anybody have material for SIS, u will send me.
    thanks to all.

    Hi,
    1.create information structure by selecting the key figures and characteristics. After creating the information structure u must activate and generate.
    2.include updating rule for information structure. After including the updating rule the information structure u must activate and generate
    3.select the updating rule is whether for day, week, month, or year by double clicking on the information structure.
    4.Maintaining all seetings ie; customer statistics group, materialstatistics group, sales document, sales item, billing document, and assign all these to sales document type, sales item, billing type,
    5.Assign sales area to updating rule.
    6.check the sales area whether all settings are maintained or not.
    7.maintained customer statistics group in the customer master record, and material statistics group in the material master record.
    8.After all the settings use T.c. MCSI enter the sales area customer material and see the results, now u get the report or sales of a particular customer or organization.
    Note: Before doing the last step create a sales order, delivery, AND billing.
    Award points if useful.
    Regards,
    Amrish Purohit

  • Is sony correcting the issues with the PS4 controllers. The material for the analog sticks need to be changed.

    I would like to get a ps4 but both my friends ps4 controllers analog sticks are tearing. I have used both the ps4 controller and xbox1 controller, I like both but prefer the lighter feel of the xbox1 analog sticks they are more comfortable and durable. I dont want to buy a xbox1 but if sony does not correct this issue it will sway my decision. I really like the additonal power the ps4 offers but the controller is a major concern. When microsoft came out with the 360 it had reliability issues, microsoft instead of fixing the problem had consumers send there 360's in for repair. They would not admit they made a mistake with the design of the system and the so called repair was temporary for may consumers as it would just overheat again and you would experience the same red ring of death. My 360 broke 3 times which made me lose all faith in microsoft as a company. The decieved consumers instead of correcting the issue. I hope Sony learns from their mistakes. Dont send consumers the same flawed controllers, admit there was a production mistake and fix it!!! If you guys change the material and correct the issue please email me, if it is corrected I will be a playstation owner if not I guess I will have to go with microsoft. I would also love to see analog sticks with less resistance, closer to the xbox1 sticks.
    Thanks for listening hope you take these comments into consideration.

    Please share your suggestion on  Sony PlayStation Community here. I'm sure they'd appreciate it. Thank you! 
    If my post answers your question, please mark it as "Accept as Solution".

  • Blocking the material for issue

    Dear friends,
    I have got the stock of 10 for one material.
    I want to block this material for issue. It shall not be issued to anybody unless until i unblock it.
    Any provision is there in SAP.
    Regards,
    Canand

    hi,
    If you are having the stock of 10 nos as unrest .stock, you can move the stock to blocked stock by  transfer posting using mvt type 344 .
    it can be taken to unrest by 343.
    Regards,
    velu

  • Help in finding the material for the OCA exam

    Hi Folks
    Could someone help me finding some handy and free material for preparing for OCA examination....
    Cheers

    Oracle Documentation is the best free material for preparing for OCA Exam.

  • Need the material for certification

    Hi all
                can any body tel me how to get these files to prepare for abap certification . or where can we get these. <= read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] here!
    Help is appreciated.
    <removed_by_moderator>
    Thanks
    Ratan
    Edited by: Julius Bussche on Jul 16, 2008 2:33 PM

    Hi,
    Materials about certifications are confidential and not to be discussed and also shared.
    Its against the RULES OF ENGAGEMENT.
    Kindly dont ask regarding certifications... better consult the SAP CERTIFICATION Partners like SIEMENS.
    They would give you great guidance.
    Regards
    Narin Nandivada

  • MRP TYPE for  Periodic planning in the material master.

    Dear gurus,
    i need planned the materials in the periodic modality, are there the type MRP in the material master for create the planned file ( table MDVM) one once a month or in the specific period chose ?
    Example :
    I need that the material master don't create a file planned ( MD20- TABLE MDVM) for a change of the requirement situation new , but i would like that the flag in the table ( MDVM) or file of the planning MRP created when the today date is in the period specific.
    31.3.2011  (or period 1.4.2011- 10-4-2011)Date for the create a file MRP and after when run MRP planned the material, for others scenary the system must not planned the material.
    Are there the MRP type for my problem? Or the customizing setting?
    Thanks a lot
    Dani

    Dani,
    Not sure if MRP type or customizing can help here. And even if we are able to achieve this requirement it will be applicable at plant level.
    However, try exploring option of periodic lot size (weekly, monthly, etc). This will work according to period you've set and should give you the results you are looking for.
    Regards,
    Himanshu

  • Latest (most recent ) price of material for a customer in the report.

    Hi,
    I need to create a query where I need to show latest(most recent ) price of the material of a customer based on condition types. I need to show latest price of the material for the customer. can some one please tell me how to show this latest(most recent ) price in the report.
    Kindly respond.

    That is ok but i want only one record be considered for reporting, not all records resulting into avarage.

  • Study material for the 1Z0-042 Oracle 10g exam

    What is the best book to purhcase for the OCA 10g exam.. I've read some not got reviews about the Sybex OCA book
    http://www.amazon.co.uk/OCA-Oracle-Administration-Study-1Z0-042/dp/0782143679/ref=sr_1_1/026-0307472-6450854?ie=UTF8&s=books&qid=1185865079&sr=8-1
    and some outstanding ones for the Osborne book
    http://www.amazon.co.uk/Oracle-Database-Certification-Guide-Osborne/dp/0072257903/ref=pd_bbs_1/026-0307472-6450854?ie=UTF8&s=books&qid=1185865135&sr=8-1
    Whats your thoughts ?

    Those are regular references to certification exams study material. But I suggest you to use the Oracle guides found at the official Certification guide, this will be useful to identify the specific topics you have to be focused on. Then install your 10gR2 database and read through reference manuals and practice, practice, and practice. Most of the material for certification is theoretical oriented, instead of practical oriented.
    ~ Madrid.

  • Pls send the SAP FICO  ECC 6.0 material for  SAP certification exam.

    Hi gurus,
    can any one send the material for SAP certification exam with new version.
    Thank you
    sasikanth

    well, it says;
    'You have no authorization to order. Please refer to SAP Note 532145 !'
    I read this but don't know wht to do next.
    Please guide the steps

  • Material for ale,idoc programming

    Hi folks,
    i need urgently the material for IDOC programming.i am mentioning the process below.
      1)i have created one program. i need to send some fields to a folder through IDOCS.
      when i will press a push button on my program, this idoc program should execute so that some of the fields will transfer through IDOCS.
    Thanks

    hi,
    Intermediate Documents (IDOCs)
    An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data.
    The two available process for IDOCs are 1) Outbound Process 2) Inbound Process.
    There are basically two types of IDOCs.:
    1.  Basic IDOC type defines the structure and format of the business document that is to be     
         exchanged between two systems.
    2. Extension Idoc: Extending the functionality by adding more segments to existing Basic IDOCs.
    -&#61664;To Create Idoc we need to follow these steps:
    1. Create Segment      ( WE31)
    2. Create Idoc Type      ( WE30)
    3. Create Message Type  ( WE81)
    4. Assign Idoc Type to Message Type ( WE82)
    1. Creating a Segment:
    nGo to transaction code WE31
    nEnter the name for your segment type and click on the Create icon
    nType the short text
    nEnter the variable names and data elements
    nSave it and go back
    nGo to Edit -> Set Release
    nFollow steps to create more number of segments
    2. Create Idoc Type      (WE30)
    nGo to transaction code WE30
    nEnter the Object Name, select Basic type and click Create icon
    nSelect the create new option and enter a description for your basic IDOC type and press enter
    nSelect the IDOC Name and click Create icon
    nThe system prompts us to enter a segment type and its attributes
    nChoose the appropriate values and press Enter
    nThe system transfers the name of the segment type to the IDOC editor.
    nFollow these steps to add more number of segments to Parent or as Parent-child relation
    nnSave it and go back
    nnGo to Edit -> Set release
    3. Create Message Type  (WE81)
    nGo to transaction code WE81
    nChange the details from Display mode to Change modenAfter selection, the system will give this message “The table is cross-client (see Help for further info)”. Press EnternClick New Entries to create new Message Type
    nFill details
    nSave it and go back
    4. Assign Idoc Type to Message Type (WE82)
    nGo to transaction code WE82
    nChange the details from Display mode to Change moden After selection, the system will give this message “The table is cross-client (see Help for further info)”. Press Enter.
    nClick New Entries to create new Message Type.
    nFill details
    nSave it and go back
    There are three types of records :
    nControl Record                          nData Record                                     nStatus Record
    Control Record - contains the key information like destination, IDoc type, message type, port and sender information. Control records are of EDIDC type of structure.
    Data Records - This contains two parts.
    nAdministrative Section and Data Section
    nAdministrative Section consists of Idoc number, Segment Name, Segment number, Version, Segment Hierarchy etc.
    nData Section contains the data of respective segment
    nData records are of EDIDD type of structure
    nStatus Record - whenever a process is taken place, system will generate status records.
    nWe can identify the process with the number of status record.
    n01 - 49  for Outbound Process
    n50 - 75  for Inbound Process
    nwhen IDoc is processed the messages are:
    n01 - IDoc is created 
    n30 - IDoc is ready for dispatch
    n03 - IDoc is processed
    check all the below links u will find lot of info
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    For ALE -- IDoc's
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    ALE/ IDOC/EDI
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    ALE/ IDOC/ XML
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://www.thespot4sap.com/Articles/SAP_XML_Business_Integration.asp
    http://help.sap.com/saphelp_srm30/helpdata/en/72/0fe1385bed2815e10000000a114084/content.htm
    http://www.angeli.biz/www5/books/IDocBook/IDocBook.pdf
    IDOC Convertion
    /people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
    ~~Guduri

Maybe you are looking for

  • How can I amke a full cold backup

    Hi, I would like to make a full cold backup in command line mode and then recover it.How caI proceed? Backup sets or image copy? I have tried this but it didn't work, I made it after a normal dbstart. connected to target database: ISCREAM (DBID=34150

  • Problem with 5Ghz mode

    I bought a airport extreme recently. My laptop is VAIO VGN-FW4 with Windows 7. My wireless adapter is Intel 5100 AGN. When I switch to 5Ghz mode and connect to the 5Ghz wireless network, it shows the speed is only 6Mpbs to the router while approximat

  • Mouse over display stays on top when Firefox isn't front app

    FireFox 3.6.10 but has been going on a few versions. On startup the FireFox icon I double click on my desktop is in the same screen location as one of the hot bar items. When Firefox finishes loading it displays the mouse over information for that ho

  • Flags in mails and clever smart folders...

    Hi all, This is one that has been niggling at me for a while now... My current workflow is... I get an email from a client, if I need to follow it up, but don't currently have the time (most emails...) I flag (thanks to lions new naming flags option)

  • GTS Export Declaration document Error

    Hi, We have an error message while export declarion is procesed  - Error message - "authorised value is 9". For more Info - the document was in monitoring but the wrong message type has been reprocessed : M7100 was reprocessed instead of P770. How ca