cancel
Showing results for 
Search instead for 
Did you mean: 

how to hide page if data is not available

Former Member
0 Kudos

Hi ,

I have one requirement in which I need to hide a page if data is not available.

I will run standard report F.27, with 3 company code and details will be displayed via custom form in 3 pages , pag1 page 2 and page3.

If some information not available for 1st company code then I need to display only page2 and page3 with page no 1 & 2

How to achieve this ?

Regards

Sandeep

Accepted Solutions (0)

Answers (3)

Answers (3)

Florian
Active Contributor
0 Kudos

Hi Sandeep,

I think the two option above will work at all, but I don't think your inital value will be null. Check what the initial value is in your interface and deactivate the value with the Conditiontab. Then you will be able, to copy the statement from one of these suggestions.

Regards

Florian

0 Kudos

navip
Active Participant
0 Kudos

You can achieve your requirement by writing FormCalc on page1.

select page1 and write the below code in script edotor:

if($.company code1 == null) then

$.page1.presence = "hidden"

else

$.page1.presence = "visible"

endif

---

Naveen