cancel
Showing results for 
Search instead for 
Did you mean: 

filling up the blank space in the design of Interactive form

Former Member
0 Kudos

hi gurus,

I am developing an web dynpro application which contains an Interactive form to display the Invoice.

Now I am designing the Interactive form by getting some data from the back end ie R/3 system.

Now my problem is that I have mapped some output coming from the back end to some field of the Interactive form.And if there is no data for that particular field in the back end then a BLANK SPACE is showing up in the PDF and I want to remove this.

How can I go ahead and see that the blank space is not being shown up in the PDF and the data is aligned properly if at all any field does not return any value.

Thanks and regards,

kris

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

closing the thread

Former Member
0 Kudos

Hi,

Try this script on the field in formcalc.

If ( $.isNull ) then

$.presence = "hidden"

endif

or

write this code on superior subform.

If ( $.<FIELD>.isNull ) then

$.presence = "hidden"

endif

provided the subform should be in flowcontent

pavan meda

Message was edited by: pavan meda

Former Member
0 Kudos

hi pavan,

One more thing I have designed the field to be kept blank in the Master page, so would this also work for the Master Pages.

Please let me know.

Thanks and regards,

kris

Former Member
0 Kudos

Hi Gopi,

write the condition on subform and make it as flow content.

first write in layout ready event, if not working try in intialization event.

pavan meda

Former Member
0 Kudos

hi Pavan,

I am not able to get it work in the Master Page.

I tried the code u have sent me but it is not working for the Master Page as we cannot set the Page in the flow content.

Any help would be appreciated.

Thanks,

kris

Former Member
0 Kudos

HI,

you need not set the master page in flowcontent. you have to wrap the field in subform and make it flow content.

Former Member
0 Kudos

hi Pavan,

sorry for a late response.

I tried to implement the same as u mentioned but it is not working for Master Page.

Please let me know if anything needs to be done from my end.

Thanks and regards,

kris