cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement multiple Value Helps within the same Application ??

Former Member
0 Kudos

Dear Experts,

I want to implement multiple value helps in the same view.For that I have declared exporting parameters of type 'wdy_key_value_table.' within the component controller for each of the value helps.While I do activate and test the application I get the following error :

The following error text was processed in the system HE6 : A row with the same key already exists.

The error occurred on the application server hsdnt24s11_HE6_00 and in the work process 4 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: VALUESET_BSART of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP

Method: IF_PO_VIEW1~VALUESET_BSART of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP

Method: WDDOINIT of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP

Method: IF_WDR_VIEW_DELEGATE~WD_DO_INIT of program /1BCWDY/9VSHJWRNR0EZPKFT3ZKC==CP

Method: DO_INIT of program CL_WDR_DELEGATING_VIEW========CP

Method: INIT_CONTROLLER of program CL_WDR_CONTROLLER=============CP

Method: INIT_CONTROLLER of program CL_WDR_VIEW===================CP

Method: INIT of program CL_WDR_CONTROLLER=============CP

Method: GET_VIEW of program CL_WDR_VIEW_MANAGER===========CP

Method: BIND_ROOT of program CL_WDR_VIEW_MANAGER===========CP

I dont know how to implement multiple value helps.Need your help on this.

Regards,

Mamai.

Accepted Solutions (1)

Accepted Solutions (1)

gill367
Active Contributor
0 Kudos

set new valueset every time you want a new value help for an attribute.

where is the error coming.

go to st22 and find out the source code.

thanks

sarbjeet singh

Former Member
0 Kudos

Hi,

As per the error above, this not a SAP end error, it comes when the application is loaded.

We are also setting new values for the different attributes for the different value helps.

Please help.

Regards,

Mamai.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

It seems like your valueset isn't unique - like you have a duplicate key in the value set. Can you can confirm this in the debugger; that your data for this valueset really has all unique keys?

Answers (0)