‎2007 Sep 11 10:54 AM
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
‎2007 Sep 11 11:01 AM
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
‎2007 Sep 11 11:10 AM
hi karthik..
thanks for ya reply mate!
can you please tell me whats the use of parameter table...
regards
‎2007 Sep 11 11:22 AM
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
‎2007 Sep 11 3:16 PM
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
‎2007 Sep 11 11:11 AM
‎2007 Sep 11 11:22 AM
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