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

Triggering Smartform from VF02/ VF03

Former Member
0 Likes
922

Hi,

I have developed a Z-smartform.

I have developed a Z-driver pgm. In this program I have selection screen and passing Invoice No to the program.

Then I am using SSF function module to call the smartform and passing the Invoice no. It is working well.

Instead of Z-driver program 's selection screen, I want to call my smartform directly from VF02 or VF03 (Issue Output)

Plz write code to pass the VF03's invoice number to my z-driver program .

I know the NACE configuratuion and Output types.

Thanks

Narendra

Hi,

I have developed a Z-smartform.

I have developed a Z-driver pgm. In this program I have selection screen and passing Invoice No to the program.

Then I am using SSF function module to call the smartform and passing the Invoice no. It is working well.

Instead of Z-driver program 's selection screen, I want to call my smartform directly from VF02 or VF03 (Issue Output)

Plz write code to pass the VF03's invoice number to my z-driver program .

I know the NACE configuratuion and Output types.

Thanks

Narendra

1 REPLY 1
Read only

Former Member
0 Likes
447

Old school approach.

Go into the img. Take a look at the processing routines for output billing type RD00.

Set a breakpoint in the form routine assigned to the output type, most likely "Entry".

Create the billing output.

You will see the billing document number as the object key in one of the nast structures in the program.

You made need to call the output via the program RSNAST00 to get the breakpoint to hit.

Make a copy of the program assigned as the default processing routine for output type RD00. Edit the form "Entry" to call your SF.

Assign your processing routine to your output type and have it call your SF.

Create the billing output calling your output.