Storage location mandatory

Dear Experts,
Could you please inform to make Storage Location field has mandatory in Purchase Order for the User ID. Since it is a Client level I do not want to disturb for any other company code or plants.
And also I want to make Plant mandatory while creating or changing the data in Info record.
regards,
Madhu

Hi,
please follow this path
IMG..>MM...>Purchasing..>purchase order...>define screen layout at document level.
Click on the tcode ME21N and then clikcon change and then select "basic data . item"
and ther for the storage location make it as "required" and save it.
it will work
Hope it wud have answered ur question
Reward if useful
Shawn

Similar Messages

  • Storage location mandatory for inter stock transfer

    Hi,
    Document where only issuing plant has storage location and user has not entered storage location in destination tab.
    It is observed that where u201Cstorage locationu201D is missing  in u201Cdestination tabu201D, system is not able to determine batch no ( mvty 351 ). Since batch number is not fetched it gives further error in Batch level valuation and subsequent issue at some different price.
    Please analyze the above issue suggest us as to making storage location mandatory to solve batch valuation problem.
    I have tried to add storage location field LGOBE in the mvt type 351.  I am getting error field LGOBE is not allowed with mvt type 351.
    Please help me urgent.
    Thanks in Advance,

    Hi,
       With mov type 351 you issue the material from the supplying plant. This material is then get transfeered to the INTRANSIT stock.
    Once you do goods receipt against the STO this Intransit stock is moved to the Receiving Plante.
    Hence, no destination storage location will be allowed for mov type 351.
    Rajesh

  • Making storage location mandatory for one plant.

    Hi All ,
           I want to make storage location field mandatory in ME21N for only one plant .Like in our organisation structure two comp codes 1000 and 3000 are there .Under each comp code one plant like under 1000 1000plant is there and under 3000 3000 plant is there  .I want to make storage location field mandatory for only 3000 plant during creation of PO.Is it possible ?
           Plz reply .

    Hi Abhijit,
    Suggestions:
            1) As per your last comment, new document type is used for doing PO for that particular plant. Check the Field Selection Group in the respective document type. (SPRO -> Materials Management -> Purchasing --> PO --> Define Document Type)
            2) Then SPRO -> Materials Management -> Purchasing --> PO --> Define Screen Layout at document level, Select the Field selection group. Then goto to Supplying plant and make the Issuing storage location as a "Mandatory field".
    Note: But you can use this document type for this particular plant only. For the other plants, use the general document type.
              Please revert if you need any clarification.

  • Making storage location field mandatory at contract level

    Dear All,
    I want to make the field storage location mandatory at contract level.Is there any configuration setting to make storage location mandatory at the time of contarct creation.
    please suggest.
    thanks in advance
    ravi k

    sapuser k 
    1. IMG --> SD --> BF --> Log of Incomplete Terms --> Define Incompleteness procedure (Double Click)
    Choose "A - Sales Header", Click New Entries, Create say 55 -  Contracts
    Click "New Entries", Enter Table = VEDA, Choose Field (Storage Location Field ) and Status.
    Click Save
    2. IMG --> SD --> BF --> Log of Incomplete Terms --> Assign Incompleteness Procedure
    Assign Procedure to sales document Types
    WK1 = 55
    Then Click save
    Regards
    Sathya

  • Storage Location field mandatory for Movement Type 103

    Hi , We are using movement type 103 and 105 to receive material.
    Here we want to make storage location mandatory for movement type 103.
    How can we do that.
    Regards
    SHREY

    Thx for all yr replies ....
    I do agree with yr statements ....
    103 doesn't update inventory at storage location level therefore it doesn't make sense to have storage location at the time of 103.
    But at our end , we are using 103 for MIGO data entry by store user and 105 for MIGO approval .Store users are the right person who are enter correct storage location to which material should go.Therefore looking for a way thru which store user can enter storage lcoation at the time of 103 only.
    Since approvers or purchaser are not very sure about the correct storage lcoation to which material should move therefore storage location at PO level or 105 level will not help me.
    Any work around ??
    Regards
    Shreyh

  • Storage Location required entry in Material Master

    Hi
    My client requirement is, at the time of creation of Material Master, System will ask for Storage Location.Without Storage Location, Icann't create Material Master.
    Even if I'll select Plant and Storage LOcation View & Warehouse View, System is not asking the storage Location.
    Can anybody suggest me where I'll set the setting so that system will ask for Storage Location mandatory in Material Master.
    Thanks & regards
    PKB

    Hi Raja,
    Thanks for your reply.Before Posting the thread, I've already checked these Views what you told.But system is not asking me to enter storage location.
    You can check in your system.
    System only asking for plant not storage location.Even if we select warehouse view, system is not asking for Storage Location view.
    Thanks & Regards
    PKB

  • Purchase Order - Issue storage location set mandatory entry

    Hello All,
    When create subcontracting PO, want to set the field of Issue storage location as mandatory.
    I tried to find configuration "Materials Management>Purchasing>Purchase Order-->Define Screen Layout at Document Level", but there is not entry "Issue storage location" to set the screen layout field.
    I searched previous threads, but only find some to mention issue storage location for STO. Now, I just use subcontracting PO that is same as NB document type.
    Please your kind suggestion or any method to set  Issue storage location as mandatory in PO.
    Thanks very much!
    Mag

    Hi ,
    Please, could you re-check it again, I have found storage location and issue storage location fields under define fields for fields selection group.
    Under Field selection group NBF Purchase order
    Selection group                    supplying plant
    Issue storage location required entry chose
    Under Field selection group NBF Purchase order
    Selection group                    Basic data item
    Storage location   required entry chose 
    After this setting, I can be find this storage location fields as Mandatory.
    Regards,
    Thiru

  • Making Storage Location field mandatory in Work Order

    Hi
    As per our proces, if PR is created from work order and if there is no storage location in work order then PO will have warehouse address as a shipping address. So it is expected that PR must have storage location details when it is created from work order to avoid incorrect shipping address in PO.
    So, I want to make storage location field mandatory in components tab of work order.
    Also I want to avoid the users to deliberately removing the storage location and making it blank.
    Regards
    Prakash

    Hi,
      You will have to use one of the below mentioned user exits  to accomplsih this requirement.
    CNEX0026 Maintenance order: General check for material
    CNEX0027 Maintenance order: Determination of plant or storage location for component
    Thanks
    Narasimhan

  • Mandatory the Material Quantity and Storage Location Field in Order

    Hi Expert,
    Please advise. how can i set the Maintenance order,
    If Material field is Filled
    Then Mandatory the Quantity Field and Storage Location Field.
    Thank You
    Best Regards

    Hello,
    Please Use Below User Exits to get your Functionality
    IWO10009 --->PM Order Check for 'Save' Event
    CNEX0026--->general inspection of material
    Regards,
    Rakesh

  • Unable to set plant and storage location in Batch as required/mandatory

    Hi Experts,
    I am having a problem regarding field controls.
    I would like to make plant and storage location as mandatory/required in MSC1N,MSC2N,MSC3N and MSC4N.
    I have follow the path below
    SPRO-logistics-general-batch management-bath master-field selection batch master-assign field to field groups
    What i can see is field groups are being assigned to field name.
    My question is, where do we go to to set the field group?
    Thanks in advance!

    Hi Dex,
    You have gone to the right location.
    On 'change view field control for batch master record' against each transaction like MSC1, MSC2,MSC3 and MSC4 there are number of dots '............'.
    Double click on each dot against the transaction you want to modify. Each dot corresponds to different fields. Over here you can specify wheter you want to make the field required, optional etc.
    Hope this helps.
    Tarang

  • Storage location field mandatory in PR

    Hi ,
    We want to make "Storage location" field mandatory in PR for  "_Document Type and Account Assignment" Combination._
    Like we have a PR document Type ZDM for raise a PR for materials, we want to make STORAGE LOCATION field mandatory if ACCOUNT Assignment in line item is BLANK.
    In case Account assignment is K then this field should be NON-MANDATORY and preferrably should be greyed out.
    Is there is any standard SAP settings for that
    Regards
    Shrey

    Hi,
    Use the user exit -> MEREQ001
    Hope the above helps.
    Regards,
    Vivek

  • Reg.Storage location make mandatory

    Dear Expert
    During the Purchase requisition creation the PR is saved without storage location, we want to make it error, how to make it. Pls help me.
    Storage location is must to us. how to configure it.
    thanks in advance
    Rajakumar.K

    Dear Experts
    how to make the storage location as mandatory, don't have to go to screen layout ->basic data, because plant has set to mandatory
    without tick in basic data mandatory field,like that we we to make it. Please help me.
    Thanks in advance
    Rajakumar.K

  • Profit centre at storage location level

    Hi Experts,
    Can we define a profit centre @ storage location level?
    My scenario :
    The document splitting of FI is activated for the document type of FI and also the profit centre is mandatory entry for any accounting document that will be created so when I am trying to post a MIGO I encounter the error
    "Balancing field "Profit Center" in line item 001 not filled"
    We have a option of maintaining a profit centre in plant data/storage location but i will be updated in the profit centre field of Costing1 view . But we does not want to upadate in costing view of material master data.
    Basically We want the system to determine profit centre based on storage location  in Goods reciept transaction .
    Helpful Sugestions on this would be helpful & rewarded max .
    points.
    Regards,
    Patil
    t

    Hi Raju ,
    Thanx for the reply.I am Basavarajs Collougues.
    Our Enterprise Structure of our Client is as follows
    One company code is assigned to one plant and we have treated all the branches across India as Storage locations.Each  Branch (Storage Location- MM) is configured as Profit centres in FICO.The goods are procured for a storage location.
    By using the functionality of document splitting, the profit center field is made mandatory for all the accounting documents generated in the system. Now we are trying to post a goods receipt against a Purchase Order, the system is giving error "Balancing field "Profit Center" in line item 001 not filled"
    The option is there to maintain a profit center at the plant level.But we have several storage locations under the plant and each storage location has to be linked with the particular profit center. So that, while doing goods receipt the system should determine profit centre based on the storage location in purchase orders.
    Please suggest on this.
    Regards,
    SVU123

  • Storage location Data is not saving in table MARD using BAPI method.

    Hi Experts,
    TABLES: T001L, "Storage Locations
            MARA,  "General Material Data
            MAKT,  "Material Descriptions
            MBEW,  "Material Valuation
            MARC,  "Plant Data for Material
            MARD.  "Storage Location Data for Mate
    DATA: BAPI_HEAD   LIKE BAPIMATHEAD,  "MATERIAL
          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.
    DATA: BEGIN OF INT_MAT OCCURS 100,
             WERKS(4),     "Plant
             LGORT(4),     "Storage location
             MTART(4),     "Material type
             MATNR(18),    "Material number
             MAKTX(40),     "Material description
             MATKL(9) ,    "Material group
             MBRSH(1),     "Industry sector
             MEINS(3),     "Base unit of measure
             GEWEI(3),     "Weight Unit
             SPART(2),     "Division
             EKGRP(3),     "Purchasing group
             VPRSV(1),     "Price control indicator
             STPRS(12),    "Standard price
             PEINH(3),     "Price unit
             SPRAS(2),     "Language key
             BKLAS(4),     "VALUATION CLASS
             VERPR TYPE VERPR_BAPI,    "MOVING PRICE
             BWTTY(1),     "Valuation Catogory
             MLAST(1),     "Price determination
             MLMAA(1),     "Material Ledger
             EKLAS(4),     "Valuation Class for sales order stock
             QKLAS(4),     "Valuation Class for Project Stock
             ZKPRS TYPE DZKPRS, "Future price
             ZKDAT TYPE DZKDAT, "Valid From Date
             BWPRS TYPE BWPRS,  "Tax price 1
             BWPS1 TYPE BWPS1,  "Tax price 2
             VJBWS TYPE VJBWS,  "Tax price 3
             ABWKZ TYPE ABWKZ,  "Devaluatin indicator
             BWPRH TYPE BWPRH,  "Commercial price 1
             BWPH1 TYPE BWPH1,  "Commercial price 2
             VJBWH TYPE VJBWH,  "Commercial Price 3
             XLIFO(1),          "LIFO/FIFO revelant
             MYPOL(4),          "Pool no for LIFO
             MMSTA(2),          "Plant specific material status
             AUSME TYPE AUSME,  "Unit of issue
             QMATA(6),          "Material Authorization group
             RBNRM(9),          "Catalog Profile
             WEBAZ TYPE WEBAZ,  "Goods reciept processing time in days
             PRFRQ TYPE PRFRQ,  "Recurring Insepction
             SSQSS(8),          "QM Control key
             QZGTP(4),          "Certificate Type
             QSSYS(4),          "Required QM system for vendor
           END OF INT_MAT.
    DATA: V_MATNR TYPE MARA-MATNR.
    SELECT-OPTIONS:
                PLANT    FOR  MARC-WERKS OBLIGATORY MEMORY ID PLT,
                S_LGORT  FOR  MARD-LGORT MEMORY ID STL,
                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.
    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.
        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 WERKS IN PLANT
                                  AND   LGORT IN S_LGORT.
        WRITE:/ MARC-WERKS,    "Plant
                MARD-LGORT,    "Storage location
                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
                MARC-EKGRP,    "Purchasing group
                MBEW-VPRSV,    "Price control indicator
                MBEW-STPRS,    "Standard price
                MBEW-PEINH,    "Price unit
                MBEW-BKLAS,    "VALUE CLASS
                MAKT-SPRAS,    "Language key
                MBEW-BKLAS,    "Valuation Class
                MBEW-VERPR,    "Moving price
                MAKT-MAKTX,    "Material description
                MBEW-BWTTY,    "Valutaion Catogorey
                MBEW-MLAST,    "Price Determination
                MBEW-MLMAA,    "Material Ledger
                MBEW-EKLAS,    "Valuation class for Sales order stock
                MBEW-QKLAS,    "Valutaion Class for Project Stock
                MBEW-ZKPRS,    "Future Price
                MBEW-ZKDAT,    "Valid From Date
                MBEW-BWPRS,    "Tax price 1
                MBEW-BWPS1,    "Tax price 2
                MBEW-VJBWS,    "Tax price 3
                MBEW-ABWKZ,    "Devaluatin indicator
                MBEW-BWPRH,    "Commercial price 1
                MBEW-BWPH1,    "Commercial price 2
                MBEW-VJBWH,    "Commercial Price 3
                MBEW-XLIFO,    "LIFO/FIFO revelant
                MBEW-MYPOL,    "Pool no for LIFO
                MARC-MMSTA,    "Plant specific material status
                MARC-AUSME,    "Unit of issue
                MARC-QMATA,    "Material Authorization group
                MARA-RBNRM,    "Catalog Profile
                MARC-WEBAZ,    "Goods reciept processing time in days
                MARC-PRFRQ,    "Recurring Insepction
                MARC-SSQSS,    "QM Control key
                MARC-QZGTP,    "Certificate Type
                MARC-QSSYS.    "Required QM system for vendor
                INT_MAT-WERKS = MARC-WERKS.    "Plant
                INT_MAT-LGORT = MARD-LGORT.    "Storage Location
                INT_MAT-MTART = MARA-MTART.    "Material type
                INT_MAT-MATNR = MARA-MATNR.    "Material number
                INT_MAT-MAKTX = MAKT-MAKTX.    "Material description
                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-EKGRP = MARC-EKGRP.    "Purchasing group
                INT_MAT-VPRSV = MBEW-VPRSV.    "Price control indicator
                INT_MAT-STPRS = MBEW-STPRS.    "Standard price
                INT_MAT-PEINH = MBEW-PEINH.    "Price unit
                INT_MAT-SPRAS = MAKT-SPRAS.    "Language key
                INT_MAT-BKLAS = MBEW-BKLAS.    "VALVATION CLASS
                INT_MAT-VERPR = MBEW-VERPR.    "MOVING price
                INT_MAT-BWTTY = MBEW-BWTTY.    "Valutaion Catogorey
                INT_MAT-MLAST = MBEW-MLAST.    "Price Determination
                INT_MAT-MLMAA = MBEW-MLMAA.    "Material Ledger
                INT_MAT-EKLAS = MBEW-EKLAS.    "Valuation class forS.O Stock
                INT_MAT-QKLAS = MBEW-QKLAS.    "Valutaion Class for Project
                INT_MAT-ZKPRS = MBEW-ZKPRS.    "Future Price
                INT_MAT-ZKDAT = MBEW-ZKDAT.    "Valid From Date
                INT_MAT-BWPRS = MBEW-BWPRS.    "Tax price 1
                INT_MAT-BWPS1 = MBEW-BWPS1.    "Tax price 2
                INT_MAT-VJBWS = MBEW-VJBWS.    "Tax price 3
                INT_MAT-ABWKZ = MBEW-ABWKZ.    "Devaluatin indicator
                INT_MAT-BWPRH = MBEW-BWPRH.    "Commercial price 1
                INT_MAT-BWPH1 = MBEW-BWPH1.    "Commercial price 2
                INT_MAT-VJBWH = MBEW-VJBWH.    "Commercial Price 3
                INT_MAT-XLIFO = MBEW-XLIFO.    "LIFO/FIFO revelant
                INT_MAT-MYPOL = MBEW-MYPOL.    "Pool no for LIFO
                INT_MAT-MMSTA = MARC-MMSTA.    "Plant specific material
                INT_MAT-AUSME = MARC-AUSME.    "Unit of issue
                INT_MAT-QMATA = MARC-QMATA.    "Material Authorization group
                INT_MAT-RBNRM = MARA-RBNRM.    "Catalog Profile
                INT_MAT-WEBAZ = MARC-WEBAZ.    "Goods reciept processing
                INT_MAT-PRFRQ = MARC-PRFRQ.    "Recurring Insepction
                INT_MAT-SSQSS = MARC-SSQSS.    "QM Control key
                INT_MAT-QZGTP = MARC-QZGTP.    "Certificate Type
                INT_MAT-QSSYS = MARC-QSSYS.    "Required QM system for
                APPEND INT_MAT.
                CLEAR  INT_MAT.
    ENDSELECT.
    ENDFORM.
    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.
    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.
    FORM UPDATE_MM.
    LOOP AT INT_MAT.
    CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
      EXPORTING
        INPUT              = INT_MAT-MATNR
    IMPORTING
       OUTPUT             = INT_MAT-MATNR
    EXCEPTIONS
      LENGTH_ERROR       = 1
      OTHERS             = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    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'.
    Material Description
        REFRESH INT_MAKT.
        INT_MAKT-LANGU           = INT_MAT-SPRAS.
        INT_MAKT-MATL_DESC       = INT_MAT-MAKTX.
        APPEND INT_MAKT.
    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_MARAX-MATL_GROUP = 'X'.
        BAPI_MARAX-BASE_UOM   = 'X'.
        BAPI_MARAX-UNIT_OF_WT = 'X'.
        BAPI_MARAX-DIVISION   = 'X'.
    Plant - Purchasing
        BAPI_MARC1-PLANT      = INT_MAT-WERKS.
        BAPI_MARC1-PUR_GROUP  = INT_MAT-EKGRP.
        BAPI_MARC1-PUR_STATUS = INT_MAT-MMSTA.
        BAPI_MARC1-ISSUE_UNIT = INT_MAT-AUSME.
        BAPI_MARC1-QM_AUTHGRP = INT_MAT-QMATA.
        BAPI_MARC1-GR_PR_TIME = INT_MAT-WEBAZ.
        BAPI_MARC1-INSP_INT   = INT_MAT-PRFRQ.
        BAPI_MARC1-CTRL_KEY   = INT_MAT-SSQSS.
        BAPI_MARC1-CERT_TYPE  = INT_MAT-QZGTP.
        BAPI_MARC1-QM_RGMTS   = INT_MAT-QSSYS.
        BAPI_MARCX-PLANT      = INT_MAT-WERKS.
        BAPI_MARCX-PUR_GROUP  = 'X'.
        BAPI_MARCX-PUR_STATUS = 'X'.
        BAPI_MARCX-ISSUE_UNIT = 'X'.
        BAPI_MARCX-QM_AUTHGRP = 'X'.
        BAPI_MARCX-GR_PR_TIME = 'X'.
        BAPI_MARCX-INSP_INT   = 'X'.
        BAPI_MARCX-CTRL_KEY   = 'X'.
        BAPI_MARCX-CERT_TYPE  = 'X'.
        BAPI_MARCX-QM_RGMTS   = 'X'.
    Accounting 1
        BAPI_MBEW1-VAL_AREA      = INT_MAT-WERKS.
        BAPI_MBEW1-PRICE_CTRL    = INT_MAT-VPRSV.
        BAPI_MBEW1-STD_PRICE     = INT_MAT-STPRS.
        BAPI_MBEW1-PRICE_UNIT    = INT_MAT-PEINH.
        BAPI_MBEW1-MOVING_PR     = INT_MAT-VERPR.
        BAPI_MBEW1-VAL_CLASS     = INT_MAT-BKLAS.
        BAPI_MBEW1-VAL_CAT       = INT_MAT-BWTTY.
        BAPI_MBEW1-ML_SETTLE     = INT_MAT-MLAST.
        BAPI_MBEW1-ML_ACTIVE     = INT_MAT-MLMAA.
        BAPI_MBEW1-VM_SO_STK     = INT_MAT-EKLAS.
        BAPI_MBEW1-VM_P_STOCK    = INT_MAT-QKLAS.
        BAPI_MBEW1-FUTURE_PR     = INT_MAT-ZKPRS.
        BAPI_MBEW1-VALID_FROM    = INT_MAT-ZKDAT.
    *ACCOUNTING 2
       BAPI_MBEW1-TAXPRICE_1    = INT_MAT-BWPRS.
       BAPI_MBEW1-TAXPRICE_2    = INT_MAT-BWPS1.
       BAPI_MBEW1-TAXPRICE_3    = INT_MAT-VJBWS.
       BAPI_MBEW1-DEVAL_IND     = INT_MAT-ABWKZ.
       BAPI_MBEW1-COMMPRICE1    = INT_MAT-BWPRH.
       BAPI_MBEW1-COMMPRICE2    = INT_MAT-BWPH1.
       BAPI_MBEW1-COMMPRICE3    = INT_MAT-VJBWH.
       BAPI_MBEW1-LIFO_FIFO     = INT_MAT-XLIFO.
       BAPI_MBEW1-POOLNUMBER    = INT_MAT-MYPOL.
        BAPI_MBEWX-VAL_AREA   = INT_MAT-WERKS.
        BAPI_MBEWX-PRICE_CTRL = 'X'.
        BAPI_MBEWX-STD_PRICE  = 'X'.
        BAPI_MBEWX-PRICE_UNIT = 'X'.
        BAPI_MBEWX-MOVING_PR =  'X'.
        BAPI_MBEWX-VAL_CLASS =  'X'.
        BAPI_MBEWX-VAL_CAT       = 'x'.
        BAPI_MBEWX-ML_SETTLE     = 'X'.
        BAPI_MBEWX-ML_ACTIVE     = 'X'.
        BAPI_MBEWX-VM_SO_STK     = 'X'.
        BAPI_MBEWX-VM_P_STOCK    = 'X'.
        BAPI_MBEWX-FUTURE_PR     = 'X'.
        BAPI_MBEWX-VALID_FROM    = 'X'.
       BAPI_MBEWX-TAXPRICE_1    = 'X'.
       BAPI_MBEWX-TAXPRICE_2    = 'X'.
       BAPI_MBEWX-TAXPRICE_3    = 'X'.
       BAPI_MBEWX-DEVAL_IND     = 'X'.
       BAPI_MBEWX-COMMPRICE1    = 'X'.
       BAPI_MBEWX-COMMPRICE2    = 'X'.
       BAPI_MBEWX-COMMPRICE3    = 'X'.
       BAPI_MBEWX-LIFO_FIFO     = 'X'.
       BAPI_MBEWX-POOLNUMBER    = 'X'.
    *Storage Locations
        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.
       WRITE:/ BAPI_HEAD-MATERIAL, BAPI_MARC1-PLANT ,BAPI_MARD1-STGE_LOC.
        call function 'BAPI_MATERIAL_SAVEDATA'
          exporting
            HEADDATA                   = BAPI_HEAD
            CLIENTDATA                 = BAPI_MARA1
            CLIENTDATAX                = BAPI_MARAX
            PLANTDATA                  = BAPI_MARC1
            PLANTDATAX                 = BAPI_MARCX
          FORECASTPARAMETERS         =
          FORECASTPARAMETERSX        =
          PLANNINGDATA               =
          PLANNINGDATAX              =
    <b>      STORAGELOCATIONDATA        =  BAPI_MARD1
           STORAGELOCATIONDATAX       =  BAPI_MARDX</b>
            VALUATIONDATA              = BAPI_MBEW1
            VALUATIONDATAX             = BAPI_MBEWX
          WAREHOUSENUMBERDATA        =
          WAREHOUSENUMBERDATAX       =
          SALESDATA                  = BAPI_MVKE1
          SALESDATAX                 = BAPI_MVKEX
          STORAGETYPEDATA            =
          STORAGETYPEDATAX           =
          IMPORTING
            RETURN                     = BAPI_RETURN
          TABLES
            MATERIALDESCRIPTION        = INT_MAKT
          UNITSOFMEASURE             =
          UNITSOFMEASUREX            =
          INTERNATIONALARTNOS        =
          MATERIALLONGTEXT           =
          TAXCLASSIFICATIONS         =
          RETURNMESSAGES             =
          PRTDATA                    =
          PRTDATAX                   =
          EXTENSIONIN                =
          EXTENSIONINX               =
    IF BAPI_RETURN-TYPE = 'E'.
       WRITE:/ 'Error Message ', BAPI_RETURN-MESSAGE.
    ENDIF.
    ENDLOOP.
    ENDFORM.
    <b>i am using this bapi method to copy materials from one plant to another plant using storage location so here what happenig is everyting is going correct but only the storage location data is not saving in table mard so any body faced this kind of problem please tell me.... and one more dbt
    bapi_marcx-pur_status = 'x' what is 'X' here??? is that mandatory field or required field ???
    points wil be rewarded.
    reagrds,
    sunil k airam.

    In the HEADDATA structure, STORAGE_VIEW should also be set as 'X' , in order to update storage location data
    for example
    BAPI_HEAD-STORAGE_VIEW = 'X'.
    Also, PUR_STATUS corresponds to field MARA-MSTAE whose domain has value table T141, therefore values in the field are checked against T141
    Edited by: Harris Veziris on May 12, 2008 12:37 PM

  • Storage Location for NON valuated material in MIGO

    Hi friends ,
    I have created a purchase order for NON-Valuated material (UNBW) with Account Assignment "K".I did check the material type UNBW configuration where only Value Update is checked for my Plant.
    Now at the time of MIGO , system is asking for Storage lcoation (mandatory) and after MIGO system also updates quantity in Storage Location entered in MIGO.
    while in normal cases (like ROH material type) , if we create Account Assigned PO ( like K) , system neither ask for Storage lcoation at the time of MIGO , nor system updates Qty at any storage location.
    As per my understanding , if we create Purchase Order with account assignment K , system updates value in consumption and doesn't update Qty in stock (although material is stockable) .....which is simply like immediately issue of material to cost center.
    Therefore wondering why system is updating Qty for NON-VALUATED material.
    Does non valuated material means , POST value to Cost center (for account assignment K) and Update Qty in stock ?
    Like in case of Account Assignment , value gets charged to WBS and qty gets updated as special stock "project"
    All replies are welcome .....
    Regards
    Shrey

    By definition UNBW's are ony qty updating and have no value assoicated with them. Since the system needs to stock this qty somewhere it by deafult asks for a Sloc.

Maybe you are looking for

  • ITunes auth problem on Windows 7 64-bit

    Hi, I experience weird issues with the iTunes auth-process on a Windows 7 (64bit) machine. When I try to authorize my computer it results in a message telling me something about connection issues. Anyhow, it seems the computer is kind of activated si

  • How can I turn off my built-in camera?

    It stays on even after I restart my computer, although I'm not using any software that uses the camera. Plus, this is creepy. I've got a 2-yr-old mac air running os 10.8.5

  • SOA-- Invoking OSB Service Getting Error :ORA-00084: global area must be PGA, SGA, or UGA

    Hello Friends, Really appreciate your help/inputs on the below Error Message encountered while running a Concurrent Program--using SOA:Same encountered in recently refreshed DEV instance, Can it be related to some Developement Instance Configuration

  • Issue with Oracle service bus installation on Windows 7 64 bit machine

    Hi, I am trying to install Oracle service bus 11.1.1.4 in Windows 7 64 bit machine for which i have downloaded the generic installers of both weblogic server and Oracle service bus. As per the instructions - 1. Install JDK 1.6 2. Install Weblogic ser

  • How do I add Green screen effects in iMovie 10.0.6

    I have been working on a project and have green screen elements as well as pr keyed elements that I want to add to my film but am unable to figure out ow to do it. How do I add Green screen effects in iMovie 10.0.6?