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

Smart Forms

Former Member
0 Likes
408

Hi Friends,

I have a requirement where i have to capture the value of MBLNR(Material document number)and pass the value to a report where it will call the smartform.

In transaction MB03 an output type will be cofigured and when i execute this output type the smartform will be executed.

I don't know how to pass the value of MBLNR thru the Report. Is there any standard program available like RLB_INVOICE where billno will be passed to activate the smartform.

1 REPLY 1
Read only

Former Member
0 Likes
292

When you are configuring things for transaction MB03, you will enter a program name and a subroutine(form name). The form name has a typical structure, something similar to this:

form entry_aufb using ent_retco ent_screen.

endform.

The print program will be of type INCLUDE. The form will have the above parameters and the NAST structure will already be populated with the MBLNR value.

MB03 --->

Print Program(your report program of type include) -


>

Subroutine -


>

Function Module generated after creating Smartform

Usually, there is another function module,<b>SSF_FUNCTION_MODULE_NAME</b> where you give the <b>name of the smartform</b> as input, and it returns the name of the function module to be called.

HOpe things are clear, now.

Regards,

Subramanian V.