‎2007 Jun 16 3:35 PM
Hello all,
I have an LSMW with Batch input Recording. There is a field on one particular screen which was not recorded (populated) at the time of LSMW creation. Now I want to populate this field. Is it possible to populate this field without going for a new recording.
In other words - is it possible to add this field in the exisitng LSMW recording now.
Thanks
Message was edited by:
Raju Boda
‎2007 Jun 16 3:55 PM
Hi
Add that field in the Source structure and maintain relation to that field with the structure mapping and in the file also you add that field and do
No need to recortding further from the begining.
see the steps for your reference
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 that 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:
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.
Reward points for useful Answers
Regards
Anji
‎2007 Jun 16 3:55 PM
Hi
Add that field in the Source structure and maintain relation to that field with the structure mapping and in the file also you add that field and do
No need to recortding further from the begining.
see the steps for your reference
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 that 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:
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.
Reward points for useful Answers
Regards
Anji
‎2007 Jun 16 4:27 PM
Hi,
You can add the field in source structure and also would need to modify the recording that has been generated earlier. i.e. you would need to insert the field name and field value(newly added field).
Procedd same as you would have normally do.
Hope this will help.
Regards,
Srilatha.
‎2007 Jun 16 4:39 PM
hi Raju,
You can add a screen field to your LSMW recording. On the main window of the recording editor screen, click on the line for the screen you want to add the field for (therefore highlighting it), then click on the "Add screen field" button. A list of possible fields will be given to you to choose from.
Find out the name of the field you need to add by using the F1 help on the actual transaction screen.
The proceedure to add screen fields to existing recording :
1. Choose the Ist step in LSMW
2. Place the cursor in ur recording name and choose Edit recording.
3. Now Choose the screen in which u need to add the field.
4. Click add Screen Field option from Menubar and choose the field.
~~Guduri