SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

Download PrintWork Bench Output on Application Server

Former Member
0 Kudos

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!

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

View solution in original post

3 REPLIES 3

Former Member
0 Kudos

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

0 Kudos

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!

rajesh_popat3
Active Participant
0 Kudos

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