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)

Former Member
0 Kudos

Hi ,

you can implement Multiple value helps in same view .

u can go for the Popup, populate the popup with the required values in a table and from there pass the value to your local view .

U can follow the same for all your views.

Regards,

Govindu

Answers (1)

Answers (1)

former_member185086
Active Contributor
0 Kudos

Hi

Hint is : A row with the same key already exists it means , It is assigning the same value/Key to row and you are calling it at WDDOINIT so it giving error at the time of initialization .

Better way to do the coding at some event in view OR if not possible than just execute the first value help in wddoinit later clear all the value before gettig the other Value help. Code it at WdDoModify View to get its run time behaviour.

BR

Satish Kumar