cancel
Showing results for 
Search instead for 
Did you mean: 

smart forms calling program for PO

Former Member
0 Kudos

Hi,

I wrote a smart form and I attached a calling program on NACE and all works great once the user presses the "print preview" button on ME22N.

I use parameter 'BES' to get the last PO that was processed.

The problem: when the user do repeat scheduling and prints the last output or when he changes a PO line and press save, the parameter is empty and the form is printed without data.

Do you have any idea how to solve this ?

or

how do I combine a calling pogram into the output determination so I wil get the PO number?

An exampe calling prgram would be great.

Please do not forget that this is without a selection screen and the PO number is unknown.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

sridhar_k1
Active Contributor
0 Kudos

Try using NAST-OBJKY in the program to get PO.

If your print program is not copy og a standard program, declare TABLES NAST in the global area of your print program.

NAST-OBJKY is the PO number

Regards

Sridhar

Message was edited by: Sridhar K

Answers (0)