cancel
Showing results for 
Search instead for 
Did you mean: 

Can i send 2000 CHARs STRING from webdynpro to interactiv form via CONTEXT?

former_member202077
Participant
0 Kudos

Hello,

I am developing a adobe interactive form with webdynpro abap.

I have to send some custom tables data(basically, this data is set of FLAGS for all the fields of the form, which flags determined the DISPLAY properties(grey, mandatory etc.) of fields of form) from SAP to Adobe form, then, based on this FLAGS, i will change the display characteristics of fields of adobe.

To achieve this, i have created a STRING type of ATTRIBUTE in the CONTEXT, which carries this FLAGS data as a STRING from SAP-webdynpro to adobe, then, i will write the Java script on the form. Because, i want to have simple procedures/methods, i would not like to pass this flags data as TABLE node from webdynpro to adobe, so i opted STRING

Pls. let me know, 1) Is there any LIMITATION in perspective of length of string to send from webdynpro to adobe, am expecting in my case the length wuld be 2000 CHARs, is it okay?

2) is there any better APPROACH than my idea?

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

former_member198445
Participant
0 Kudos

Hi,

As long as your context attribute is of type string, you would not have a limitation on the amount of data sent.

But as for the approach, I do not understand why you would need >2000 characters for setting display attributes of fields. Could you elaborate a little more?

Regards, Amith

former_member202077
Participant
0 Kudos

Thank you.

1) Then, to utilize the content of 2000 CHAR long STRING, do i need to draw a HIDDEN text field on the form, then, BINDING this (context's) 2000_CHAR long field to the just drawn field?

2) or its not necessory to BIND this (context's) string to any input field on the form in order to utilize its (context's) string attribute CONTENT (flags data) in the SCRIPT?

former_member198445
Participant
0 Kudos

Well, you don;t need to bind the atribute to any screen field.

You can use it directly like this

$record.your_attribute_name.value

Regards, Amith

Answers (0)