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

How to dynamically include textelement in smartforms

Former Member
0 Likes
702

Hi Experts,

I need to print payslip using smartform and need to take the values from pay99_result.

I took all the values and filled in the internal table and passed to smart forms, but the requirement is when ever particular wage type is given for an employee only that wage type only printed in the smart forms output. we have 87 wage types.

I designed the layout using table in window and created several table line, in the salray details table line rows values descripiton should come dynamically according to the particular month credited(affected) wage types.

This is the salary details line item .

desc amount annual semi annual deduction amount

textelement1 textelement2 textelement3 ... . . . .. ...

Inn single text element multiple coloumn need to come.

using this text element respective values should come dynamically, i tried condition in the text element , but if condition failed (no values for wage types) whole coloumn is not displaying but for me only that row should not printed.

Any one please guide me how to approach on this issue and how to pass the text element value dynamically ???

With Regards,

Thanesh

3 REPLIES 3
Read only

Former Member
0 Likes
561

HI,

why dont you make use of Dynamic text concept in smartforms..which is fits in your requirement.. to make use of it..

on a window. right click and choose Text.. it will take you to text window..in that choose text type as D Dynamic text...

I hope this answer will help you..

Regards,

Kiran

Read only

Former Member
0 Likes
561

Not answered

Read only

Former Member
0 Likes
561

Hi !

i'm not an expert but i try to help you.

i don`t know if you can put text dinamically in smartforms, but you can probe this.

create a var named "flag" and before you MAIN put a logic process ( true and false).

in depend of data , put that flag in true or false.

Then in your text element put a condicion "flag = true"

so when you print smartforms , the text element only make visible if the condition is true.

Hope this help you.

Regards!