Automatic creation of Storage Location data with GR to Project stock (Q)

Hello,
during "normal" Plant stock GR (mvmt type 101) for a material, the Storage Location data gets automatically created, but this doesn't happen for Project stock (Q) material receipts.
Is there a way to influence this either through customizing (of mvmt type?) or through an exit/enhancement/BadI?
Thanks for the tips, br
LK

369468 - Storage location segment (MARD) in the case of special stock
The special stocks sales order stock. and project stock. are not managed in a material/plant storage location segment (MARD). The existence of the MARD segment is thus irrelevant to a goods movement. Neither the checking nor the creation of the MARD segment is desirable with regard to performance and physical inventory aspects in particular. For this reason, this MARD segment is not read, checked or created automatically in the course of goods movements. We regard this as being in the best interests of our customers.

Similar Messages

  • Automatically creation of storage location for material, in MF60

    Hi all,
    my collegue of PP module uses MF60 transaction.
    When he puts XXXX as Replenishment storage location, the system tells him this error: To stge loc. XXXX does not exist for material M1010000182 in plant 0001.
    In MM i have activate the automatic creation of storage location for plant 0001 and for all movement types.
    Why MF60 does not respect this requirement?
    If I try to do movement type 311 with MIGO, manually, there's no problem to transfer the material from a storage location to , XXXX s.loc.
    Is there something more that I have to do?
    Thanks in advance!
    Best regards
    Alba

    Thanks a lot...
    the note says:
    Summary
    Symptom
    A material without storage location view exists.
    If within a single material document, this material is moved in such a way that no change in stock occurs in total, the system does not create a storage location automatically even if this is set in Customizing.
    Additional key words
    OMC3, XLAUT
    Cause and prerequisites
    All postings to a segment (for example, material, plant, storage location) are only executed if a change in stock occurs. Only in this case, storage locations are created automatically. This way it is made sure that no empty segments are created.
    Solution
    The system behaves correctly.
    Header Data
    Release Status:     
    Released on:     07.07.2000  22:00:00
    BUT why IF i do 311 in MIGO, system creates automatically storage location (also if no change in stock occurs in total).
    AND if doMF60  (that does mouvement 311), system does not create automatically the storage location?
    Best regards
    Alba

  • Auto Creation of Storage Location at the time of Goods receipt

    Dear All
    Please tell me how can i create storage location automatically at the time of Goods receipt.
    i already made the configuration in OMJ8 for movement type and required plant
    still, at the time of creating PO its not getting created..
    Please advice
    Narendra C.

    Hello Narendra,
    If you are trying for automatic creation of strorage location for goods movement to special stock, then ithe data will nit be created. This standard SAP functionality.
    Also if you have maintained storage location in the preceeding documents, then it will automatically fetched during goods reciept.
    BR,
    Tushar
    Edited by: Tushar Patankar on Feb 4, 2011 12:50 PM

  • Re: Creation of storage location for halb which was not assigned primarily

    Creation of storage location for halb, every thing processed with raw materials for production orders reg  fert and even settled. Later a storage location is to be created for halb. When I created storage location for halb and when I want to post initial stock through MB1C I am getting error saying material type and storage location not maintained. Can any one solve my problem. Thanks in advance.

    Hi Vachanala,
    Are the material masters of your materials extended to the new storage location / have you defined automatic creation (for movement) in customizing (SPRO > Material Manegement > Inventory management & PI > Automatic movements > Create Storage Location Automatically)?
    If the material masters are not extended you can't book those materials to that SL.
    BR
    Csaba
    <b>material master</b>
    http://help.sap.com/saphelp_46c/helpdata/en/ff/515ee849d811d182b80000e829fbfe/frameset.htm
    <b>automatic creation of storage data</b>
    http://help.sap.com/saphelp_46c/helpdata/en/a5/6330f243a211d189410000e829fbbd/frameset.htm

  • Automatic creation of  Warehouse No. data in the material master

    Hi all,
    I want the automatic creation of  Warehouse No. data in the material master record at the time of the first goods receipt is allowed.
    Similar to the way where we can do the same for Storage Location by clicking on Create SLoc. automatically in the plant parameters settings.
    can it be done..plz guide.
    Regards,
    Sandeep

    Hi Deepak ,
    Such facility is not available for Warehouse .
    Regards
    Ramesh Ch

  • SC 0011008450M7 503 No storage location data for 544_0612_13 in  gm01 gm01

    Hi All ,
                  After the creating a Reservation shopping cart for the inventory material , there is no follow on document (Reservation)is   created for the shopping cart. when we view the SC it is showing   the message :Contains errors. when i gone and checked in the RZ20 it is giving the error as below
            Shopping cart 0011008450 (Res. 0041001082): M7 503 No storage location data for 522_0602_10 in  gm01 gm01.
    We  maintained the all the view for  this material in material master (MM03).
    Please hlep.
    Regards
    Channappa Sajjanar

    Hi,
    1)Please check for user's extended attribute is assigned with correct storage location.
    2) while creation of the SC, under basic data tab, correct storage location must be populated.
    Regards
    Bhupendra

  • 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

  • Automatic creation of meter reading order with RR 01 after move in

    Hi Experts,
    I am working with DM module of SAP ISU. Currently I am facing a problem that after move-in a periodic order with RR 01 is created automatically by the system.
    Ex: Move in date is 01.01.2010. Monthly Portion is used with Schedule record 01.01.2010, 01.02.2010, 01.03.2010, 01.04.2010 and so on.
    If current system date is 20.07.2010 then Meter reading order is created automatically by the system for sch MRD 01.08.2010.
    Please let me know how to overcome this problem
    Thanks in advance.

    Thanks for your reply but I have cheked SPRO setting the suggested check box is already uncheked.
    I beleive the setting you have suggested is meant for default meter reading during move in but my problem is automatic creation of meter reading order with reason 01 during move in

  • Movement Type 340 doesn't have Storage Location Associated with it

    When a batch is given a new valuation type, there is no storage location associated with that movement, because the movement would be for the entire batch obviuosly.  In BI though, that creates a problem, because the movement needs to have a storage location assigned to it. Here is an example of the problem:
    Storage Location----Batch--Xbuy Current Stock-----Cert Current Stock
    ..........0001...................122....................100......................................0
    Then batch 122 is moved from xbuy to cert.  But, since there is no storage location associated with that movement, the current stock now looks like this:
    Storage Location----Batch--Xbuy Current Stock-----Cert Current Stock
    ............#.......................122...................-100...................................100
    ..........0001...................122....................100......................................0
    But it should look like this:
    Storage Location----Batch--Xbuy Current Stock-----Cert Current Stock
    ..........0001...................122......................0......................................100
    We are using the standard SAP Extractor for this inventory model, and I am curious as to whether there is a fix to this out there, or how we should go about fixing it?
    Thanks,
    Owen

    The problem I am having is kind of a display and a data issue.  All the data from the source system is coming over to BI in this case, but the problem is that the two systems are fundamentally different.  In ECC, a batch can change from one valuation type to another with no thought to storage location, and that works just fine.  However, when that same record is in BI, if it doesn't have a value for every characteristic in the model (including storage location in this case), then the ad-hoc report won't drill down correctly.
    To answer your options:
    1.  We don't have the option of just not showing storage location, because this problem would render storage location useless because of data inconsistencies, and storage locations are an important part of our business.
    2.  We have several storage locations, so this will not work either.
    Also, since we have several different storage locations we use, there is no way to just assign storage location 0001 to every empty record.  However, I am thinking of a solution along these lines.  If there was somewhere we could go to see the storage location of the particular batch, then we could fill the storage location at the time of the data load.  The problem we would need to overcome though is timing.  How do we do this for historical data that has moved storage locations?  What if the movement goes to the delta queue, and then the storage location changes?
    Thanks,
    Owen

  • Finding Plants\Storage locations associated with the Routes

    Hi,
    I need to find all possible Plants/Storage Locations associated with the Route in hand.(These routes can be found in TVRAB table).Is there any mapping done in SAP between Routes and Plants or Routes and Departure Points ?
    If anyone has any inputs regarding this, it will be really helpful.

    Hi,
    To determine the route we need to know the Plant and the Shipping point or connection point/port.
    I think we can find the routes in table TVRO or VBLK.
    and for route descirption we go for the TVROT
    First check the tables for the Plant and shipping point then we can link to the route.
    Pls check this link
    http://help.sap.com/saphelp_47x200/helpdata/en/dd/560dee545a11d1a7020000e829fd11/frameset.htm
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/17/c0b758903111d2b42f006094b9b9a0/content.htm
    Regards
    Lekha

  • Situation in Storage Location Determination with Situation?

    where can I use the situation values to determine the Storage Location?
    In other words, how can I determine the Storage Location with the settings in Storage Location Determination with Situation?

    Dear Huanzhiyu,
                 Go through this IMG path you can able to define the situations as well as you can able to determine the storage location with the situation.
    IMG>Logistics Execution>Shipping>Picking>determine picking location-->Define situations and Storage location determination with situation.
    I hope it will help you
    Regards,
    Murali.

  • Deletion and Creation of storage location.

    Dear Experts,
    Plz advise how can we un-assign any storage location from any material & how can we create the new storage location.
    Regards
    Sumit Kalyan

    Hi Sumit,
    System will  allow the stock posting to storage location for which u have set Deletion until it has been achieved.
    You can block the storage location of a material without affecting the rest of the location using the same material.
        1.Create a Physical Inventory document for the storage location with transaction MI01  by  Selecting  the Posting Block checkbox.
        This would prevent transactions from occuring until you either post or delete the physical inventory document.
    or
    2. U can create &  delete the stoarge loaction at OX09.  This will affect the all the material which has assigned to same storage lacation. Normally MM will do this,
    Regards
    Pradeep

  • MRP at storage location level with external requirements

    HI,
    We have to have reorder point planning at storage location level. Also we need to consider external requirements.
    When I am setting storage location MRP indicator as 2 and putting Reorder point and replenishment quantity, then after running MRP it only considers the replenishment quantity but it doesnot consideer any external requirements.
    Help me out how to configure the requirement?
    Regards
    Sukant

    Hi,
    I think your question is answered by Sarita Doddi.
    If you have several storage location for your plant, you cannot plan for them separately unless you assign them to a separate MRP area.
    If a storage location (alone) is assigned to an MRP area, it means you wan to plan for it separately. If several storage locations are assigned to an MRP area (or let's say to a plant), it means you want to plan using all of them - and you cannot choose only one and plan for it (you can exclude a SLoc from planning w/o assigning it to MRP area).
    So, planning is not SLoc wise, it goes MRP area wise.
    BR
    Csaba

  • Creation of Tech Master data with CRM IC Web Client

    Hi Experts,
    I have a query regarding creation of Technical master data via CRM IC Web client ( CRM7.0 & ECC6 for ISU)
    1) If we are using CRM IC web Client then , how the creation of Technical Master Data is triggered from web client ?
    2) Where the technical master data created first ISU or CRM ?
    If anyone has the info on this please let me know.
    regards,
    Sagar

    Hi Sagar Arvind Phirke,
    1) You need to configure CRM Middleware to exchange data between CRM and IS-U;
    2) Data is created first in CRM, then it's replicated to IS-U.
    Check this helpful documentation: http://help.sap.com/saphelp_crm70/helpdata/en/46/66235fc77c453a8696f76c66e8014c/frameset.htm
    Best Regards,
    Pedro Nunes

  • Storage location determination with MRP

    Hi GURUu2019s,
    I need to know what set up decides which Storage location is used for MRP if there is more than one storage location per plant.
    Please guide me.
    Cheers,
    Kumar.S

    Dear
    Pleaae do the following :
    1.Check in OMIR keep the indicator as  Blank  (IMG-Production-MRP-Planning-Define Storage Location MRP per Plant-It should not be 1 OR 2 .
    2.Make sure that materials in those storage loaction should not have indicator 1/2 in MRP4 view .
    Bssically , you do nto need to change any configuration setup in case  because it will by defalut as Blnak in OMIR -means all the  materials in varioaus storage location are MRP relevent .Those storage location should be under plant which hase activated for MRP (spro-mrp-activate MRP for Plant )
    Hope this helps
    Regards
    JH

Maybe you are looking for

  • Display Won't Go On

    Just got this note this morning from my grandson about his iBook G3 900. I am not sure if it is a display problem, but that seems to be the main symptom. Any ideas will be appreciated.Hi. I just opened my iBook and I heard the disk spin up and it cam

  • Is there a way to not to execute a query on table rendering?

    Is there a way to not to execute a query associated with an af:table on table rendering on the page? I would like to control this programmatically. Any examples will be much appreciated.

  • Outer join with effective date in peoplesoft query

    Hi, I'm trying to join two tables using outer join. Both tables are effective dated: Dept_Tbl: dept_id, status, effdt Tips_Tbl: dept_id, tips_id, effdt Not all records in Dept_Tbl are in Tips_Tbl. I need to get all active depts and their most recent

  • Copyright symbol in Folio Theme

    I am trying out the book creation with iPhoto for the first time. Using the folio theme there is the photo number, caption, explanation and then a "© of <my name>" beside every single photo. Is there a way to delete these text fields? I most especial

  • Datapump Export Wipro Question

    Hi, we are having a 50GB size of Schema but the Dumpfile size will be 5GB only, now what the question is , How can we Export this 50gb Schema using the 5GB Dumpfile? Is this is posible? Give me the solution for this with query?