2007 Jan 22 12:13 PM
Hi guru's,
Can any one tell me how to declare global internal tables for validation for handling errors . New to lsmw kindly help me.
2007 Jan 23 8:48 AM
hi,
u can add in the step
Maintain Field Mapping and Conversion Rules->Extras->Layout->Global Data Definition
steps for LSMW: detail documnets:
http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
http://www.sap-img.com/sap-data-migration.htm
https://websmp207.sap-ag.de/lsmw
if helpful don't forgot to give points
Hi guru's,
Can any one tell me how to declare global internal tables for validation for handling errors . New to lsmw kindly help me.
2007 Jan 22 12:24 PM
in lsmw u can't declare global variables. lsmw is used to upload data and may be to validate some data and the upload to SAP....
if u need global internla tables, the concept is go for a program in SE38 and use a BDC for the same.
2007 Jan 22 12:27 PM
Hi
To create Global Variables you can use do the coding in the step
Maintain Field Mapping and Conversion Rules->Extras->Layout->Global Data Definition
This will allow you to do programming in the conversion stage but will not allow you to any coding in the processing stage.
The errors which come during the processing of the LSMW will be generated by SAP itself
Please raise only one post for the same question.Close your other post.
2007 Jan 23 6:37 AM
Hi,
1. Maintain Attributes:
Here you have to choose the second option and you can do the recording how this should work. Then assign the same to the Batch Input Recording name.
2. Maintain Source structure:
Create a structure name
3. Maintain Source field:
In this you have to create a structure same as taht of the input file
eg: name
age
sex
4. Maintain structure relations:
This will link the structure to the input file.
5. Maintain field mapping and conversion rules:
<b>Here you can declare in teh global definitions part</b>
Here is the place where you can do coding, depending upon the code you have written or assignment you have done the values will get picked up from the file and get processed.
6. Maintain field mapping and conversion rules:
If you have any fixed values you can define here.
7. Specify files:
Specify the input file path and type.
8. Assign files:
This will assign ur file to the Input file
9. Read Data:
This will read ur data from teh file.
10. Dispaly Read Data:
You can see the uploaded data
11. Convert Data
This will convert the data to the corresponding format for processing
12. Display Converted data:
13. Create batch input session
Here this will create a batch input session for processing
14. Run Batch Input session:
By clicking on the session and process the same you can do teh needfu.
Hope this helps you.
2007 Jan 23 8:48 AM
hi,
u can add in the step
Maintain Field Mapping and Conversion Rules->Extras->Layout->Global Data Definition
steps for LSMW: detail documnets:
http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
http://www.sap-img.com/sap-data-migration.htm
https://websmp207.sap-ag.de/lsmw
if helpful don't forgot to give points