Initial load of inventory level from csv - double datarows in query

Hello everybody,
a query result shown in a web browser seems strange to me and I would be very glad, if anyone can give me some advice how to solve the problem. As I do not think that it is related to the query, I posted it into this forum.
The query refers to an InfoCube for inventory management with a single non-cumulative key figure and two other cumulative key figures for increase and decrease of inventory. The time reference characteristic is 0CALDAY. The initial load has been processed reading from a flat file (CSV), the structure looks like this:
Product group     XXX
Day               20040101
Quantity          1000
Increase          0
Decrease          0
Unit               ST
The initial load runs fine, the system fills all the record sets into the InfoCube. Unfortunately I do not know how to look at the records written into the cube, because only the cumulative key figures are shown in InfoCube-> Manage-> Contents.
Well, when executing the query, a really simple one, the result is just strange, because somehow there are now two rows for each product group with different dates, one with the 1st of January, 2004 and the other for the 31st of December, 2003 containing both 1000 units. The sum is 2000.
It became more confusing, when I loaded the data for increase and decrease: now the quantities and sums      are correct, but the date of the initial load is a few days later than before, the data table in the query does not contain the 1st of January.
Does anybody know, what I did wrong or where there is information about how to perform an initial load of inventory from csv in a better way?
Kind regards
Peter

Peter,
Inventory is not that straight forward to evaluate as it is non-cumulative. Basically it means that one KF is derived from one/two other KFs. You cannot see non-cumulative KFs in manage infocube.
Have you uploaded opening balances separately? If so, your data for 31st of december is explained.
In non-cumulative cubes, there need not be a posting for a particular day for a record to exist. For e.g. if you have stock as 10 units on 1st and then no posting for 2nd and 3rd and then increase 10 units on 4th, even for 2nd and 3rd, the non-cumulative KF will report as 10 units (stock on 1st rolled forward).
There is a how to...inventory management document on service market place that explains this quite nicely.
Cheers
Aneesh

Similar Messages

  • Initial load of sales orders from R3 to CRM without statuses

    1) Some sales orders were uploaded into CRM without statuses in the headers or line items. 
    2) Some sales orders were uploaded without status, ship-to, sold-to, payer.....If I deleted them and use R3AR2, R3AR4 to upload each individual then no problem.
    Any ideas or suggestions?
    Thanks.

    Hi,
       Request load of adapter objects uses different extractor modules for extracting the data from external system to CRM. While your initial load of sales docs. will use a different extraction logic bases on the filter conditions specfied on trx.
    R3AC1
       There may be a problem in the extraction of data from the source system (don't know if you are using a R/3). Can you please de-register the R/3 (i suppose) outbound queue using trx.
    SMQS
    , and then debug the extraction (R/3 outbound) before the data is sent to CRM using FM
    CRS_SEND_TO_SERVER
       If this goes well, you may try debugging the mapper in CRM inbound and the validation module in CRM as a last resort. Also, please refer to trx.
    SMW01
    to see if the Bdocs are fully processed.
    Hope this helps...Reward if helpful.
    Regards,
    Sudipta.

  • Initial Load for Master Data from R/3 to CRM

    Hi Middleware Experts,
        I have an ambiguity on initial load of enhanced master data from R/3 to CRM. The current situation is
    1)I have already enhanced master data on R/3 side with some additional fields. Now shall i go ahead with standard intial load of these Master data to CRM without creating middleware interfaces to map those enhanced fields on CRM side?
    2)Also after doing initial load from R/3 to CRM, if I develop middleware interfaces for mapping these new fields of master data and then again do the initial load, so that new fields also get mapped, will the initial load be done properly as i have already done it once? will it overwrite the previous initial load data on CRM side properly?
    Please suggest whether it can be done or not and which is the better option.
    Regards,
    Rahul

    Hi Rahul,
    Since you have not done the mapping yet the middleware will not bring those fields to CRM it will work just like a standard initial load without considering the enhanced master data field.
    When you develop the middleware interface and enhance the CRM data structure also and then you can see the exchange of those fields through MW. You can start the intial load at that time also its not that you can do the initial load just once. But the better option would be that you avoid doing initial load several times because its time consuming activity. You do all the enhancement and then finally perform the initaial load.
    <b>Allot points if my post helps!!</b>
    Best regards,
    Vikash.

  • Initial load of custom table from r3

    Hello all,
    I am pretty much new to crm, with the documentation i had i was able to create a site for my r3 system in crm.
    Initially i created a z table in my r3 system and crm system. i loaded some data into r3 ztable. i just want to replicate the data into my crm system.
    If some one tell me if i need to create any custom function module to create adapter object in crm system. and also necessary steps from here on to perform the required task.
    Any doucment regardig could be sent to: [email protected]
    Thanks,
    Krishnam Raju.

    Hi,
      You need to perform a number of steps to result in the intial load of a z-R/3 table to a Z-CRM table. Here are some hints although I do not have a detailed document for this. May be you should try looking the CR 550 SAP course for <i>'Enhancing CRM middleware'</i> -
    1. Create a Bdoc structure and model a mBdoc using the Bdoc Modeller in CRM.
    2. Create a Adapter object in trx.
    R3AC1
    giving all details of the Bdoc type and tables used in source and destination systems.
    3.  You need to create an extract function module for extracting the data from Z-r/3 table. This needs to be part of crmsubtab mw table.
    4. You also need to create a mapping function module in CRM for mapping the data received from the R/3 plug-in to the mBdoc structure. Insert this in the appropriate tab of trx.
    R3AC1
    5. Create a validation module which validates the data before persisting into the CRM z-table. This should be part of MW table smw3bdocif.
    6. Once everything is in place, you can start the load using trx.
    R3AS
    . Monitor using
    SMW01
    7. Use the trx.
    SMQR
    to deregister the inbound queues and debug the CRM inbound. You can debug the R/3 outbound using
    SMQS
    Hope this helps. Reward if helpful.
    Regards,
    Sudipta.

  • System only loading the first column from csv

    Trying to load data from Excel saved as csv, but the preview and PSA shows data loaded only for the first column from the csv file. All other columns are not loaded from the csv. Changed the lengths of the fields from the datasource to match the ones in the csv to 8, but it only seems to load the first column. What could be the cause?

    Hi
    Check the file format once and general tab in Data source(make sour you selected comma separated file and symbol)
    check below link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/01ed2fe3811a77e10000000a422035/frameset.htm
    Regards,
    Venkatesh

  • Initial load of user data from differnet applications

    How can we match the different IDs from different applications when we load first time.
    Have we to do this manually or is there any functionality to do this automatilliy like CUA.
    Thanks
    Gabi

    Hi Matthias,
    It's slightly an opne ended question. It depends a lot on which systems you are consolidating from. Is it just ABAP systems?
    As a general concept - you need to decide which will be your unique identifier for the identity (Employee ID, ID number, social security code, etc). After you've done that you need to adjust each import/consolidation job and map the proper attributes.
    If you have 1 field that is identical for the user in all you systems, you have most of the work cut out for you.
    Regards,
    Eric

  • Initial load of BP through Middleware

    Hello,
    I try to do the initial load of Business Partners from R/3 into the CRM system. The monitor displays, the load has been done succesfully (green light), but no business partners appear in the CRM. Can someone help me?
    Points will be awarded
    Thanx, Peter
    btw: does anybody have some document about setting up the Middleware to transfer data from R/3 to CRM and vice-versa?

    Peter, before you can load the BP from R/3 to CRM you need to do some mandatory configuration which - on high level - are:
    1 - Map BP Master Data from R/3 to CRM
    2 - Map BP Master Data from CRM to R/3
    3 - Synchronize field settings between R/3 and CRM
    4 - Configure field attributes
    5 - Execute actual BP replication
    For details on how to execute these configuration stepse steps have a look at http://help.sap.com, select here SAP Best Practices -> Cross-Industry Packages -> CRM. In the CRM Best Practices select Business Information and Preconfigured Scenario's, select (ob right hand side) a sales related scenario, e.g. Internet Sales and select Building Block B09: CRM Replication. In the actual Building Block navigate to page 45 and execute the steps accordingly. Hope this helps, Tiest.
    Message was edited by: Tiest van Gool

  • Error in DNL_CUST_PROD1 Initial Load

    While attempting to carry out the initial load for object (DNL_CUST_PROD1) from R/3 to CRM an inbound queue is generated with status SYSFAIL containing the following error message:
    It is not posible to import material type to hierarchy ZBP_CRM_PT....
    (Message no. SR053)
    The Hierarchy mentioned in the message refers to one that was created manually in CRM before the initial load.
    It was under my understanding that the only hierarchy impacted by the initial load was the R3MATCLASS, then why is this error generated for another hierarchy that should not be involved?
    Regarding this issue I feel I have two options:
    1. Delete the hierarchy in CRM and restart the initial load. (The only problem here is that I have found it really dificult to carry out the deletion, because it means I have to delete products and IObjects created in CRM that are associated to this hierarchy)
    2. Try to find a way to prevent error to appear in the inbound queue. (for example in debugging try to bypass the logic that processes the manually created hierarchy)
    Please I would greatly appreciate to get an answer from anyone that has encounterd similar problems.
    Thanks in advance,
    Pedro

    Dear  Efrain Pacheco 
      Just have a look into the corresponding  entry  in ST22 .
      The problem persists due to the duplicate entries in the table T023 or .
      Delete them directly from the table using se16:
      Select the entries in the classic view (not ALV or grid view). activate the debugger.
      Press the view button. --> you'll enter in the debugger
      Press F7
      Locate the sy-ucomm variable & change it to "DELE".
      Press F8
      Delete the entries.
      Trick-shots but it works!
      Let me know in case of any persistent problems .
    <b>  Note: Reward points if it helps</b>
    Thanks & Regards
    Jaman

  • Error during initial load of object SI_CONNOBJ

    Hi All,
             I am not able to do initial load of object SI_CONNOBJ from OLTP R/3 to CRM using transaction R3AS. It is in "Abort" Status. When I am checking the relevant Bdoc generated for the same it is giving me the error as "No data records in transport structure BAPIMTCS Message no. IBSSI_CRMTO_MESSAGES010 ". Please help me in this regard.

    Hello Aishuman,
    I am not sure what your question is. Yes, of course, you must have connection objects in the IS-U system. Otherwise, what do you want do download to CRM? You must have have the middleware in general and also the adapter SI_CONNOBJ enabled in the IS-U system. I am sure you know, that an IS-U connection object is represented as an IBASE in CRM.
    Does a delta replication work (from IS-U to CRM and from CRM to IS-U)?
    Kind regards,
    Fritz

  • Help - Item Assignment at Inventory Organization level from the Interface

    Hi,
    I have developed an Inventory Item upload Interface (MTL_SYSTEM_ITEMS_INTERFACE Table) for Oracle Apps R12.
    It works fine in uploading the Items to Master Org which the template is created. But When I tried to upload at Inventory Organization level it returns an error says 'Template or Template ID is not assigned for the Organization'.
    How can I assign/upload the Item at Inventory Organization Level? I have already tried the Organization Item Assignment Report, It works fine and assign the Items to relevant Organizations. But the parameters are Item Range which I cant use those parameters.
    Please help me to Upload items at Inventory Organization level from the Interface.
    Thanks

    open any delivery.
    1. select any delivery item number( double click).
    2. go to text tabstrip of the item.
    3. select the text type and double click on the blank space where we write some texts will give you new screen for writing text will give you text screen.
    then in menu: goto->header will popup screen with details given below.
    text name: delv+item num
    Language: 'EN'
    text ID:  '0001'       " for first text type and so on.
    Text Object: 'VBBK'
    ****CODE.
    data: ist_text type table of tline,
          wa_text  type tline.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
       CLIENT                        = SY-MANDT
        id                            = 'textid'
        language                      = sy-langu
        name                          = 'textname'   " its concatenation of Dlv no. and item number.
        object                        = 'VBBP'
      tables
        lines                         = ist_text
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
       WRONG_ACCESS_TO_ARCHIVE       = 7
       OTHERS                        = 8
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Reward points if helpful.
    Regards
    Ashok

  • " (quotes) is column values when loading data from csv to oracle table

    I am loading a data from csv file to an oracle table.
    After the data is loaded , lets suppose the value in one column is X.
    when i write a query to fetch data like
    select * from table where col='X' then it gives no output.
    On investigating it was found that the value is stored in col as "X".
    This also happens when i copy paste the value from column to some text editor ....
    i want to remove these double quotes , and also want to know why these are coming...
    Any suggestions guys ?
    Thanks
    Using Oracle 10g

    These quotes are part of your data file. Most CSV-parsers remove those quotes.
    If you are using an external table you can remove them by something like this for your access parameters
    ORGANIZATION EXTERNAL
      TYPE ORACLE_LOADER
      ACCESS PARAMETERS
        RECORDS DELIMITED BY NEWLINE
        FIELDS TERMINATED BY ','
        OPTIONALLY ENCLOSED BY '"'
    But if you want to remove them from your existing data use this
    update your_table
      set col1 = trim( '"' from col1 )
    Note that in some CSV-files wich use an enclosing character the enclosing character is itself is used as an escape character to use the enclosing character inside a field.
    For example a field might be "Some text with ""this"" enclosed"
    To correct these fields you might use another update
    update your_table
      set col1 = replace( col1, '""', '"' )

  • Loading data from .csv file into Oracle Table

    Hi,
    I have a requirement where I need to populate data from .csv file into oracle table.
    Is there any mechanism so that i can follow the same?
    Any help will be fruitful.
    Thanks and regards

    You can use Sql Loader or External tables for your requirement
    Missed Karthick's post ...alredy there :)
    Edited by: Rajneesh Kumar on Dec 4, 2008 10:54 AM

  • Loading data from .csv file into existing table

    Hi,
    I have taken a look at several threads which talk about loading data from .csv file into existing /new table. Also checked out Vikas's application regarding the same. I am trying to explain my requirement with an example.
    I have a .csv file and I want the data to be loaded into an existing table. The timesheet table columns are -
    timesheet_entry_id,time_worked,timesheet_date,project_key .
    The csv columns are :
    project,utilization,project_key,timesheet_category,employee,timesheet_date , hours_worked etc.
    What I needed to know is that before the csv data is loaded into the timesheet table is there any way of validating the project key ( which is the primary key of the projects table) with the projects table . I need to perform similar validations with other columns like customer_id from customers table. Basically the loading should be done after validating if the data exists in the parent table. Has anyone done this kind of loading through the APEX utility-data load.Or is there another method of accomplishing the same.
    Does Vikas's application do what the utility does ( i am assuming that the code being from 2005 the utility was not incorporated in APEX at that time). Any helpful advise is greatly appreciated.
    Thanks,
    Anjali

    Hi Anjali,
    Take a look at these threads which might outline different ways to do it -
    File Browse, File Upload
    Loading CSV file using external table
    Loading a CSV file into a table
    you can create hidden items in the page to validate previous records before insert data.
    Hope this helps,
    M Tajuddin
    http://tajuddin.whitepagesbd.com

  • Loading records from .csv file to SAP table via SAP Program

    Hi,
    I have a .csv file with 132,869 records and I am trying to load it to an SAP table with a customized SAP program.
    After executing the program, only 99,999 records are being loaded into the table.
    Is there some setting to define how many records can be loaded into a table? Or what else could be the problem?
    Pls advice.
    Thanks!!!

    hi Arun ,
    A datasource need a extract structure to fetch data .It is nothing but a temp table to hold data.
    First you need to create atable in SE11 with fields coming from CSV file.
    Then you need to write a report program to read you CSV file and populate your table in BW .
    Then you can create a datasource on top of this table .
    After that replicate and load data at PSA and use to upper flow.
    Regards,
    Jaya Tiwari

  • How to load the data from .csv file to oracle table???

    Hi,
    I am using oracle 10g , plsql developer. Can anyone help me in how to load the data from .csv file to oracle table. The table is already created with the required columns. The .csv file is having about 10lakh records. Is it possible to load 10lakh records. can any one please tell me how to proceed.
    Thanks in advance

    981145 wrote:
    Can you tell more about sql * loader??? how to know that utility is available for me or not??? I am using oracle 10g database and plsql developer???SQL*Loader is part of the Oracle client. If you have a developer installation you should normally have it on your client.
    the command is
    sqlldrType it and see if you have it installed.
    Have a look also at the FAQ link posted by Marwin.
    There are plenty of examples also on the web.
    Regards.
    Al

Maybe you are looking for

  • How can I use Greek symbols in a text in Pages? Greek symbols are not in the special character list.

    How can I use Greek symbols in a Pages text? Greek symbols are not included in the special character collection. I need to import for example a sigma from Word or Adobe illustrator and then Pages can recognise it. I can not find it from within Pages.

  • Interactive Reporting 11.1.2.1 Questions

    I have a few questions regarding Interactive Reporting 11.1.2.1 after being unable to find anything out researching extensively here and in multiple blogs, search engines, readme's, admin guides, etc. I have not had training in IR yet....my going to

  • Repairing Permissions and Got this Message????

    Hi, MacBook has been acting up lately. Just little things like stalling when opening aps and just plain iffy. Decided to repair permissions tonight and got these messages which looked unlike anything I'd seen in seven years of Mac ownership. Can anyo

  • Audio Level Broadcast quality in Final Cut ProX

    At which volume level shall I keep the final video movie to broadcast? When it shows -6db to -12 db on the audio meter level is that OK? Basically what's the level above which I should not go? Thanks, Jacqui

  • Applying validation checks and generating error

    Hi All, I am new to Informatica project . I have a client requirement of loading the source data to prestage table after removing header and footer (storing to separate table) , then load pre stage table to stage after validating few checks and after