Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

View Cluster Events

Former Member
0 Likes
1,004

Hi Experts,

i have added a maintenace view to the view cluster which has 5 fields out of which 4 fields are of character type and the 5th field is 'split-percentage' with type 'DEC' with length 6 decilmals 2.

In the view cluster i maintained entries and i have given for eg. ( 123,22) for split percentage .

i wrote an event in the the view cluser whichh upon saving a form routine is triggered . i have used the standard routine ' vcl_set_table_access_for_obj ' for getting the maintenance view data in the table <vcl_total>. All the entries in the maintaince view are getting populted correctly in the table <vcl_total> except the field split precentage. it is getting populted in some unrecognizable format (l like chinese characters) .

short summary of the problem:

for ex: in the maintenae view of view cluster i have maintained the entries like

vgroup prim_vend part_vend split_percentage

g1 12000 14500 123,22

upon saving it the form routine gets trigggered ( because i have used Events in view cluster) . collected the data in the table <vcl_total> of type any table .

in this table the data is appearing in ths following way.

200 g1 12000 14500 &^%(some special characters)

Kindly help me in solving this issue.

Best Regards,

Ravi.

Hi Experts,

i have added a maintenace view to the view cluster which has 5 fields out of which 4 fields are of character type and the 5th field is 'split-percentage' with type 'DEC' with length 6 decilmals 2.

In the view cluster i maintained entries and i have given for eg. ( 123,22) for split percentage .

i wrote an event in the the view cluser whichh upon saving a form routine is triggered . i have used the standard routine ' vcl_set_table_access_for_obj ' for getting the maintenance view data in the table <vcl_total>. All the entries in the maintaince view are getting populted correctly in the table <vcl_total> except the field split precentage. it is getting populted in some unrecognizable format (l like chinese characters) .

short summary of the problem:

for ex: in the maintenae view of view cluster i have maintained the entries like

vgroup prim_vend part_vend split_percentage

g1 12000 14500 123,22

upon saving it the form routine gets trigggered ( because i have used Events in view cluster) . collected the data in the table <vcl_total> of type any table .

in this table the data is appearing in ths following way.

200 g1 12000 14500 &^%(some special characters)

Kindly help me in solving this issue.

Best Regards,

Ravi.

2 REPLIES 2
Read only

franois_henrotte
Active Contributor
0 Likes
560

this is because the structure is mapped without any conversion

if you convert it back you should retrieve the original value

as you know which is the table name you do not need to use a generic (flat) structure in the routine linked to your event

so you can convert it back to a fully typed structure before you handle the values

Read only

0 Likes
560

Hi François Henrotte ,

Thanks a lot for your valuable input. This solved my probelm.

Cheers,

Ravi.