Storage location value is not adopting fron PO into GR

Hi All,
I'm making Goods receipt with reference to Purchase Order. For few materials the storage location value is not adopting fron PO into GR. It's in disable mode. So i'm not able to maintain the stock at storage location level. What could be problem? Please help me on this.
Thanks
Anilkumar Dalai

Dear Expert,
PO is with refrence to Order 'f' Category.
is it a Production order or a Customer Sales Order?
or is it a financial internal Order?
Could you please be more specific??
In case please check which Sloc you have assigned in the order with ref to which you created PO.
Please change directly in the order.
Raghavan

Similar Messages

  • 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

  • In va02 tocde after entering the data only storage location field is not saving.why?

    Hai
    in va02 tcode after entering the data only storage location field is not saving. why?

    Hi Purnaiah,
    Are you using any user exit for this or not?
    Check for the below exit, this may be the place where you can implement your code for saving the value.
    SAP MV45AFZZ calling the user exit with a form USEREXIT_SAVE_DOCUMENT
    Regards,
    Rafi

  • Storage location in QA32 not appearing

    HI GURUS
    IN QA32 , STORAGE LOCATION IS NOT APPEARING FOR FEW MATERIALS . IN PURCHASE ORDER WE HAVE CONSIDERED ASSET ACCOUNT ASSIGNMENT CATEGORY , WITH VALUE & QUANTITY UPDATION . BUT DURING GRN STORAGE LOCATION IS NOT TAKEN INTO ACCOUNT SO IN QA32 ALSO STORAGE LOCATION IS NOT APPEARING. IS THERE ANY OPTION WHERE STORAGE LOCATION SHOULD APPEAR IF IN GOODS RECEIPT IT IS THERE OR NOT.

    hi AK Marwadi ,
    Thanks for your response, they need storage location for reference in QA32 to keep a track otherwise they are not checking those documents at all . they should go to purchasing document for storage location . Please let me know apart from development anything can be done in standard.
    Regards,
    Sowmya

  • Storage Location from USERTEMP1 not picked during Goods Issue

    Hi All,
    We had populated the USERTEMP field in FMDERIVE with the Storage Location using the steps mentioned in the following thread
    Fund Center not getting populated through FMDERIVE
    The problem is that during a Goods Issue made from MIGO, this particular field is not getting picked up in the USERTEMP (trace was set up in FMDERIVE, which showed that the USERTEMP is empty).
    But in the case of PR/PO and other purchases, the USERTEMP is getting derived properly with the storage location.
    Why is that the USERTEMP behaves differently for a Goods Purchase and a Goods Issue ?
    Requesting help from the experts on this issue,
    Thanks,
    Wy.

    Hi Eli,
    We replicated the development we did for procurement (copying from storage location into USERTEMP) by finding out the enhancement point and the code worked fine here.
    One important thing to note is that the buffer need to be cleared everytime, before a value is entered here - the USERTEMP field is static otherwise.
    Thanks for your inputs,
    Wy

  • Storage Location Prompt (F4) Not Working

    Hello,
    I have added several storage locations in the extended attributes in PPOMA_BBP. However, when in the shopping cart, I cannot prompt for a list of values.  The list of values display pop-up does not show nor does a 'No values found' pop-up show. 
    What did I miss?  Oh, and yes I did a BBP_LOCATIONS_GETALL earlier.
    Thank you in advance for any assistance.
    Dean.

    Hi,
    Check the following points:
    -The storage location's plant is also affected to the user as an extended attribute
    -The plant's company correponds to the user's company code (function tab at the company org level correctly filled)
    -The logical system of the storage location corresponds to the log syst. where the following document (PO or PR) is to be created
    Hope it helps.
    Vadim

  • Storage location value in Tcode VA01

    Hello experts,
                           I have done the enhancement for 'VA01'. According to my requirement i have to give some values to storage location for a particular order type.
    e.g if my order type is 'zwxl' my storage location should be '0001'.
    i am writing the enhancement code in program name SAPFV45P in that in include FV45PF0V_VBAP-POSNR_FUELLEN.
    the part of code is :
    IF vbak-auart = 'ZWMF'.
        vbap-lgort = '0007'.
        ELSEIF
          vbak-auart = 'ZSDR'.
          vbap-lgort = '0001'.
    but after the save i dont see my storage location in VA01 even if the order type is ZWMF or ZSDR.the storage location is blank there in VA01.
    but if i write if vbak-auart = 'ZWLF'.
    vbap-lgort = '0011'.
    else.
    vbap-lgort = '0004'.
    endif.
    for this if my order type is not ZWLF the value of the storage location appears in VA01 and that too 0004.
    what i can see while debugging is if the order type is other than my requirement for which storage location comes MTCOR-RMARD EQ 'SAPCE'.
    and if order type is amongst my requirement the value of MTCOR-RMARD is EQ 'X'.this why the field of storage location comes blank for my reuirement.
    plz help.why this is so?
    thanks n regards,
    Ashmita Singh

    thanks experts..Enhancement is working for all the order type except one..ZCRE
    AFTER entering the order type n all a pop window appears to enter billing document,
    then a information window 'The plant for item 000010 must be redetermined' occurs 
    then in the form 'VBAP_KOPIEREN_VORBEREITEN'
    after PERFORM (MODUL) IN PROGRAM SAPFV45C. VBAP-LGORT value becomes zero
    then 'The plant for item 000011 must be redetermined'.
    now value of vbap-lgort at this time before initialization is '0004'.
    after PERFORM (MODUL) IN PROGRAM SAPFV45C.
    value of vbap-lgort become '0004' again.
    The plant for item 000020 must be redetermined
    value of vbap-lgort is initial at this time.
    after PERFORM (MODUL) IN PROGRAM SAPFV45C. value of vbap-lgort becomes initial again.
    The plant for item 000021 must be redetermined
    after this vbap-lgort is 0004 again.
    PERFORM (MODUL) IN PROGRAM SAPFV45C. after this vbap-lgort = '0004'.
    The batch number of item 000011 is cancelled
    The batch number of item 000021 is cancelled.
    plz help.this is for this order type only and for rest of the
    order the enhancement is working fine.
    for Itme 10 the storage location blank
    then for Item 11 storage location is 0004
    for item 20 storage location is blank again
    and finaly for item no 21 storage location is 0004.
    below is my enhancement code.
    enhancement 1  zstorage_location.    "active version
    This is to change the storage location
    as per the order type
      if vbak-auart = 'ZWLF'.
        vbap-lgort = '0007'.
        elseif
          vbak-auart = 'ZSCR'.
          vbap-lgort = '0001'.
          elseif
            vbak-auart = 'ZRAW'.
            vbap-lgort = '0001'.
            elseif
              vbak-auart = 'ZORD'.
              vbap-lgort = '0004'.
              elseif
                vbak-auart = 'ZLCI'.
                vbap-lgort = '0001'.
                elseif
                  vbak-auart = 'ZEXP'.
                  vbap-lgort = '0010'.
                  elseif
                    vbak-auart = 'ZCRE'.
                    vbap-lgort = '0008'.
    endif.

  • Material deletion flag at storage location level is not working

    I have a material that is created in some plants and also in some storage locations within each plant. If I mark the deletion flag at plant level I am not able to create a PO -> Me051 error message appears. Whereas if I mark the deletion flag at storage location level nothing appens. I am able to create a PO and also to create to goods receipt. Is there any customization that I should do in order to get the error message?
    Thanks in advance.

    storage location level deletion flag is not checked at order creation.
    it is assumed that you can change the storage location when you do the receipt.
    MRP run is at plant level, so the requirement is valid even the storage location view is flagged for deletion.

  • Material/Serial Nbr is "Stuck" in a storage location and can not be moved

    We have a situation created by my customers which has lead to a situation I have never seen before.  A material/serial nbr. that is in our Returns location that can not be transfered, issued, removed, or anything via ANY MIGO movement type combination.
    This is what happend:
    - Customer return processed.  Material ABC, Batch XYZ with Serial Nbr. 123 brought into our "RT" StoreLoc.
    - Clerk processed MIGO to do a Stock Transfer of this material to another StoreLoc. (PS).  He entered in the material ABC, batch XYZ, and a bad serial number 1233.  He used a 453 Movement type.
    - After realizing his mistake, he processed MIGO again and processed a GI Xfer posting with a 972 movement type to get rid of the bad material/serial nbr. he had just moved to the PS StoreLoc.
    - Then he tried to redo the Stock Transfer using a 453 Movement type for the material ABC, batch XYZ, and the good serial nbr. 123, but, he gets a "Deficit of BA Ret.blocked prev. 1.000 EA " error message.
    - At this point, he contacts me to ask what can be done.
    No matter what we try to do, we can not access this part/serial nbr. combo to move it or issue it or whatever.  It is like a ghost now.  You can see the serial number via IQ03, but you can not do anything with this part/serial nbr.
    Help!  Do I need to write an ABAP to physically delete this material/serial nbr from its batch?

    Hi,
    First of all, I would assume you used customized movement type 972 to 'get rid of' your material ID with wrong serial number 1233 at PS storage location.  If this is the case, then this posting did not return the stock quantity from PS to your RT storage location and that why when you tried to make another posting (with correct serial number 123), an error message was popped up as you simply do not have available stock.  The solution in this case are -
    1)   Cancel the posting that you made previously with movement type 972.  This cancellation will help return your stock (though with wrong serial number 1233) to PS storage location;
    2)   Cancel the posting that you have posted to move your stock back from PS to RT (again with wrong serial number).  This steps ensure the stock quantity '1' is available at RT storage location;
    3)   Make another stock transfer (with correct movement type 453 and serial number 123) from RT;
    4)   Delete the serial master record 1233 so that it can no longer be used.
    Cheers,
    HT

  • SharePoint Receive Location: Value does not fall within the expected range

    Hi,
    I setup a wss receive location in BizTalk 2013 (CU2 applied) to get documents from a SharePoint 2013 infoPath Form Library, the documents were checked out but not processed by WSS adapter and BizTalk logs following error in event log
    The host instance user has 'Full Control' permission on this form library
    (the same configuration is working in another environment with different BizTalk and SP instances)
    any help would be highly appreciated
    Usman Shaheen MCTS BizTalk Server http://usmanshaheen.wordpress.com

    Hi,
    I would recommend to create a new InfoPath form and publish it to SharePoint library to see
    if the issue still occurs.
    Here is a similar thread for you to take a look:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/07438b97-2b25-431a-b94a-1ea8e08992d5/upgrade-sharepoint-2007-to-sharepoint-2010-info-path-pages-issues?forum=sharepointadminprevious
    If that doesnt fix the issue, you should go with this hotfix.
    Description of the SharePoint Foundation 2010 hotfix package (Wss-x-none.msp): July 2, 2012
    Description reads: 
    Assume that you use the metadata navigation and filter feature to filter a view of a document library. When you check in or check out a document through the menu on the ribbon, you receive the following error exception:
    System.ArgumentException: Value does not fall within the expected range. at Microsoft.SharePoint.SPWeb.GetFile(String strUrl) at Microsoft.SharePoint.ApplicationPages.Checkin.get_File() at Microsoft.SharePoint.ApplicationPages.Checkin.OnPreInit(EventArgs
    e) at System.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Rachit

  • Opening and closing balance values at storage location level

    Dear all,
    I want to know opening and closing balance values and receipts and issue values at storage location level for certain period.
    I tried with MB5B, it is not giving value at storage location level, it is giving quantities at storage location level and values at plant level. But requirement is: please see below example:
    All values are in USD          
    Storage location:      1001     1002
    Opening Balance:      2000     3000
    Receipts:                           1000      2000
    Issues:                            2000     3000
    Closing Balance:      1000     2000
    Please help in this regard (I want value of the stock only, not qty)
    Regads,
    Veerappa
    Edited by: Chinna Veerappa on Jul 27, 2010 5:27 PM
    Edited by: Chinna Veerappa on Jul 27, 2010 5:28 PM

    vlauation is at plant level (MBEW table) the storage location level does not carry values (table MARD).
    You may have to develope your own ZMB5B  program and calculate yourself what is not stored in SAP.

  • Storage location not getting determine in Sales order

    Hello All,
    Storage location not getting determined in SO, every time when i update picking i have to manually enter the storage location.
    I saw few of the response in the SCN but one thing i noticed in my system was, when i enter OVLQ i don't see OR order type, and for order type BV which is present in system assigned to MALA but still when i am creating CS order still storage location is getting determined.
    Please help me to resolve this issue.
    Regards,
    Vishwanath.

    Hi Vishwanath,
    OVLQ is Delivery type and storage location determination and not for sales order type as you assumed
    As per standard for BV cash sales order type subsequent Delivery Type is BV and hence you can see the value MALA against BV
    Just check for LF delivery type there would be storage location determination assignment
    Storage location is determined at Delivery level and not at order level
    thanks
    santosh

  • Storage Location field not appearing in Mat Doc.

    Dear All,
    While doing GR 105 for PO, the Storage Location Field is not appearing in Mat Doc. Moreover, the TO is not getting created immediately while saving the Mat Doc. I don't know why this is happening?
    The material has both Qty/Value Updation ticked and all other related configuration is perfect like Mvt. Types/Ref. Mvt. Types etc.
    Please help to resolve.
    Regards
    Samier Danish

    Dear rksap7284,
    Thanks for your inputs. As I already mentioned confirguartion is perfect yet there is no St. Loc. field being displayed while Mvt. type. 105. I'll provide more information as below:
    - PO has Acct. ***. Cat as "P" as it has WBS element.
    - Material Type is ERSA
    - GR 103 has happened.
    Awaiting your reply
    Regards
    Samier Danish

  • Storage location and post.chge storage location not in the same warehouse

    Hi All,
    We have HU managed Storage Location, and in this Storage Location we have SUT managed Warehouse, Now while Goods Receipt we have to create inbound delivery, which is working fine and i can see my stock in Goods receipt area,, later on whicle creating Transfer Order to putaway in a bin i have a error message "Storage location and post.chge storage location not in the same warehouse" please help me with this error message. Thank you for all your inputs.
    Regards
    Samuel

    Hi Nagesh,
    Thank you for the input. I am receiving Stock from vendor and while creating Inbound delivery i created the Handling Unit and also packed it and i could also post it (PG Receipt). Now when i am creating TO i have that error message. The Storage Location where i am receiving is 9001and i have also maintained the partner Storage location,,, its like this Plant(1000)-SLoc(9001)-Partner SLoc(9002).... now the Storage Location 9002 is not HU managed,, the reason i gave this Storage location is, initially i gave 9001, but system said "Storage Location 9001 and 9001 must have different management systems". So now kindly tell me what is the purpose of the partner Storage location and which storage location should i give, as my partner Storage location across "1000-9001-????" thank you again for ur inputs.
    Regards,
    Samuel

  • How can i add STORAGE LOCATION field which is not...............

    hi,
    sap gurus,
    good morning to all,
    how can i add STORAGE LOCATION field which is not in the standard tables namely
    KOMP, KOMK, and KOMG.
    how to include it in our FIELDS FROM FIELD CATALOGUE.
    if we include this field is there any impact on the standard tables.
    plz let me know this.
    bcz
    we are selling our products in two ways
    (1). one is straight from factory ie direct sales from factory
    if customer asks for excise invoice then we will sell thru factory and keeping freight in mind we will
    deliver him which ever is economical either rail or road.
    before coming to second case of selling the goods
    we will do STOCK TRANSPORT ORDER from plant to different storage locations.
    if we did STO thru road we have to sell the goods thru road only.
    if we did STO thru rail we have to sell the goods thru rail route only.
    (2). if the customer is not asking any excise invoice then we will send the goods thru depo/storage
    location which is not registered under excise.
    if the goods came by road then it will be delivered by road only.
    if the goods came by rail then it will be delivered by rail only.
    my logic here is
    basing on the
    storage location, transportation types, and distance i want to create condition record
    that captures exact frieght at the sales order level.
    confirm whether i am right or wrong.
    regards,
    balaji.t
    09990019711.

    Hi,
    It is not recommended to add new fields to any SAP standard tables. It disturbs the whole SAP functionality.
    But if you have no choice expcept to change the standard tables to meet your requirement -  then you need an access key to modify the object, which is available from the market place.
    Nevertheless, the better option is to create a 'Z' table with the required fields and use that accordingly.
    Changing standard tables will have serious impact when you apply patches or do an upgrade on the existing functionality.
    REWARD POINTS IF HELPFUL
    Regards
    Sai

Maybe you are looking for

  • SharePoint 2013 Active Directory Groups represented as c:0+.w| SID in UserInformation list instead of c:0+.w|Domain\Groupname

    Hi We are running on SharePoint Server 2013.When we add AD groups as permissions, we see that the group name is being displayed properly in the permissions. Whereas when I click on the groupname I see the SID with the Sharepoint specific claims chara

  • How To Disable Save Button in a PDF

    I have Creating One Application in Oracle Forms 6 and Run in Web In that I have Showing a Pdf Fie using a WEB.SHOW_DCOUMENT. But I have to Disable a Save and print Button in Display pdf file in a IE. It's Possible then help thx

  • Maintain settlement rule of the sender

    Dear All, Hi, I am Settling the all orders in co88 t.code, i run test run mode for all orders.At the time of running i am getting the below error: Maintain the settlement rule of the sender Message no. KD205 Diagnosis Either the settlement rule for t

  • Accordion widget and pages

    Hi I've got a website in which i've got an accordion widget of all the pages. When i click on a part of the accordion, it displays the correct page, but the accordion resets by itself when the requested page is loaded. Would it be possible to stop it

  • File Manager Mark/Unmark

    While using E63 File Manager and you want to mark many files (say 40 out of 90 files), do you have to use the menu ? Is there any button or combination of 2 buttons for Mark/Unmark command ? Thank you. E63-1 (410.21.010) 3110c (07.21) Padsticker http