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

Getting data from output type

vallamuthu_madheswaran2
Active Contributor
0 Likes
730

Hi Friends,

I'm creating output type ZET1 for shipment. and creating a new'Z' program but its not a print program.

i'm going to assingn the program in TCode nace.

my problem is,

How would we receive the shipment number in the new' Z' program from VT02N or VT01N? we have to create a routine OR import parameter id?

Thanks In Advance

vallamuthu.M

1 ACCEPTED SOLUTION
Read only

JackGraus
Active Contributor
0 Likes
404

Your Z program needs a form that is called from the shipment transaction (VT02N). The form is setup in NACE. To transfer data from shipment transaction to your Z program need to declare a global TABLES NAST or include RVADTABL in where this table is already defined. Then when your form is called the shipment number is in NAST-OBJKY.

Regards Jack

1 REPLY 1
Read only

JackGraus
Active Contributor
0 Likes
405

Your Z program needs a form that is called from the shipment transaction (VT02N). The form is setup in NACE. To transfer data from shipment transaction to your Z program need to declare a global TABLES NAST or include RVADTABL in where this table is already defined. Then when your form is called the shipment number is in NAST-OBJKY.

Regards Jack