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

Similar Messages

  • 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

  • Data for Storage Location of Material Doc. stored in table QAMB

    Hi,
    I am developing a report in which i have to fetch data on the basis of inspection lot and i want to have the STORAGE LOCATION data for inspection present in the QAMB table(QM: Link Between Inspection Lot and Material Document).
    I am not able acess the data which stores info. about the storage location about it.I had tried to reterive the data for it through MSEG table but it is having large amount of data in it as i will not retirive through it and i am able to acess the desierd data through QAMB.
    Is there any way to reterive the data for the storage location..

    Hi Sanku,
    I had checked the table T001L  you had mentioned but it does not have any  link with the table QAMBor material present in the material document... The storage location present in QALS is when the material is for the Mvt Type 101 but when it is move to *unrestricted(321 Mvt.Type) *it goes to some other specified location.. that storage location i am looking for ...
    I hope you will guide me out for it...
    Edited by: nav009 on Nov 17, 2009 11:39 AM
    Edited by: nav009 on Nov 17, 2009 11:41 AM

  • Storage Location Wise Stock Value field and Table

    Hi ,
    Please let me know the storage location wise stock value field and table.
    Regards
    Suresh

    Hi Suresh,
    As per my understanding it is not possible in a single Table.
    If this is required for customized Z report then use this logic it may gives the correct information.
    In the combination of MARD and MBEW.. From MBEW you can get the value for each Base Unit of Measure then multiply that value with storage location stock.
    It may usefull to u..in the mean time i will try for some other option.
    Please revert if u have any query.
    Regards
    Durga Sana

  • 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.

  • Why APO transaction data is not stored in tables

    Hi All,
    Why APO transaction data is not stored in tables.
    can u explain me.
    Babu

    Good question Babu,
    There indeed are tables for master data in APO database whereas the transaction data (qty, amount, dates and document numbers) are stored in a denormalized data base called livecache. But the master data too is identified with GUID's.. a cryptic and unique number given to e.g. a location, prodcuct, t/lane, customer and documents. This is because of speed of access if e.g. an external system is to fetch an information from APO using a unique session ID, instead of making a sequential read in APO tables, it read the live cache by called the GUID's that the calling characterics of the event. If one or more ECC system or an external execution system is connected to APO and one of the system collapses and rebuild again or if a system is assigned to a new business system group etc.. then its likely that systems can be out of sync and its where the live cache syncs up the data with APO tables again. If you still want to see tables in human readable format.. there are views available e..g the tables for locations LOCID and table for products MATLOC would take only GUID as inputs but the view V_MATLOC will show you the materials and locations by the numbers you know.
    Hope I was able to explain. But yes the why part is still something of a mystery to me.. becasue with transparent tables it is easier to create local reports in APO and thats what probably SAP doesnt want. SAP can answer best as to what were the initial user and commercial considerations when developing APO
    Regards,
    Loknath

  • Data form not saving enter data after hit of submit

    Hi,
    Entered data on Data from not saving after hitting the submit button in smartview.
    A rules is attached to the same data from and its running on save, after retrieve it's not display enter data.
    it's urgent, please help.
    Regards

    You need to have the below updates done on the affected PC.
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings]\
    "ReceiveTimeout"=00dbba00 (hexadecimal)
    "KeepAliveTimeout"=300000 (decimal)
    "ServerInfoTimeout"=300000 (decimal)
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]\
    "ReceiveTimeout"=00dbba00 (hexadecimal)
    "KeepAliveTimeout"=300000 (decimal)
    "ServerInfoTimeout"=300000 (decimal)
    if its windows 7 machine the same key has to be added under wow6432node under same path.
    once the changes are done reboot the machine and try launching the BR. Hope it works !!!
    Thanks
    Amith

  • How to extract the data from the chart. Data were not saved

    Hi everyone. Beginners question, but could not find an answer to it
    How can I get the numerical data from the chart. Chart is already on the screen and data vere not saved into file during VI run. All I have - just chart, but I need numbers       
    Thanks
    Message Edited by olka on 07-18-2007 09:41 AM

    You can still do it, the process just changes a bit...
    Copy the control to a new VI as before, and change it into a control.
    Create the diagram shown in the attached screen shot.
    Run the new VI. You will get two arrays: one of x-axis values and one of y-axis values.
    Mike...
    Message Edited by mikeporter on 07-18-2007 12:21 PM
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
    Attachments:
    extracting xy data.JPG ‏5 KB

  • 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

  • HELP: Formula Item data is not saved to database

    Hi:
    I've added a formula in a database item but when i commit the form the data is not saved to the database. When i am working on form the item reflects the formula value, but when i commit the value is not stored in the database.
    I need urgent help.
    Thanks
    Joao Oliveira

    It is not clearly stated in the help file I agree. With a little PLSQL code you could copy the item to a hidden database field and have it be saved to the database. See Note 43012.1 on Metalink for details.

  • Data is not saaving custom tables

    hi all
    i created blank record for this
    public void xxcrmCompanyCreate(int orgid)
    xxcrmCompanyCreationCompanyVOImpl company =
    getxxcrmCompanyCreationCompanyVO1();
    xxcrmCompanyCreationPersonVOImpl person =
    getxxcrmCompanyCreationPersonVO1();
    xxcrmCompanyAddressTVOImpl address = getxxcrmCompanyAddressTVO1();
    xxcrmcompanyphoneEmailTVOImpl phone = getxxcrmcompanyphoneEmailTVO1();
    Number pid = getOADBTransaction().getSequenceValue("XXCRM_PERSON_SEQ");
    Number aid = getOADBTransaction().getSequenceValue("XXCRM_ADDRESS_SEQ");
    Number companyid =
    getOADBTransaction().getSequenceValue("XXCRM_COMPANY_SEQ");
    Number contactid =
    getOADBTransaction().getSequenceValue("XXCRM_CONTACTID_SEQ");
    /*Create Blank record for Company*/
    if (!company.isPreparedForExecution())
    company.setMaxFetchSize(0);
    Row companyrow = company.createRow();
    companyrow.setAttribute("CompPrimarypersonid", pid);
    companyrow.setAttribute("CompCompanyid", companyid);
    companyrow.setAttribute("CompPrimaryaddressid", aid);
    company.insertRow(companyrow);
    companyrow.setNewRowState(Row.STATUS_INITIALIZED);
    /*Create Blank record for Person*/
    if (!person.isPreparedForExecution())
    person.setMaxFetchSize(0);
    Row personrow = person.createRow();
    personrow.setAttribute("PersPersonid", pid);
    personrow.setAttribute("PersCompanyid", companyid);
    personrow.setAttribute("PersAddressid", aid);
    personrow.setAttribute("OrgId", Integer.valueOf(orgid));
    person.insertRow(personrow);
    personrow.setNewRowState(Row.STATUS_INITIALIZED);
    /*Create Blank record for Address*/
    if (!address.isPreparedForExecution())
    address.setMaxFetchSize(0);
    Row addressrow = address.createRow();
    addressrow.setAttribute("AddrAddressid", aid);
    addressrow.setAttribute("CompCompanyid", companyid);
    addressrow.setAttribute("CompPersonid", pid);
    addressrow.setAttribute("OrgId", Integer.valueOf(orgid));
    address.insertRow(addressrow);
    addressrow.setNewRowState(Row.STATUS_INITIALIZED);
    /*Create Blank record for Phone*/
    if (!phone.isPreparedForExecution())
    phone.setMaxFetchSize(0);
    Row contactrow = phone.createRow();
    contactrow.setAttribute("PhonContactid", contactid);
    contactrow.setAttribute("PhonCompanyid", companyid);
    contactrow.setAttribute("PhonPersonid", pid);
    contactrow.setAttribute("OrgId", Integer.valueOf(orgid));
    phone.insertRow(contactrow);
    contactrow.setNewRowState(Row.STATUS_INITIALIZED);
    in my phone vo data is not saved
    remaining vo's data is saved
    Regards
    Sreekanth

    Hi Srikant,
    Correcting the last part.
    if (!phone.isPreparedForExecution())
    phone.setMaxFetchSize(0);
    Row contactrow = phone.createRow();
    contactrow.setNewRowState(Row.STATUS_INITIALIZED); //If in last, This line stops your vo row from commiting.
    contactrow.setAttribute("PhonContactid", contactid);
    contactrow.setAttribute("PhonCompanyid", companyid);
    contactrow.setAttribute("PhonPersonid", pid);
    contactrow.setAttribute("OrgId", Integer.valueOf(orgid));
    phone.insertRow(contactrow);
    contactrow.setNewRowState(Row.STATUS_NEW); //Now infact this line can also be remved, if you wish to remove.
    Use Above.
    Abdul Wahid

  • 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

  • When i attach workflow to document library, the custom columns data is not saving.

    Hi, i had created SharePoint designer workflow (send Email) for Document Library.
    I had created Custom columns like.
    "Employee Name" of type Person or Group  
    "Resume Type"  of type Choice 
    When i attach my workflow to document library, the columns data is not saved.
    It is just uploading resume, and sends email to the user groups, but data is not saved for custom columns. !.e "Employee Name" and "Resume Type".
    Any help will be appreciated.

    In SharePoint Document Library, first the document will be uploaded and then the metadata will be updated. So, in your workflow settings, select start workflow when item is changed instead of item is created and then try. 

  • I keep getting this message when I try to open FCP X.  "The storage location 'brianmassman1' on this computer is already in use by "brianmassman1" on "Brian-Massmans-Computer-7". To access the location, quit Final Cut Pro on "Brian-Massmans-Computer-7" or

    I keep getting this message when I try to open FCP X.  "The storage location 'brianmassman1' on this computer is already in use by 'brianmassman1' on 'Brian-Massmans-Computer-7".  To access the location, quite Final Cut Pro on 'Brian-Massmans-Computer-7' or remove the location."
    I have no idea what this means.  Particularly the part about "Brian-Massmans-Computer-7."  I don't even know what computer that is. 
    I'm guessing it could have something to do with the fact that I've still got FCP 5 installed.  But it's not running.

    Try repairing permission in the Disk Utility and rebooting,

  • How to find out each Cell having Data or Not in Excel File by Using WDJ

    Hi Friends,
    I have one doubt on WDJ.
    I have to Upload Excel File. Click on Upload Button in Excel file Data will move to One Bapi. This is I was done. But my Requirement is if any empty Cell in Excel That File not uploaded it display one error message Please upload Correct Excel File
    How to find out each Cell having Data or Not in Excel File by Using WDJ. Please tell me.
    By Using this Code I have Upload Excel File
    InputStream text = null;
         int temp = 0;
         //wdComponentAPI.getMessageManager().reportSuccess("filePath Vijay:::");
         try
                   File file = new File(wdContext.currentContextElement().getResource().getResourceName().toString());     
    FileOutputStream op = new FileOutputStream(file);
                   if (wdContext.currentContextElement().getResource()!= null)
                          text = wdContext.currentContextElement().getResource().read(false);
                             while((temp=text.read())!= -1)
                                  op.write(temp);
                                  op.flush();
                                  op.close();
                                  path = file.getAbsolutePath();
                                  //wdComponentAPI.getMessageManager().reportSuccess("Path Name :::::"+path);
         catch(Exception ex)               
                   ex.printStackTrace();
    But my Requirement is If excel having any Empty Cell that excel file not uploaded.How to do this...
    Regards
    Vijay Kalluri

    Hi my friend
    I would like to share you some APACHE APi´s that i use when i have to read excel files in Web Dynpro.
    JAR = poi-3.2-FINAL-20081019.jar
    Some Example:
    POIFSFileSystem fs;
    HSSFWorkbook wb;
    HSSFSheet sheet;
    String myMexican_ValueFromExcelis = "";
    try {
             fs = new POIFSFileSystem(new FileInputStream();
             // and select the cell "y"
            cell = row.getCell( 0 );
            myMexican_ValueFromExcelis = cell.getCellValue();  
    }cach(Exception e){
    REgargds

Maybe you are looking for

  • Can you listen to iTunes on two computers at the same time?

    If I've got iTunes playing on one computer, is it possible to listen on another computer on the same network what's playing on the first computer? I've often got two computers on the go over two floors and it would be smart if they were playing the s

  • At my wits end with my Stratosphere

    I've had it!  I have literally spent hours trying to remedy the problems I'm having with my phone.  I'm having the same problems that others have discussed since the "update".  I've done all the suggested things, including the hard reset, to no avail

  • Neither of my apple tv's will load the watchabc-watchdisney apps.

    I have Centurylink.  An actiontec pk5000 modem.  Neither of my Apple tv's will load the abc or disney apps.  They sit on the Accessing Abc screen.  When I run the atv off of my iphone lte, it loads right up.  I have reset, restored and all that jazz.

  • Getting video from iPhone

    How do I get a 4 minute video from my iPhone to my MacBook Pro? Can't seem to get AirDrop to do it. Thanks.

  • Architecture Sanity Check

    I'm just getting started with TopLink and need some architectural advice. My TopLink project will be used by two different web applications that may or may not be hosted on the same server. The first application uses Jakarta Struts to create a web in