06-10-2009 9:10 AM
Hi Experts,
My requirement goes like this.
I have to download the output of the form IS_U_METER_READING_DOWNLOAD into .txt files on application server.
and Also, these files should be named as "CCYYMMCitycodePORTIONMRUD.txt"
How do I do it?
Even a small help will also be appreciated.
Thank you!
06-10-2009 9:49 AM
Go to t-code EFRM: create an application form for the class "IS_U_DM_MR_DOWNLOAD".
If you see the created Z application you will have the attributes:
User exit include
User top include
Start Exit
End Exit
create all exits over there.
User top include : declarations purpose
Start Exit : Intialise the variables
End Exit : write a code to create a file in application server
Write a simple code in End exit to create a file in application server
You can use simple abap statement open dataset and close data set to crate a file in AL11.
Regards,
Siva
06-10-2009 9:49 AM
Go to t-code EFRM: create an application form for the class "IS_U_DM_MR_DOWNLOAD".
If you see the created Z application you will have the attributes:
User exit include
User top include
Start Exit
End Exit
create all exits over there.
User top include : declarations purpose
Start Exit : Intialise the variables
End Exit : write a code to create a file in application server
Write a simple code in End exit to create a file in application server
You can use simple abap statement open dataset and close data set to crate a file in AL11.
Regards,
Siva
06-10-2009 10:02 AM
Hi Siva,
Thank you very much for such insightful response.
However, I am very new to this.
Would appreciate if you could please help me step by step.
Thank you!
Regards,
Dev!
06-12-2009 9:24 AM
Hi,
You can download the output of a form by using any of the two ways -
1. As suggested by Siva - by creating the Z version of the application form and writing the ABAP code in the End exit.
2. By having the below setting done for the output device -
Basically you need to make some changes to the output device and make a small script to rename the output file to the name as required.
I have explained all the things in details for the similar requirement.
Please have a look at the similar query posted on 6th June - (name - Meter reading order download) .
It would solve your problem !!
Please let me know in case of any further concerns
Thanks & Regards,
Rajesh Popat
Edited by: Rajesh Popat on Jun 12, 2009 2:07 PM
Edited by: Rajesh Popat on Jun 12, 2009 2:08 PM