hello. im trying to set presence visible for light/dark logo based on a condition, but no matter what i try both of them show up, so either the condition is wrong, the data is returning null (which i dont get cause the binding is correct), or im missing something else.
white logo code:
data.#pageSet[0].Page1.logosubform.whitelogo::initialize - (FormCalc, client)
var v_bukrs = ZRGO_FRM2.HEADER.DS_EKKO.BUKRS
if (v_bukrs == "C020") then
this.presence = "visible"
else
this.presence = "hidden"
endif
dark logo code :
data.#pageSet[0].Page1.logosubform.darklogo::initialize - (FormCalc, client)
var v_bukrs = ZRGO_FRM2.HEADER.DS_EKKO.BUKRS
if (v_bukrs == "C020") then
this.presence = "hidden"
else
this.presence = "visible"
endif
i tried calculate, docReady and layout:ready events but nothing changes. any ideas?
Request clarification before answering.
Your visibility logic for light/dark logos in an SAP Adobe Form wasn’t working because of three main issues:
1. Wrong data binding path
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.