cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide table for empty table

Former Member
0 Kudos

Hi,

how to hide the table when no data present in the node.

Thanks

Mahesh

Accepted Solutions (0)

Answers (2)

Answers (2)

NoJo
Active Participant
0 Kudos

if you use a ddic interface use conditions in your context.

OttoGold
Active Contributor
0 Kudos

Hello,

the most simple thing is to test if the table IS INITIAL in your ABAP coding, set on some prepared flag (this allows you to set up the flag not only when the data is initial but in other situations which may lead to hiding this form par). And next test this flag using scipt in the form. Code snippet for FormCalc:

if ( $record.G_TCODE_VARIANT eq "FMBB" ) //printing from transaction FMBB

then

$.presence = "visible"

else

$.presence = "hidden"

endif

Hope this solves the problem, regards, Otto