Material status in material master

Hi,
We have different type of statuses that can be maintained in material master like -
Distribution-chain-specific material status
Cross-distribution-chain material status
Cross-Plant Material Status
Plant-Specific Material Status
The settings for these are maintained as part of configuration.
Is there any possibility to further add some more control parameters in the statuses through development or customising?
regards,
Mohit

Hello Mohit ,
What kind of control you are expecting through the material status ? We can do config and maintain new material status through the t-code OMS4.
Just to mention few of the control few  of the control we can do from there are Message/Error if independent requirement is created for material , Message /Error if material is used in MRP, Message/Error if material is used in production order header, Message /Error if material used in WM transfer reqmt/posting change etc etc .
There are other plenty of option there which you can explore.
I hope the information helps
Cheers
Kaushik

Similar Messages

  • Material Master - Error M3 826 Maintenance status of field ... to screen

    Hi Experts of the Material Master,
    I am getting the error M3 826 "Maintenance status of field MARA-BEHVO does not correspond to status of screen K" when all screens are selected in the Create Material Master transaction.
    Here is my situation: I have added the fields MARA-BEHVO and MARA-TEMPB both of status L (Storage) to a screen called "Phys. Characteristics", which has status K (Basic data).
    This produces  the error message above in standard SAP. I didn't want to change the customizing of the screen to allow L, because this screen is also used by other material types.
    I had to copy the screen MGD1 2701 (Phys. Characteristics) to my custom program for Material Master screens anyhow, as the number of fields and their descriptions had to be adjusted.
    The program was created using the activity "Create Program for User Subscreens" in SPRO.
    in the coding of ZMGD1 screen 2701 I have added this code behind the standard module FELDAUSWAHL to manipulate the standard logic that would blend out L fields on a K screen.
    LOOP AT SCREEN.
    *   Material Type
        IF mara-mtart = 'ZPNT'.
    *     Screen-Names of the 3 fields
          IF screen-name = 'MARA-TEMPB' OR
             screen-name = 'MARA-BEHVO'.
            screen-active      = 1.
            screen-invisible   = 0.
            screen-output      = 1.
    *       Change or Create transaction
            IF sy-tcode = 'JP27' OR sy-tcode = 'JP28'.
              screen-input       = 1.
              screen-required    = 1.
            ENDIF. "transaction code JP27 or JP28
            MODIFY SCREEN.
          ENDIF. "screen-name
        ENDIF. "Material Type ZPNT
      ENDLOOP.
    It all works fine when only a number of screens (but including the modified) screens are selected for creation.
    But it fails with the message above on the modified screen when all screens are selected.
    Any ideas?
    Ralf

    from the message, it appears that ZZKUNNR is a custom field attached to your MARA table. So, it is your System specific.  I don't see ZZKUNNR available in MARA.  If you look at the transaction code OMT3B (configuration for material master data screens), you can find K - Basic Data Screen in Maintenance Status field.
    You may look in this area to fix your issue. Because yours is a custom field, its tough to analyse further.
    Reward points, if it helps!
    Regards

  • Bypass D-Chain specific status of material master

    Hi,
    Is there a way ( Copy Routine/ user exit)  to bypass D-Chain specific status of material master which prevents creation of Delivery doc w.r.t a PO in STO scenario?
    I dont want change the config setting for status to allow delivery creation.
    Thanks in Advance
    Subhankar

    Hi Kapil,
    Threre are some material for which D-Chain status ( MVKE-VMSTA) in the materila master are set in such a way so that deliveries can not be created. We need to bypass this restriction for couple of delivery types. One of them is the delivery type used for intracompany STO.
    I am looking for some way out like user exit so that I dont need to change existing config change for those statuses.
    Regards,
    Subhankar

  • Material specific status in material master

    Hi,
    We have a material A. in the material master for A, in the basic data ,the "X plant mat status is Z4 which means material discontinued. In the sales org tab for the same material, the "dis chain specific status" is Z1 which also means material under discontinuation.
    But the issue is we are able to create and save sales order for material A.
    i would like to know what is the issue. the system should not allow to create sales order. Also where are these material specific status configured and where is the control to block the sales order based on these material status.
    regds

    the creation of sales order is not controlled with a material status, it is only controlled with customizing of sales status.
    The sales status can be defined in IMG > Logistics general > material master > setting for central fields > sales relevant data > define sales status.

  • Material Status field in Material master

    Hi,
    This is regarding Material Master.
    Where can I find field Material Status (MARA-PSTAT) in Material Master??
    regards,
    Rc

    Different views of material master when maintained are given a unique ID such as:
    Work scheduling - A
    Accounting - B
    Classification - C
    MRP - D
    Purchasing - E
    Production resources/tools - F
    Costing - G
    Basic data - K
    Storage - L
    Forecasting - P
    Quality management - Q
    Warehouse management - S
    Sales - V
    Plant stocks - X
    Storage location stocks - Z
    MARA-VPSTA- MARA is the master table for materials and is at client level. VPSTA tells you all the views that have been created for the material. and Plant Stock and Storage Location stock views get created automatically.
    MARA-PSTAT - tells you the views that have been created manually.
    MARC-PSTAT - tells you the view created manually, relevant to Plant
    MARD-PSTAT - tells you the view created manually, relevant to Storage Location data (Storage)
    MBEW-PSTAT - tells you the view created manually, relevant to Finance (Accounting and Costing)

  • Vendor declaration status in the material master

    Hello,
    How do I maintain Vendor declaration status in the material master? Currently Vendor declaration status is 'Not maintained' in the material master.
    Sincerely,
    Ketan

    Hi,
    From IMG, choose Materials Management>Purchasing>Foreign Trade/Customs>Preference Processing>Maintain Control Data of Vendor Declaration, after that you will find the status in the material master data.
    Good luck
    Tao

  • Changing field status in material master.

    Hi,
    how changing material status in material master so
    that moving average price will become a "display" field?
    Actually is possible modify the valua and this is dangerous.
    Best regards

    Hi,
    The material master moving average or standard price field values are tied to the Pricing Control field value (V or S). However, these values are open for changes only in first time creation mode and once you start processing using that material in any transction, it becomes greyed out automatically.  You just can't change the value from MM02.  However, FI team in general takes control over this value because it is a matter of costing.  The price change subsequently, will be taken up during cost rollup process periodically by the same CO consultant in the project using transactions MR21 and MR22.  Hope, this helps..
    REgards

  • Current period in Accounting 1 view of Material Master

    Dear Experts,
    In Accounting 1 view of Material Master there is a current period, now it is 12 2009.
    Is it possible to make it 11 2009, if yes how to do it.
    Please help if you have solution. it is very crucial for me.
    Thank you for your support.
    Regards,
    Zusen

    Hi,
    Please read the Solution part of  note 487381. There is still a few things need to be carry out before you can proceed
    with the initialization :
    Bear in mind that the initialization of a posting period has the
    following effects concerning the period stocks:
        o  The initialization of the posting period to a previous or to any
           posting period may lead to the loss of the information of the
           inventory balances of the previous periods.The book value of the
           current posting period is taken as the basis also for values of
           the previous period in this case.
           If you want to continue working with this new posting period, in
           addition you should execute report Z_DEL_HIST_ENTRIES attached so
           that history entries greater or equal to the new posting period
           will be deleted.
        o  If you have to briefly reset the posting period by one period
           (for example, postings must still be posted in a certain period)
           just to make a correction (and for a small number of postings),
           you should initialize the posting period back again to the old
           value so that the values of the previous period will not be lost
           (you should forbid postings when carrying out corrections).
           However, afterwards the values of the previous period or the
           history records (as of Release 4.5) of the materials posted in
           this case are inaccurate.
           You should NOT execute report Z_DEL_HIST_ENTRIES in this case.
        o  However, if the posting period is generally reset again to a
           previous posting period and if postings were made during this
           time, all information on the inventory balance of the previous
           periods is lost.
           As of Release 4.5a, you should use the cited correction report
        Z_DEL_HIST_ENTRIES in order to delete history records that are
        more current than the current posting period.Otherwise, it can
        result in deviations (inconsistencies) for the update of the
        history records.
    o  Important! If there are open physical inventory documents that
        have status 'counted' or for which indicator 'Freeze inventory
        balance' has been set, you should reject these if they refer to a
        previous period or have been created in the former previous
        period.The inventory difference to be posted can be determined
        from the current book value of the previous period and the book
        quantity frozen in the physical inventory document (ISEG-BUCHM)
        and does not match the inventory balance of the previous period
        that is currently valid.

  • No Material Master replication from R/3 to CRM

    Hallo guys,
    i've got no replication of material master, haven't tried any other object except customizing but customizing is triggered from CRM and was replicated fine. Can anybody help me how can i debug the replication process from R/3?
    Thanks for your help in advance.

    Dmitry,
    You first need to determine where your errors are happening?
    1.  Do you have blocked queues on CRM?  If you see a blocked inbound/outbound queue on CRM via SMQ1 or SMQ2, then you can try to rerun the BDOC message in the queue.
    2.  Is there tax code customizing not downloaded correctly into CRM?  This sometimes can hang up your download of materials?
    3.  Have you looked at SMW01 after the load to see if you have any BDOC's in error, the queues were empty?
    4.  What is the status of the initial load R3AM1?
    I would hold off from debugging until I figure out where in the download process that I am receiving the error.  Once I know that fact them I can debug a single download.  You will have to set a filter on the material object to a single material and attempt an initial download.  When you perform the initial download you will need all queues deregistered on the CRM side, so that you manually execute the BDOC import into CRM. 
    The last step will require placing a breakpoint into the validation function module for material.
    I believe validation function module is: COM_PRODUCT_MAT_VALIDATE.  If you have questions along the way of debugging the flow, please reply back and I will try to see if I can answer them.  It has been a little while since I had to debug our middleware downloads.
    Good Luck,
    Stephen

  • Replication of Customer and Material master from R/3 to CRM

    Hi
    Recently in our quality server basis administrator has made a client copy from production server after that customer master and material master are not flowing from R/3 to CRM, even sales orders were not getting copied from CRM to R/3 , i went through C71 BB config document and fixed the sales orders updation from CRM to R/3 but not able to resolve the problem of customer master and material master from ECC to CRM.
    I went to B09 BB document and all settings are fine.
    Using R3AS I have loaded following objects DNL_CUST_PROD0, PROD1, PROD3, SPROD , DNL_PLANT. and Material.
    I went to R3AM1 and checked the status as running or wait for each object.
    There are no filters in R3AC1 .
    Queue name withR3AD_MATERIA0000000001 has status SYSFAIL in SMQ2  .
    What can i do to resolve this problem.
    Please advice.
    Thanks,
    Vaishnavi

    Hello Vaishnavi,
    After the client copy , have you run txn:BDLS in order to change the LOGSYS in all relevant tables?
    You can run this txn in test mode as well to see the affected tables.
    Are you getting any dump on these load ?Check it in txn:ST22.
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • Material Master replication ... ECC to CRM

    I have a requirement to replicate a material master record from ECC to CRM, based upon an 'external event' (i.e. an event other than the change of the material master record itself, in ECC).    The event is the change in status of a record in a z-table. 
    What is the best way to accomplish this?  Is there a function module or BAPI that I can call, to trigger the replication of a material to CRM, whenever this event occurs?    Are there other suggested / better approaches to satisfying this requirement?
    Your help will be much appreciated!
    Thanks,
    Duane

    If your CRM system is new then you have to do the initial download of material from ECC to CRM. To do that first download the material customizing object (like category. group etc), from transaction R3AS (CRM side) then download the product/Material.
    After do the initial download, activate the change pointer for the material related message type (matmas etc..)from transaction SALE (ECC). And schedule I job to run its on daily basis.
    If can check the below link for details
    [http://help.sap.com/saphelp_crm52/helpdata/EN/46/57605301a208e7e10000000a114a6b/content.htm]
    Thanks
    Subhankar
    Edited by: Subhankar Garani on Sep 1, 2011 12:21 AM

  • Inter company PO is not pulling the valuation price from Material Master

    Hi Experts,
    We have a scenario, Inter-company PO with pricing procedure which pulls Material Price from Material Master (Std Price), similar to intra company PO
    Even after maintaining the std price in the supplying plant , system is not pulling the Valuation price from Material master only for a particular Material
    I checked the Plant level attributes ( for ex: Plant Mat status, client level status and everything looks fine )
    Could you guys please mention what would be the issue ?
    Thanks in advance
    Illayaraja

    Hi,
    Is there a routine which pulls the value? then you need debug with ABAP help for that routine where its failing to pull
    Thanks
    Diwakar

  • Creation of a Material Master

    Hi guys,
        Can any one help me in creating a Material master
        pls do send me the steps that are involved in
        creating a Material master
    Thanku
    Jino

    Check the BAPI BAPI_MATERIAL_SAVEDATA
    Check the below sample code.
    REPORT YGECICI MESSAGE-ID 00
    No Standard Page Heading
    Line-Size 200
    Line-Count 65.
    *TO CREATE MATERIAL USING BAPI.
    STRUCTURE DECLARATIONS *
    TABLES: BAPIMATHEAD, “Headerdata
    BAPI_MARA, “Clientdata
    BAPI_MARAX, “Clientdatax
    BAPI_MARC, “Plantdata
    BAPI_MARCX, “Plantdatax
    BAPI_MAKT, “Material description
    BAPI_MBEW, “VALUATION DATA
    BAPI_MBEWX,
    BAPI_MARM,
    BAPI_MARMX,
    bapi_mean,
    BAPIRET2. “Return messages
    DATA:V_FILE TYPE STRING. “input data file
    DATA:
    BEGIN OF LSMW_MATERIAL_MASTER,
    MATNR(018) TYPE C, “Material number
    MTART(004) TYPE C, “Material type
    MBRSH(001) TYPE C, “Industry sector
    WERKS(004) TYPE C, “Plant
    MAKTX(040) TYPE C, “Material description
    DISMM(002) TYPE C, “Extra Field Added In the Program as itsrequired
    MEINS(003) TYPE C, “Base unit of measure
    MATKL(009) TYPE C, “Material group
    SPART(002) TYPE C, “Division
    LABOR(003) TYPE C, “Lab/office
    PRDHA(018) TYPE C, “Product hierarchy
    MSTAE(002) TYPE C, “X-plant matl status
    MTPOS_MARA(004) TYPE C, “Gen item cat group
    BRGEW(017) TYPE C, “Gross weight
    GEWEI(003) TYPE C, “Weight unit
    NTGEW(017) TYPE C, “Net weight
    GROES(032) TYPE C, “Size/Dimensions
    MAGRV(004) TYPE C, “Matl grp pack matls
    BISMT(018) TYPE C, “Old material number
    WRKST(048) TYPE C, “Basic material
    PROFL(003) TYPE C, “DG indicator profile
    KZUMW(001) TYPE C, “Environmentally rlvt
    BSTME(003) TYPE C, “Order unit
    VABME(001) TYPE C,
    EKGRP(003) TYPE C, “Purchasing group
    XCHPF(001) TYPE C, “Batch management
    EKWSL(004) TYPE C, “Purchasing key value
    WEBAZ(003) TYPE C, “GR processing time
    MFRPN(040) TYPE C, “Manufacturer part number
    MFRNR(010) TYPE C, “Manufacturer number
    VPRSV(001) TYPE C, “Price control indicator
    STPRS(015) TYPE C, “Standard price
    BWPRH(014) TYPE C, “Commercial price1
    BKLAS(004) TYPE C, “Valuation class
    bwkey(004) type c,
    END OF LSMW_MATERIAL_MASTER.
    INTERNAL TABLE DECLARATIONS *
    *to store the input data
    DATA:
    BEGIN OF it_matmaster OCCURS 0.
    INCLUDE STRUCTURE LSMW_MATERIAL_MASTER.
    DATA:
    END OF it_matmaster.
    *for material description
    DATA:BEGIN OF IT_MATERIALDESC OCCURS 0.
    INCLUDE STRUCTURE BAPI_MAKT .
    DATA:END OF IT_MATERIALDESC.
    *FOR gross wt
    data: begin of it_uom occurs 0.
    include structure BAPI_MARM.
    data:end of it_uom.
    DATA: BEGIN OF IT_UOMX OCCURS 0.
    INCLUDE STRUCTURE BAPI_MARMX.
    DATA:END OF IT_UOMX.
    data:begin of it_mean occurs 0.
    include structure bapi_mean.
    data:end of it_mean.
    DATA:BEGIN OF IT_MLTX OCCURS 0.
    INCLUDE STRUCTURE BAPI_MLTX.
    DATA:END OF IT_MLTX.
    *to return messages
    DATA:BEGIN OF IT_RETURN OCCURS 0.
    INCLUDE STRUCTURE BAPIRET2.
    DATA:END OF IT_RETURN.
    SELECTION SCREEN *
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-002.
    PARAMETERS:P_FILE LIKE RLGRAP-FILENAME OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1 .
    AT SELECTION SCREEN *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
    CALL FUNCTION ‘F4_FILENAME’
    EXPORTING
    PROGRAM_NAME = SYST-CPROG
    DYNPRO_NUMBER = SYST-DYNNR
    FIELD_NAME = ‘P_FILE’
    IMPORTING
    FILE_NAME = P_FILE.
    TO UPLOAD THE DATA *
    START-OF-SELECTION.
    V_FILE = P_FILE.
    CALL FUNCTION ‘GUI_UPLOAD’
    EXPORTING
    filename = V_FILE
    FILETYPE = ‘ASC’
    HAS_FIELD_SEPARATOR = ‘X’
    HEADER_LENGTH = 0
    READ_BY_LINE = ‘X’
    DAT_MODE = ‘ ‘
    IMPORTING
    FILELENGTH =
    HEADER =
    tables
    data_tab = IT_MATMASTER
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    NO_AUTHORITY = 6
    UNKNOWN_ERROR = 7
    BAD_DATA_FORMAT = 8
    HEADER_NOT_ALLOWED = 9
    SEPARATOR_NOT_ALLOWED = 10
    HEADER_TOO_LONG = 11
    UNKNOWN_DP_ERROR = 12
    ACCESS_DENIED = 13
    DP_OUT_OF_MEMORY = 14
    DISK_FULL = 15
    DP_TIMEOUT = 16
    OTHERS = 17
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ELSE.
    *DELETE IT_MATMASTER INDEX 1.
    ENDIF.
    DATA POPULATIONS *
    LOOP AT IT_MATMASTER.
    *HEADER DATA
    BAPIMATHEAD-MATERIAL = IT_MATMASTER-MATNR.
    BAPIMATHEAD-IND_SECTOR = IT_MATMASTER-Mbrsh.
    BAPIMATHEAD-MATL_TYPE = IT_MATMASTER-Mtart.
    BAPIMATHEAD-BASIC_VIEW = ‘X’.
    BAPIMATHEAD-PURCHASE_VIEW = ‘X’.
    BAPIMATHEAD-ACCOUNT_VIEW = ‘X’.
    *CLIENTDATA
    BAPI_MARA-MATL_GROUP = IT_MATMASTER-MATKL.
    BAPI_MARA-DIVISION = IT_MATMASTER-SPART.
    BAPI_MARA-DSN_OFFICE = IT_MATMASTER-LABOR.
    BAPI_MARA-PROD_HIER = IT_MATMASTER-PRDHA.
    BAPI_MARA-PUR_STATUS = IT_MATMASTER-MSTAE.
    BAPI_MARA-ITEM_CAT = IT_MATMASTER-MTPOS_MARA.
    BAPI_MARA-NET_WEIGHT = IT_MATMASTER-NTGEW.
    BAPI_MARA-PO_UNIT = ‘KG’.
    BAPI_MARA-UNIT_OF_WT_ISO = ‘KG’.
    BAPI_MARA-UNIT_OF_WT = ‘KG’.
    BAPI_MARA-PACK_VO_UN = ‘KG’.
    BAPI_MARA-BASE_UOM_ISO = ‘KG’.
    bapi_mara-size_dim = it_matmaster-groes.
    BAPI_MARA-MAT_GRP_SM = IT_MATMASTER-MAGRV.
    BAPI_MARA-OLD_MAT_NO = IT_MATMASTER-BISMT.
    BAPI_MARA-BASE_UOM = IT_MATMASTER-MEINS.
    BAPI_MARA-BASIC_MATL = IT_MATMASTER-WRKST.
    BAPI_MARA-HAZMATPROF = IT_MATMASTER-PROFL.
    BAPI_MARA-ENVT_RLVT = IT_MATMASTER-KZUMW.
    BAPI_MARA-PO_UNIT = IT_MATMASTER-BSTME.
    BAPI_MARA-VAR_ORD_UN = IT_MATMASTER-VABME.
    BAPI_MARA-PUR_VALKEY = IT_MATMASTER-EKWSL.
    BAPI_MARA-MANU_MAT = IT_MATMASTER-MFRPN.
    BAPI_MARA-MFR_NO = IT_MATMASTER-MFRNR.
    BAPI_MARAX-MATL_GROUP = ‘X’.
    BAPI_MARAX-DIVISION = ‘X’.
    BAPI_MARAX-DSN_OFFICE = ‘X’.
    BAPI_MARAX-PROD_HIER = ‘X’.
    BAPI_MARAX-PUR_STATUS = ‘X’.
    BAPI_MARAX-ITEM_CAT = ‘X’.
    BAPI_MARAX-NET_WEIGHT = ‘X’.
    BAPI_MARAX-UNIT_OF_WT = ‘X’.
    BAPI_MARAX-UNIT_OF_WT_ISO = ‘X’.
    bapi_maraX-size_dim = ‘X’.
    BAPI_MARAX-MAT_GRP_SM = ‘X’.
    BAPI_MARAX-OLD_MAT_NO = ‘X’.
    BAPI_MARAX-BASE_UOM = ‘X’.
    BAPI_MARAX-BASE_UOM_ISO = ‘X’.
    BAPI_MARAX-BASIC_MATL = ‘X’.
    BAPI_MARAX-MFR_NO = ‘X’.
    BAPI_MARAX-HAZMATPROF = ‘X’.
    BAPI_MARAX-ENVT_RLVT = ‘X’.
    BAPI_MARAX-PO_UNIT = ‘X’.
    BAPI_MARAX-PACK_VO_UN = ‘X’.
    BAPI_MARAX-VAR_ORD_UN = ‘X’.
    BAPI_MARAX-PUR_VALKEY = ‘X’.
    BAPI_MARAX-MANU_MAT = ‘X’.
    BAPI_MARAX-MFR_NO = ‘X’.
    *PLANT DATA
    BAPI_MARC-PLANT = IT_MATMASTER-WERKS.
    BAPI_MARC-PUR_GROUP = IT_MATMASTER-EKGRP.
    BAPI_MARC-BATCH_MGMT = IT_MATMASTER-XCHPF.
    BAPI_MARC-GR_PR_TIME = IT_MATMASTER-WEBAZ.
    BAPI_MARCX-PLANT = IT_MATMASTER-WERKS.
    BAPI_MARCX-PUR_GROUP = ‘X’.
    BAPI_MARCX-BATCH_MGMT = ‘X’.
    BAPI_MARCX-GR_PR_TIME = ‘X’.
    *VALUATION DATA
    BAPI_MBEW-PRICE_CTRL = IT_MATMASTER-VPRSV.
    BAPI_MBEW-STD_PRICE = IT_MATMASTER-STPRS.
    BAPI_MBEW-COMMPRICE1 = IT_MATMASTER-BWPRH.
    BAPI_MBEW-VAL_AREA = IT_MATMASTER-BWKEY.
    BAPI_MBEW-VAL_CLASS = IT_MATMASTER-BKLAS.
    BAPI_MBEWX-PRICE_CTRL = ‘X’.
    BAPI_MBEWX-STD_PRICE = ‘X’.
    BAPI_MBEWX-COMMPRICE1 = ‘X’.
    BAPI_MBEWX-VAL_AREA = IT_MATMASTER-BWKEY.
    BAPI_MBEWX-VAL_CLASS = ‘X’.
    IT_MATERIALDESC-LANGU = ‘EN’.
    IT_MATERIALDESC-MATL_DESC = IT_MATMASTER-MAKTX.
    append IT_materialdesc.
    IT_UOM-GROSS_WT = IT_MATMASTER-BRGEW.
    IT_UOM-ALT_UNIT = ‘KG’.
    IT_UOM-ALT_UNIT_ISO = ‘KG’.
    IT_UOM-UNIT_OF_WT = IT_MATMASTER-GEWEI.
    APPEND IT_UOM.
    IT_UOMX-GROSS_WT = ‘X’.
    IT_UOMX-ALT_UNIT = ‘KG’.
    IT_UOMX-ALT_UNIT_ISO = ‘KG’.
    IT_UOMX-UNIT_OF_WT = ‘X’.
    APPEND IT_UOMX.
    it_mean-unit = ‘KD3′.
    append it_mean.
    it_mltx-langu = ‘E’.
    it_mltx-text_name = it_matmaster-matnr.
    APPEND IT_MLTX.
    CALL FUNCTION ‘BAPI_MATERIAL_SAVEDATA’
    EXPORTING
    headdata = BAPIMATHEAD
    CLIENTDATA = BAPI_MARA
    CLIENTDATAX = BAPI_MARAx
    PLANTDATA = BAPI_MARc
    PLANTDATAX = BAPI_MARcx
    FORECASTPARAMETERS =
    FORECASTPARAMETERSX =
    PLANNINGDATA =
    PLANNINGDATAX =
    STORAGELOCATIONDATA =
    STORAGELOCATIONDATAX =
    VALUATIONDATA = BAPI_MBEW
    VALUATIONDATAX = BAPI_MBEWX
    WAREHOUSENUMBERDATA =
    WAREHOUSENUMBERDATAX =
    SALESDATA =
    SALESDATAX =
    STORAGETYPEDATA =
    STORAGETYPEDATAX =
    FLAG_ONLINE = ‘ ‘
    FLAG_CAD_CALL = ‘ ‘
    IMPORTING
    RETURN = IT_RETURN
    TABLES
    MATERIALDESCRIPTION = IT_MATERIALDESC
    UNITSOFMEASURE = IT_UOM
    UNITSOFMEASUREX = IT_UOMX
    INTERNATIONALARTNOS = it_mean
    MATERIALLONGTEXT = IT_MLTX
    TAXCLASSIFICATIONS =
    RETURNMESSAGES =
    PRTDATA =
    PRTDATAX =
    EXTENSIONIN =
    EXTENSIONINX =
    read table it_return with key TYPE = ‘S’.
    if sy-subrc = 0.
    CALL FUNCTION ‘BAPI_TRANSACTION_COMMIT’
    EXPORTING
    WAIT =
    IMPORTING
    RETURN =
    *else.
    *CALL FUNCTION ‘BAPI_TRANSACTION_ROLLBACK’
    IMPORTING
    RETURN =
    endif.
    WRITE:/ IT_RETURN-TYPE,
    2 IT_RETURN-ID,
    22 IT_RETURN-NUMBER,
    25 IT_RETURN-MESSAGE.
    IT_RETURN-LOG_NO,
    IT_RETURN-LOG_MSG_NO,
    IT_RETURN-MESSAGE_V1,
    IT_RETURN-MESSAGE_V2,
    IT_RETURN-MESSAGE_V3,
    IT_RETURN-MESSAGE_V4,
    IT_RETURN-PARAMETER,
    IT_RETURN-ROW,
    IT_RETURN-FIELD,
    IT_RETURN-SYSTEM.
    ENDLOOP.
    Reward points..

  • Unit of measure in Material Master after PO's created

    Hello Everyone,
    I know that we can't change the material measure unit once PO's and other documents are created.
    What can I do with the PO so i can change the material measure unit?
    Thanks in Advance.

    From OSS note 138767
    Within the material master record maintenance, you want to change the base unit of measure (base unit). During the change, the system performs extensive checks in order to avoid inconsistencies in the applications which use the material master.
    In particular, the following checks are performed:
    The base unit must not be defined as an alternative unit of measure for the material
    No International Article Number must be assigned to the base unit
    No proportion/product units must be defined for the material
    No configurable material must be assigned
    The material must not be used as a configurable material
    Stock must neither exist for the previous period nor for the current period
    No physical inventory must be active
    No reservations or dependent requirements must exist for which the deletion indicator is not set
    No planned orders must exist
    No purchase requisitions, purchase orders or scheduling agreements must exist for which the deletion indicator is not set
    No WM transfer requirements, no WM quants or no WM posting change notices must exist
    The material must not be a bill of material
    The material must not be contained in a bill of material
    The material must not be used as a production resource/tool
    The material must not be used in task lists
    No standard cost estimate must exist for the current or future period
    No production orders must exist
    No planned independent requirements must exist
    No run schedule headers must exist
    If the base unit has dimensions, no serial number profile must be assigned
    No sales and distribution documents must exist which have status Not processed or Partially processed.
    Solution
    If necessary, all reasons mentioned above must be eliminated by archiving the objects listed.

  • Material Master Views Authorization

    Hi All,
    I'm trying to restrict some views of the material master for some users. I've read that is possible to limit these views by the maintenance status of the authorizations but itit doesn't work for me. can you help me?
    I am using "SAP_ISR_MATERIAL_DISPLAY" role in order to restrict all the views except Warehouse Managment. So, I put the maintenance status of the WM view to display and nothing else with the others. Is it wrong?
    Is there any other way to do what I want?
    Thank you very much for your help.

    Hi All,
    I have made a copy of the role SAP_ISR_MATERIAL_DISPLAY and I have changed some setting in order to hide some views of the Material Master for the user. It has worked finally but doing this the user doesn't have authorization for other Transactions Code of WM like LS24, LT*, etc... So, I guess, I have to merge some roles and/or authorizations or I have to create an own role to pack everything I want for this user. Anyway, this is another issue...
    Thank you very much for your help, your answers have been very useful.
    Best Regards,
                                                                   David

Maybe you are looking for

  • Data not populating after DS enhancement

    HI pros, i have made Data source enhancement. i wrote the code in include program. when '0FI_GL_40'.   CHECK NOT c_t_data[] IS INITIAL.   LOOP AT c_t_data ASSIGNING <fs_data5>.   SELECT SINGLE matnr FROM bseg INTO <fs_data5>-ZZMATNR                  

  • How can I set a breakpoint within a macro in order to debug a prog.?

    Hello all, How can I set a session Breakpoint inside a macro (i.e. DEFINE .... END-OF-DEFINITION) in order to debug a prog.? I keep on getting the message: "The position of a breakpoint cannot be determined." What does this message mean? Thanks for y

  • Javascript with PL/Sql

    Hi everyone, I want to know if it's a good idea to use javascript with PL/sql using HTML-DB (PL) (enabled and disabled button) ? Thank you very much. Bye. Eric

  • Upgrade WebPart on page

    Hi! I have Sharepoint Portal. On the pages are placed WebPart. I upgrade Feature, that contains those webPart, and new assembly version. Feature upgrade with success. When i tryed add web part on page it's ok, but when I go to pages with webpart, whi

  • Nike+ data transfer from old ipod to new ipod

    My gen 1 ipod just died on me after 4 years Ive been runing how do i transfer the workouts and miles form my old ipod to my new ipod i dont want to start at 0 miles