Material Master - Urgent

Hi Abapers,
There is an issue needing resolution relating to the functionality for handling UPC codes and GTIN numbers on the material master record.
we need to carry both the UPC code and the GTIN codes on the same record. The UPC code is  typically a 12 digit number and the GTIN code is the same number of length 14 by adding two leading zeros.
SAP is checking numbers being entered in the EAN/UPC field on Basic Data 1 screen of the material master record (MARA-EAN11) as absolute number only i.e.., its considering 49000024661 even if we give 00049000024661.
How can we maintaing leading zeros for this field. referred OSS note: 545520 but couldnt find any solution.
Please suggest as what need to be done inorder to maintain leading zeros as well. how can we achieve this?
Does it require abap coding or functional configuring?
Please do the needfull. Points are sure for all usefull answers..
Thanks in advance...

Hi,
In programs  u can use func modules
CONVERSION_EXIT_ALPHA_INPUT
CONVERSION_EXIT_ALPHA_OUTPUT.
For changing number assignment to mm01 check these exits.
Enhancement/ Business Add-in            Description
Enhancement
MGA00001                                Material Master (Industry): Checks and Enhancements
MGA00002                                Material Master (Industry): Number Assignment
MGA00003                                Material Master (Industry and Retail): Number Display

Similar Messages

  • Material Ledger not activated in Material Master--Urgent

    Dear Gurus,
    We have created Material Master  of Project Material With tag "Do NOT Cost" but Material ledger not get activated. although In plant material Ledger  is activated .
    Can any body Help to find out solution
    Regrds
    Mahesh
    *Assign full marks

    >
    Kishore Kumar Chiluka wrote:
    > Hi
    >
    > Please get in touch with your BASIS consulatant , as the updates are not performing rightly, this seems to be asystem error.
    >
    > Thanks & Regards
    >
    > Kishore
    Thanks a lot Kishore.
    But unfortunately we don't have any Basis Guy separately. I was doubling up as Basis as well APO in my org . I'm pretty new to all these stuff. I searched in help.sap.com about this a lot, but couldn't find anything useful.
    Can you help me in identifying a solution to this problem?
    Thanks,
    Rajesh Manoharan

  • MAP R3 to CRM  Material Master  -- Urgent

    Hi all,
    I have currently using BADI PRODUCT_CUSTOMER2 with method MAP_R3_TO_CRM_MATERIAL. I have done the coding and required configuration. I suppose to be able to see the changes done in COMMPR01 in CRM from MM02 in R3. However, I fail to see the changes at CRM.
    I have read through note 428989 for the mapping instruction. During debugging, I manage to see all the changes done in R3 at the CRM side.. until the populating part, everything looks fine and okie for me. But when everything gone through, including the SMQ2 ibound queue finish running, i still fail to see the changes.
    Below is the populating code that i have implemented in the badi, anyone can give me some advice on the code (basically the code refer to the reference file). Do i need to include some extra field or table at the populating part. Thanks.
    begin of mapping data into bdoc:
    LOOP AT lt_cat_settype_rel_all INTO ls_cat_settype_rel.
    read comc_settype record:
    CALL FUNCTION 'COM_SETTYPE_READ_SINGLE'
    EXPORTING
    iv_settype_guid = ls_cat_settype_rel-frgtype_guid
    IMPORTING
    es_settype = ls_settype
    EXCEPTIONS
    not_found = 1
    no_import_values = 2
    no_text_found = 3.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    CONTINUE.
    ENDIF.
    CASE ls_settype-frgtype_id.
    WHEN lc_zxe_843_kgen.
    ls_zxe_843_kgen-relation-owner = 'X'.
    ls_zxe_843_kgen-relation-logsys = cs_product_bdoc-header-com_product-logsys.
    ls_zxe_843_kgen-data-zz0010 = ls_zisc_mara_data-zzlead.
    ls_zxe_843_kgen-data-zz0011 = ls_zisc_mara_data-zzamr.
    ls_zxe_843_kgen-data-zz0012 = ls_zisc_mara_data-zzasr.
    ls_zxe_843_kgen-data-zz0013 = ls_zisc_mara_data-zzlmang.
    ls_zxe_843_kgen-data-zz0014 = ls_zisc_mara_data-zzmmang.
    APPEND ls_zxe_843_kgen TO cs_product_bdoc-data-zxe_843_kgen.
    APPEND ls_settype-frgtype_id TO cs_product_bdoc-data-mnt_settype.
    ENDCASE.
    ENDLOOP.
    ENDCASE.
    ENDLOOP.
    Any help or idea is very much appreciated. Thanks.
    Any doubt can always drop me a message as well.

    Use the below code for your req.
    CONSTANTS:
          c_on TYPE comt_boolean VALUE 'X',
          c_off TYPE comt_boolean VALUE ' ',
          C_PROD_XPORT(20) type C VALUE 'ZCOM_MANUFAC',
          c_mara(4)     TYPE c VALUE 'MARA'.
                                 Work Areas                              *
      DATA: str_category_bdoc       TYPE comt_prod_cat_rel_maintain,
            str_category            TYPE comt_prod_cat_rel,
            str_settype             TYPE comt_settype_ext,
            str_cat_settype_rel     TYPE comt_cat_frag_rel,
            str_comm_category   TYPE comm_category,
            str_comm_prprdcatr  TYPE comm_prprdcatr,
            str_ZPROD_XPORT  type ZCOM_TA_MANUFAC_MAINTAIN,
            str_other_info      TYPE  bapiextc.
      DATA: begin of str_com_mara,
               bismt(18) type c,
            end of str_com_mara.
                                Internal Tables                          *
      DATA: it_categories          TYPE comt_prod_cat_rel_tab,
            it_cat_settype_rel     TYPE comt_cat_frag_rel_tab,
            it_cat_settype_rel_all TYPE comt_cat_frag_rel_tab.
                                Field Symbols                            *
      FIELD-SYMBOLS:
                <source_x> TYPE x,
                <target_x> TYPE x.
    *Get all categories related to the product from CRM online:
      CALL FUNCTION 'COM_PROD_CAT_REL_READ_WITH_PR'
        EXPORTING
          iv_product_guid  = cs_product_bdoc-header-com_product-product_guid
          iv_update_buffer = space
        IMPORTING
          et_set           = it_categories.
    *Add all categories related to the product from BDOC:
      LOOP AT cs_product_bdoc-header-categories INTO str_category_bdoc.
        MOVE-CORRESPONDING str_category_bdoc-data TO str_category.
        READ TABLE it_categories
             WITH KEY hierarchy_guid = str_category-hierarchy_guid
             TRANSPORTING NO FIELDS.
        IF sy-subrc = 0.
          MODIFY it_categories FROM str_category INDEX sy-tabix.
        ELSE.
          APPEND str_category TO it_categories.
        ENDIF.
      ENDLOOP.
      LOOP AT it_categories INTO str_category.
    *Get category set type relations:
        CALL FUNCTION 'COM_CAT_FRAG_REL_READ'
          EXPORTING
            iv_category_guid = str_category-category_guid
          IMPORTING
            et_cat_frag_rel  = it_cat_settype_rel
          EXCEPTIONS
            wrong_call       = 1
            OTHERS           = 2.
        IF sy-subrc = 0.
          APPEND LINES OF it_cat_settype_rel TO it_cat_settype_rel_all.
        ENDIF.
          ENDLOOP.
        DELETE ADJACENT DUPLICATES FROM it_cat_settype_rel_all.
    *Getting the info into the Set Types.
        LOOP AT it_cat_settype_rel_all INTO str_cat_settype_rel.
          CALL FUNCTION 'COM_SETTYPE_READ_SINGLE'
            EXPORTING
              IV_SETTYPE_GUID  = str_cat_settype_rel-frgtype_guid
              IV_LANGU         = SY-LANGU
            IMPORTING
              ES_SETTYPE       = str_settype
            EXCEPTIONS
              NOT_FOUND        = 1
              NO_IMPORT_VALUES = 2
              NO_TEXT_FOUND    = 3
              OTHERS           = 4.
          IF sy-subrc <> 0.
            CONTINUE.
          ENDIF.
          CASE str_settype-frgtype_id.
            WHEN C_PROD_XPORT.                           "Set Type Name 'ZCOM_MANUFAC'                "'ZTM_PROD_XPORT'
              str_zprod_xport-relation-owner   =  c_on.
              str_zprod_xport-relation-logsys  = cs_product_bdoc-header-com_product-logsys.
    *Polutate MARA Fields
    *Get the info record using Communication Structure 1
    *Table Name and Material Number ( struc = 'MARA' and matnr = current material number )
              LOOP AT it_other_info INTO str_other_info
                         WHERE field1(20)  = C_MARA
                         AND   field1+20(18) = is_mara-material.
              ENDLOOP.
    *Get data from Communication Structure 2 ( Old Material Number )
              ASSIGN str_other_info-field2 TO <source_x> CASTING.
              ASSIGN str_com_mara          TO <target_x> CASTING.
              IF <source_x> IS ASSIGNED AND
                   <target_x> IS ASSIGNED.
                <target_x> = <source_x>.
              ELSE.
                CONTINUE.
              ENDIF.
    *Assign the data from Communication Structure 2 ( Manufacturer Part Number ) to the corresponding field in set type structure.
              str_zprod_xport-data-ZZ0014 = str_com_mara-bismt.
              APPEND str_zprod_xport TO cs_product_bdoc-data-ZCOM_MANUFAC.
              APPEND str_settype-frgtype_id TO cs_product_bdoc-data-mnt_settype.
          ENDCASE.
        ENDLOOP.
      endmethod.
    We have implemented the similar functionality in our project.
    Reward points If it helps.

  • Create Material Master using workflow (urgent)

    Hello all,
    We have an urgent client requirement to create material master using workflow.
    Different views for the material master will be created by the relevant departments.
    ex: Accouting 1, 2 will go to accounts deptt.
    I have studied the workflow tutorial  (20 units) on <b>SAP help</b> for leave of absence and have some understanding of objects, methods, bindings etc
    I am however finding it very difficult to define the steps to create a workflow for material master. Are there any standard steps already defined that i can use.
    Any help/inputs will be greatly appreciated.
    Regards
    S. Datar

    Hi,
    You need to speak to a workflow consultant.
    You can get workflow to do many things (including creating a material master) but it takes a lot of coding and design.
    For those of you who think that workflow is just used for the standard SAP workflow tasks, you have to realise that workflow is far more powerful and far more useful than many people think.
    It is always referred to as "Event triggered messaging" but it is more accurate to call it "Event triggered events".
    Within workflow you can chain together many different transactions and or ABAPS and so you can get it to do virtually anything you want (as long as you know how).
    In this case you need the workflow to trigger an ABAP or BTCI session etc. that works through the MM01 transaction. It is relatively easy to get it to do this, but I am not technical enough to be able to help with the steps involved (sorry)
    Steve B

  • Material Master Number Range - Very Urgent

    Hi ,
    My client is having existing material codification as below :
    all material types for e.g. ROH, HALB, FERT will be starting their material code with 00 or 01 or 02 etc. sine the first two digits denotes the year , which will vary from material to material. The characters used will be from minimum 8 to maximum 14 - Alphanumeric.
    for e.g. my material code will be
    for ROH - 000040101F0101
    for FERT - 00801000101
    for HALB - 013000101C
    here for all materail type first 2 digit are for year and next will be prod. code , then assy , then sub assy , if forging applicable it will be F , if casting then - C
    How this can be mapped in SAP as one series for all material types, is it possible for system to identify the material type, what is advantage & disadvantage of the same.
    Pl. help
    Thanks & Regards,
    Vikas Mayekar.

    Hi
    Using Standard SAP for Material number ranges may not be able to map your requiremnts.
    But you can use the SAP enhancements available for the Number ranges determination & so onj...
    Please use the User exit in CMOD or SMOD
    You can use enhancement MGA00002 (for industry) or enhancement MGW00002 (for retail) for this.
    For more information, see the documentation for the following components assigned to these enhancements:
    Industry
    EXIT_SAPLMG02_001
    EXIT_SAPLMG02_002
    Retail
    EXIT_SAPLMG72_001
    With the exception of the transfer structure, this function is identical to customer enhancement MGA00002 for material number assignment for the material master for industry. Please see customer enhancement MGA00002 for more information and for sample coding.
    EXIT_SAPLMG72_002
    With the exception of the transfer structure, this function is identical to customer enhancement MGA00002 for material number assignment for the material master for industry. Please see customer enhancement MGA00002 for more information and for sample coding.
    EXIT_SAPLMGNK_003
    Please take help of ABAPer's for implementing the same
    Thanks & Regards
    Kishore

  • Workflow help need urgently in Material Master creation

    hi All
    I am trying to create a Workflow for creating Material Master views in ECC6 system . Initially Basic data 1 and basic data 2 is created by user and then my workflow is trigerred for subseuqent views .For e.g i need to route the workitem to a user to fiill in Purchasing data and then to another user to fill in accounting data after basic data 1 and basic data 2 is created by so called super user. I was trying to use business object BUS1001006 for this using method CREATEVIEWS but i am getting stuck here with using this method . I dont know how to use this method so that once the user clicks the workitem it should directly go to Puchasing tab view or Accounting tab view (depending on the kind of user currently accessing the workitem).
    Any idea how to solve this problem ? It would really be helpful for me
    Thanks for your help in advance

    1. I have entered transaction OMS9
    2. Entered the Field selection group as 2
    3. Below the fields option 3 RM03M-WERK280  (Plant)  i double clicked and checked there is hide option.
    4. I came back selected the T001W - Name1 (Name)     I double clicked that in 34 , 35 , 54 was enabled with hide i changed to opt entry but still it seems to be the same.
    5. I came back again and below in the field selection tab checked for the MM01 and MM02 transaction as well as fert,halb,roh as opt entry
    It did not work.Kindly guide me if there is some other option available for this to revoke the plant option.
    Any help would be really appreciatable.
    Regards,
    Deepak GS

  • Urgent:Profit centre differing from SO to material master

    Hi SAP Gurus
    May i know where from Profit centre gets populated in the SO(Line item level-A/c assignment Tab-Profit centre field).
    To my understanding it gets populated from material master.
    But i have a sales order wherein the PC has PC$$$$ but when i checked the material master data ,i could find PC##### in the sales general plant view.
    Why it is differing?
    What i need to check further?
    Regards
    Sush
    Edited by: Sushma Gopichetty Laxman rao on Oct 8, 2008 3:49 PM

    Hello Sushma,
    May i know where from Profit centre gets populated in the
    SO(Line item level-A/c assignment Tab-Profit centre field).
    To my understanding it gets populated from material master.
    But i have a sales order wherein the PC has PC$$$$ but when
    i checked the material master data ,i could find PC##### in the sales general plant view.
    Why it is differing?
    What i need to check further?
    As you have cited that the profit Center set in Material Master record is different to the value available at Sales Order, please check in following points:-
    1:- Check the Change History log of the particular Sales Order.
    2:- Check whether there are any User exit being used which is altering the value of Profit Center of the Sales Order with the help of Technical consultant.
    Kindly share you observation based upon these above pointers.
    Regards,
    Sarthak

  • Material Master - classification view - URGENT

    I am coding a proxy for Material master creation. I have done for all the views except for Classification view. Can any one tell me how to start coding for this view.
    Thanks,
    -Naveen.

    Try function module CLFM_OBJECT_CLASSIFICATION. You cannot do a BDC for it. You can also try standard programs  RCCLBI03, RCCLBI02 or RCCLBI03 but they may not be relevant in your case.

  • Moving avergae price updation in material master for project stock

    Dear All,
    My query is pertaining to updation of MAP( moving average price) for project specific procurement ( as project stock) for valuated project stock.
    As  definelty the cost of procurement gets consumed by project .but i want to know does the project stock procurement still updates the moving avergae price or not.
    Ex:-Suppose MAP in material master is 10 USD ( with qty 1)and i procure the same material ( qty 1)for project with account assignment Q for 9 USD . now will the MAP in material master becomes 9.5 USD or it remains 10 usd.?
    Please reply urgently
    Regards
    Amit

    Hi Amit,
    If your Project Stock is valuated, then, the valuation data for it is stored in a different table: QBEW.
    The normal, anonymus warehouse stock (the unrestricted use stock which is not assigned to any project or to any sales order) has its valuation data stored in MBEW.
    The "Accounting 1" view in the Material Master MM03 ONLY displays the data of MBEW.
    In the material master you will never see the valuation data of the valuated project stock (table QBEW) or the valuated sales order stock (valuation indicator "M" - table EBEW).
    The valuation data for the tables QBEW and EBEW can be seen in SE16 or in the transaction MBBS.
    Also note that these valuated special stocks are managed independently of the normal stock. If, for example, you change the Moving Average Price of your normal stock in MBEW, this will not have any influence on your project stock, as the data is under a totally diferent table QBEW.
    I hope this helps you,
    Esther.

  • In material master How to add a new field on Basic data 1 view

    Please Help It's very Urgent...
           I have the Requirement that in Material Master a new field reqired to be added on basic data 1 view. This new field should be added just below field Old Material Number( MARA-BISMT).
    Can anyone Please suggest the correct way to add the field as per above requirement.
    I hope to get quick reply.
    Thanks and Regards...
    Tanweer Zaki

    No need to validate all the other fields is no wear concerened with you, if you have any requirement to validate your field MVKE-LFMAX .
    PROCESS BEFORE OUTPUT.
                         Verarbeitung vor der Ausgabe
      MODULE INIT_SUB.
      MODULE GET_DATEN_SUB.
      MODULE FELDAUSWAHL.
      MODULE SONDERFAUS.
      MODULE SONFAUSW_IN_FGRUPPEN.
      MODULE FAUSW_BEZEICHNUNGEN.
      MODULE FELDHISTORIE.
      MODULE BILDSTATUS.
      MODULE ZUSREF_VORSCHLAGEN_B.
      MODULE REFDATEN_VORSCHLAGEN.
      MODULE ZUSREF_VORSCHLAGEN_A.
      MODULE SET_DATEN_SUB.
    PROCESS AFTER INPUT.
                         Verarbeitung nach der Eingabe
      MODULE GET_DATEN_SUB.
      CHAIN.
         FIELD MVKE-LFMNG.
         FIELD MVKE-AUMNG.
               MODULE MVKE-LFMNG ON CHAIN-REQUEST.
      ENDCHAIN.
      FIELD MVKE-EFMNG.
      FIELD MVKE-SCMNG.
      FIELD MVKE-RDPRF.
      CHAIN.
         FIELD MVKE-SCHME.
               MODULE MVKE-SCHME.
      ENDCHAIN.
      CHAIN.
         FIELD MVKE-RDPRF.
               MODULE MVKE-RDPRF.
      ENDCHAIN.
    <b>CHAIN." to validate your field
         FIELD MVKE-LFMAX.
               MODULE MVKE-LFMAX.
      ENDCHAIN.</b>
      MODULE SET_DATEN_SUB.
    PROCESS ON VALUE-REQUEST.
    Selbstprogrammierte Eingabehilfen
      FIELD MVKE-SCHME  MODULE MEALL_HELP.
      FIELD MVKE-RDPRF MODULE MVKE-RDPRF_HELP.
    <b>&----
    *&      Module  MVKE-LFMAX INPUT
          text
    MODULE MVKE-RDPRF INPUT.
    Validate check code
    ENDMODULE.                 " MVKE-LFMAX  INPUT</b>
    Thanks and Regards,
    Pavankumar

  • Error while loading material master data

    I am loading delta data for material master and its giving me the following error:
    "Programs not generated for InfoSource 0MATERIAL_ATTR and source system".
    How to resolve this error?
    Need ur help urgently.
    Thanks

    Hi,
    While loading attributes U have to select the transfer structure of the 0MATERIAL_ATTR then activate it..now proceed if it is already replicated in to BW system... other wise first do that..then go ahead....Similar to Text also...
    Regards
    Siddhu

  • Material Master tax Category Issue

    Hi all,
    I have some doubt in Material Master sales view.
    I want to know the Database Table name in which the field Tax Category (TATYP) and tax classification(TAXKN) stored.
    I know that these tables are stored in the stucture during creation of material master.
    Its urgent please help if anybody knows
    thanks in advance..
    Muthupandiyan

    hi,
    The filed TATYP ( TAX category) is in TSKM,
    and i could not found TAXKN in data dictionary, i found TAXKM in TSKM table,
    the description for TAXKM is Tax classification.
    Verify these,
    hope this may help you.
    Regards
    srinivas

  • Help reqd on Material Master uploading in LSMW by view steps....

    Hi all....
    Pls understand my requirement and post ur replies...i dont need the basic LSMW learning steps for MM,Vendor etc.,like that...
    My problem is...im want to upload my material master datas by steps like 1st i want to uplaod the basic views 1&2 for all the material types in one shot...
    next thing i want to load the other views like purchasing sales mrp plant qm accounting etc., in single shot......like screen to be extended formats....im mm01 or by mm02...
    when i did....no problem i've  faced upto MRP loading...but the next view like plan,QM,accounting is not coming when recording in RUN batch input session..it says..."the material has been already extended and no input was given for this screen"....
    Hope u understand,my problem....
    if u have answers...pls post me on urgent basis.....
    thanks...
    sankar

    Create purchase requisition by LSMW

  • Not able to change UOM in material master for a material

    Hi all ,
    I have a issue with changing of the UOM in the material master , IN MMO2  after changing the UOM , in Display error , its showing the error as : The base unit of
                                         The reasons for
                                         Manual  reservation
                                         Reserv.No   , Item - No data
                                         Purchase order  - 30017056  , Item 1 - 1
    There is no stock in the previous as well as current period , and deleted the PR , still i am not able to change
    Please help urgently
    Thanks in Advance
    Neha

    Hi Satyajit,
    Please look at OSS  Note 1069560 - Data inconsistencies: Activating integration. models in parallel, if this helps you.
    Since  Gross data of material is in the basic view, it is common across plants , whereas, IMs are normally designed to have material masters at plant level.
    We may have same material in different IMs with different  plants. Therefore changes of the basic view fields are then contained in multiple IMs.  SAP advises to have a larger IM or sequential activation of IMs.
    I hope this will  help you .
    Regards
    Datta

  • Material Master Change BDC

    Hi,
    I have to write a BDC for t-code MM02. I have to chnage "X-distr.chain status" field in SalesOrg 1 view.
    The problem i m facing here is that the positon of SalesOrg 1 view keeps changing for material to material.
    Have somebody craeted the bdc for MM02 then please help me in this. Its a bit urgent.
    Regards,-
    Sachin.

    Sachin,
    Try these techniques instead of BDC.
    1)
    <b>BAPI_RETAILMATERIAL_CREATE
    BAPI_STANDARDMATERIAL_CREATE
    BAPI_MATERIAL_MAINTAINDATA_RT
    BAPI_MATERIAL_SAVEDATA</b>
    In LSMW BAPI technique using Business objects BUS1001006 , BUS1001001 can be done
    2) BDC in LSMW
    3) Direct input method in LSMW Using Material Master 0020
    rgds,
    TM

Maybe you are looking for

  • How to change the colours of squares in ical

    How do I change the colours of squares (that show days) in ical?

  • Video card going out?

    i get bars of pixels going across my screen most of the time. They are sometimes black and other times they are multi-colored. Also when i scroll down a page, some times it does this funky thing where it looks like....man i cant really describe it...

  • Binary file read byte unmatch

    I tried to read one line of binary file as the top of the screenshot. The result is as the left side. It shows the first part with text are correct. The ending part is not match with the raw one. I also tried read by byte, but still the same. Any sug

  • Do you know how to "delete" my old Ipod ?

    Do you know how to "delete" my old Ipod?

  • Adobe Layout PDF preview

    Hello, I am getting problems when I try to do PDF Preview in the layout of the adobe live cycle designer. This is custom Form which I copied from ISR_HRASR_SHU1. The error I get is "Failed To Save The File" and further message is "Runtime Error" Prog