cancel
Showing results for 
Search instead for 
Did you mean: 

How to call new window and text element without changing print program

Former Member
0 Kudos

Hi Friends,

I have requirement like this . i have a standard print prog and custom form. i want add 2 to 3 extra windows in the form and i have to print some data. but how can v do this with out changing the print program. i know that to pick new fields through subroutines. but how can v call new windows and new text elements with out changing the print program.

usually in the print program we write as follows.

write_form

window = 'HEADER'

textelemtn = 'HEADER'

can we accomplish this one also through subroutines or any other way is there.

can any one pls suggest this.

Thanks in advance.

Rahul

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member187457
Active Contributor
0 Kudos

no reply......no points rewarded...??????

jyotheswar_p2
Active Participant
0 Kudos

hi Rahul,

we can only do this with help of subroutine.

call the wirte form in a new subroutine program give the text element in that.

i think this is the only possible way toi that.

regards

jyo

former_member187457
Active Contributor
0 Kudos

Hi RK

firstly u have to edit the standard script....

jst copy the script in Z......

and add the windows.....

regarding the fields ......u r rit, u have to call the routine in the program ....and write the codes in the routine program......

...

write a new routine program...with Z......

no need to call the window...for that dont assign any element i.e. /E:......jst write ur field in the window .....

I think it ll work .....plz check....

Thnx

Rohit

Edited by: Rohit Kumar on Jan 7, 2008 12:04 PM

Former Member
0 Kudos

Hi Rohit,

thanks for your answer. but i have one doubt. if don't write the /E text element and if write any variables like &vbak-vbeln& will that values print in the form. or else can call write_form through subroutines. any posibility is there to call write_form through subroutine.

Please calrify my doubt.

Thanks.

former_member187457
Active Contributor
0 Kudos

Hi RK

the value will print ....bt u have to get that value from ur routine program....no need to call Write _form....

like ur are getting fields XYZ frm the driver program..use those fields to get &vbak-vbeln&.....by USING &abc&

CHANGING &PQR&

....

i think u get it...

Plz Reply...

Thnx

Rohit

former_member187457
Active Contributor
0 Kudos

Reward points if helpful...

and close the thread if answered...