WITH LSMW USING BATCH INPUT/DIRECT INPUT/BAPI/IDOCS
IN WHAT SCENARIOS CAN WE USE BATCH INPUT/DIRECT INPUT/BAPI/IDOCS WITH LSMW.WHICH IS THE BEST ONE.PLEASE TELL ME THE SCENARIOS OF USAGE.
It really depends on what you are doing. There are a lot of "standard" LSMW objects for different business objects, for example, there is a std object for Creating Material Masters, in this case, it is a direct input program. So, the best choice here would be to use the standard program which has been provided, it just so happens that it is a direct input program. Creating Bill of Materials is another one, but this one is a batch input program, so you have no choice but to go with that. Of course if there is a BAPI for your business object that would be the next best thing, if a standard object does not exists.
REgards,
Rich Heilman
Similar Messages
-
How to use RFBIBL00 as direct input in LSMW
Can any one Please help how to use RFBIBL00 as direct input in LSMW ? How should be structure Same level or subordinate level as I will be having single text file ?
I have around 15 fields with me
BKPF
STYPE C 1
BLDAT C 10
BLART C 2
BUKRS C 4
BUDAT C 10
XBLNR C 10
WAERS C 3
XPRFG C 1
XMWST C 1
BSEG
STYPE C 1
NEWBS C 2
DMBTR C 10
KOSTL C 10
SGTXT C 10
PRCTR C 10
NEWKO C 10
MWSKZ C 2
Thanks and Regards
GuruHi,
look testabap RFBIBLT0, which creates testfile
A. -
LSMW perform by method "Direct input"
Dear experts!
Now, I'm getting some issues about using LSMW by method "Direct input".
I don't know why? when i run LSMW with method direct input for material master after that I check to t.code MM03 then material master has not tab basic.
can you tell me to know reason?
thanks!
Best regards, Huy.Close this question!
-
Can anyone Explain me the difference between Batch Input, Direct input met
Can anyone Explain me the difference between Batch Input Method and Direct Input Method.
hi
good
Direct input method Batch Input Method
1) We cannot send the fields | 1) We can send fields as per
according to our requirement| requirement.
2) validations are done based
2) validations are done based
on pre-defined function
on applications.
modules
Batch Input Session:
- It is a sequence of transactions, which is generated when user run a particular program.
- It contains the accounting documents that are to be created. The SAP system stores these transactions until you decide to process them online.
- It does not update transaction figures until the session has been processed. Using this technique, you can transfer large amounts of data to the SAP system in a short time.
Three processing modes of executing Batch Input Session :-
(1) Run Visibly : You can correct faulty transactions online & work step-by-step through the transactions not yet executed.
(2) Display Errors only : You can correct faulty transactions online. Transactions not yet executed, but without error, run in the background.
(3) Run in Background : Recommended by SAP.
thanks
mrutyun^ -
Problem in lsmw for purchase order (direct input)
hi friends,
i am trying to upload po using lsmw by direct input method.
only problem is it is not taking delivery date properly.
at the end error message is 'plz enter valid delivery date'.
can any one tell me why it is happning.
thanks
sonuCheck the format of your date and check the format expected.
sometimes you can have diff like YYYYMMDD, MM.DD.YYYY,...
Look at the converted data.
Hope this helps,
Erwan -
Changes in standard input/direct input-lsmw
hi,
lsmw uses standard program to copy customer data or vendor data, but there might be a case when the tables..i.e. vendor and customer data are not same,
some field might be added and some might be deleted..
how do v go about that...
do v need to make some changes to the standard program....
if so, then what are the changes that need to be made...
also is there anyother method to migrate data.
thanx in advancegenerally when some fields are added to the standard tables, they are appended at the end. so basically it will not affect the standard program flow.
If you are facing any specific problem, please put it down. -
I want to create batch in IS-RETAIL. with out using batch management
dear all
i have to create a batch with using batch management in IS-RETAIL . when i am creating the MM41 that time i have to give the tick mark for batch management that has to come in migo screen with movement type 105. their i can select the batch's whcih i can use . how can i do it. batch management not required, but have to create batch for my material .
thank you
Arkdear experts
yester day i asked the same question. i created the article and also ticked in batch management tab. but i did't configure any batch management in my screen. when i am going to use the migo screen with movement type 105 i have to select the storage locations with different batch number for that article . how can i maintain that? can you please give me the solution for this . i dont need any batch management configuration ? i need simple solution but should be use full for my requirement?.
thank you
RK -
Lsmw using batch input record session
hi experts,
My requirement is to generate purchase info record number (PIR) for the flat file data containing vendor acc number(lifnr) , plant(werks) , purchase organization combination using me11 t code. after processing the bdc for the first time it generates a PIR but for the next record it is showing the first PIR number. how to give the default value as empty to PIR in LSMW.
thanks & regards,
srikanth.hi archana,
I tried it in BCD call transaction, it is not working in LSMW . If I default the field infnr(PIR) with ' ' next value is populating to the infnr fileld.
Thanks,
srikanth -
LSMW for Vendor Master using Batch Input/Direct
Hi Folk,
I'm trying to create a LSMW for Vendor Master using Batch Input/Direct Input and in the step Create Batch Inout Session a error message appears:
Trans. 1 XK01: Acct already exists; general area not being processed.
Can somebody help me with this...........Hi,
Check manually create vendor. Check with recording steps means strucutre creadred while you choose BDC recording option. With same data r u able to create vendor.
Regards
Md.MahaboobKhan -
Hi Pals,
We are using the standard direct input pgm <b>RCSBI010</b> for creation on BOMs using an LSMW. However, when we are giving multiple BOM components in our file for a single header, each component is getting created separately. But this is not the case that we want. We want all the BOM components given in the file for a single header to be created for a single BOM itself. We are using the transaction CS01 to acheive this.
When I checked the LSMW, the target field for this BOM COMPONENT is IDNRK. However to enter multiple BOM line items I would require it to be something like IDNRK(01). But I am not sure if this is a right analysis.
If any of you have an idea how to handle this, please provide your valuable inputs.
Regards,
Gayathri N.Hai Gayatri
Check the following LSMW Steps
Using Tcode MM01 -- Maintain the source fields are
1) mara-amtnr char(18)
2) mara-mbrsh char(1)
3) mara-mtart char(4)
4) makt-maktx char(40)
5) mara-meins char(3)
the flate file format is like this as follows
MAT991,C,COUP,Srinivas material01,Kg
MAT992,C,COUP,Srinivas material02,Kg
AMT993,C,COUP,Srinivas material03,Kg
MAT994,C,COUP,Srinivas material04,Kg
MAT995,C,COUP,Srinivas material05,Kg
goto Tcode LSMW
give Project Name
Subproject Name
object Name
Press Enter -
Press Execute Button
It gives 13 radio-Button Options
do the following 13 steps as follows
1) select radio-Button 1 and execute
Maintain Object Attributes
select Standard Batch/Direct Input
give Object -- 0020
Method -- 0000
save & Come Back
2) select radio-Button 2 and execute
Maintain Source Structures
select the source structure and got to click on create button
give source structure name & Description
save & Come Back
3) select radio-Button 3 and execute
Maintain Source Fields
select the source structure and click on create button
give
first field
field name matnr
Field Label material Number
Field Length 18
Field Type C
Second field
field name mbrsh
Field Label Industrial Sector
Field Length 1
Field Type C
Third field
field name mtart
Field Label material type
Field Length 4
Field Type C
fourth field
field name maktx
Field Label material description
Field Length 40
Field Type C
fifth field
field name meins
Field Label base unit of measurement
Field Length 3
Field Type C
save & come back
4) select radio-Button 4 and execute
Maintain Structure Relations
go to blue lines
select first blue line and click on create relationship button
select Second blue line and click on create relationship button
select Third blue line and click on create relationship button
save & come back
5) select radio-Button 5 and execute
Maintain Field Mapping and Conversion Rules
Select the Tcode and click on Rule button there you will select constant
and press continue button
give Transaction Code : MM01 and press Enter
after that
1) select MATNR field click on Source filed(this is the field mapping) select MATNR and press Enter
2) select MBRSH field click on Source filed(this is the field mapping) select MBRSH and press Enter
3) select MTART field click on Source filed(this is the field mapping) select MTART and press Enter
4) select MAKTX field click on Source filed(this is the field mapping) select MAKTX and press Enter
5) select MEINS field click on Source filed(this is the field mapping) select MEINS and press Enter
finally
save & come back
6) select radio-Button 6 and execute
Maintain Fixed Values, Translations, User-Defined Routines
Create FIXED VALUE Name & Description as MM01
Create Translations Name & Description as MM01
Create User-Defined Routines Name & Description as MM01
after that delete all the above three just created in the 6th step
FIXED VALUE --MM01
Translations --MM01
User-Defined Routines --MM01
come back
7) select radio-Button 7 and execute
Specify Files
select On the PC (Frontend) -- and click on Create button(f5)
give the path of the file like "c:\material_data.txt"
description : -
separators as select comma radiao- button
and press enter save & come back
8) select radio-Button 8 and execute
Assign Files
Save & come back
9) select radio-Button 9 and execute
Read Files
Execute
come back
come back
10) select radio-Button 10 and execute
Display Imported Data
Execute and press enter
come back
Come back
11) select radio-Button 11 and execute
Convert Data
Execute
come back
Come back
12) select radio-Button 12 and execute
Display Converted Data
Execute & come back
13) select radio-Button 13 and execute
Start Direct Input Program
select the Program
select continue button
go with via physical file
give the lock mode as 'E'
and execute
BOM Explosion
/people/prakash.singh4/blog/2005/05/15/explode-boms-in-enterprise-portal-using-htmlb-tree--part-1-abap
BOM
http://help.sap.com/saphelp_erp2005/helpdata/en/ea/e9b7234c7211d189520000e829fbbd/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/d1/2e4114a61711d2b423006094b9d648/frameset.htm
http://www.sap-img.com/sap-sd/sales-bom-implementation.htm
http://www.sap-basis-abap.com/sappp007.htm
LSMW
http://www.sap-img.com/sap-data-migration.htm
http://www.sapgenie.com/saptech/lsmw.htm
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
http://www.sap.info/public/INT/int/glossary/int/glossaryletter/Word-17643ed1d6d658821_glossary/L#Word-17643ed1d6d658821_glossary
Thanks & regards
Sreenivasulu P
Thanks & regards
Sreeni -
Hi
What is the procedure to include a specific program / report in the drop down box of program name of Direct Input method in LSMW?
What is the diff. between Physical path and Logical path?
How can we give our input data using logical path when we execute some standard batch or direct input programs?
Ex. RMDATIND.http://help.sap.com/saphelp_erp2005vp/helpdata/en/87/f3ae63e68111d1b3ff006094b944c8/frameset.htm
Regards,
Amit -
LSMW - Direct Input for XD01 transaction
Hi Experts,
I am facing an error while doing the LSMW - using batch Input session. In the last step of LSMW.. while running batch input session, i faced an error "Function code cannot be selected" this error is coming because the Function code(OK Code) of that screen is "KNZA".
the problem is that how can i change the OK code (function code) in the standard program. or is there any other way for solving this problem...
please help me out....Hi
I feel the problem is with the Sturcture relations step. Are you mapping the below structure?
BKNZA Customer Master Record Altern.Payer (Batch Input Structure) -
Ensure that for all the structures you are mapping here.. you need to provide elements in field mappings. Otherwise it may lead to such errors.
Try to check all the steps once again and then generate the program again and check. -
Lsmw : Direct Input : 0020 Material Master :Error
hi all !
I'm onto making a lsmw for material master direct input.i'm facing the following error :
1.The field Marc-LADGR is defined as a required field : it doesnt contain an entry
2.You have not fully maintained the tax classifications.
in my flat file i have duly filled in the field MARC-LADGR
need help ,plz see if you can track wats the problem.
thanks and regards,
sachinya sachin ... as u r telling .. download from the std program... & continue the process....
my suggestion ... cross check again with ur fields of the source structure ....i mean decalre only fields .. which are required .. then do the field mapping again for the all the fields...
i believe there will be documentation for the std program .... check it & go thru with that ..map it ... wherever needed ....
try & let me know...
thanks,
manjunath ms -
Hi All,
I am new to LSMW and want a simple tutorial for using LSMW using Idocs and BAPIs. I have found many useful tutorials for Direct Input and Batch Recording. If anyone can give me link or a tutorial for using lsmw with idocs and bapis it will be of great help.
Thanks in advance.
archishHi,
is step by step process .
Step-by-Step Guide for using BAPI in LSMW
Note! The screen prints in this article are from ECC 5.0. They may differ slightly in other versions.
Introduction:
This document details the usage of BAPI in LSMW. We have used the example of migration of the purchase order data into SAP.
Pre-requisites:
It is assumed that the reader of this article has the minimum knowledge required on the Business Object, BAPI, Message Types and IDoc Types.
Step-by-Step Procedure:
Details of the BAPI used in this scenario:
Business Object: BUS2012
Method: CreateFromData
Details of Message Type and Basic IDoc Type:
Message Type: PORDCR
Basic IDoc Type: PORDCR02
Lets have a look at the BAPI first, before proceeding to the LSMW:
1. Go to Transaction BAPI
2. Click on Search Button
3. Enter the value BUS2012 and select Obj.type(Technical Object Name
4. Press ENTER
5. Following screen appears:
6. On the left side of the screen, Expand the PurchaseOrder.
7. Select PurchaseOrder and double-click on the same for details.
Building LSMW using BAPI:
1. Go to Transaction LSMW.
2. Enter the Project, Subproject and Object information and click on CREATE.
3. Enter the descriptions for Project, Subproject and Object as prompted.
4. Now select Settings à IDoc Inbound Processing
5. IDoc Inbound Processing screen appears. Enter the required details as shown below:
6. Click on Activate IDoc Inbound Processing.
7. Click on Yes when prompted for Activate IDoc Inbound?
8. Hit on Back to return to the main screen.
9. Click on Continue (F8). Following Screen appears:
10. Select the Step 1 Maintain Object Attributes and select Execute.
11. Select the radio button Business Object Method and enter the following details:
Business Object: BUS2012
Method: CreateFromData
Hit ENTER
12. Save and click on BACK button. Following information message is displayed.
13. Now select step 2 Maintain Source Structures and click Execute.
14. In this step, we need to maintain the source structure. In our example, lets consider the example of a file with 2 structures Head and Item data as shown below:
Click on Create and name the source structure as HEADERDATA. Now select HEADERDATA and click on Create again to create the child structure. Following popup appears:
Select Lower Level and click on Continue. Enter the Item data structure name.
Click Save and hit BACK button to go to the main screen.
15. Select step 3 Maintain Source Fields and hit execute.
16. Enter the fields as shown below:
17. Click SAVE and return to main screen.
18. Select step 4 Maintain Structure Relations and click Execute.
Select E1PORDCR and click on CREATE RelationShip. Following screen appears:
Select HEADERDATA and hit ENTER
Similarly do the same for the structure E1BPEKKOA, E1BPEKPOC and E1BPPEKET.
Click Save and return to main screen.
19. Select the step Maintain Field Mapping and Conversion Rules and click on execute. Maintain the Field Mapping as seen below:
20. Select step 7 Maintain Source Files and provide the link for the test file created. (Create a test file with the same structure as defined earlier).
Save and return to main screen.
21. Select the step Assign Files and click on Execute.
Assign the file provided to the source structure. Here the same file is provided for both the structures.
Save and return to the main screen.
22. Select the step Read Data and click on Execute.
Click on Execute.
Return to the main screen.
23. Select the step Display read data and click on execute.
Click on the structure name to get the field level values.
24. Return to main screen and now select Convert Data.
25. Return to the main screen and select Display Converted data.
26. Return to main screen and select Start IDoc generation.
27. Now select the step Start IDoc Processing on the main screen.
28. Return to main screen and click on Create IDoc overview. Here the data record and status records of the IDoc could be viewed:
Please Go through these Links ,
BAPI with LSMW
http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI
For document on using BAPI with LSMW, I suggest you to visit:
http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
http://myweb.dal.ca/hchinni/sap/lsmw_home.htm
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
lsmw-idoc method:
http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
Regards -
RCPTRA02 - Direct Input Error logs
Hi All,
We are using LSMW - RCPTRA02 direct input approach to load Routing's in ECC 6.0 as a part of data migration. We are facing issue while reviewing logs displayed after completion of LSMW execution. This direct input program does not display record number which have been failed or successfully updated. So we could not able to tie back which all records have been failed and due to what reason at what level. This is potentially will delay our data load verification process in production. We cannot change our approach at this moment.
So is there any better way to understand logs displayed by RCPTRA02 direct input program?
Your help is appreciated. Thanks in advance.
Regards,
AmeyDo recording again...
Be carefule while recording, sometimes you see some pop up screens which you need to press "Enter" or "ESC".
I am not familiar with your transaction code but I can tell what the problem is,
There is screen coming up when you are loading and it is expecting input from you, it can be either data or just an ENTER / ESC.
Execute your program in foreground and see what you have to enter.
I advise you to do a recording again but be careful with pop up screens.
There can be another problem, may be configuration might have changed after you create your program.
Execute it in foreground and you will see if order of screen has been changed or not.
Let me know if this does not solve your problem.
Mubeen
Maybe you are looking for
-
Advange of using Adobe Acrobat over Microsoft word 2007 PDF add -in
Hi, I would like to know what is the advantage of using Adobe Acrobat 9 standard or professional over Microsoft Word 2007 PDF addin. Microsoft will ship the PDF convertor with SP2 later this month, in that case what should be the use of using adobe a
-
I downloaded Aperture and transferred all pix from Iphoto. Everything was on Aperture. Suddenly I have lost all the pictures. I have a handbook, etc., but to no avail. Help!
-
Hello I need a way to get access from excel to java. Up to now i tried: JIntegra (linear) J-Union (middleware) Java Access Bridge (sun) I think the best solution would be Java Access Bridge, but i don't get them work. Does anybody know documentation
-
Error in portal configuration assistant
Hi, While trying to install Oracle instant portal, I am getting an error during portal configuration assistant step. ORA-12154 : tns cannot resolve conn ... What do I need to do in order to fix this error? I see a tnsnames.ora in 2 locations: {oracle
-
WLS 8.1SP2 and "already released" warning
We have tests where our EIS is down and the connection is denied, the RA sends a CONNECTION_ERROR_OCCURRED event, which causes the MC.destroy() call as it is supposed to, but we always see the following type of message: