Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Hiding Pages in ADOBE form using formcalc scripting.

Hi Experts,

I am new to ADOBE form and currently working on invoice print output. (NOT an Interactive adobe form)

My requirement is

i wanted to print one main page and 5 different annexures(anexures are having different layouts so is in diff forms and contained in diff pages)

Deppending on 'Oreder reason' (made as global variable) , i need to select appropriate annexure and print

main page and any one of the annexure.

so i should hide all other annexure, to achive this i used formcalc scripting.

i tried hiding annexure 2 by following code,

data.Annexure2::ready:form - (FormCalc, client)

if ( data.G_F_ORDER_REASON.rawValue == "ANX" )

then $.presence = "hidden"


i have passed value 'ANX' to this , i could see the value of order reason printed on page Annexure2 but it is not executing (getting in to if condition) condition and not hiding the page ...

Experts please help me...

this way i have to hide 4 other annexures...please help me or give me some other option to achive this.

thanks and regards


Edited by: skyblue on Aug 6, 2011 3:30 PM

Former Member
Not what you were looking for? View more on this topic or Ask a question