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

Smartforms

Former Member
0 Likes
703

I have a smartform which i have to develop from scratch i mean the purchase order

How to start with the driver program.

Hi Group,

I have to get the data from 6 tables they are

ekko,ekpo,lfa1,adrc,kna1,t001w.

How to start the driver program .. whenever i click on ME23n and click print preview this

form should be triggered . how to do that.

Any help would be welcome.

Thanks

jackson

1 ACCEPTED SOLUTION
Read only

amit_khare
Active Contributor
0 Likes
681

For creating smartforms check this link -

For attaching it to ME23N, use NACE tcode to do so.

Regards,

Amit

Reward all helpful replies.

7 REPLIES 7
Read only

amit_khare
Active Contributor
0 Likes
682

For creating smartforms check this link -

For attaching it to ME23N, use NACE tcode to do so.

Regards,

Amit

Reward all helpful replies.

Read only

Former Member
0 Likes
681

Hi,

Write A report program in SE38 to drive the Smartform by fetching the data from all the six tables and call the fun module to generate the smartform.

design the smartform in SMARTFORMS Tcode as per your requirements and attach the Driver program and the Smartform in the NACE transaction ofr the Output Type (like NEU).

then it will be triggered by ME22N/23N t codes.

reward if useful

regards,

Anji

Message was edited by:

Anji Reddy Vangala

Read only

0 Likes
681

Thanks Anji,

That was really helpful.

Regards

jackson

Read only

0 Likes
681

Hi Anji,

Can u provide me the sample Smartform driver program .

Thanks in Advance

Regards

Jackson

Read only

0 Likes
681

Hi Anji,

Could you please provide me with the sample code , so that i can understand easily..

Regards

Prabhas

Read only

Former Member
Read only

Former Member
0 Likes
681

Hi Jackson,

As per the description you have given i.e. you need to trigger your smartform when T-Code ME23N is run.

Here what you can do is that...

you can use ME23N as a standard driver program and copy the standard smartform attached to this program then all the interface parameters are already available with you..then change the now copied smartform according to your requirement.

Go to NACE, attach the output type for that transaction to the smartform and then when you will run ME23N your smartform will be called in turn.

Thanks and Regards,

Kunjal Patel