Open Sales Order Migration

Hi all,
We want to migrate every open sales order, but only with non delivered items.
In which way (LSMW, BAPI, etc) we can assure that only opened items from SO are migrated and all data (original document date, etc) is exactly the same?
Thanks in advance.
FT

Thanks for your answer Lakshmipathi.
Let me put the question in other way:
If I'll have opened quantities, which is better way to migrate old SO? I've found a bapi that copies exactly old SO to new ones (bapi_salesdocument_copy) but it takes every item, opened or not.
By the way Is there any BAPI that lists all opened quantities?
Thanks
FT

Similar Messages

  • Open sales order migration using lsmw

    Hello guys iam migrating open sales order and iam having header  fields
    AUART
    VKORG
    VTWEG
    SPART
    KUNNR
    KUNNR
    BSTKD
    BSTDK
    VBEGDAT
    VENDDAT
    item fields  are
    MATNR
    ZMENG
    SPART
    ISMACTIVATION
    what is the standard object available for this migration in lsmw.?i thought of using
    0090 salesdocument standrd object using direct input method but field ismactivation is not available in that object.
    if i go for bapi method salesorder_createfromdat2 i couldnt find the above fields for mapping in that object.but some of the guys in this forum used this bapi method  for this type of migration i dnt how they did it can u please suggest solution for this .
    Regards
    Janapathi

    Hi!
    In the given BAPI, the field names are different. You have to match them using their description or data type.
    If you check this BAPI in transaction SE37, on hte Import tab, click on the BAPISDHD1ref type.
    Here you can find the field DOC_TYPE (type AUART). With this way, you can find the matching fields.
    Regards
    Tamá

  • Open Sales Order Migration - LSMW (Guide)

    Hello
    I search for some guide how to migrate with LSMW open orders. I have earlier migrated with LSMW other data, but not open sales orders.
    Should I use Batch or BAPI? If BAPI, which Methode and Bisness-Object use?  Can someone  send me instruction step-by step?
    Thanks in advance.
    /Margaret

    Hi,
    If you want to use LSMW then you need to create two recordings,
    Header Data(T.Code: VA01)
    Item Data(T.Code: VA02)
    Header Recording Data:(VA01)
    1.Sales OrderType
    2.Sales Org
    3.Distr Chl
    4.Div
    5.Sold-To
    6.PO No.
    7.Data
    8.Plant(If required)
    9.Material (First line material)
    10.Qty & mandatory field as per ur system requirement.
    Item Recording Data:(VA02)
    1.Sales Document No.
    2.Item No.(20,30 etc)
    3.Material Code
    4.Qty & mandatory field as per ur system requirement
    I uploaded the same way...[LSMW|http://www.sap-img.com/general/lsmw-steps-for-data-migration.htm]
    Barathi

  • Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using

    Hi Experts,
                 I've to Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using Business Objects with a new SALES ORDER DOCUMENT NUMBER referencing the older one.
               I'll get all the required data with field in an excel file.
                 Does any standard transaction exist for it ? Or how to go ahead with it ?
    Thanks and regards,
    Jyoti Shankar

    Hi
    If you are checking for CREATE option then Sales Doc Type
    For more Info goto SWO1 transaction -> BUS2032 --> DIsplay --> Execute --> There SELECT the method which you want to perform... There you can fine the MANDATORY parameters also....
    Or in DISPLAY mode PLACE Cursor on the Required Method and CLick the PARAMETERS button on toolbar...
    That will show the MANDATORY parameters...
    Reward if helpful....
    Message was edited by:
            Enter the Dragon

  • Migrating Open Sales Order From Legacy System (SAP) To SAP System

    Hi Experts,
                 I've to Migrate all Open Sales Orders From Legacy System (SAP) To SAP System using Business Objects with a new SALES ORDER DOCUMENT NUMBER referencing the older one.
               I'll get all the required data with field in an excel file.
                 Does any standard transaction exist for it ? Or how to go ahead with it ?
    Thanks and regards,
    Jyoti Shankar

    hi jyothi ,
       there are lot of ways of doing it depending on data upload volume it will be decided .
    1) thru abap bdc program which directly uses XL sheet data and creates SO using bapi/FMs.
    2) using scat.functional consultant should be good enough to use this.
    3)lsmw-laborious procedure but achievable.
      reward if helps !!!!!

  • Open Sales order data

    Hi,
       Can any one please help on identifying the table used for retrieving Open sales order data for a particular period, My requirement is to take the Volume of open sales order for Data migration volume assessment
      Please help on this
    Thanks
    Rajesh.R

    hello, friend.
    a standard transaction is VA05 or VA05n to check on open orders. 
    if you need to check the database tables, you can check sales order status/header thru table VBUK.  for item level, use VBUP.  you will find fields such as reference status, delivery status, etc.
    regards.
    jy

  • Open Sales order/PO template required

    Hi Oracle Gurus,
    Can anyone provide me open sales orders /open purchase orders spread sheet template for data migration.
    If i provide this template to client, they fill open sales orders/ purchase orders in the excel format, later we migrate to production instance, please provide to [email protected]
    Regards
    Anil Yadiki

    Hi
    This is the logic (include LV05TFOF):
          IF LVBUK-LFGSK = ' '.
            CHECK VBCOM-VBOFF = ' ' OR
                   LVBUK-GBSTK = 'A' OR LVBUK-GBSTK = 'B'.
            LVBMTV-STATUS = LVBUK-GBSTK.
            FELDNAME = 'GBSTK'.
          ELSE.
            IF LVBUK-LFGSK = 'C'.
              CHECK VBCOM-VBOFF = ' ' OR
                     LVBUK-GBSTK = 'A' OR LVBUK-GBSTK = 'B'.
              LVBMTV-STATUS = LVBUK-GBSTK.
              FELDNAME = 'GBSTK'.
            ELSE.
              CHECK VBCOM-VBOFF = ' ' OR
                     LVBUK-LFGSK = 'A' OR LVBUK-LFGSK = 'B'.
              LVBMTV-STATUS = LVBUK-LFGSK.
              FELDNAME = 'LFGSK'.
            ENDIF.
          ENDIF.
    Max

  • LSMW - Sales Order Migration using RVINVB10

    Dear Experts,
    I have decided to use LSMW to migrate the open Sales Orders using direct input report RVINVB10.
    My question is:
    How do I enter the WBS Element PS_POSID in the item line of Account Assignment tab? There does not seem to be a field in the direct input program structure to fill this in.
    Please suggest me is it possible to create the sales orders using this report or shall I try some other methods.
    Waiting for your valuable reply.
    Thanks !!!
    Vasanth

    you can use LSMW BAPI method
    Business Object      BUS2032      Sales Order
    Method               CREATEFROMDAT2              Sales order: Create Sales
    Message Type         SALESORDER_CREATEFROMDAT2   Sales order: Create Sales
    Basic Type           SALESORDER_CREATEFROMDAT2   Sales order: Create Sales

  • Confirmed quantity during sales order migration

    Do any of you experts see any issue with the following approach to set the schedule line confirmed quantity?
    We need to migrate open order from Legacy to SAP system. While migrating we need to keep the schedule lines (dates and confirmed quantities) to be same as that in legacy (Note that legacy has exactly one schedule line per order).
    For Migration we are using the program RVINVB10.
    On order to bring in the confirmed quantity we plan to apply the following logic
    1. Add following logic to user exit - MOVE_FIELDS_TO_VBEP (in MV45AFZZ)
    If the order is a migrated order then
       check if VBAP-POSEX <> ''    (This an unused field so we will use this to pass the confirmed quantity)
          then VBEP-BMENG = VBAP-POSEX
               VBAP-POSEX = VBAP-MTVFP (Save Valye of Checking Group)
               VBAP-MTVFP = ''.        (clear the checking group to override the ATP check)
    2. The following logic is added in User Exit SAVE_DOC_PREPARE (in MV45AFZZ)
    If the order is migrated order then restore the value in VBAP-MTVFP from VBAP-POSEX and clear VBAP-POSEX.
    This way we are able to get the confirmed quantity in schedule lines.
    Any suggestions welcome,
    Regards,

    Here is an alternative functional approach
    Depending on what is being used by your ATP config to determine supply you can create following pseudo supplies only for Sales order migration purpose
    Planned orders
    Purchase requisations
    reservations
    you can load any max quantity such as 9999999 at an earliest Material availability date (MAD) determined from sales orders for Material Plant combination.
    This will help ATP to confirm the same CDD if you pass CDD as required delivery date (assumption it uses backward scheduling)
    Assumption: you are moving only completely open sales order & itu2019s not delinquent (CDD in past, schedule lines not confirmed completely)
    You have to remove this pseudo supply after sales order migration is complete.

  • Open Sales Orders Backlog Report

    Hi All: I have been asked to create Backlog reports for Open Sales Orders and the revenue amounts for the next 15days, one month, 2 months, 3 months 6 months etc etc. Does anyone know of a standard report that covers that and the business content and cues that go with it?
    Thanks in advance
    Bobby

    I haven't seen any standard content for it, with my client, we actually developed the open order report from Item extractor and status extractor. And compare the created on date to the system data to see how long it has been opened for and put it in different buckets.
    Hopes that help.
    thanks.
    Wond.

  • Logic for Open Sales order qty

    What should be the logic given to determine "open sales order qty" during designing a report.
    Note the criterias are as under:
    1) Open sales order qty is the confirmed qty less the delivery qty.
    2) The delivery qty should be delivery order qty (The delivery should not necessarily be pick, packed & PGI)

    sorry it doesn't work for services, since they do not create requirements.
    in this case you can use VBFA table, subracting all the delivered quantities VBFA-RFMNG with VBFA-VBTYP_N = J and VBFA-VBELV/VBFA-POSNV = to your order/item from the ordered quantities
    hope  this help you.
    Roberto

  • Report for open sales order

    Dear all,
    I need to create a open sales order report. Could you please tell me from which table i can get open sales order. Its standard report is VA05 and also I checked in table VBBE. but all record which i get from VA05 are not visible in VBBE table. It means VBBE doesnt carry all pending open records.
    Please guide me from which table i can get it or what is the sriteria to get it?
    Thankyou very much in advance
    Punnet Sharma

    hi,
    my logic goes like this:
    Note: Open cursor is used since we are dealing with huge amnt of data:
    * Select orders based on their Delivery status
      SELECT  vbeln
      FROM vbuk INTO TABLE git_vbuk
          WHERE lfstk = 'A' OR lfstk = 'B' .
    * Filter selected orders
    * Selection using open cursor
      DATA: lwa_op_sal_ord1 TYPE gt_comtab.
      IF sy-subrc = 0.
        OPEN CURSOR c1 FOR
          SELECT vbap~matnr
          FROM vbap INNER JOIN vbak
          ON vbap~vbeln EQ vbak~vbeln
          FOR ALL entries IN git_vbuk
          WHERE vbap~vbeln = git_vbuk-vbeln AND
                vbak~vbtyp = 'C'.
        DO.
          CLEAR lwa_op_sal_ord1.
          FETCH NEXT CURSOR c1 INTO CORRESPONDING FIELDS OF lwa_op_sal_ord1.
          IF sy-subrc = 0.
            APPEND lwa_op_sal_ord1 TO li_op_sal_ord1.
          ELSE.
            CLOSE CURSOR c1.
            EXIT.
          ENDIF.
        ENDDO.
      ENDIF.
    here filter orders based on 'A' and 'B' from VBUK...
    then frm header table VBAK get order for vbtyp ='C'.
    now li_op_sal_ord1 will have open sales orders..
    Moreover as per ur query y do u need the item data frm VBAP as u are only concerned abt VBELN.
    If u need item u hv 2 run another select.
    regards,
    ags

  • Close Open sale order items

    Hi,
    We have a business scenario of one sales order --> one delivery document. Any items which have not been confirmed for delivery need to be closed out so that they do not show up as open requirements.
    One way is to reject the open line items. However, rejection reduces the original customer sales order value.
    Is there any other way that the open sales order line items can be changed in status so that the pricing is intact, but the item is closed out ?
    Would appreciate inputs from the forum
    Thanks

    Hi
    In standard itself this can be achieved
    In t code OVAG itself for your reason of rejection if you maintain BLANK in the statistical column
    Then those rejected values will not be reflected in sales order
    Suppose  a sales order contains three materials say
    Material A  qty 3 units
    Material B  qty 3 units
    Material C  qty 2 units
    Each and everything is priced as 10 US dollars
    then the nett value of this order will be 80 US dollars
    Suppose if you reject Material C  qty 2 units with a reason of rejection by maintaining the settings that i mentioned above the sales order value still Will  be  80 US dollars and will not become  60 US dollars
    This is what you are looking for (i hope so)
    Please try this
    Regards
    Raja

  • Reg : open sale order

    hai to all
    i my senario i should download the open sale order existing in the present production server into a flat fle
    can anyone tell me where this ship- to party is getting stored while creating the sale order. please let me know the table name.
    regards
    vijay

    Hi Vijay,
    To find out Open Sales Order. You shoud get them from VBUK-GBSTK <> 'C'. Store them in internal table.
    To get Ship-to-party, you can get it from VBPA (partner table).
    VBPA-VBELN = sales order number
    VBPA-POSNR = '000000'
    VBPA-PARVW = 'WE' or 'SH'
    You will get details for Ship to Party.
    regards,
    ram

  • Open sale order quantity in VA05

    hi all,
    can anyone please tell me the function module or bapi or Table to find out open sales order quantity coming in VA05.
    regards.

    First of all define what is open , is it created but notdelivered , or delivered but not invoiced.
    The table VBUP has flags for statuses eg
    A     Not yet processed
    B     Partially processed
    C     Completely processed
    A for open , B for partial C for complete , so by checking this table you will find which are actually delivered or invoiced completely.
    Tcode V.02 gives u this option.

Maybe you are looking for

  • Wish List - Alert tones

    Based on my searches, since I'm new to the iPhone, I have found that for a few years now improved sound notifications has been a requested improvement for the iPhone. It seems that this much needed improvement has fallen on deaf ears. I hope that App

  • Deactivating Adobe Acrobat 11

    I am creating system images for 4 different type of computers.  Usually what we would do is load the software on the machine then deactivate it so when the image is pushed out to the new machine we would use the serial that came with the machine to a

  • Merging 2 message history xml files using java

    hi., i'm new to xml programming.. well..., i got homework bout it..., and got a lot of problems to write it.. could you help me a favor?? I need to write a homework bout merging 2 MSN mssg history files (xml files) using java. At least need to mainta

  • How do i remove a dvd that has fell off spindle and into the computer

    HP touchsmart 520 pc - all in one First time i put a dvd into the dvd carriage it slipped off spindle and slid into machine - how do i remove it?

  • IWeb08 "Add Comments" and Format Problems

    Morning! I've been having problems with getting "Add Comments" to appear when publishing my site. I've read that iWeb08 folks get problems when publishing a non-Mobile Me site. All of the solutions I've googled seem to be outdated, such as signing up