Multiple Selection in F4 help
Unlike BSP, WebDynpro have a very nice integration of F4 helps from DDIC.
I wonder if F4 helps also support multiple selection.
So, can the user select multiple lines in the result list, and transfer all back to the calling screen?
How can I switch this on in the F4 help? By setting the cardinality of the context node?
How is the selection transferred back to the calling screen?
Must there be a table with multiple editable lines, into which the selected elements are transferred? Or can retrieve the selected elements programmatically?
Hi daniel ,
You can do your requirement in one more way by implementing the Search help exits .
For eg :
Search Help PREM will give the list of Employee , but you want only the employee with the status 'Active ' in this case you can create a serch help exit .
Create seach help exit.
Take z copy of Function module F4IF_SHLP_EXIT_EXAMPLE .
Declare all the Parameters "see some example by using where used list
inside that FM you can find the piece of coding . uncommend thePerform and write your logic inside the perform
IF CALLCONTROL-STEP = 'SELECT'.
PERFORM STEP_SELECT TABLES RECORD_TAB SHLP_TAB
CHANGING SHLP CALLCONTROL RC. " write your logic in this perform
IF RC = 0.
CALLCONTROL-STEP = 'DISP'.
ELSE.
CALLCONTROL-STEP = 'EXIT'.
ENDIF.
EXIT. "Don't process STEP DISP additionally in this call.
ENDIF.
For formatting your Result internal table . pass your final int table to below mention FM
*Formating the result table
CALL FUNCTION 'F4UT_RESULTS_MAP'
* EXPORTING
* SOURCE_STRUCTURE =
* APPLY_RESTRICTIONS = ' '
TABLES
SHLP_TAB = p_shlp_tab
RECORD_TAB = p_record_tab
SOURCE_TAB = LT_PA0002 " Final internal table
CHANGING
SHLP = p_shlp
CALLCONTROL = P_CALLCONTROL
EXCEPTIONS
ILLEGAL_STRUCTURE = 1
OTHERS = 2
For mor information on Search Help Exit Refer the bellow link
http://help.sap.com/saphelp_bw/helpdata/en/cf/21ee52446011d189700000e8322d00/content.htm
Regards
Chinnaiya P
Edited by: chinnaiya pandiyan on May 26, 2010 6:43 PM
Edited by: chinnaiya pandiyan on May 26, 2010 6:47 PM
Similar Messages
-
Possibility for multiple selection in F4 help
Hi,
at the moment I have to change the marketing attributes in PCUI. We need a functionality that allows us to select multiple values in the F4 help and depending on the amount of selected values the amount of entries for marketing attributes will be generated.
Is there a possibility to realise a multiple selection in F4 helps?
What needs to be done?
Would be great if you could help me.
Kind regards,
TimoHi Naveen,
thanks for your help. Just to be sure, I meant a standard simple F4 help using F4_main.do. Is it somehow possible to change it there for one specific F4 help or do I need to develop a complete new BSP application for it? The BSP application I'm talking about is not a custom developped application but generated through F4_main.do
Kind regards,
Timo -
Multiple selection in F4 help in table control
Hi,
I am providing F4 help for a particular field in the table control. User must be able to select multiple values from this F4 help this is done using the function module F4IF_INT_TABLE_VALUE_REQUEST. Now the selected fields have to be transferred to screen, this is done using FM DYNP_VALUES_UPDATE.
My problem is i have 6 rows displayed in my table control. So only first 6 values from the user selected values are getting updated in my screen fields others are not getting updated. Say if the user selects 10 values out of them only 6 is populating in the screen. How do i get the others also? Please help.
Thanks,
KarthikHi,
Check the Following threads
can we select multiple entries from a F4 result?
Table Control dynamic F4
After you select Multiple rows from F4 Help these are stored in RETURN table.
Now in main program modify the Internal Table.
In PAI
loop at itab.
" You can not handle this in this Loop
endloop.
module modify_from_f4
process on value-request
field fname module get_f4 " Here you get the F4 Help and the values are in RETURN tab
in Program
module modify_from_f4.
" in this module you can use the RETURN TAB like
loop at itab
read table RETURN with key fnam = itab-fnam " and get the corresponding value and modify itab from RETURN tab
if you can not find common fields and just want to pass the values then
read table RETURN INDEX SY-TABIX. " IF the Itab is empty then follow below loop
endloop.
loop at return.
move return-fieldvalue to itab-fnam
append itab.
endloop.
endmodule.
Cheerz
Ram -
Multiple selection in value help with Web service
Hi All,
I want to get data from web service and store in data base. I created input form with set of inputfields. For some input filds in that input form, I want to get value from web service.So I have used value help wizard. I followed below link to create value help wizard for web service.
Value help wizard working with java web service ?
While creating value help, it is only showing 'single selection' option. It does not showing any other options. Here I want to get multiple values from value help. How can I acheive this?.
Thanks,
Venkatesh RHi Venkat,
Try the below links for value help in visual composer.
Visual Composer: Value Help Data Service
Choosing Multiple Values within Visual Composer
http://help.sap.com/saphelp_nw04s/helpdata/en/50/91db4238bbf140e10000000a1550b0/frameset.htm
Regards
Basheer -
Multiple Selection of Search Help
Hi Guys,
I've read SAP's note that:
Multiple selections in the search options is not supported when you use the search help control. If you need these selections, you can also use the list mode SAP GUI for HTML:
Select the 'Help->Settings ->F4 Help' menu option to access the dialog box where you must then choose 'In modal R/3 dialog box' as the display option.
However, this setting is only user-specific. Is it possible to make it system-specific? i.e. enable it for all users?
THanks,
ZhenminHello ZhenMin,
Yes, you can make it the system default or change it for all users by doing the following:
1. to make "Dialog (modal)" the system default go to SU52, Parameters and then add parameter name "F4METHOD" with a value of "NoActiveX"
2. to change the value for the current users go to table USR05 and change the value of the field "F4METHOD" to "NoActiveX".
Edgar -
Multiple selection with F4 help in webdynpro
Hi all,
Is it possible to create F4 value help for a field in webdynpro which will support multiple selection?
If the user selects multiple entries, then a new input field will automatically be inserted. Much like F4 help on BW Web Templates.
Thanks,
Satyajit.Hi Satyajit,
Here is the link to the tutorial which Pran is talking about
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutorial on advanced value help and object value selector - 9.htm
and see the link below also which discusses on the listener events
Binding UI elements to Java Listeners
Regards
Rohit -
ITunes 9.2 stops adding multiple artwork in multiple selection mode. Help?
Hi everybody,
Since 2003 I've been using iTunes and adding multiple artwork in several tracks at once.
Lets say: I added 10 tracks of a CD to iTunes library, then selected all of them and then right click to choose "Get Info > Multiple Item Information". Then I just dragged and dropped as many artwork pieces as I wanted onto the artwork window, one by one. Clicked OK and voilá.
Now it will only accept one artwork. Following the procedure I used to do, now it will only take the last artwork I place onto the artwork window.
Now the only way to get multiple artwork in a CD is adding all the artwork (lets say the 20 pages of the booklet) one by one in "each track" separately!, which is a pain in the neck.
So now I have to add artwork one by one to each track one at a time.
Is there a NEW way to add multiple artwork on multiple tracks at once in iTunes 9.2?
Screen shot: http://grab.by/51UT
Thank you for your help.Hi- you might've already figured this out on your own, but:
A) add the first artwork picture (what you want for your cover artwork) using "Get Info > Multiple Item Information" - and close the Multiple Item Information window
B) with the multiple tracks still selected, drag your additional artwork picture items into the artwork panel in the lower left corner of the iTunes window (this is the artwork panel titled "selected item").
C) your additional artwork will be added to all of the selected items. You can click through the artworks using the left/right arrows above the artwork panel.
Obviously you can also use this same method to add that same additional artwork to any other tracks, from other albums, etc. simply by selecting them as well.
Side note, the easiest way to select all tracks from a single album: select the starting track, then use ctrl-shift and select the ending track- all tracks between those two will be selected.
Aaaaaand you're done! Hope this helps! -
Search help multiple selection of search results
Hi,
I have a search help (SE11) and it is correctly integrated in my WDP4A application using 'automatic' search help integration. Unfortunately multiple selection of search results does not seem to be supported (the ok button greys out when >1 result is selected). Is there a standard way to link a search help to an attribute in a 0..n value node, so that at runtime a new context element is created for each selected search result? Or do I have to recreate the search help from scratch to get this behaviour (OVS)?
If the latter is true, then why is it even possible to select multiple search results?
Kind regards,
JeroenHallo Jeroen,
OVS standard configuration does not allow you to select more than one configuration, You need to specify that explicitely on Phase-0 of OVS using the set_configuration method.
see
[Multiple Selection in F4 help|Multiple Selection in F4 help]
[http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP|http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP]
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70cee684-ccbb-2c10-3c94-91e806e5f7ac?quicklink=index&overridelayout=true|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70cee684-ccbb-2c10-3c94-91e806e5f7ac?quicklink=index&overridelayout=true] -
One search help for multiple select-options in webdynpro abap
Hi,
I need a way to use one search help for multiple select-options fields. My scenario is :
I have a table for keeping different organizational units' values of different systems. I have pasted some sample data from this table at the end of this mail. On the screen I want to have 1 select-options filed for werks, and 1 select-options filed for vkorg. (In fact I will have more org. unit fields...) In the beginning of my application the user will select sid.
If the user selects ADS as SID, when he opens search-help for the first org. unit (werks), he will see the records with SID: ADS, VARBL = $WERKS, LANGU = SY-LANGU.
If the user selects AGT as SID, when he opens search-help for the second org. unit (vkorg), he will see the records with SID: AGT, VARBL = $VKORG, LANGU = SY-LANGU.
I have created a search-help taking SIDD, VARBL and LANGU as import parameters; used field mapping and bound this search help to my table. I have created 2 context nodes : org1 and org2 having attributes SID, VARBL, VALUE, LANGU .
I have assigned related SID, VARBL and Langu values to these attributes at runtime as I needed. That way, if I use input field and reference to the related context attributes org1-value and org2-value2 accordingly, search help works well as I want.
However, when I use select-options field , I can not bind the field to the context data. I can give reference only to ddic structure. Is there any way to reference to a context attribute? I searched for this in SDN, but could find nothing.
I think I won't be able to use this way. What do you say?
As I read from forums maybe using OVS help will be suitable for me. But I have to use one search-help for all select-options fields. Do you know how I can determine the active select-options field and pass its name (for instance "werks" ) as parameter to this OVS search help. (Also I'll pass SID and LANGU.)
MY TABLE (ZBYYT080) CONTENTS:
SID VARBL VALUE LANGU VTEXT
ADS $WERKS 1 T Werk 0001
ADS $WERKS 11 T OZYAS GIDA URETIM YERI
ADS $WERKS 5501 T BOYA GEBZE FABRİKASI
ADS $WERKS 5502 T BOYA CIGLI FABRİKASI
AGT $WERKS 2301 T KAMLI DAMIZLIK
AGT $WERKS 9601 T PANAR DENIZ URETIM YERI
ADS $VKORG 22 T AA KİMYASALLAR
ADS $VKORG 8001 T İINSAAT BOYALARI
AGT $VKORG 6500 T DAMk St.Org
AGT $VKORG 5400 T PANAR St.Org.
I wish I'm clear enough..
I will be gald if someone answers me as soon as possible...
Thanks İn advance..
MERALHi,
Your ques is how to refer to a DDIC search help to refer to selection screen parameter ?
Am I right ?
If Yes, then in the interface IF_WD_SELECT_OPTIONS
method ADD_SELECTION_FIELD, ADD_PARAMETER_FIELD etc
have importing param like I_VALUE_HELP_TYPE and I_VALUE_HELP_ID, I_VALUE_HELP_MODE, I_VALUE_HELP_STRUCTURE
etc which may help you to link your create DDIC Search help to selection screen params.
this is just a clue from my side. I haven't tried it myself.
You can go to the where used list of this method and find some sample implementations which use these params.
Hope this helps.
Regards
Manas Dua -
How do I import or move multiple selected photos to an existing album in iPhoto 9.6? In previous versions I could select and drag multiple photos into an album. Now I can only move one photo at a time. Help!
Try this general troubleshooting procedure:
1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
User/Home/Library/ Preferences folder.
2 - delete the contents the following folder: User/Library/Containers/com.apple.iPhoto
3 - reboot, launch iPhoto and try again.
NOTE: For Mavericks and Yosemite, go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
where you can check the Show Library Folder checkbox. -
Help in using multiple select tag
Hi all,
I'm trying to make a jsp application that as follows:
1- A multiple select control appears with a number of items in it
2- Another multiple select is empty
3- When you choose and item from the first select control and press a button the item moves to the second select control
It is common to see such a thing in customizing ur yahoo page,
the problem is that I don't know how to create an empty select control and then assign it items dynamicaly, please if any one can help me I would be grateful.
Thanks...function insertNewOptions(x, y, field) {
var mylength = 0;
myOption=new Option();
myOption.text = y;
myOption.value = x;
mylength = field.length;
document.forms[0].field.options[field.length] = myOption;
} -
Removing Interval in the value help of the Multiple selection in WD4A
Hi All,
Please help in the way to remove the interval in the pop-up of the value help of the multiple selection in the select option of the web dynpro ABAP.
Also help me selecting the complex restrictions Via: I_COMPLEX_RESTRICTIONS in the below code.
wd_this->m_handler->add_selection_field(
i_id = '/SCMTMS/BUPA_INTERNAL_ID'
it_result = lt_range_table
i_read_only = read_only
I_NO_INTERVALS = ABAP_TRUE
I_COMPLEX_RESTRICTIONS = lv_res
Thanks in advance ,
Selvakumar M.Hi Selva,
For removing the interval set the parameter 'i_no_intervals' of method add_selection_field to true.
Complex restrictions has following parameters.
l_complex_restrictions-m_include-eq = abap_true.
l_complex_restrictions-m_include-cp = abap_true.
l_complex_restrictions-m_include-ge = abap_true.
l_complex_restrictions-m_include-gt = abap_true.
l_complex_restrictions-m_include-le = abap_true.
l_complex_restrictions-m_include-lt = abap_true.
l_complex_restrictions-m_include-ne = abap_true.
l_complex_restrictions-m_include-np = abap_true.
l_complex_restrictions-m_exclude-eq = abap_true.
l_complex_restrictions-m_exclude-cp = abap_true.
l_complex_restrictions-m_exclude-ge = abap_true.
l_complex_restrictions-m_exclude-gt = abap_true.
l_complex_restrictions-m_exclude-le = abap_true.
l_complex_restrictions-m_exclude-lt = abap_true.
l_complex_restrictions-m_exclude-ne = abap_true.
l_complex_restrictions-m_exclude-np = abap_true.
You can set the value of these as desired. Also pass i_use_complex_restriction parameter of method add_selection_field as true while using complex restrictions.
Regards,
Pooja -
Select-Option F4 Help Multiple Selection
Hi
I have wriiten the code to provide custom F4 help for a field using F4IF_INT_TABLE_VALUE_REQUEST' and then updating the values back to screen using Function Module DYNP_VALUES_UPDATE.
It is working fine when the F4 is used on the main screen, But when i click on the multiple selection button and press F4, i do get the F4 values list, but selected value is not getting passed back to the field.
I guess the issue is the field name changes in the multiple section option, Please suggest how can i fix it.
*& Form update_date_bATCH
Updating the sel_screen with the retrieved values
FORM update_date_batch USING pt_filename pt_fieldvalue.
Rundate
st_dyn_fields-fieldname = pt_filename.
st_dyn_fields-fieldvalue = pt_fieldvalue.
APPEND st_dyn_fields TO it_dyn_fields.
Function Module to update the screen with the values retrieved
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
dyname = sy-repid
dynumb = sy-dynnr
TABLES
dynpfields = it_dyn_fields
EXCEPTIONS
invalid_abapworkarea = 1
invalid_dynprofield = 2
invalid_dynproname = 3
invalid_dynpronummer = 4
invalid_request = 5
no_fielddescription = 6
undefind_error = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE i006(zffi).
ENDIF.
ENDFORM. " update_new_date_timeYou have added the F4 to a select-option for areport and would like to get the F4 values back into the select-option, when the user selects multiple values?
If this is the case you have to fill the internal table behind the select-option and this will have to based on waht the user selected.
The first value will go on to the screen the way you have done it.
If this is what you want to do?
Rene -
Help needed with singleSelection and multiple selection in table.
Hi ,
How do i implement the singleSelection and multipleSelection on table rows.
How do i capture the checked rows?
How should the code be written and where should it be written.
I should be capturing the values of the checked rows and pass it to the pl/sql package.
I have a table - in -table so there is a singleselection on the outer table and multiple selection on the Inner table.
Could anyone help me with this.
Thanks,One solution to most of your questions : Read the advanced table section of Dev guide.
Always go through the dev guide before putting up the issue. Let the forum be for those scenarios which dev guide doesn't covers in much detail.
--Shiv -
I have a data template with several parameters. For one of the parameters I want to be able to select one, multiple or ALL values. At this time I can select one value and it runs fine. If I select more then one value, then I get an error that says: INVALID NUMBER
I am not sure what I am doing wrong.
Here is my data template:
<dataTemplate name="ld_status" dataSourceRef="xmlpdemo">
<parameters>
<parameter name="p_ke" dataType="number"/> <parameter name="p_beg_twn" dataType="number"/>
<parameter name="p_td" dataType="character"/>
<parameter name="p_beg_rng" dataType="number"/>
<parameter name="p_rd" dataType="character"/>
<parameter name="p_beg_section" dataType="number"/>
<parameter name="p_end_twn" dataType="number"/>
<parameter name="p_td2" dataType="character"/>
<parameter name="p_end_rng" dataType="number"/>
<parameter name="p_rd2" dataType="character"/>
<parameter name="p_end_section" dataType="number"/>
<parameter name="p_beg_parcel" dataType="number"/>
<parameter name="p_end_parcel" dataType="number"/>
<parameter name="p_beg_active" dataType="character"/>
<parameter name="p_end_active" dataType="character"/>
</parameters>
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[select distinct
l.quad o_quad
, l.twp o_twp
, l.rng o_rng
, l.section o_section
, l.county o_county
, l.fund o_fund
, l.parcel o_parcel
, get_land#_display(l.quad,l.twp,l.rng,l.section,l.county,l.fund,l.parcel)
o_display_land
, get_cnty_desc(l.county) o_county_display
, get_fund_desc(l.fund) o_fund_display
, decode(l.active, 'A','Active', 'I','Inactive', ' ') o_active
, l.surface o_surface
, l.oil_gas o_oil_gas
, l.mineral o_mineral
, l.surface_open o_surface_open
, l.oil_gas_open o_oil_gas_open
, l.mineral_open o_mineral_open
, t018.description o_class_description
, t002.description o_ownership_description
, l.leased o_leased
, l.surface_text o_surface_text
, l.oil_gas_text o_oil_gas_text
, l.mineral_text o_mineral_text
, l.comments o_comments
, l.last_maint o_last_maint
, l.surface_maint o_surface_maint
, l.oil_gas_maint o_oil_gas_maint
, l.mineral_maint o_mineral_maint
, l.comment_maint o_comment_maint
from land_legal l
, t018_land_classification t018
, t002_ownership t002
, statmast s
, quad q
where l.class = t018.code (+)
and l.ownership = t002.code (+)
and l.parcel = 1
and l.quad = s.quad
and l.twp = s.twp
and l.rng = s.rng
and l.section = s.section
and l.county = s.county
and l.fund = s.fund
and l.quad = q.quad
and (to_char(l.twp,'000')||'-'||to_char(q.td)||'-'||to_char(l.rng,'000')
||'-'||to_char(q.rd)||'-'||to_char(l.section,'00')) >=
(to_char(:p_beg_twn,'000')||'-'||to_char(:p_td)||'-'||to_char(:p_beg_rng,'000')||'-'||to_char(:p_rd)||'-'||to_char(:p_beg_section,'00'))
and
(to_char(l.twp,'000')||'-'||to_char(q.td)||'-'||to_char(l.rng,'000')
||'-'||to_char(q.rd)||'-'||to_char(l.section,'00')) <=
(to_char(:p_end_twn,'000')||'-'||to_char(:p_td2)||'-'||to_char(:p_end_rng,'000')||'-'||to_char(:p_rd2)||'-'||to_char(:p_end_section,'00'))
]]>
</sqlStatement>
<sqlStatement name="Q2">
<![CDATA[select l.quad d_quad
, l.twp d_twp
, l.rng d_rng
, l.section d_section
, l.county d_county
, l.fund d_fund
, l.parcel d_parcel
, get_land#_display(l.quad,l.twp,l.rng,l.section,l.county,l.fund,l.parcel)
d_display_land
, get_cnty_desc(l.county) d_county_display
, get_fund_desc(l.fund) d_fund_display
, decode(l.active, 'A','Active', 'I','Inactive', ' ') d_active
, l.surface d_surface
, l.oil_gas d_oil_gas
, l.mineral d_mineral
, decode(l.active, 'A', l.surface, 0) d_act_surface
, decode(l.active, 'A', l.oil_gas, 0) d_act_oil_gas
, decode(l.active, 'A', l.mineral, 0) d_act_mineral
, decode(l.active, 'I', l.surface, 0) d_ina_surface
, decode(l.active, 'I', l.oil_gas, 0) d_ina_oil_gas
, decode(l.active, 'I', l.mineral, 0) d_ina_mineral
, decode(l.active, 'A', 1, 0) d_act_count
, decode(l.active,'I',1, 0) d_ina_count
, l.surface_open d_surface_open
, l.oil_gas_open d_oil_gas_open
, l.mineral_open d_mineral_open
, t018.description d_class_description
, t002.description d_ownership_description
, l.leased d_leased
, l.surface_text d_surface_text
, l.oil_gas_text d_oil_gas_text
, l.mineral_text d_mineral_text
, l.comments d_comments
, l.last_maint d_last_maint
, l.surface_maint d_surface_maint
, l.oil_gas_maint d_oil_gas_maint
, l.mineral_maint d_mineral_maint
, l.comment_maint d_comment_maint
, s.ke d_test_ke
, decode(s.stat_code, 5,'LEASE', 21,'APPLICATION', null) d_stat_desc
, s.evtdate d_evtdate
, ltrim(to_char(s.ke,'000')) || '-'
|| ltrim(to_char(s.lease#,'000000')) || '-'
|| ltrim(to_char(s.lse_code,'000')) || '-'
|| ltrim(to_char(s.lse_seq,'000')) d_kelease
, s.rolodex# d_rolodex
, s.appdate d_app_date
, s.effdate d_effdate
, decode(s.perpetual, 'Y','PERPETUAL', to_char(s.expdate,'yyyy-MM-dd')) d_expdate
, s.aus aus
, decode( s.stat_code, 5,get_t005_lease_desc(s.stat_code)
, 21,get_t005_lease_desc(s.stat_code), null) d_desc_5_21
, s.amend# amend
, get_rolodex_lname(s.rolodex#) d_lname
from land_legal l
, statmast s
, t018_land_classification t018
, t002_ownership t002
where [b]s.ke = :p_ke
and l.parcel >= :p_beg_parcel
and l.parcel <= :p_end_parcel
and l.active >= :p_beg_active
and l.active <= :p_end_active
and 14 <> s.stat_code (+)
and l.class = t018.code (+)
and l.ownership = t002.code (+)
and l.parcel <> 1
and l.quad = s.quad (+)
and l.twp = s.twp (+)
and l.rng = s.rng (+)
and l.section = s.section (+)
and l.county = s.county (+)
and l.fund = s.fund (+)
and l.parcel = s.parcel (+)
and l.active = s.active (+)
and l.quad = :o_quad
and l.twp = :o_twp
and l.rng = :o_rng
and l.section = :o_section
and l.county = :o_county
and l.fund = :o_fund]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_OWNERSHIP" source="Q1">
<element name="O_QUAD" value="O_QUAD"/>
<element name="O_TWP" value="O_TWP"/>
<element name="O_RNG" value="O_RNG"/>
<element name="O_SECTION" value="O_SECTION"/>
<element name="O_COUNTY" value="O_COUNTY"/>
<element name="O_FUND" value="O_FUND"/>
<element name="O_PARCEL" value="O_PARCEL"/>
<element name="O_DISPLAY_LAND" value="O_DISPLAY_LAND"/>
<element name="O_COUNTY_DISPLAY" value="O_COUNTY_DISPLAY"/>
<element name="O_FUND_DISPLAY" value="O_FUND_DISPLAY"/>
<element name="O_ACTIVE" value="O_ACTIVE"/>
<element name="O_SURFACE" value="O_SURFACE"/>
<element name="O_OIL_GAS" value="O_OIL_GAS"/>
<element name="O_MINERAL" value="O_MINERAL"/>
<element name="O_SURFACE_OPEN" value="O_SURFACE_OPEN"/>
<element name="O_OIL_GAS_OPEN" value="O_OIL_GAS_OPEN"/>
<element name="O_MINERAL_OPEN" value="O_MINERAL_OPEN"/>
<element name="O_CLASS_DESCRIPTION" value="O_CLASS_DESCRIPTION"/>
<element name="O_OWNERSHIP_DESCRIPTION" value="O_OWNERSHIP_DESCRIPTION"/>
<element name="O_LEASED" value="O_LEASED"/>
<element name="O_SURFACE_TEXT" value="O_SURFACE_TEXT"/>
<element name="O_OIL_GAS_TEXT" value="O_OIL_GAS_TEXT"/>
<element name="O_MINERAL_TEXT" value="O_MINERAL_TEXT"/>
<element name="O_COMMENTS" value="O_COMMENTS"/>
<element name="O_LAST_MAINT" value="O_LAST_MAINT"/>
<element name="O_SURFACE_MAINT" value="O_SURFACE_MAINT"/>
<element name="O_OIL_GAS_MAINT" value="O_OIL_GAS_MAINT"/>
<element name="O_MINERAL_MAINT" value="O_MINERAL_MAINT"/>
<element name="O_COMMENT_MAINT" value="O_COMMENT_MAINT"/>
<group name="G_DETAIL" source="Q2">
<element name="D_QUAD" value="D_QUAD"/>
<element name="D_TWP" value="D_TWP"/>
<element name="D_RNG" value="D_RNG"/>
<element name="D_SECTION" value="D_SECTION"/>
<element name="D_COUNTY" value="D_COUNTY"/>
<element name="D_FUND" value="D_FUND"/>
<element name="D_PARCEL" value="D_PARCEL"/>
<element name="D_DISPLAY_LAND" value="D_DISPLAY_LAND"/>
<element name="D_COUNTY_DISPLAY" value="D_COUNTY_DISPLAY"/>
<element name="D_FUND_DISPLAY" value="D_FUND_DISPLAY"/>
<element name="D_ACTIVE" value="D_ACTIVE"/>
<element name="D_SURFACE" value="D_SURFACE"/>
<element name="D_OIL_GAS" value="D_OIL_GAS"/>
<element name="D_MINERAL" value="D_MINERAL"/>
<element name="D_ACT_SURFACE" value="D_ACT_SURFACE"/>
<element name="D_ACT_OIL_GAS" value="D_ACT_OIL_GAS"/>
<element name="D_ACT_MINERAL" value="D_ACT_MINERAL"/>
<element name="D_INA_SURFACE" value="D_INA_SURFACE"/>
<element name="D_INA_OIL_GAS" value="D_INA_OIL_GAS"/>
<element name="D_INA_MINERAL" value="D_INA_MINERAL"/>
<element name="D_ACT_COUNT" value="D_ACT_COUNT"/>
<element name="D_INA_COUNT" value="D_INA_COUNT"/>
<element name="D_SURFACE_OPEN" value="D_SURFACE_OPEN"/>
<element name="D_OIL_GAS_OPEN" value="D_OIL_GAS_OPEN"/>
<element name="D_MINERAL_OPEN" value="D_MINERAL_OPEN"/>
<element name="D_CLASS_DESCRIPTION" value="D_CLASS_DESCRIPTION"/>
<element name="D_OWNERSHIP_DESCRIPTION" value="D_OWNERSHIP_DESCRIPTION"/>
<element name="D_LEASED" value="D_LEASED"/>
<element name="D_SURFACE_TEXT" value="D_SURFACE_TEXT"/>
<element name="D_OIL_GAS_TEXT" value="D_OIL_GAS_TEXT"/>
<element name="D_MINERAL_TEXT" value="D_MINERAL_TEXT"/>
<element name="D_COMMENTS" value="D_COMMENTS"/>
<element name="D_LAST_MAINT" value="D_LAST_MAINT"/>
<element name="D_SURFACE_MAINT" value="D_SURFACE_MAINT"/>
<element name="D_OIL_GAS_MAINT" value="D_OIL_GAS_MAINT"/>
<element name="D_MINERAL_MAINT" value="D_MINERAL_MAINT"/>
<element name="D_COMMENT_MAINT" value="D_COMMENT_MAINT"/>
<element name="D_TEST_KE" value="D_TEST_KE"/>
<element name="D_STAT_DESC" value="D_STAT_DESC"/>
<element name="D_EVTDATE" value="D_EVTDATE"/>
<element name="D_KELEASE" value="D_KELEASE"/>
<element name="D_ROLODEX" value="D_ROLODEX"/>
<element name="D_APP_DATE" value="D_APP_DATE"/>
<element name="D_EFFDATE" value="D_EFFDATE"/>
<element name="D_EXPDATE" value="D_EXPDATE"/>
<element name="AUS" value="AUS"/>
<element name="D_DESC_5_21" value="D_DESC_5_21"/>
<element name="AMEND" value="AMEND"/>
<element name="D_LNAME" value="D_LNAME"/>
</group>
</group>
</dataStructure>
</dataTemplate>
I want the parameter :p_ke to multiple select.
Here is my List of Values for the parameter :p_ke:
select CODE KE
from T052_KE_EXPLOSION
where CODE > 0
ORDER BY CODE
I have the option: MULTIPLE SELECTION....check for :p_ke
Does anyone know what I am doing wrong?
I appreciate any help I can get!
SusieSusie,
use in the Query inside the Data Template a lexical parameter like
select * from emp &p_mylexical
This lexical parameter could be filled in a BeforeReport Trigger. In this Package-Call you will have something like
p_mylexcial := 'where deptno in ('||p_deptno||')';
where p_deptno is your multi-select parameter.
This should run if p_deptno is empty, has one value ore more.
If you want to see every row when no value is choosen ('all') then use something like
if p_deptno is not null then
p_mylexical := 'where DEPTNO in ('||p_deptno||')';
else
p_mylexical := null;
end if;
So for your example that means
- create a new lexical parameter (p_lexical)
- replace in your query in the data template s.ke = :p_ke with &p_lexical
- call a before report trigger in which is something like:
p_mylexcial := 's.ke in ('||p_ke||')';
Regards
Rainer
Maybe you are looking for
-
Help with removing text from background
Hi, I'm pretty new to this, but I'm trying to figure out how to remove text from a background. My problem is that when I use tools to grab the text, it only selects part of it because the pixels of the text are actually different colors as it blends
-
Transfer between osx and new ipod
Hi. How can I transfer my music from my old itunes 9.2.1 and OSX system to my new ipod 5th gen? I don't want to upgrade the software as I don't use the computer any more. thanks.
-
Problems syncing ipad, problems syncing ipad
Hi There, I have just bought a 27" Mac and would like to Sync my ipad to it. The problem that I have is I keep getting a message that says unable to sync because there is not enough free space to hold all the items in the iTunes library. I have flagg
-
KE5Z:Profit Center actual line items report.
Hello gurus, Points available. I need some clarification on the following issue. I just ran tcode KE5Z. In my report I see that any posting to any of my COGS accounts are flowing to a Dummy Profit Center that I created previously. My question is this
-
Re:assign profit center to a order type
hi gurus, good morning to everybody, i have a question i have 1000 materials in my organization using by 5 company codes in that few material i need to assign profit center so i went to mm change and assigned the profit center for sales:general/plant