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

function module for smartforms

Former Member
0 Likes
698

hi,

i created a smartforms in different languages using the same tables (i mean all smartforms using same data)...now what i wanna do is using single program i have to print all this forms using client number , customer and language on the selection screen .someone said to use a parameter table for this so created a table and the fields in the table are

zparentid

zidentifier

zparameter

zvalue

can anybody please tell me how this table can help me...

regards

regards

6 REPLIES 6
Read only

former_member189629
Active Contributor
0 Likes
662

Hi Sudheer,

You dont need a parameter table . While you call the Smartform FM name after getting it from SSF_FUNCTION_MODULE_NAME, send the language parameter as an export parameter from the program. In the smartform, use conditions to display data based on the language key sent. Hope you are clear with my explanation.

Reward if helpful,

Karthik

Read only

0 Likes
662

hi karthik..

thanks for ya reply mate!

can you please tell me whats the use of parameter table...

regards

Read only

0 Likes
662

Hi Sudheer,

Frankly i din understand wat u mean by parameter table. may be it can be passed in the same FM as a table with all the parameters filled in it but I don see any use for it. I say that b'cos, u sed u have a sel screen to set language & client. Simply pass these variables as export params in the FM and your job's done

Read only

0 Likes
662

Hi karthik sorry to bother you again...

how can use conditions to data based on language..if u dnt mind can you please explain in detail..

regards

Read only

Former Member
0 Likes
662

use fm SSF_FUNCTION_MODULE_NAME

Read only

Former Member
0 Likes
662

Hi,

In smartform autometically one function module will generate, don't use that function module as it is in program, better to pass that FM to some lacal varaible

like

FILE TYPE RS38L_FNAM

u have to pass auto generated FM to FILE then u will do it ur smart form print programe any language....

SSF_FUNCTION_MODULE_NAME

this FM also u have to pass in ur programe

<b>Reward me if it is use full answer</b>

praveen