Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

standard script copy?

Former Member
0 Likes
611

I copied standard RVEXPAIR and SD_EXPAIU into ZRVEXPAIR and ZSD_EXPAIU. Now i want to add the new field for this script. Please let me know the procedure how to add?

5 REPLIES 5
Read only

Former Member
0 Likes
583

Hi Vijay,

Go to the main window of the Sapscript or create your own windows and add the fields in the created windows if you further face any problem reply this mail

Regards

Mukesh Kumar

Read only

0 Likes
583

just go to se71.

enter ur new sap script

and open it .

and do the changes as required in perticular window.

or if u want to add the new window or delete window do that..

u have to also copy driver programm into z program and make the changes as u required...

now configure new out put type ant attech both in output type.

for further information we r there....

Read only

Former Member
0 Likes
583

Hi Vijay,

In the print program "ZSD_EXPAIU", check the fields. whether the fields are available or not. If available put it the elements. &<i><b><variable name></b></i>&.

if the fields are not coming then you will use PERFORM SUBROUTINE option in Layoutset and create a new program for that subroutine.

- Selvapandian Arunachalam

Read only

sridharreddy_kondam
Active Contributor
0 Likes
583

Hai Vijay,

What type is the New field... Is it from any table which u get bvalues form the print program... If yes then first u have to modify the print program and add that field and then u can use that field in editor(Text elements)...

If others then u can directly goto textelments and add accordingly...

Regards,

Sridhar

Read only

Former Member
0 Likes
583

HI,

There are two ways for adding a new field to the script. Before adding we should come to a conclusion whether we are given the access to modify the print program.

I) If yes Define the field in the print program. Populate the field with the data and pass the field to the script and include the field in the text element -


& Itab-fileldname&

2) IF no Then define the field in the layout itself using DEFINE statement. and Create a subroutine pool Type through Tcode se38 to populate the data for the field and display it in one of the windows where you want to display.

PERFORM <perform name> IN PROGRAM <program name>