Upload Sales Historical Data in R/3?

Hi Guys:
We are planning to use forecased based planning MRP Procedure ( MRP Type VV ) for Material Planning , we need historical sales data to execute the forecast.
can anybody tell me step by step how to upload 12 months historical data into SAP R/3, so that we can excute forecast based planning for a material?
Thanks
Sweth
Edited by: Csaba Szommer on May 12, 2011 9:57 AM

i need to to pull data in bw from r/3 for frieght rates
example for rate is from source to dest(in rows) and on the basis of this we have counditon types(in columns) which we will put in coloums and on the base of those cound type we will get cummulated value of master data rate.
like
source  dest   rate(based on coundition types)
now in r/3 some coundition type  are changed to new ones or we can say merged to new ones, now my question for new one i can pull no problem but what i'll do for the historical master data like coundition type in 2006 are diff and 2007 is diff
but they mapped in each othe
thx
rubane

Similar Messages

  • Upload of historical data from legacy system

    Dear forum
    We are running standard SOP with transaction MC88 in ECC6.0.
    We are doing forecasting on material/plant level, based on historical data (we create the sales plan from transaction MC88).
    Now, the problem is that we are introducing new products into SOP, but there is no historical data in SAP for those materials.
    Is there any way we can import historical data into SAP from legacy system, so that SOP would take this data into account when calculating the forecast?
    Note: we do not want to build anything in flexible planning. Just want to check whether or not it is possible to import historical values from a legacy system, to use as historical data in SAP.
    Thanks in advance
    Lars

    Thanks,
    But that will not help us.
    Any ohter suggestions out there?

  • How  to upload sales quotation data through LSMW?

    Hello i need to upload the sales quotation data from transaction VA21 for this we are using LSMW direct input method
    the program RVINVB10 is used and there are 8 segments as given below was mapped
    BVBAKKOM   Header records
    VBPAKOM      Partner records
    BVBAPKOM    Item records
    BVBEPKOM     Schedule line data
    H_BTEXHKOM Header text record
    H_BTEXLKOM  Header text line
    BTEXHKOM      Item text record
    BTEXLKOM      Item text line
    i have tried to upload the data using some test data but unable to upload. can anybody send the sample test data for it which needs to be given in flat file?
    when i debugged the program i found some problem with the function module SD_SALES_HEADER_MAINTAIN
    please let me know what are the export and import parameters to pass to this function module to work properly

    yes

  • Problem in Uploading sales order text data using LSMW

    Hi All,
    I am facing Problem in uploading open sales order data from legacy to SAP using LSMW.
    We are trying to upload sales order data using LSMW Standard Batch/Direct input using program name RVINVB10 and program type D. We are not able to upload item text but have no problem in uploading remaining data.
    the details we are passing to BTEXHKOM structure are......
    BTEXHKOM-OLDNR = IHEADER-OLDORD_NO.
    BTEXHKOM-LAISO = 'EN'.
    BTEXHKOM-TDID = 'Z009'.
    and the for structure BTEXLKOM
    BTEXLKOM-OLDNR = IHEADER-OLDORD_NO.
    BTEXLKOM-TXPARGRAPH = '/'.
    CONCATENATE LITEM-DEPTID LITEM-DEPTNAME
    INTO BTEXLKOM-TXLINE SEPARATED BY ' '.
    we have three input source structures.
    IHEADER Header structure
    LITEM Line item structure ( Material data )
    IPARTN Partners structure
    The structure relationships are
    BTEXHKOM <<< IHEADER.
    BTEXLKOM <<< IHEADER.
    Please let me know if I am doing some thing wrong or some thing else need to be done.
    Thanks,
    Chindam.

    you can pass below values also
    OLDNR         :  order number and item nuber
    TXPARGRAPH  : VBBK
    TXLINE        : your text.....

  • Sales Order data from CRM

    Hi all,
    I want to upload Sales Order data from CRM to BW with DataSource "0CRM_SALES_ORDER_I".
    The upload fails due to missing information that are needed in the first update rule of the Sales ODS "0CRM_SALO". In this update rule some formulars on data field level are created that require this information.
    Examples of fields that are not delivered from the CRM:
    0CRMLREQSCH     L. Req. Deliv. Date
    0CRM_DLVSCH     Last Delivery Date
    0CRMPAVSCHW     MAD (Requested)
    0CRMPAVSCHC     MAD (Confirmation)
    0CRMPGISCHW     Pl. GI Date (Req.)
    0CRMPGISCHC     Pl. GI Date (Conf.)
    So what is to do? Enhance the extractor or are there alternatives.
    Cheers
    jb

    Hello jb,
      Were you able to resolve your problems with Sale Order?
          thanks,
              dmitriy.

  • Issue when uploading Sales data from DSO to Cube.

    Dear All,
    I have an issue when I am uploading Sales data from DSO to Cube.  I am using BI 7.0 and I have uploaded all sales document level data to my DSO.  Then I use a transformation rule to calculate the Sales Value when I am doing DTP to cube.  Cube has customer wise aggregation data.
    In DSO I have NetPrice(KF) and Delivered_QTY(KF).  I do a simple multiplication routine in the transformation from DSO to Cube.
    RESULT =   SOURCE_FIELDS-NET_PRICE * SOURCE_FIELDS-DLV_QTY .
    At the moment I use Active Table(With out Archive) on the DSO to get the data since this is my first load.
    Issue is that the figure (Sales Value) in the cube is incorrect. I am getting a very large values which is impossible.
    Can someone please help me.
    Shanka

    Hi,
    are you sure that cube has customer wise aggregated data..since it will always aggregate the values of the key figures for the same set of characters...
    did you checked the values for the key figures as well and if even they are inflated or is the problem with this key figure only.
    During the data load the records may aggregates first for the same values of characters and then multiplication will be happening....if that is the case then you may have to multiply the values before storing it in the data package and then let it aggregate....can be achived through start routine...
    but first verify if other key figures are also having the same issue.
    Thanks
    Ajeet

  • AR Historical Data Upload

    Gurus,
      A real quick question:
    A new implementation, ECC 6.0, struggling with the historical data upload for AR. How? For me to upload history and link it to the customer, i need to upload it thru the Customer and hence the GL account (reconciliation account) and the GL account needs to be configured as a Non-Recon. account. But, when i create the customer and try to link it with a non-recon. account, it is not letting me save the master data.
       Please advice on the AR historical data upload urgently. thank you
    Achhar.

    Why would you need to have a non-rec account assigned in the customer?
    The normal posting would be, depending on your items:
    DR Customer *
    CR Load Account (whatever the name is)
    The customer would update the assigned recon account.
    Regards
    Hein

  • Upload PR/PO Historical data

    Hi
    How to upload the SAP PR/PO historical data from one system to another SAP system
    I have all relevant data table down loads from old system. Now I need to upload this PR/PO historical data into New SAP system
    there is no link between Old SAP system and New SAP system, both are owned by different orgnizations/owners
    Immediate replies will be appreciated
    Thanks & Regards
    Raju

    Hi Raju,
    Loading of PO's with transactions is problematic, since the follow-on documents can't be loaded. If it is completely closed PO and you load it to the new system, you shall block it - otherwise it will be considered in SAP.
    If you load a PO with GR > IR, the GR's can't be loaded, which means the invoice posted against this PO will remain unbalanced. You can of course close the PO by using MR11, but I think it is much easier just to skip this PO and register the coming invoice directly in FI.
    If you load a PO with IR > GR, the IR's can be loaded, which means that the coming GR will make the PO remain unbalanced. So here I would suggest skipping this order too and registering the coming GR without reference to the PO (mvt 501).
    In all my projects we only migrated completely "naked" PO's and besides, tried to minimise the number of such orders - let the buyers purchase more and complete the orders before the cut-over date - they can do it. In such case the number of open orders will normally be that low that it won't justify automatic migration. On the other hand, enetering the orders in the new system manually will be a good training for the buyers.
    If the reason for loading the closed PO's is having purchasing statisics in the new system, then this can be done very easily by updating the corresponding LIS tables directly (S011, S012). Another tip is to load the data both to the version 000 (actual data) and to some other version in these tables, so that you will always be able to copy them to 000 again whenever you need to reload LIS for some reason.
    BR
    Raf
    Edited by: Rafael Zaragatzky on Jun 3, 2011 8:28 PM

  • Upload sales order item data

    Hi All,
    I need to upload sales order item data.Could you please tell me the steps in R/3 to replicate data BW.
    Thanks
    Raj

    Hi,
    Steps to upload sales order item:
    1) Maintain extract structure (LBWE)
    2) Maintain Datasource. (LBWE)
    3) Replicate datasource in BW
    4) Assign Infosources (RSA1 - BW)
    5) Maintain comm struc/transfer rules (RSA1 - BW)
    6) Maintain infocubes and update rules (RSA1 - BW)
    7) Activate extract structures (LBWE)
    8) Delete setup tables / setup extraction (For deleting – LBWG and for setup use OLI7BW).
    9) Infopackage for delta init
    10) Set up periodic V3 update (LBWE)
    11) InfoPackage for delta load.
    Hope this helps.
    PB

  • Deletion of assigned sales area data

    Hi *,
    I am looking for a possibility to delete sales area data that were wrongly assigned to business partners. In our case the BPs were not uploaded to ECC yet.
    Any ideas?
    Kind regards
    Thomas

    Hi Thomas,
    There's no easy way to do it. You have to adapt report from note 725857 to allow deletion of sales area for specific BP. You can get also more information on notes 1955713, 1906379.
    Kind regards,
    Bruno

  • How to upload sales order line items?

    SAPGurus,
    For years my customer service department has been asking for a way to upload sales order line items into the VA01 sales order-entry screen.
    Many of our customers submit PO's with huge amount of line items, up to 1,000 lines. Our CS reps need to key in the data line by line (or copy/paste
    approx 17 lines at once from Excel into the VA01 screen), and we are looking for a way to make this process leaner. One idea we have is that user creates the order header, and then has a way to upload the material numbers and quantities in a separate (newly created Z-transaction) screen in one go.
    Obviously rules then need to be built that deal with the various pop-up messages related to e.g. ATP, material status, etc.
    Does anyone have any experience or thoughts on how we could achieve this? A way to make the sales order-entry process a bit less time-consuming? Any feedback would be greatly appreciated !
    Thank you,
    RVS

    Take the inputs from this Blog created by  SUNIL PILLAI                   
    Sales Documents upload  using Standard Direct Input Program in LSMW
    G. Lakshmipathi

  • How to get Historic Data in Oracle

    Hi,
    THe following query might be useful to generate the consecutive dates from given date to sysdate.
    SELECT dt
    FROM   ( SELECT to_date('02/19/1981','mm/dd/yyyy')+rownum-1 AS dt
           FROM    user_objects
    WHERE  TRUNC(dt)<=TRUNC(SYSDATE);NOw lets consider the basic scott.emp table
    The above requirement can be acheived using this query as we may get only 14 records as there are only 14 records in scott.emp table
    select ( to_date('02/19/1981','mm/dd/yyyy')+rownum-1) as dt
    from scott.emp If we see the scott.emp table there are 2 reocrds with empno 7499,7521 with hiredates 20-feb-81 and 22-feb-81 respectively. on pulling the historic data from19-feb-81 to 04-mar-81 as there are only 14 records in the table we need to get the sum of sal or comm as it is along with those dates in the table.
    Assuming there are more than one record for the same date for the dates mentioned above , i have used the following query but could not get the desired output.
    Select To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1,
    sum(Case When Sal>0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Sal)
    Else 0 End ) As Hist_Sal,
    sum(Case When Nvl(Comm,0)>= 0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Nvl(Comm,0))
    Else 0 End) As hist_comm
    From Scott.Emp
    Group By To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1
    order by 1; I have tried the other option also and I could get the desired output.THe query goes like this:
    --Success Statement
    Select To_Char(Rt.Business_Date , 'Day,Mon DD,yyyy') As Business_Date ,To_Date(Rt.Business_Date) As Hist_date,
    ( Select sum(sal)
    From Scott.Emp  Slm
    Where Trunc (Hiredate) = Trunc(Rt.Business_Date)
    ) as hist_sal
    FROM
    (select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt
    Where
    Trunc(Rt.Business_Date) Between To_Date('02/19/1981','mm/dd/yyyy') And To_Date('10/31/2012','mm/dd/yyyy')
    order by Hist_date;But i want to get the historic dates/data to be genearted from scott.emp table insetead of using this logic *(select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt* as written in Success Statement
    As it would be helpful for my requirement ,else I need to write subqueries for all the cols i need as i have written in the above success statement.
    please advise.
    Regards,

    sri wrote:
    Hi,
    THe following query might be useful to generate the consecutive dates from given date to sysdate.
    SELECT dt
    FROM   ( SELECT to_date('02/19/1981','mm/dd/yyyy')+rownum-1 AS dt
    FROM    user_objects
    WHERE  TRUNC(dt)<=TRUNC(SYSDATE);
    Unless you're using Oracle 8 (or older) then it's more efficient to say:
    SELECT     start_dt + LEVEL - 1     AS dt
    FROM     (
              SELECT     TO_DATE ('02/19/1981', 'MM/DD/YYYY')     AS start_dt
              ,     TRUNC (SYSDATE)                           AS end_dt
              FROM     dual
    CONNECT BY  LEVEL     <= 1 + (end_dt - start_dt)
    ;and it doesn't depend on how many rows happen to be in user_objects.
    NOw lets consider the basic scott.emp table
    The above requirement can be acheived using this query as we may get only 14 records as there are only 14 records in scott.emp table
    select ( to_date('02/19/1981','mm/dd/yyyy')+rownum-1) as dt
    from scott.emp If we see the scott.emp table there are 2 reocrds with empno 7499,7521 with hiredates 20-feb-81 and 22-feb-81 respectively. on pulling the historic data from19-feb-81 to 04-mar-81 as there are only 14 records in the table we need to get the sum of sal or comm as it is along with those dates in the table.
    Assuming there are more than one record for the same date for the dates mentioned above , i have used the following query but could not get the desired output.
    Select To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1,
    sum(Case When Sal>0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Sal)
    Else 0 End ) As Hist_Sal,
    sum(Case When Nvl(Comm,0)>= 0 And Trunc(Hiredate)= (To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1)
    Then (Nvl(Comm,0))
    Else 0 End) As hist_comm
    From Scott.Emp
    Group By To_Date('02/19/1981','mm/dd/yyyy')+Rownum-1
    order by 1; I have tried the other option also and I could get the desired output.THe query goes like this:
    --Success Statement
    Select To_Char(Rt.Business_Date , 'Day,Mon DD,yyyy') As Business_Date ,To_Date(Rt.Business_Date) As Hist_date,
    ( Select sum(sal)
    From Scott.Emp  Slm
    Where Trunc (Hiredate) = Trunc(Rt.Business_Date)
    ) as hist_sal
    FROM
    (select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt
    Where
    Trunc(Rt.Business_Date) Between To_Date('02/19/1981','mm/dd/yyyy') And To_Date('10/31/2012','mm/dd/yyyy')
    order by Hist_date;But i want to get the historic dates/data to be genearted from scott.emp table insetead of using this logic *(select ((TO_DATE('02/19/1981','mm/dd/yyyy')-1)+rnm) as business_date from (select rownum rnm from user_objects)) rt* as written in Success Statement
    As it would be helpful for my requirement ,else I need to write subqueries for all the cols i need as i have written in the above success statement.Sorry, I'm not sure what you're asking.
    Do you want to know if there's a simpler and/or more efficient way to get the same results as the 2nd query you posted above?
    Here's one way:
    WITH      all_dates   AS
         SELECT     start_dt + LEVEL - 1     AS dt
         FROM     (
                  SELECT     TO_DATE ('02/19/1981', 'MM/DD/YYYY')     AS start_dt
                  ,             TO_DATE ('10/31/2012', 'MM/DD/YYYY')     AS end_dt
                  FROM    dual
         CONNECT BY  LEVEL     <= 1 + (end_dt - start_dt)
    SELECT       TO_CHAR (a.dt, 'Day, Mon DD, YYYY')     AS business_date
    ,       SUM (e.sal)                                AS hist_sal
    FROM              all_dates  a
    LEFT OUTER JOIN      scott.emp  e  ON  e.hiredate = a.dt
    GROUP BY  a.dt
    ORDER BY  a.dt
    ;For testing purposes, it would be a lot clearer if you made the end_dt something like April 5, 1981 rather than October 31, 2012.
    I hope this answers your question.
    If not, post the results you want from the data in scott.emp, given some reasonable date range. (I suggest Nov. 16, 1981 through Jan. 24, 1982; that includes December 3, 1981 which has 2 rows with the same hiredate.)
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}

  • Error while uploading Sales View

    We have a problem while uploading sales view in the Material master.System is giving following error
    1. 'Error while updating the classification data'.
    2.Error inserting in table MARC
    Can anyone suggest a solution pl...
    With Rgds.,
    Rakesh Kumar
    09324847499

    Friend
    During material creation have you extended classification view?
    If yes Have you created class using Cl01 transaction and then giving that class name in classification view?
    ENJOY SAP
    Regards

  • Uploading sales orders in background

    Hi everyone,
    Iam trying to upload sales orders in background.As my program is a customised program of the standard sales order uplaod program RVINVB10 ,it is a direct input program which updates the tables using the function modules.
    So to run direct input programs in background we are using transaction BMV0,creating a job and running it with the desired variant.the file which has the salesorders to be uploaded is also in the application server.
    the problem is we have to upload bulk data so when ever an error occurs in the transaction BMV0,it says "Job cancelled after system exception ERROR_MESSAGE" . but my requirement is it should log the error and continue creating the other orders and log all the errors possible instead of cancelling the job.
    please help.
    Regards,
    Sravanthi

    Hi,
    One your bapi has returned the error table  'GT_RETURN'... you can use the following logic...
    LOOP AT gt_return INTO gs_return WHERE type CA 'AE'.
        CLEAR gs_bapi_errors.
        CALL FUNCTION 'MESSAGE_TEXT_BUILD'
             EXPORTING
                  msgid               = gs_return-id
                  msgnr               = gs_return-number
                  msgv1               = gs_return-message_v1
                  msgv2               = gs_return-message_v2
                  msgv3               = gs_return-message_v3
                  msgv4               = gs_return-message_v4
             IMPORTING
                  message_text_output = gs_bapi_errors.
        APPEND gs_bapi_errors TO gt_bapi_errors.
      ENDLOOP.
    * Update successful
      IF gt_bapi_errors[] IS INITIAL.
        REFRESH gt_return.
        CLEAR ls_return.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
             EXPORTING
                  wait   = c_x
             IMPORTING
                  return = ls_return.
        IF NOT ls_return IS INITIAL.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          APPEND ls_return TO gt_return.
          PERFORM store_bapi_errors.
        ENDIF.
    * Update failed
      ELSE.
        CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
      ENDIF.
    This will not interrupt your processing...

  • How to fill a new single field in a Infocube with historical data

    Hello Everybody,
    We have an SD infocube with historical data since 1997.
    Some of the infoobjects (fields) of the infocube were empty during all this time.
    Now we require to fill a single field of the infocube with historical data from R/3.
    We were thinking that an option could be to upload data from the PSA in order to fill only the required field (infoobject).
    Is it possible? is there any problem doing an upload from the PSA requests directly to the infocube.
    Some people of our team are thinking that the data may be duplicated... are they right?
    Which other solutions can we adopt to solve this issue?
    We will appreciate all your valuable help.
    Thanks in advance.
    Regards.
    Julio Cordero.

    Remodeling in BI 7:
    /people/mallikarjuna.reddy7/blog/2007/02/06/remodeling-in-nw-bi-2004s
    http://www.bridgeport.edu/sed/projects/cs597/Fall_2003/vijaykse/step_by_step.htm
    Hope it helps..

Maybe you are looking for

  • Error while running: J2SE 1.4 or later cannot be found

    Hi, I just installed Java studio Enterprise 8. Installation is smooth. When I tried to run, it throws an error saying "J2SE 1.4 or later cannot be found on your machine". I know it is straight forward. But, all my other applications are able to find

  • [Solved] Microsoft Bluetooth Notebook Mouse - Scrolling

    Hi All, I have been able to pair my Microsoft Bluetooth Notebook Mouse 5000 with my new installation of Arch. All buttons work, and mouse movement is fine. However. I have been unable to get the scroll to work. I have been trying to achieve this usin

  • Openldap referral to DS 5.2?

    My dept is deploying Sendmail Advanced Messaging Server (SAMS). It stores its user preferences and the userid and password in its own supplied openldap. How can I get openldap to use our DS 5.2 for user authentication? Instead of mirroring userids an

  • IPod music not supported

    my new iPod Hi-Fi seems not support my old version iPod click wheel, what's wrong? iTunes related?

  • SQL Server services accounts using Managed Service Accounts

    Hi guys, Need your feedback on something, is it wiser to use Managed Service Accounts or normal domain accounts to run SQL Server services? MSA's only work in a single computer, so for every environment I would need to create a new set of sql service