Selective Char's on the Material

Experts,
Have the following requirement:
Certain set of materials need to have a limited number of characteristics under the same class, while others (in the same class) need to show more characteristics. This depends on the requirement for having different number of characteristics as needed in the "configuration" process of the products.
So, if a class was created as SAMPLE_CLASS, with 5 char's inside, Matl A needs only 3 of those, while B needs all 5.
How to add selected char's from a class to the materials? is there a control?

Hi Andy
I don't think this option available,  you have to go for different class only.
Regards
Bala

Similar Messages

  • Select statement to extract the material description with asterick values

    Hi All,
    My requirement is to get the list of materials which have description with asterick symbol.
    for example : materail1 has description  - Oil 3p * Gas 22'.
    This material contains  * in the description .Ineed to get list of materials from Makt with asterick.
    I have written like this
    s_makt-sign = 'E'.
    s_makt-option = 'CP'.
    s_makt-low = '%'.
    *s_makt-high = ".
    append s_makt.
      SELECT matnr maktx FROM makt INTO TABLE t_makt where maktx IN s_makt.
    but it is  extarcting all the materials in MAKT.
    Can anyone suggest me how to write that?

    I'd try something like below....don't try to get too fancy.
    select * from makt into it_makt where spras eq sy-langu...
    loop at it_makt assigning <fs> . 
    If <fs>-MAKTX (or MAKTG) cs lc_asterisk.  "constant described as char1 with value '*'.
    else.
    delete it_makt.
    endif.
    endloop.

  • "-" Problem in the "Material Group"

    Hi,
    We're going to replicate  "material group" from ECC to EBP, the material groups in ECC are maintained by the format of "XXXX-XXXX", that means, there's a char "-" existed in the material groups,  the problem is, "-" was not allowed in "product category" of EBP, is there any way to solve this problem?
    Thanks and best regards
    jack

    /people/marcin.gajewski/blog/2007/02/05/how-to-replicate-material-master-from-r3-to-srm
    INITIAL DOWN LOAD
    in r3as
    dnl_cust_prod1 helps you to initial download material group into product category into SRM.
    and you can see the product category in comm_category table.
    DELTA DOWNLOAD
    You can go to tcode R3AR2 and select the required adapter object.For mat group-->DNL_CUST_PROD1.
    Maintain the Filter settings for teh selected object in "request Detail".
    Got to tcode R3AR4 to start the request for delta downlaod.
    br
    muthu

  • Ignificance of the Industry Sector selection in the Material Master

    hi all,
    We need information on the significance of the Industry Sector selection in the Material Master field. I understand that it can influence field selection and the screen sequence of the material master record.  We are particularly interested to know the influence of the industry sector u201CPharmaceutical Industryu201D .
    Any inputs would be greatly appreciated.

    Hi
    Please check follwoing links
    [MM01- Industry  Sector;
    [http://help.sap.com/saphelp_46c/helpdata/en/ff/515b3149d811d182b80000e829fbfe/content.htm]
    1. Define Industry Sectors and Industry-Sector-Specific Field Selection (transaction OMS3) -> assign a field reference to field selection
    2. Maintain Field Selection for Data Screens (transaction OMS9) -> define a specific field selection for a field selection group (for example, depending on industry sector (the field reference appears on the lower table control).
    Like the material type, the industry sector also has a control function. When you create a material master record, the industry sector determines:
    Which screens appear and in which order
    Which industry-specific fields appear on each screen
    The industry sector you assign to a material cannot subsequently be changed. In Customizing, you can define new industry sectors and maintain the field reference for field selection control according to your enterprise-specific requirements.
    Most data in the material master record can be maintained directly by the user. But some information is automatically updated by the system. When you enter goods movements, for example, the system updates the stock and consumption data. Statistical information, such as the date of original creation and that of the last change, can be invoked with , with the quick-info text Information on material.
    Some data in the material master is used for information purposes only, for example, description, size, and dimensions. Other material data has a controlling function in an application. For example, the MRP type controls the MRP procedure and the price control indicator determines which material valuation procedure is used
    Regards
    Kailas ugale

  • How to reserve the material ( Make to Stock) for selective customers?

    Dear Friends,
    I want to reserve the material which is a Make to Stock for selective customers i.e if the customer base is 100 I want to reserve the certain quantity for 3 customers.
    It is a Make to Stock.
    Thanks in advance.
    Regards,
    Shrikant

    Dear Friend
    First you have to create sales orders for these three customers
    There are three ways of doing this
    1. T code MB1B use movement type 412 E and input your sales order no
    Stocks will be reserved for this order
    Your item category should be marked E in special stock indicator
    This is the perfect way of doiung it
    Suppose if the order gets cancelled stocks can be moved back to unrestricted using  T code MB1B use movement type 411 E
    2.Create sales order and then delivery and save dont do picking and PGI
    Stocks will be reserved for this delivery
    3.In t code OVZ9 if you have ticked include sales requirements then for whatever sales orders created stocks will be reserved for them
    But this is soft way of handling as thro backorder processing the stocks can be allocated to other orders
    Regards
    Raja

  • Show batch clasification char val of the production order material in COOIS

    I want to display a characteristic value entered in the material batch classification of the production order material in COOIS report.
    Ex: I maintain material stock code in material batch classification. Within the same material there can be multiple stock codes which is similar to dye lot number. I created production order for that material. I want to display that batch classification characteristic of the material in a separate column when display production orders of that martial in COOIS.

    Dear,
    Have you use the process batch? The classification characteristics of each process batch created for a production order are compared with the actual configuration characteristics.
    If different characteristics are used for the classification, that is, if characteristics do not exist in the configuration, these characteristics are flagged as green by default in the detailed display.
    Call interface:
    An interface (parameter of the function module) can be used to call function module MILL_PC1_COMP_LIST outside C003, C011N from COOIS.
    Or Call Transaction SE38 report PPIOA000  execute it.
    You can refer the OSS note 519649 for it.
    Regards,
    R.Brahmankar

  • How can I fast refresh the  materialized view !!

    I created a MV base on some tables in order to improve the querey speed.
    but the mv I have created falied to refresh fast.
    because there are two same table in the from clause:
    jcdm jc1,jcdm jc2
    create materialized view temp_mv
    nologging
    pctfree 0
    storage (initial 2048k next 2048k pctincrease 0)
    parallel
    build immediate
    refresh force
    on demand
    as
    select
    TAB_GSHX.rowid hx_rid,
    TAB_GSHD.rowid hd_rid ,
    JC1.rowid jc1_rid ,
    JC2.rowid jc2_rid ,
    YSHD_ID     HXID,          
    JC1.JCDM     QFD,     
    JC2.JCDM     JLD     
    FROM
    TAB_GSHX,
    TAB_GSHD,
    jCDM JC1,
    JCDM JC2
    WHERE
    YSHD_ID=YSHX_ID
    AND YSHD_QFD=JC1.JBJC_ID
    AND YSHD_JLD=JC2.JBJC_ID
    AND TO_CHAR(YSHX_time,'YYYYMMDD')='20030101'
    the column msgtxt of the table MV_CAPABILITIES_TABLE is :
    "the multiple instances of the same table or view" and " one or more joins present in mv".
    How can I succeed in fast refresh the above temp_mv!!!
    thanks.

    lianjun,
    When you are using Oracle9i there is a procedure which can help you setup the materialized view. If some option isn't working it gives you hint why it doesn't work.
    The procedure is dbms_mview.explain_mview.
    Take a look at the documentation how to use it. (In the Oracle9i DWH guide the package is explained.)
    Hope this helps
    With kind regards,
    Bas Roelands

  • Upload of purchase order text in the material master

    Now we have information of Purchase order text for all the material.
    Is it possible to upload the Purchase order text using LSMW.
    Some friends were telling that LSMW is not possible for Purchase Order text.
    Can anyone suggest how I can upload this purchase order text for all 1000
    material using LSMW program.
    /if not LSMW is there any other method to upload it
    thanks in advance
    deepak.s.goura

    Dear Deepak,
    there is standard direct upload i believe
    go to lsmw
    Execute 1st option
    then inLSMW:Object Attribute screen
    in standard batch/ direct input
    firsr radio button
    select object 005
    and method 003
    Program name RSTXLITF.
    Then go by normal process i.e source field , field mapping...
    In this way u can also upload Text in the Material master.
    Rewards if helpful
    Regards
    Sanjay L

  • Report for extracting the Expiratin date of the material

    Hi gurus,
    Is there any way We can extract the list of materials with SLED?
    Any standard T code?
    Regards
    Shashi

    Hi Sashi,
    First of I assumes that your materials are Batch Managed.
    Now go to any any of the Transaction where you can execute the report using option of Batch Field.
    For Example MB52, MB51.Go to To MB52 go to Batch Field. Press F4 and use selection criteria
    *Search for Batches with Expiry Date*
    Select required Field like Plant , Material etc and enter you will find list of Materials with Batches and its Expiry Date.
    And if you want to download it then just press right key of mouse, you will find the option for Download this report.
    Regards.
    Dhaval

  • Report for expiry date of the material

    All SAP Gurus,
    We have certain Materials which are expirable.
    These Materials are batch managed, and each batch is having different expiry date.
    Is there any standard report available which can give is the days remaining to reach the expiry date (for that material)?
    Regards,

    Hi,
    Try MB5M,
    here
    Field name                                Field value
    Material                                Enter the material code to which the report is desired.
    Plant                                Enter the plant in which the report is to be generated.
    Storage Location                     Enter the storage location in which the report is to be generated. Optional entry. Leave it blank.
    Batch                                 Batch number to be displayed. Optional entry. Leave it blank.
    Remaining shelf life           Minimum amount of time for which the material must keep upon goods receipt for the goods receipt to be accepted by the system. Optional entry.     
    Remaining shelf life warehouse     Indicates that the remaining shelf life of a batch in                                                         
    Total remaining shelf life         Indicates that the system displays the total remaining shelf life of a batch.                                                                               
    The total remaining shelf life is calculated from the shelf life    
    Expiration date minus the current date.  Select this radio button.                              
         Indicates that the system also displays materials with zero stock. Optional, leave it blank.
         Display of remaining shelf life in days. Select this radio button to display the remaining shelf in days in the report.
    Regards,
    Pardeep Malik

  • 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

  • Reverse the material document before cancelling the excise invoice.

    Dear Experts,
    While cancelling the exice invoice thru J1iex , system is giving me an error message "Reverse the material document before cancelling the excise invoice" .......I checked PO history where all the material documents are already cancelled with MIGO cancellation (movement 106 )
    But in J1iex , if I select the cancel option and put this invoice number , it is showing me one document with status "IN PROCESS" and if I select that doc and try to save it. System prompted me the message "Reverse the material document before cancelling the excise invoice ,but if I am trying to post this document system is issuing me a message "All Part I entries have been canceled for excise invoice ...........xx.Exicse table J_1IGRXREF and J_1IPART1 alrady update with both documents.kindly any one suggest me positive.
    MINI

    Hello
    follow the below steps
    1. MIGO:Cancel the material document (movement type 102) & during cancellation update part1 only. This changes the excise invoice document status to In process
    2. J1IEX:Post the excise invoice referring the material document (of movement type 102). Creates an accounting document to reverse the CENVAT postings. Creates a corresponding entry in Part II of the appropriate excise register
    Thus the excise postings are reversed.
    3.J1IEX: Cancel the excise invoice (Do this if your plant does not allow multiple goods receipts per excise invoice).Now the system will allow you to cancel the vendor excise invoice
    above the procedure right. you will get this updation excise registers also
    Laxman

  • How to get rid of error message for the material?

    Hi everybody,there is a material which is showing an error message whenevr try to create a sales order, i've checked the material master...there is no check in X-plant Mtrl or X-dist chan or any flag for deletion...but still the red error message comes up while creating a sales order...how to get rid of this error?

    this means material is blocked for procurment
    three kinds of block can be there
    01 Blocked for procment/whse
    02 Blocked for task list/BOM
    03 Blocked for Purchasing
    GOTO MM42 give material n plant data
    Select BESIC VIEW
    there is a field called as material block remove the blocking reason
    Hope this will help
    Edited by: WISH on Mar 24, 2008 6:33 AM

  • Error while using selection option variable in the selection screen

    Hi All,
    I am facing an issue while using selection option variable in the selection screen for one of my reports.
    Scenario: For the field "Region From" we need to have wild card logic () in tes selection screen, for example if we put "BE" in the selection screen for the field Region From then the query should be executed only for those "Region From" values which begin from "BE".
    Approach: For the above requirement I have made a selection option variable for "Region From". This allows use wild card
    But when the report is executed we get the following error:
    "System error in program CL_RSR_REQUEST. Invalid filter on ETVRGNFR".
    (ETVRGNFR is technical name of the info object Region From)
    Though the report is executed it displays all the values for the field "Region From" irrespective of the selection given in the selection screen.
    Please give suggestions / alternate solutions to crack this issue.
    Thanks in advance
    Regards
    Priyanka.

    Hi,
    Try to use a variable of type Customer Exit and do the validation inside the exit to display according to your request.
    This is just my view, i am not sure if u are already using this or Char. Variable.
    Cheers.
    Ranga.

  • Updation not happening once after the material has been extened

    Dear Guru's,
                       I want to extend materials from one plant to another plant. I am using BAPI_MATERIAL_SAVEDATA.
    every thing is doing good but the material was updated in the destination plant. I have used BAPI_TRANSACTION_COMMIT' also. ans not all getting any any error message. In the return table i am getting success message. please help me. I am sending my code also. please gothrough and give suggestion . it very urgent.
    points will be given for solving the problem.
    Thanks in advance.
    REPORT  ZMMR_MATERIAL_EXTENSION.
    TABLES: T001L, "Storage Locations
            MARA,  "General Material Data
            MAKT,  "Material Descriptions
            MBEW,  "Material Valuation
            MARC,  "Plant Data for Material
            MARD.  " Storage location
    DATA : INDEX LIKE SY-TABIX.
    DATA: BAPI_HEAD   LIKE BAPIMATHEAD,
          BAPI_MAKT   LIKE BAPI_MAKT,    "Material Description
          BAPI_MARA1  LIKE BAPI_MARA,    "Client Data
          BAPI_MARAX  LIKE BAPI_MARAX,
          BAPI_MARC1  LIKE BAPI_MARC,    "Plant View
          BAPI_MARCX  LIKE BAPI_MARCX,
          BAPI_MBEW1  LIKE BAPI_MBEW,    "Accounting View
          BAPI_MBEWX  LIKE BAPI_MBEWX,
          BAPI_MARD1  LIKE BAPI_MARD,   " STORAGE LOCATION
          BAPI_MARDX  LIKE BAPI_MARDX,
          BAPI_RETURN LIKE BAPIRET2.
    DATA: BEGIN OF INT_MAKT OCCURS 100.
            INCLUDE STRUCTURE BAPI_MAKT.
    DATA: END OF INT_MAKT.
    for material updation*******
    *data:mara_data type bapi_mara,
    *mara_datax type bapi_marax,
    *wa_bapi_te_mara type bapi_te_mara,
    *wa_bapi_te_marax type bapi_te_marax,
    *wa_valuepart(960),
    *wa_valuepartx(960),
    *t_extin type table of bapiparex,
    *t_extinx type table of bapiparexx,
    *d_extin type bapiparex,
    *d_extinx type bapiparexx,
    *ret type bapiret2.
    DATA: BEGIN OF INT_MAT OCCURS 100,
             WERKS(4),     "Plant
             MTART(4),     "Material type
             MATNR(18),    "Material number
             MATKL(9) ,    "Material group
             MBRSH(1),     "Industry sector
             MEINS(3),     "Base unit of measure
             GEWEI(3),     "Weight Unit
             SPART(2),     "Division
             TRAGR(4),      "Transportation group
             EKWSL(4),      "Purchasing Value Key
    marc
             EKGRP(3),     "Purchasing group
             MTVFP(2),     "Checking Group for Availability Check
             LADGR(4),     "Loading group
             PRCTR(10),    "Profit Center
             WEBAZ    like BAPI_MARC-GR_PR_TIME,     "Goods receipt processing time in days.
             PERKZ(1),      "Period indicator
             AWSLS(6),      "Variance Key
             DISGR(4),      "MRP Group
             DISMM(2),      "MRP Type
             DISPO(3),      "MRP controller
             DISLS(2),      "Lot size (materials planning)
             BESKZ(1),      "Procurement Type
             DZEIT like BAPI_MARC-INHSEPRODT,     "In-house production time.
             PLIFZ like BAPI_MARC-PLND_DELRY,     "Planned delivery time in days.
    makt
             SPRAS(2),     "Language key
             MAKTX(40),    "Material description
    ***mbew
              BKLAS(4),                            "Valuation Class.
              VPRSV(1),                           "Price control indicator
              VERPR like BAPI_MBEW-MOVING_PR,      "Moving Average Price
              STPRS like BAPI_MBEW-STD_PRICE,      "Standard price
              PEINH like BAPI_MBEW-PRICE_UNIT,     "Price unit
    ****mard
              LGORT(4),                            "Storage location
           END OF INT_MAT.
    SELECT-OPTIONS:
                PLANT    FOR  MARC-WERKS OBLIGATORY MEMORY ID PLT,
                MATERIAL FOR  MARA-MATNR MEMORY ID MAT,
                MATLTYPE FOR  MARA-MTART MEMORY ID MTY,
                DIVISION FOR  MARA-SPART MEMORY ID DIV.
    PARAMETERS:  F_FILE LIKE RLGRAP-FILENAME
                 DEFAULT 'C:\DATA\ZMATERIAL.XLS' MEMORY ID F_FILE,
                 GETDATA AS CHECKBOX, "Tick to download materials data to local harddisk
                 UPDDATA AS CHECKBOX. "Tick to update date to Materials Master
    IF GETDATA = 'X'.
      PERFORM DOWNLOAD_DATA.
      PERFORM DOWNLOAD_FILE.
    ENDIF.
    IF UPDDATA = 'X'.
      PERFORM UPLOAD_FILE.
      PERFORM UPDATE_MM.
    ENDIF.
    *&      Form  DOWNLOAD_DATA
          text
    FORM DOWNLOAD_DATA.
    *IF MATLTYPE-LOW NE 'SFGD' OR MATLTYPE-LOW NE 'SPRS'.
      SELECT * FROM MARC  WHERE LVORM EQ ' '
                            AND WERKS IN PLANT
                            AND MATNR IN MATERIAL.
        CLEAR MARA.
        SELECT SINGLE * FROM MARA WHERE MATNR =  MARC-MATNR .
       CHECK MATLTYPE.
        IF MARA-MTART  = 'SFGD' or MARA-MTART  = '' or MARA-MTART = 'SPRS'.
          clear : MARA,INT_MAT.
          continue.
        ENDIF.
        CHECK DIVISION.
        CLEAR MBEW.
        SELECT SINGLE * FROM MBEW WHERE MATNR =  MARC-MATNR
                                    AND BWKEY =  MARC-WERKS.
        CLEAR MAKT.
        SELECT SINGLE * FROM MAKT WHERE SPRAS =  'EN'
                                    AND MATNR =  MARC-MATNR.
        CLEAR MARD.
        SELECT SINGLE * FROM MARD WHERE MATNR =  MARC-MATNR
                                    AND WERKS =  MARC-WERKS.
        WRITE:/ MARC-WERKS,    "Plant
                MARA-MTART,    "Material type
                MARA-MATNR,    "Material number
                MARA-MATKL,    "Material group
                MARA-MBRSH,    "Industry sector
                MARA-MEINS,    "Base unit of measure
                MARA-GEWEI,    "Weight Unit
                MARA-SPART,    "Division
                MARA-TRAGR,    "Trasaction Group
                MARA-EKWSL,    "Purchase Value key
               MARA-IPRKZ,    "Period indi.for. SLED.
                MARC-EKGRP,    "Purchasing group
                MARC-MTVFP,    "Availability check
                MARC-LADGR,    "Loading grp.
                MARC-PRCTR,    "Profit Center
                MARC-WEBAZ,    "GR processing time
                MARC-PERKZ,    "Period Indicator
                MARC-AWSLS,    "Variance key
                MARC-DISGR,    "MRP GROUP
                MARC-DISMM,    "MRP TYPE
                MARC-DISPO,    "MRP CONTOLLER
                MARC-DISLS,    "LOT SIZE
                MARC-BESKZ,    "PROCUREMENT TYPE
                MARC-DZEIT,    "IN-HOUSE PRD TIME
                MARC-PLIFZ,    "PLANT DELIVERY TIME
                MBEW-BKLAS,    "VALUATION CLASS
                MBEW-VPRSV,    "Price control indicator
                MBEW-VERPR,    "MOVING PRICE
                MBEW-STPRS,    "Standard price
                MBEW-PEINH,    "Price unit
                MAKT-SPRAS,    "Language key
                MAKT-MAKTX,    "Material description
                MARD-LGORT.    "Storage location.
        INT_MAT-WERKS = MARC-WERKS.    "Plant
        INT_MAT-MTART = MARA-MTART.    "Material type
        INT_MAT-MATNR = MARA-MATNR.    "Material number
        INT_MAT-MATKL = MARA-MATKL.    "Material group
        INT_MAT-MBRSH = MARA-MBRSH.    "Industry sector
        INT_MAT-MEINS = MARA-MEINS.    "Base unit of measure
        INT_MAT-GEWEI = MARA-GEWEI.    "Weight Unit
        INT_MAT-SPART = MARA-SPART.    "Division
        INT_MAT-TRAGR = MARA-TRAGR.    "Trasaction Group
        INT_MAT-EKWSL = MARA-EKWSL.    "Purchase Value key
       INT_MAT-IPRKZ = MARA-IPRKZ.    "Period indi.for. SLED.
        INT_MAT-EKGRP = MARC-EKGRP.    "Purchasing group
        INT_MAT-MTVFP = MARC-MTVFP.    "Availability check
        INT_MAT-LADGR = MARC-LADGR.    "Loading grp.
        INT_MAT-PRCTR = MARC-PRCTR.    "Profit Center
        INT_MAT-WEBAZ = MARC-WEBAZ.    "GR processing time
        INT_MAT-PERKZ = MARC-PERKZ.    "Period Indicator
        INT_MAT-AWSLS = MARC-AWSLS.    "Variance key
        INT_MAT-DISGR = MARC-DISGR.    "MRP GROUP
        INT_MAT-DISMM = MARC-DISMM.    "MRP TYPE
        INT_MAT-DISPO = MARC-DISPO.    "MRP CONTOLLER
        INT_MAT-DISLS = MARC-DISLS.    "LOT SIZE
        INT_MAT-BESKZ = MARC-BESKZ.    "PROCUREMENT TYPE
        INT_MAT-DZEIT = MARC-DZEIT.    "IN-HOUSE PRD TIME
        INT_MAT-PLIFZ = MARC-PLIFZ.    "PLANT DELIVERY TIME
        INT_MAT-BKLAS = MBEW-BKLAS.    "Valution class
        INT_MAT-VPRSV = MBEW-VPRSV.    "Price control indicator
        INT_MAT-VERPR = MBEW-VERPR.    "Moving price
        INT_MAT-STPRS = MBEW-STPRS.    "Standard price
        INT_MAT-PEINH = MBEW-PEINH.    "Price unit
        INT_MAT-SPRAS = MAKT-SPRAS.    "Language key
        INT_MAT-MAKTX = MAKT-MAKTX.    "Material description
        INT_MAT-LGORT = MARD-LGORT.    " Storage location
        APPEND INT_MAT.
        CLEAR  INT_MAT.
      ENDSELECT.
    *ENDIF.
    ENDFORM.                    "DOWNLOAD_DATA
    *&      Form  DOWNLOAD_FILE
          text
    FORM DOWNLOAD_FILE.
      call function 'WS_DOWNLOAD'
        EXPORTING
          FILENAME                      = F_FILE
          FILETYPE                      = 'DAT'
      FILETYPE                      = 'WK1'
        tables
          data_tab                      = INT_MAT
        EXCEPTIONS
          FILE_OPEN_ERROR               = 1
          FILE_WRITE_ERROR              = 2
          INVALID_FILESIZE              = 3
          INVALID_TYPE                  = 4
          NO_BATCH                      = 5
          UNKNOWN_ERROR                 = 6
          INVALID_TABLE_WIDTH           = 7
          GUI_REFUSE_FILETRANSFER       = 8
          CUSTOMER_ERROR                = 9
          OTHERS                        = 10.
      IF SY-SUBRC = 0.
        FORMAT COLOR COL_GROUP.
        WRITE:/ 'Data Download Successfully to your local harddisk'.
        SKIP.
      ENDIF.
    ENDFORM.                    "DOWNLOAD_FILE
    *&      Form  UPLOAD_FILE
          text
    FORM UPLOAD_FILE.
      call function 'WS_UPLOAD'
        EXPORTING
          FILENAME                      = F_FILE
          FILETYPE                      = 'DAT'
      FILETYPE                      = 'WK1'
        tables
          data_tab                      = INT_MAT
        EXCEPTIONS
          FILE_OPEN_ERROR               = 1
          FILE_WRITE_ERROR              = 2
          INVALID_FILESIZE              = 3
          INVALID_TYPE                  = 4
          NO_BATCH                      = 5
          UNKNOWN_ERROR                 = 6
          INVALID_TABLE_WIDTH           = 7
          GUI_REFUSE_FILETRANSFER       = 8
          CUSTOMER_ERROR                = 9
          OTHERS                        = 10.
      IF SY-SUBRC = 0.
        FORMAT COLOR COL_GROUP.
        WRITE:/ 'Data Upload Successfully from your local harddisk'.
        SKIP.
      ENDIF.
    ENDFORM.                    "UPLOAD_FILE
    *&      Form  UPDATE_MM
          text
    FORM UPDATE_MM.
      LOOP AT INT_MAT.
    Header
        BAPI_HEAD-MATERIAL        = INT_MAT-MATNR.
        BAPI_HEAD-IND_SECTOR      = INT_MAT-MBRSH.
        BAPI_HEAD-MATL_TYPE       = INT_MAT-MTART.
        BAPI_HEAD-BASIC_VIEW      = 'X'.
        BAPI_HEAD-PURCHASE_VIEW   = 'X'.
        BAPI_HEAD-ACCOUNT_VIEW    = 'X'.
        BAPI_HEAD-MRP_VIEW        = 'X'.
        BAPI_HEAD-STORAGE_VIEW    = 'X'.
       BAPI_HEAD-QUALITY_VIEW    = 'X'.
       BAPI_HEAD-COST_VIEW       = 'X'.
       wa_bapi_te_mara-material = INT_MAT-MATNR.
       wa_bapi_te_marax-material = INT_MAT-MATNR.
    Material Description
        REFRESH INT_MAKT.
        INT_MAKT-LANGU           = INT_MAT-SPRAS.
        INT_MAKT-MATL_DESC       = INT_MAT-MAKTX.
        APPEND INT_MAKT.
       sorage location.
       BAPI_MARD1-PLANT         = INT_MAT-WERKS.
       BAPI_MARD1-STGE_LOC      = INT_MAT-LGORT.
       BAPI_MARDX-PLANT         = INT_MAT-WERKS.
       BAPI_MARDX-STGE_LOC      = INT_MAT-LGORT.
    Client Data - Basic
        BAPI_MARA1-MATL_GROUP     = INT_MAT-MATKL.
        BAPI_MARA1-BASE_UOM       = INT_MAT-MEINS.
        BAPI_MARA1-UNIT_OF_WT     = INT_MAT-GEWEI.
        BAPI_MARA1-DIVISION       = INT_MAT-SPART.
        BAPI_MARA1-TRANS_GRP      = INT_MAT-TRAGR.
        BAPI_MARA1-PUR_VALKEY     = INT_MAT-EKWSL.
        BAPI_MARAX-MATL_GROUP = 'X'.
        BAPI_MARAX-BASE_UOM   = 'X'.
        BAPI_MARAX-UNIT_OF_WT = 'X'.
        BAPI_MARAX-DIVISION   = 'X'.
        BAPI_MARAX-TRANS_GRP  = 'X'.
        BAPI_MARAX-PUR_VALKEY = 'X'.
    Plant - Purchasing
        BAPI_MARC1-PLANT      = INT_MAT-WERKS .     "PLANT-LOW.
        BAPI_MARC1-PUR_GROUP  = INT_MAT-EKGRP.
        BAPI_MARC1-AVAILCHECK = INT_MAT-MTVFP.
        BAPI_MARC1-LOADINGGRP = INT_MAT-LADGR.
        BAPI_MARC1-PROFIT_CTR = INT_MAT-PRCTR.   " profit center and plant are same
        BAPI_MARC1-GR_PR_TIME = INT_MAT-WEBAZ.
        BAPI_MARC1-PERIOD_IND = INT_MAT-PERKZ.
        BAPI_MARC1-VARIANCE_KEY = INT_MAT-AWSLS.
        BAPI_MARC1-MRP_GROUP =  INT_MAT-DISGR.
        BAPI_MARC1-MRP_TYPE  =  INT_MAT-DISMM.
        BAPI_MARC1-MRP_CTRLER = INT_MAT-DISPO.
        BAPI_MARC1-LOTSIZEKEY = INT_MAT-DISLS.
        BAPI_MARC1-PROC_TYPE =  INT_MAT-BESKZ.
        BAPI_MARC1-INHSEPRODT = INT_MAT-DZEIT.
        BAPI_MARC1-PLND_DELRY = INT_MAT-PLIFZ.
        BAPI_MARCX-PLANT      = INT_MAT-WERKS .         " PLANT-LOW.
        BAPI_MARCX-PUR_GROUP  = 'X'.
        BAPI_MARCX-AVAILCHECK = 'X'.
        BAPI_MARCX-LOADINGGRP = 'X'.
        BAPI_MARCX-PROFIT_CTR = 'X'.
        BAPI_MARCX-GR_PR_TIME = 'X'.
        BAPI_MARCX-PERIOD_IND = 'X'.
        BAPI_MARCX-VARIANCE_KEY = 'X'.
        BAPI_MARCX-MRP_GROUP   = 'X'.
        BAPI_MARCX-MRP_TYPE    = 'X'.
        BAPI_MARCX-MRP_CTRLER  = 'X'.
        BAPI_MARCX-LOTSIZEKEY  = 'X'.
        BAPI_MARCX-PROC_TYPE   = 'X'.
        BAPI_MARCX-INHSEPRODT  = 'X'.
        BAPI_MARCX-PLND_DELRY  = 'X'.
    Accounting
        BAPI_MBEW1-VAL_AREA       = INT_MAT-WERKS.
        BAPI_MBEW1-VAL_CLASS      = INT_MAT-BKLAS.
        BAPI_MBEW1-PRICE_CTRL     = INT_MAT-VPRSV.
        BAPI_MBEW1-MOVING_PR      = INT_MAT-VERPR.
        BAPI_MBEW1-STD_PRICE      = INT_MAT-STPRS.
        BAPI_MBEW1-PRICE_UNIT     = INT_MAT-PEINH.
        BAPI_MBEWX-VAL_AREA   = INT_MAT-WERKS.
        BAPI_MBEWX-VAL_CLASS  = 'X'.
        BAPI_MBEWX-PRICE_CTRL = 'X'.
        BAPI_MBEWX-MOVING_PR  = 'X'.
        BAPI_MBEWX-STD_PRICE  = 'X'.
        BAPI_MBEWX-PRICE_UNIT = 'X'.
    ************for testing purpose
    *wa_valuepart = wa_bapi_te_mara.
    *d_extin-structure = 'BAPI_TE_MARA'.
    *d_extin-valuepart1 = wa_valuepart(240).
    *d_extin-valuepart2 = wa_valuepart+240(240).
    *d_extin-valuepart3 = wa_valuepart+480(240).
    *d_extin-valuepart4 = wa_valuepart+720(240).
    *wa_valuepartx = wa_bapi_te_marax.
    *d_extinx-structure = 'BAPI_TE_MARAX'.
    *d_extinx-valuepart1 = wa_valuepartx(240).
    *d_extinx-valuepart2 = wa_valuepartx+240(240).
    *d_extinx-valuepart3 = wa_valuepartx+480(240).
    *d_extinx-valuepart4 = wa_valuepartx+720(240).
    *append d_extin to t_extin.
    *append d_extinx to t_extinx.
    remove up to here only.
    *WRITE:/ BAPI_HEAD, BAPI_MARC1.
        call function 'BAPI_MATERIAL_SAVEDATA'
          EXPORTING
            HEADDATA            = BAPI_HEAD
            CLIENTDATA          = BAPI_MARA1
            CLIENTDATAX         = BAPI_MARAX
            PLANTDATA           = BAPI_MARC1
            PLANTDATAX          = BAPI_MARCX
            STORAGELOCATIONDATA = BAPI_MARD1
            STORAGELOCATIONDATAX = BAPI_MARDX
            VALUATIONDATA       = BAPI_MBEW1
            VALUATIONDATAX      = BAPI_MBEWX
          IMPORTING
            RETURN              = BAPI_RETURN
          TABLES
            MATERIALDESCRIPTION = INT_MAKT.
                  extensionin = t_extin
                 extensioninx = t_extinx.
        IF BAPI_RETURN-TYPE = 'S'  .
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
          EXPORTING
            wait = ''.
       ENDIF.
        IF BAPI_RETURN-TYPE = 'E'.
          WRITE:/ 'Error Message ', BAPI_RETURN-NUMBER,
                                    BAPI_RETURN-MESSAGE.
         ENDIF.
      ENDLOOP.
    ENDFORM.                    "UPDATE_MM
    please give me reply
    Prashanth

    We have encountered the same problem at our company, and the following thread help us to resolve our problem:
    Thanks to KevinCur.
    Error while saving a .PDF File to a mapped drive
    "It has to do with Protected Mode being turned on.  I don't know if it was off by default & now it is on with the update but turning it off changes Adobe Reader's behavior back to what the users expect - a prompt warning you if you want to overwrite the existing file & then selecting Yes to overwrite.
    To disable Protected Mode:
    Start Adobe Reader
    Edit - Preferences - Security (Enhanced)
    Uncheck Enable Protected Mode at Startup
    Close Preferences & Close Reader"
    We unchecked the "Enable Protected Mode at startup" box --> Yes --> OK.  Our users are happy now.  ^_^

Maybe you are looking for

  • Game Center stopped working

    Game Center stopped updating my progress on the leaderboard of Slot Journey. Has anyone else experienced this and have a solution?

  • Work flow - sales order

    Good evening to u all. I wanna know whether there is any standard work flow in SD for the blocked sales orders (For any sort of reason) ? So that the authorised users will receive an email once the sales order is blocked due to certain reasons. If u

  • Where Is AIR 3.4 SDK?

    Can someone tell me where the 3.4 sdk can be downloaded from? I can't find any links on Adobe's site to download previous releases, which is odd because you never want to not have a fall back sdk option.

  • What the Heck is going on with my PS CC?

    My working version of PS CC started asking me to sign back in after 3 momths of use. I finally got a message that my version was wrong for my license, and I should un-install. Then download Photoshop CC from Adobe.com and re-install. When I try and d

  • Password for Wireless Networks

    I succesfully installed a WRT54GS (v7.2) wireless router on a PC and enabled the security function. When I try to access the wireless network I named and set up, I get prompted for a password, but did not issue one when I set it up. I would like to a