Skip to Content

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

PDF - container variables in a script

Hello.

Please tell me how I can refer to the variable container PDF if they are not on the screen.

For Example:

I imported from the interface in the container table IT_TAB with fields:

FIELD01

FIELD02

FIELD03

COLOR_LINE


In the form of PDF displays a table IT_TAB with fields:

FIELD01

FIELD02

FIELD03


That is a technical field COLOR_LINE.


For example I want to change the color of rows in the table, depending on the value of the field COLOR_LINE. I write the following script:


data.#subform[1].IT_TAB.DATA::ready:layout - (JavaScript, client)


DATA.fillColor = DATA.COLOR_LINE;


But the variable is not defined COLOR_LINE. How can I get the value from the field COLOR_LINE?

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