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

A ZPRINTPROGRAM and ZSMARTFORMS attached to standard tcode

Former Member
0 Likes
335

Hi,

I have written a ZPRINTPROGRAM and ZSMARTFORMS and it is working fine.

Now I want the ZPRINTPROGRAM to be attached to the standard Transaction VT02N where,

if I give the shipment number in the intial screen and goto Menu- Shipment - output -printer,It

should print the output of the shipment number given in the initial screen.

In the transaction VT02N,the given shipment number should be passed to ZPRINTPROGRAM

selection screen,where the selection screen contains the shipment number and it will trigger

automatically.

If anyone find any userexit and suggestions,let me know.

if any queries let me know.

Regards

Manohar S

Hi,

I have written a ZPRINTPROGRAM and ZSMARTFORMS and it is working fine.

Now I want the ZPRINTPROGRAM to be attached to the standard Transaction VT02N where,

if I give the shipment number in the intial screen and goto Menu- Shipment - output -printer,It

should print the output of the shipment number given in the initial screen.

In the transaction VT02N,the given shipment number should be passed to ZPRINTPROGRAM

selection screen,where the selection screen contains the shipment number and it will trigger

automatically.

If anyone find any userexit and suggestions,let me know.

if any queries let me know.

Regards

Manohar S

1 REPLY 1
Read only

Former Member
0 Likes
310

Hi!

It is always a nasty work, if there is no example standard printer program and smartforms from you can get some idea.

You have to debug the standard program, which is calling the ZPRINTERPROGRAM.

Put a break point into your printer program, and check the program, which were calling it.

There are some good way to retrieve data, from the caller programs:

- find some useful global variables

- call standard functions, which is called also in this transaction

- run forms from these programs, like this: PERFORM sapform(SAPL1234). "this will call the sapform form from program SAPL1234.

Regards

Tamá