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

Script

Former Member
0 Likes
318

Hi friends,

Please let me know the answers for the following questions:

1.How to modify driver prgm ?

2.How to pass data frm layout to the driver prgm?

3.How to see the o/p data of layout by using print configuration?

2 REPLIES 2
Read only

Former Member
Read only

Former Member
0 Likes
299

Hi,

You can copy the Std Driver Program to Z program and do the modifications.

When you attach the Output type, Driver Program, and SCRIPT in NACE transaction, then automatically when you refer the Fields that are available in Program, the data will come into the Layout.

This happens as you will give the SCRIPT Layout Name in the Program by calling a Fun Module 'OPEN _FORM'.

If at all you need to get the data from external tables other than the Tables used in Std/related driver program you have to write PERFORM Statement and to write Code to get data.

You can see the output from the related transaction code: like for Invoice from VF02/ VF03 , for Order VA02/VA03 for PO ME22n/ ME23n etc.

If you are not using the Std Program and Std script not related to any std Transaction, then execute your Z program straight away and see the Ouput.

Hope you understood.

Regards,

Anji