on 12-02-2011 11:01 AM
Hi Experts,
I got a requirement that i need to place custom header labels in OVS selection criteria. I will show you the scenario:
let us take a example:
Header Info
vbeln: input-field
erdat: input-field
Item info
posnr:input-field
baseunit: input-fields.
Here my requirement is how to put custom lables that are " Header info or Item info" in OVS selection criteria,
Help me please.
Hi,
Here my requirement is how to put custom lables that are " Header info or Item info" in OVS selection criteria
you can try this: In the ovs_callback_object->set_configuration() method, pass the value which you want to display as header in the Window_Title parameter.
ovs_callback_object->set_configuration(
label_texts = lt_label_texts
column_texts = lt_column_texts
WINDOW_TITLE = 'Header Info
col_count = 2
row_count = 10 ).
Now your 'Header Info' will come as the title of the search window.
Hope it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi rammy1,
There is already provision to change the label in Phase 0 of OVS generated code , right? We can renam ethe input field or labels accordinbg to our requirement.
For example:
CASE ovs_callback_object->phase_indicator.
WHEN if_wd_ovs=>co_phase_0. "configuration phase, may be omitted
in this phase you have the possibility to define the texts,
if you do not want to use the defaults (DDIC-texts)
ls_text-name = `ACTNO`. "must match a field name of search
ls_text-value = `Application No.`. "wd_assist->get_text( `001` ).
INSERT ls_text INTO TABLE lt_label_texts.
Regards,
Simi A M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess there is an option for changing the title. Check the methods i OVS of IF_WDR_OVS. there is a title or text in one of the methods. I exactly donot remeber the method name. check it once.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.