cancel
Showing results for 
Search instead for 
Did you mean: 

64K byte Visual Composer Compilation Error

Former Member
0 Kudos

Hi,

I am using Visual Composer to design the screens of our customer. The

screens are composed of around 90 UI elements and many of the Input

Fields have a Value Help.

The model was compiling and deploying fine up to a point where I have

started receiving an error during the attempt to deploy it. The error

message is the following:

"Error: A function in the code exceeds the 64K Byte limit (actual

size=65628). Since the problem occurs in the compiler generated

deferred insatiation code, please refactor/compnetize portions of this

document."

I have noticed that when taking out from the model some UI elements it

compiles and deploys fine. This is not accptable though since these UI

elements are required for the screen.

Could you please advice on this error?

Is there a limitation on what can be included within a single VC Model?

Thank you in advance.

Kind Regards

Michael

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

If You have so many UI elements then split some of them logically & create some 'Nested iViews' & assign these fields in these views. By using 'Signal In & Out' you can pass & get the values from one view to another.

Refer the following thread also -

https://wiki.sdn.sap.com/wiki/display/VC/64Kbytelimit

Regards

Sandeep

Former Member
0 Kudos

Hi Sandeep

Thank you Very much for your quick and accurate reply to my question. I followed what you have suggested and now I am not getting the error.

The challenge that I have now though is the following. If I split the input fields into 3 nested iviews how can I used the Singnal out of all three nested iviews as import paramaters for a BAPI?

How can an event trigger the input of all three output signals?

Could you please let me know on how this is feasible?

I would very much appreciate your reply.

Thank you in adavnce.

Kind Regards

Michael

Former Member
0 Kudos

Hi

In your nested iview go to the point from where you want to pass the values. Connect the output at that instance to the 'Signal Out' connector. In the properties of of that connector create 'Text/Numeric strings' for the values which you want to pass. Then map your fields to each string. Do this for all the nested views.

After doing this you will get output port for all the nested iview. Connect this output port to your BAPI input.

Regards

Sandeep

Former Member
0 Kudos

Hi Sandeep,

I have tried that and to check if one of the field values within one of the nested iviews is coming I have dragged out its port (on the source iview level) and created a form. When I deploy the application and run it with specific values then I don't see any value for this new field although the equivalent field within the nested iview is filled.

Could you please let me know why is that?

Thank you.

Kind Regards

Mike

Answers (0)