Application Development 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: 

Getting Approver name one by one for PR smartform

Former Member
0 Kudos

i have designed smartform for PR print out. i am getting all the approver name and approval date field values fetching correctly, but the problem is the alignment of the approver names which is not correct. It is required to come in one by one in the bottom. But it is not coming in that way, please find the below attachment.

13 REPLIES 13

s_nnoorie
Active Participant
0 Kudos

Please send the screen short ...

Former Member
0 Kudos

Former Member
0 Kudos

hi sir..

i need Subramanian Anjaneya name under kavitha sivakumar, not on under one more Electronic approval.

thanks

S.kavitha

s_nnoorie
Active Participant
0 Kudos

What is the problem?

space between you lines or missing approver name?

if it is about the space between lines, then just put a condition on text.

s_nnoorie
Active Participant
0 Kudos

you mean

Aprover1  -----     Kavitha Sivakumar

                            Subramanian Anjaneya

Aprover 2................

Former Member
0 Kudos

Its not space problem ;presently it is coming like this

approver 1: Kavitha Sivakumar

approver 2:

approver 3:

approver 4:

But our  requirement is to come like this given below:

approver 1: Kavitha Sivakumar

approver 2: Subramanian

approver 3: X

approver 4: Y

0 Kudos

HI,

It looks like you are looping to electronioc approval data. It is template or Table? share screen shot where you are printing this?

s_nnoorie
Active Participant
0 Kudos

It look like you have nested loop in smartforms. that why you output is repeating.

check if you have any loop under table and possible send screen short of smartforms (table & its nodes expanded).

Former Member
0 Kudos

i gave it is under table, please find the screen shot, in table2 i declared that internal table.

0 Kudos

Do not take it as table if you want to print it once. Use template to do it.

Former Member
0 Kudos

Using Template means, how i will declare  internal table in that for getting name?

s_nnoorie
Active Participant
0 Kudos

Your smartforms looks ok. Then there should be problem with data in internal tables. I think loop after footer might be creating problem. check your internal tables by placing break points in smartforms.

You can use Tables, No issue in that. but if you are planning to use Template then you have to read record after every line of template or have all approver names in single record.

Former Member
0 Kudos

Sir

i did't get your point. can u please explain how to slove this issue