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

Adding some functionality in own screen

former_member308418
Participant
0 Likes
378

Dear All,

I have added my own screen to customer master i,e XD01/ XD02/ XD03. In customer master Address tab there is a button named as Preview. My requirement is to add same functionality in my own screen. Can anybody suggest me how can I do this.

Thanks in advance,

Tripod.

2 REPLIES 2
Read only

Former Member
0 Likes
342

In any SAP standard transaction where PREVIEW option is available right there just write /h in command bar and press PREVIEW button and you will be able to see how it works? Same logic i will try to implement into my custom screen.

Read only

Former Member
0 Likes
342

Hello,

Preview functionality is basically an address to print function. SAP provides an Function Module which actually shows the same popup:


ADDRESS_SHOW_PRINTFORM

Place a break-point in function above as Amit suggested and you should be able to figure out how to populate import parameters.

Thanks,

Abdul Rouhi

Washington, DC