Sale order Upload thorugh LSMW
Dear All,
I am trying to Upload Sale order with 100 Line items through LSMW.
system is creating 100 S.O against each line item.
In Lsmw there is a Procedure of Using BAPI ? What is the procedure of Uploading the same.
I don't want to use BDC's .
Can any one guide me how to Upload 100 Line items through LSMW?
Thanks for the Help.
Satish
hi
In lsmw select the BAPI(Business object method)
In Business Object enter BUS2032 and
method as CREATEFROMDAT2
If it is thriugh IDOC
OR alternatively you can use Standard batch/ Direct input method
object as 0090
And try
regards
Similar Messages
-
Sales order uploading through LSMW
*Hi All,*
*SAP version Up gradation how to Sales Order data migration through LSMW Batch input Record. Please tell send me any one step by step.*
*Regards,*
*Murali.*Hi
check the link
[http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc]
Regards
Amitesh Anand -
Hi
Can we upload open sales orders through ..LSMW ...if it is posible ..pls tell me procedure
In LSMW Steps recording step .. can we tcode VA01...?
REGARDS
SESIDHARHi
Check this link
[Sales order uploading through LSMW;
And there is nothing like that you can upload only Master Data through LSMW. Once you are able to handle LSMW you can upload any data in SAP. Yes, there may be some constraints, but an expert can manage.
So go ahead.
Regards
Amitesh Anand -
Sale Order Upload: no batch input data for SAPMV45A 4003
Hi Gurus,
the error "no batch input data for SAPMV45A 4003 " is occuring in every sale order upload created by lsmw or thorugh abap..
The issue is occuring randomly which means the same upload file produces the error in the different positions at different time .I doubt that it's a random occurance. 4003 is the item container screen, so you are not transitioning properly between tabs or you are still stuck on the item conatainer screen when you are expecting to be back at the main overview screen. You need to analyze a specific transaction and the data population in 'Display all' mode or just look at the generated BDC transaction from SM35. That should give you an idea of where the recording code is not as expected.
-
Sales order creation using LSMW
Hi All,
I am creating open sales order (VA01) using LSMW where I am using BAPI: BUS2032 and Method CREATEFROMDAT2.
I need to pass multiple line items for the same Header data, but the LSMW is creating multiple sales orders with a single line item every time.
I tried giving "on_change_transfer_record" after Header record but that doesn't work.
Can anyone suggest any suitable solution for this using BAPI only other than BDC, report program etc.
Thanks in Advance
Asif Ali KhanHi Asif Khan,
Please check this link
BAPI_SALESORDER_CREATEFROMDAT2 - Sales Order Create
http://sap-img.com/abap/bapi-salesorder-createfromdat2.htm
Best regards,
raam -
Dear Friends,
I am trying to upload sales order data using transaction VA01 by Batch Input Recording method in LSMW. But I am not able to get line items due to the fact that I am not able to assign two source structures. So i am trying to upload by Abap Coding in LSMW. But still I am not able to get the Item Data. So Kindly help me in this.
With Regards,
H.Krishnanuse the first method (Direct Input)
Object : 0090 (Sales)
Method : 0000
Programname: RVINVB10
In structure relations u can find header and line itemas.
before that define 2 structures.
===================================================
After creattion of one structure..
again click on create button> now it will ask samelevel/lowerlevel..give ur option>then u can add the fields in the next step.
pls.reward if it helps u and close this thread
Thanks
Eswar
Message was edited by: Eswar Kanakanti -
LSMW for sales order uploading
Hi Guys,
I need to upload single time sales order detials into SAP through flat file, is any sap standard LSMW methods are available or I need to develop a Z program.
Could you please give your suggestions?
Thanks,
Gourisankar.Hi gourishankar,
LSMW is not a bad one, but striaght BDC programme with BAPI would be the
best
so see this link it may help you.
http://www.****************/Tutorials/LSMW/Bank/page1.htm
thanks
karthik -
Sales Order Creation using LSMW IDOC method.. ( Custome Interface)
Hi ABAP'rs,
Please provide me LSMW steps for creating Sales Order using IDOC method.
Thanks and Regards,
Param.LSMW-IDOC in General
LSMW Step by Step Guide: Legacy System Migration Workbench is an R/3 Based tool for data transfer from legacy to R/3 for one time or periodic transfer.
Basic technique is Import data from Spreadsheet / Sequential file, convert from source format to target format and import into R/3 database. LSMW not part of standard R/3, if we need this product email [email protected]
Advantages of LSMW:
Most of the functions are within R/3, hence platform independence.
Quality and data consistency due to standard import techniques.
Data mapping and conversion rules are reusable across projects.
A variety of technical possibilities of data conversion.
Generation of the conversion program on the basis of defined rules
Interface for data in spreadsheet format.
Creation of data migration objects on the basis of recorded transactions.
Charge-free for SAP customers and partners.
Working With LSMW:
Use TCODE LSMW
Objects of LSMW:
Project ID with max of 10 char to Name the data transfer project.
Subproject Used as further structuring attribute.
Object ID with max of 10 Characters, to name the Business object .
Project can have multiple sub projects and subprojects can have multiple objects.
Project documentation displays any documentation maintained for individual pop ups and processing steps
User Guide: Clicking on Enter leads to interactive user guide which displays the Project name, sub project name and object to be created.
Object type and import techniques:
Standard Batch / Direct input.
Batch Input Recording
o If no standard programs available
o To reduce number of target fields.
o Only for fixed screen sequence.
BAPI
IDOC
o Settings and preparations needed for each project
Preparations for IDOC inbound processing:
Choose settings -> IDOC inbound processing in LSMW
Set up File port for file transfer, create port using WE21.
Additionally set up RFC port for submitting data packages directly to function module IDoc_Inbound_Asynchronous, without creating a file during data conversion.
Setup partner type (SAP recommended US) using WE44.
Maintain partner number using WE20.
Activate IDOC inbound processing.
Verify workflow customizing.
Steps in creating LSMW Project:
Maintain attributes choose the import method.
Maintain source structure/s with or without hierarchical relations. (Header, Detail)
Maintain source fields for the source structures. Possible field types C,N,X, date, amount and packed filed with decimal places.
Fields can be maintained individually or in table form or copy from other sources using upload from a text file
Maintain relationship between source and target structures.
Maintain Field mapping and conversion rules
For each Target field the following information is displayed:
o Field description
o Assigned source fields (if any)
o Rule type (fixed value, translation etc.)
o Coding.
o Some fields are preset by the system & are marked with Default setting.
Maintain Fixed values, translations, user defined routines Here reusable rules can be processed like assigning fixed values, translation definition etc.
Specify Files
o Legacy data location on PC / application server
o File for read data ( extension .lsm.read)
o File for converted data (extension .lsm.conv)
Assign Files to defined source structures
Read data Can process all the data or part of data by specifying from / to transaction numbers.
Display read data To verify the input data being read
Convert Data Data conversion happens here, if data conversion program is not up to date, it gets regenerated automatically.
Display converted data To verify the converted data
Import Data Based on the object type selected
Standard Batch input or Recording
o Generate Batch input session
o Run Batch input session
Standard Direct input session
o Direct input program or direct input transaction is called
BAPI / IDOC Technique:
IDOC creation
o Information packages from the converted data are stored on R/3 Database.
o system assigns a number to every IDOC.
o The file of converted data is deleted.
IDOC processing
o IDOCS created are posted to the corresponding application program.
o Application program checks data and posts in the application database.
Finally Transport LSMW Projects:
R/3 Transport system
o Extras ->Create change request
o Change request can be exported/imported using CTS
Export Project
o Select / Deselect part / entire project & export to another R/3 system
Import Project
o Exported mapping / rules can be imported through PC file
o Existing Project data gets overwritten
o Prevent overwriting by using
Import under different name
Presetting for Inbound IDOC processing not transportable.
Reward if useful.
regards
santhosh reddy -
Hi,
I need to upload sales orders from MS-excel spread-sheets. The upload process has to take place in Production once the system is live. LSMW does not seem to be a good option here as the user is going to run this upload process after go-live. We do not wish to use BDC's because it is not so convenient for the user to have a look at the errors occuring during the upload process. Do we have to create Idocs for creating sales orders or is there any other way out?
Thanks,
Alam.Hi Alam,
I would recommend IDOCS as it has excellent error handling capabilities. Especially in your case since the data load has to be done after go-live it would be easier to trouble shoot , given the fact that you might not have much time.
Other options would be using a BAPI to load the sales orders. Though this is also a good process, the error handling capabilities are not as good as idocs.
The advantage is that you dont have to setup the ALE settings and other related dependent customizing.
BDC is definitely a NO NO
Cheers,
VJ
Message was edited by: Vijayendra Rao -
SALES ORDER UPLOAD USING SESSION
Hi,
My query:
How to upload Sales Orders data from legacy system to SAP using
session method.
Bye...Hi
How to develop a lsmw for data migration for va01 or xk01 transaction?
You can create lsmw for data migration as follows (using session method):
Example for xk01 (create vendor)
Initially there will be 20 steps but after processing 1 step it will reduced to 14 for session method.
1. TCode : LSMW.
2. Enter Project name, sub project name and object name.
Execute.
3. Maintain object attributes.
Execute
select Batch Input recording
goto->Recording overview
create
recording name.
enter transaction code.
start recording
do recording as per ur choice.
save + back.
enter recording name in lsmw screen.
save + back
Now there will be 14 steps.
2. MAINTAIN SOURCE STRUCTURES.
Here you have to enter the name of internal table.
display change
create
save + back
3. MAINTAIN SOURCE FIELDS.
display change
select structure
source_fields->copy fields.
a dialogue window will come .
select -> from data file
apply source fields
enter No. of fields
length of fields
attach file
save + back
4. MAINTAIN STRUCTURE RELATIONS
display change
save + back
5. MAINTAN FIELD MAPPING & CONVERSION RULE
display change
click on source field, select exact field from structue and enter
repeat these steps for all fields.
save+back
6. MAINTAIN FIXED VALUES, TRANSACTION, USER DEFINED
execute
save + back
7. SPECIFY FILES.
display change
click on legacy data
attah flat file
give description
select tabulatore
enter
save + back
8. ASSIGN FILE
execute
display change
save + back
9. IMPORT DATA.
execute
display change
save + back
10. DISPLAY IMPORTED DATA
enter ok, it willl show records only.
back
11. CONVERT DATA
execute
display change
save + back
12. DISPLAY CONVERTED DATA
execute
display change
save + back
13. CREATE BATCH INPUT SESSION
tick keep batch input folder
F8
back
14. RUN BATCH INPUT SESSION.
sm35 will come
Object name will be shown here
select object & process
Reward all helpfull answers
Regards
Pavan -
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á -
Sales Order Upload using IDOC : Batch Input error
Hi all
When I am uploading sales order data using <b>idoc</b> method it was giving the below error when the Items are more than 10,if the items are less than 10 it was creating the sales order successfully.
<b>Screen 0000 is too large for internal batch input area</b>
for upload I am using the standard Meassege type and Basic idoc type
Message type : ORDERS
Basic idoc type : ORDERS05
Function Module : idoc_input_orders(ORDE)
Please help if there is any Idea
Thanks in Advance
Warm regards
RajasekharHi Madhu,
This error might be due to screen resolution. Try to reduce screen resolution and run your program.
Cheers
Manohar -
Hi All,
We have designed one LSMW program by which we are able to create Sales Orders.
Import method for this LSMW is *BAPI Method*.So finally by processing IDOC steps, sales orders getting created.
My req is
1) We have to schedule a background job for this LSMW
2) Finally I need to provide all the Sales Orders those are created into one Text Document.
Can you please tell me do we have any solution for the requirements I have mentioned.
Thank You very much inadvance............................HI,
1) /SAPDMC/SAP_LSMW_INTERFACE
This is program to to schedule LSMW (periodic transfer)in background, create a variant when you reach frame program in periodic transfer step, then go to SM36 create a job and schdule it and with above program and your variant and release job usng SM37.
2) Get the log of your job in SM37 transaction once it is finished, you will get all list of sales orders created , just download tem into text file.
Thanks
RK -
Sales Order Creation using LSMW-BAPI.
Hai,
While executing a 14th step in LSMW-BAPI,the IDOC is generated.While Testing the IDoc the values for the Header segment alone is displayed.The Segment sfor Item is not Displayed.Should there be any link between Header & the ITem.
Regards,
Padmam.Hi,
Can u tell me the steps to create a sales order using idoc, i've created a bapi but thats a temprory use. I wanted to created a sales order automatically when a purchase order is saved.
Please let me know if u can help me, i wanted to do it using idoc
Regards
Sanju -
Sales order uploading through bapi
hi
i want to upload sales order to bapi pls give the code and i also error handling through bapi
regards
A.KHi Awadhesh,
pls look at this link you will get a clear idea and the code.
http://abaplovers.blogspot.com/2008/02/bapi-sales-order-create-code.html
Happy to help you.
Regards,
Viveks
Maybe you are looking for
-
Problem with wwsbr_api.modify_item and Text 8191 characters
Hi all. I have a PL/SQL portlet used to insert/update content in Oracle Portal. I noticed that if I try to insert or update a text item with data longer than 8191 characters it gives the following error: ORA-06502: PL/SQL: numeric or value error. Als
-
Print preview issue for amendment purchase order
Hi Whenever i have created po in me21n t.code for two materials that time my outputype neu coming automaticaly and po print out also come for two materials in me9f . Supoose i have change quantity in me22n t.code for first line item for same po that
-
RE: EXCEPTION_IN_EXECUTION
This is the error encountered while i am sending SOAP Request to server. can u resolve this issue please.... <b><?xml version="1.0"?> <!-- see the documentation --> <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Bod
-
Get related DCIteratorBinding on af:table RangeChangeEvent
Hi all, is there any way to get the underlying DCIteratorBinding of an af:table and code just one function to handle all RangeChangeEvents of all tables. In order to use iter.setRangeStart you must know the iterator's name so I was wondering if it is
-
Can a pixi that has been activated on page plus be switched to verizion
I have a pixi on verizion and bought another one as a backup. I was wondering if I activated the spare on page plus as an emergency phone if needed would I be able to transfer it or reactivate it on verizon?