cancel
Showing results for 
Search instead for 
Did you mean: 

OVS for two fields in the same selct Option?

Former Member
0 Kudos

Hi Experts,

I am using select options in my view. I am using OVS for one field. I would like to use same OVS for another field in the same select option.

I tried "case ovs_callback_object->context_attribute". Which return the field for which we press F4.

But IT did not work here probably because this we can use only for context attributes fields.

but But here I dont get the select option field.

But in my case I have select options which are not mapped to any context attribute.

How can I find , for which field in select options F4 help has been requested?

Regards,

Vishal.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vishal,

If u r using the OVS i think u can fill multiple fields by running an ovs for one field.

But in ur case if u implement this both the fields will have same values.

Please try this once.

I have a request also.

I am trying to use OVS in a select option and facing the error "Set_output_table" not called.

Please share any doc for using OVS in select option or if possible please reply to my thread in this forum.

Thanks!!

Regards,

Sumit Oberoi

Former Member
0 Kudos

Hi,

You can find which field in select options F4 help has been requested using I_OVS_DATA-M_SELECTION_FIELD_ID.


        CASE I_OVS_DATA-M_SELECTION_FIELD_ID .
        	WHEN 'PERNR'. 
                    ....
        	WHEN 'ENAME'. 
                    ....
        	WHEN OTHERS.
                    ....
        ENDCASE.

If you are using one OVS for more than one fileds, please remember that you need to provide different code for each fields at phase 0 (configuration) and phase 3 (apply result).

Regards,

Former Member
0 Kudos

Hi Jatra,

Thanks a lot.

Regards,

Vishal.