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
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
JanapathiHi!
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á -
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.
FTThanks 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 -
How to Close Mass Open Sales Orders (Partially / not executed ) at one go
Dear All
We are having lots of OPEN SALES ORDERS , few are COMPLETELY OPEN and rest are PARTIALLY used .Now my requirement is to CLOSE all such Sales Order at one go ie. MASS CLOSING OF OPEN SALES ORDER .
Please Guide.
Regards
Animesh ChakrobortyDear Animesh
First have those open order references in an excel sheet.
Go to MASS, input Object Type BUS2032 and execute. There block "Sales order header data" and click on "Fields". There select the field "MASSSDHEAD_S-LIFSK" and execute.
Now click on "Multiple selection" (right arrow), copy those order references and press "Shift+F12" and execute. There on top, assign some block and execute. All your sale orders will be blocked.
On the other hand, you can also change the status of those sale orders by assigning "Reason of Rejection" in mass. To achieve this, go to TCode MASS, input Object Type BUS2032 and execute. There block on "Sales Order Item Data" and click on "Fields". There block the field "MASSVBAP-ABGRU" and execute. Follow the same procedure as explained above.
Now see the document flow of those sale orders.
thanks
G. Lakshmipathi -
Hello Friends
I want to find if anybody can guide me on how to get all open sales order tables , i want to create a format and create a flat file for uplodading the file , for this what do i need and how do i do it.
Also for creating LSWM can i use the existing one which i can just Assign the New file to the existing one .
Regards.Dear Mehmood,
I want to find if anybody can guide me on how to get all open sales order tables
You want to extract all the open sales orders- which you can get from Table:VBUP key in overall document status in selection screen ( You can use VBUK also- but if there are certain sales orders in which some of the items are completed or few of them open, using VBUK - you will not get exact records)
Secondly, you can get the data by using Query also- in SQVI
design a query with VBAK / VBAP & VBUP
so that from VBAK you can give time period & sales area details
from VBAP - you can enter plant relevant details to filter certain records & item category as well
where as VBUP- filter wth the status.
once downloaded store in flat file.
Now Create LSMW object by using batch input recording method. after mapping the relevant fields,
prepare the flat file in such a - it suits to the upload file / recording file. then you can upload the already downloaded n stored open sales orders in flat file.
Hope this is what you are looking for.
Regards,
ReazuddinMD -
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 !!!
Vasanthyou 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 -
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 Shankarhi 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 !!!!! -
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 ShankarHi
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 -
LSMW BAPI Open Sales Order Load - How to update conditions?
Hello gurus,
I was using the BAPI SALESORDER_CREATEFROMDAT2 to upload open sales orders. Wanted to overwrite the default PR00 pricing condition that gets pulled from the customer-material info record, with the price that was existing in the original legacy system when the order was created there. Used the E1BPCOND structure in the Idoc, but since there is no such thing as a E1BPCONDX structure(corresponding to the structure BAPICONDX in the origial BAPI) where you could specify whether the condition should be updated, added or deleted, it adds a second PR00 condition with the legacy system price. The original PR00 condition with the customer-material record price still stays there. Eventhough the order seems to be taking into consideration only the second one I added, to determine the total pricing, I am worried the original sitting there, might cause problems down the document flow. Is there a way to update the existing PR00 condition(rather than adding a new one) on the order, through some flag in the Idoc structure that I am not aware of?
Would greatly appreciate an answer ASAP.
Thanks a lot in advance,
WayfarerThanks and appreciate your taking your time to reply, Gerard, I guess my problem is, we are still on 46C, and the only message type available for this BAPI is SALESORDER_CREATEFROMDAT201. Just called a friend who is on ECC 60 who confirmed that the later version of this message type, SALESORDER_CREATEFROMDAT202 has the E1BPCONDX structure. I don't have that option since on LSMW it automatically defaults to the only message type(and method CREATEFROMDAT2) that is available, when you choose business object BUS2032. Guess I am out of luck, unless you have any other options to suggest.
Thanks,
Wayfarer -
LSMW for open notifications,open sales order & open service order
Hi Gurus,
Can anyone please tell me how to go about writing LSMW's for open notifications,open sales order & open service order.
This is for service processing in CS ,where has the scenario is
Create Notification (IW51) --> create Sales Order(Multiple Line Items) ( VA02) --> Create Service Order ( IW32)
Service order is automatically (Item Proposal) generated w.r.t Sales Order (multiple line items)
How to I do the recording for transactions in such a scenario.
Please suggest!
Thanks!
Vinodyou can use the below LSMW IDOC method
SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
SERVICENOTIFICATION_CREATEFROM Create service notification
SERVICE_CREATE Creation of a Service Master Record
CARNOT Delivery: Shipping notification
DESADT Shipping notification
DESADV Delivery: Shipping notification
INOTIF Notifications
INTUPD Notification Status Update
ISU_ADVICE IS-U Deregulation: Notification
ISU_CHANGE_REQUEST IS-U: Notification of Change to
ISU_MAINT_SO IS-U Dereg.: Notification of Dev
ISU_REMITTANCE_ADVICE Transfer Notification -
LSMW For Converting Open Sales Orders (not working for more than 1 item)
Hi,
I am using following standard object for Open sales orders .
Object 0090 Sales documents
Method 0000
Program Name RVINVB10
Program Type D Direct Input
Its not working for more than 1 line item.
For more than 1 line item its giving Error saying that
'102122 V1 845
Print parameter SAPML2 1 is not defined
Can anybody help me out in this regard.
Thanks in advance.
Nitin.hello, friend.
i will still research the subject. but the first thing that comes into my mind is t-code VA05. with this, you have the option to change the Plant en masse. so a possible workaround is for you to list a number of sales orders using VA05. you then sort the line items by Plant. choose all items with the same plant, change the plant via mass change... then change back to the original plant. hopefully, the new settings should apply.
do test a few sales orders by doing this for a larger scope.
regards. -
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 Sharmahi,
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 -
Open sales orders and open deliveries and open billing doc to sap from legesy
Dear all
i have some open sales orders and open deliveries and open billing doc are there in the legesy system
so i want to know how to transfer the doc to sap by using lsmw plz tell meHi Amith,
it is always good to search in Google before posting .LSMW is very old topic and i am sure you will get lots of Documents on this .Please go through the below link .you will get some idea on this.
http://scn.sap.com/thread/1012472
there are 14 steps in LSMW and it is same for all (master data and Transaction Data)
Pls practice this in your sand box or quality system before working it in the client requirement.
Hope this helps to you
Regards
Sundar -
Dear all,
we want to delete open sales orders .I searched forum unable to do .Please guide me.
Regards,
Sureshhi
You can delete the sales order using transaction VA02, but there should not be any subsequent document is created against it. Please let me know the error message you are still getting unable to delete so.
Deletion /cancellation can only happen even if the subsequent documents are NOT created. After cancelling the invoice and deleting the delivery document, we can set the reason for rejection at the Sales Order Header Level.
Steps:
1. Cancel the invoice through T code VF11
2. Reverse the Goods Issue using VL09, turn the pick quantity u2018zerou2019 in the delivery document
3. Delete the delivery document using VL02n.
4. Finally set the reason for rejection at the Sales Order Header Level. (So Bala, just check the SO you want to delete ever had any subsequent document? )
Note: An Invoice cannot be deleted but canceled. It can only be canceled with (VF11) only if the relevant accounting document is not generated. Generation of accounting document means the value is posted into accounts and G/L accounts are hit.
SAP FI department needs to reverse the accounting doc on a real-time scenario. Only after the accounting doc is reversed invoice can be canceled. Tax documents generated through the Invoice (Tax is maintained on a separate account) also need to be reversed but this is a part of FI so an SD consultant just needs to request the FICO guy to do the reversal
transaction MASS or VA05 you should be able to set the reason for rejection -
Hi All,
I am in need of a report to display list of open Sales orders, Requirement Date or Requested Delivery Date and Requirement Qty for given Materials (Multiple Input) and Plant.
Please guide me, Is there any Standard Report Available to display the above information except VA05.
Or else
Please guide me, the list of tables to fetch those information.Did you try in VA05N ?
How ever , you will not get the requirement date oir requested delivery date here .You can get only Document date or creation date .
I suggest you to try to build a report with the below SAP field and data element :
VBELN VBAK-VBELN, "SALES ORDER
POSNR VBAP-POSNR, "ITEM
MATKL VBAP-MATKL, "Material Group
AUART VBAK-AUART, "ORDER TYPE
AUDAT VBAK-AUDAT, "ORDER DATE
BSTNK VBAK-BSTNK, "CUSTOMER PO NO.
BSTDK VBAK-BSTDK, "CUSTOMER PO DATE
WAERK VBAK-WAERK, "Currency
PSTYV VBAP-PSTYV, "Sales document item category
ZMENG VBAP-ZMENG, "TARGET QTY.
KWMENG VBAP-KWMENG, "SO QTY
OPENQTY VBAP-KWMENG, "OPEN QTY
LFIMG LIPS-LFIMG, "DELIVERY QTY
LFIMG1 LIPS-LFIMG,
SHKZG VBRP-SHKZG,
NETPR VBAP-NETPR, "UNIT PRICE
NETWR VBAP-NETWR, "NET VALUE
BALWR VBAP-NETWR, "NET VALUE FOR BALANCE QTY.
BALLOC VBAP-NETWR, "BALANCE VALUE IN LOCAL CURRENCY
KURSK VBKD-KURSK, "EXCHANGE RATE
FPLNR VBKD-FPLNR, "BILLING PLAN NO.
FKSAF FPLT-FKSAF, "BILLING STATUS
LOCVAL VBAP-NETWR, "AMT. IN LOCAL CURRENCY
KUNNR VBAK-KUNNR, "CUSTOMER
VKORG VBAK-VKORG, "SALES ORG.
VKBUR VBAK-VKBUR, "SALES OFF.
VDATU VBAK-VDATU, "Req.Del.Date
MATNR MARA-MATNR, "MATERIAL NO
ARKTX VBAP-ARKTX, "MATERIAL DESC
WERKS VBAP-WERKS, "PLANT
LFSTA VBUP-LFSTA, "Item Delivery Status
FKARA TVAK-FKARA,
GBSTA VBUP-GBSTA, "Overall Status
FKSAA VBUP-FKSAA, "Item billing statuS
NAME1 KNA1-NAME1, "CUSTOMER NAME
VBTYP VBAK-VBTYP, "Doc. Category
LFARV TVAK-LFARV, "Delivery type
LIFNR LFA1-LIFNR, "Vendor Number
SPSTG VBUK-SPSTG, "Overall blkd status
COST KONV-KWERT, "COST
DISC KONV-KBETR, "DISCOUNT
SPRICE VBAP-NETWR, "SELLING PRICE
The above field are similiar kind of report .But I feel you have to keep two opetion one will be Open Sales Order and other All the sales order .Discuss with your abaper in this regard in line with VA05N and VA05
Hope this will be useful
Regards
JH
Edited by: Jiaul Haque on Jun 20, 2010 9:07 AM
Maybe you are looking for
-
I have an iBook G4 with a 12" display I haven't had any problems with it until my last update (I update whenever there are available updates). I restarted my mac like normal after the update and found that after the white loading screen with the tiny
-
Purchase Order Total Amount at Header level and Report Execution
Dear Experts, Here by i am facing problem with Purchase Order Total amount. I have local Pricing Procedure for price stipulations (like discounts, Freight, packaging). the calculation at item level is correct. tax calculation is done by tax code. The
-
Any way to get rid of email contacts mixed in with phone numbers?
Hi. My email contacts and phone numbers are mixed together and I want just my phone numbers to show. This is found by tapping the green phone icon and going to contacts.
-
i'm using flash cs5.5 . i have a problem with bind tool. how to use it.i'm trying lot of times, but i can't find how to use bind tool.please any can help me with a helpful answer.
-
Not sure if this will be helpful to some readers, however, after loading 2.2, I found that Safari was 'stuck': ie; I could not log on to the Internet, though other downloads worked, such as 'Mail', 'YouTube', etc. I 'restored factory settings', then