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

SMARTFORM

Former Member
0 Likes
460

Hi,

I copied invoice form from source named LB_BIL_INVOICE to the target form and i have done little modification and then activated the form. by default function module is generated.

HOW THIS F.M IS USED TO GET THE OUTPUT OF FORM

I want to see the preview of my invoice with all windows filled with details. explain me what are the steps to be carried out to see my form.

thank u in advance

regards,

srisai

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
417

Hello,

Go to Transaction V/40.

select your output type. > Now select Processing routines in the nodes and give you form name in the smartform column

Regards,

Naimesh

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
418

Hello,

Go to Transaction V/40.

select your output type. > Now select Processing routines in the nodes and give you form name in the smartform column

Regards,

Naimesh

Read only

Former Member
0 Likes
417

Hi Hari,

The Function Module name can be obtained by clicking Environment->Fn Module Name.

Call this Fn module in the same way as you call a normal fn module by choosing pattern in ur report program.

In case you want to pass any variables from ur program to the smartform specify these in the form routine if ur smartform.

We can see the layout (windows, hard coded text) by executing this fn module direclty.

Regards,

Vidya.

Read only

Former Member
0 Likes
417

Hi,

Go to SE38->open program RSNAST00->find(ctrl+f) for "PERFORM (TNAPR- " -> the cursor will go to the PERFORM statement "PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE US_SCREEN IF FOUND.

". Plce a soft break point(stop button) on that perform.

Now go to VF03 and enter any billing documen number then go to BILLING DOCUMENT -> ISSUE OUTPUT TO -> then it will open the output types which are already configured. You choose the relevent one and press PRINT PREVIEW. Then the control will stop at the PERFORM statement in program RSNAST00.

Here in debugging mode you have to change the value of the variable TNAPR-SFORM. Normally it will contain the already configure form. Delete that and type your form name and press F8.

One advantage with this procedure is that, it is not necessary for you to configure your form in NACE.

Thanks and Regards,

Bharat Kumar Reddy.V