F4 help in selection parameter
hi all,
i have a prob in creating a f4 help for a parameter to download the error log file to windows using GUI_DOWNLOAD.
Parameter: p_error like rlgrap-filename. i tried fm KD_GET_FILENAME_ON_F4, but it selects the file but i need the folder name to be selected to be downloaded using gui_download.Pls help me in this issue
Thanks in advance,
Prem.
Hi premnath,
try this:
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_drctry.
PERFORM get_dir CHANGING p_drctry.
*& Form get_dir
FORM get_dir CHANGING p_dir.
DATA:
lv_inidir
TYPE string.
l_dir = lv_inidir
= p_dir.
CALL METHOD cl_gui_frontend_services=>directory_browse
EXPORTING
window_title = 'Select Directory'
initial_folder = lv_inidir
CHANGING
selected_folder = l_dir
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
* not_supported_by_gui = 3
OTHERS = 4.
CALL METHOD cl_gui_cfw=>flush.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'DIR Browse error' sy-subrc p_dir ''.
ENDIF.
p_dir = l_dir.
ENDFORM. " get_dir
Regards,
Clemens
Similar Messages
-
How to add f4 help for a parameter in selection screen (Report)
hai friends
I am hving a pblm regarding the F4 help in selection screen for a parameter field ,currenly this parameter field is for personnel number , now in f4 help all the personnel numbers r listing ,i need to include the name of the corresponding personnel numbers along with it ,how do i do that .please give me a help.
thankyouHai
you first extract personal number and name into one internal table say itab.
THEN CALL THE FM.
AT SELECTION-SCREEN ON VALUE REQUEST FOR P_PARAMETER.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = P_PARAMETER
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
VALUE_ORG = 'S'
WINDOW_TITLE = 'Open Quantity'
TABLES
VALUE_TAB = ITAB. -
F4 help for select options based on parameter value
hi all,
I need a help to create an F4 help for select options for object id based on parameter value of object type, I mean once an object type is given the f4 help should contain object id's only of that type for each option.
Regard's,
Girija
Moderator Message : Duplicate post locked. Continue with [f4 help for select options based on parameter value |f4 help for select options based on parameter value;.
Edited by: Vinod Kumar on May 17, 2011 1:36 PMhi all,
I need a help to create an F4 help for select options for object id based on parameter value of object type, I mean once an object type is given the f4 help should contain object id's only of that type for each option.
Regard's,
Girija
Moderator Message : Duplicate post locked. Continue with [f4 help for select options based on parameter value |f4 help for select options based on parameter value;.
Edited by: Vinod Kumar on May 17, 2011 1:36 PM -
Adding f4-help to selection screen parameter field
Hi all.
I need to add search help to a parameter field on selection screen:
PARAMETERS:
p_reciv LIKE soos7-recnam.
What is the easiest way?
tia, regardsYou can give F4 help by two ways:
1. Using internal table
2. Refering db table field.
Following are e.gs:
F4 help using internal table example:
DATA: BEGIN OF LI_FABGRP OCCURS 0,
FABGRP LIKE ZAPO_FABGRP-FABGRP,
BEGDA LIKE ZAPO_FABGRP-BEGDA,
END OF LI_FABGRP.
DATA : T_RETURN TYPE STANDARD TABLE OF DDSHRETVAL WITH HEADER LINE,
L_RETFIELD TYPE DFIES-FIELDNAME.
parameters : S_FABGR like ZAPO_FABGRP-FABGRP.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_FABGR.
SELECT FABGRP BEGDA FROM ZAPO_FABGRP INTO table LI_FABGRP.
SORT LI_FABGRP BY FABGRP ASCENDING BEGDA DESCENDING.
Henter de mulige fabriksgrupper med nyeste BEGDA *indenfor hver
DELETE ADJACENT DUPLICATES FROM LI_FABGRP COMPARING FABGRP.
L_RETFIELD = 'FABGRP'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = L_RETFIELD
DYNPPROG = SY-REPID
DYNPNR = '1000'
DYNPROFIELD = 'S_FABGR'
VALUE_ORG = 'S'
MULTIPLE_CHOICE = ' '
TABLES
VALUE_TAB = LI_FABGRP
RETURN_TAB = T_RETURN
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
F4 help using field example:
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_FABGR.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = mara
fieldname = matnr
SEARCHHELP = ' '
SHLPPARAM = ' '
DYNPPROG = ' '
DYNPNR = ' '
DYNPROFIELD = ' '
STEPL = 0
VALUE = ' '
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
SUPPRESS_RECORDLIST = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
SELECTION_SCREEN = ' '
IMPORTING
USER_RESET =
TABLES
RETURN_TAB =
EXCEPTIONS
FIELD_NOT_FOUND = 1
NO_HELP_FOR_FIELD = 2
INCONSISTENT_HELP = 3
NO_VALUES_FOUND = 4
OTHERS = 5
Select-options: s_rcode FOR g_grund . "Reason code
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_rcode-low.
Validation for Reasoncode
PERFORM sub_get_F4_rcodehelp .
FORM sub_get_f4_rcodehelp .
STRUCTURES Declarations
TYPES: BEGIN OF ty_rcode ,
grund TYPE mb_grbew,
grtxt TYPE grtxt,
END OF ty_rcode.
*Internal Table declaration
DATA : li_rcode TYPE STANDARD TABLE OF ty_rcode WITH HEADER LINE.
SELECT grund grtxt
INTO TABLE li_rcode
FROM t157e
WHERE spras = sy-langu .
*Help functions for external use
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'fieldname'
dynpprog = 'programname
dynpnr = '1000'
dynprofield = 'S_PCODE'
value_org = 'S'
TABLES
value_tab = li_rcode
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3 .
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " sub_get_F4_rcodehelp -
How can we place a F4 help in a parameter in selection screen
Hi,
How can we place a F4 help in a parameter in selection screen. Can we do add a Process 0n Value request similar to a module pool prg in stadard report program.
sajiHello Saji,
Try below attached report.
Regards,
Naimesh.
Reward, if it is useful..!
REPORT ZTEST_NP_1.
DATA: HELPVAL1 LIKE HELP_VALUE OCCURS 0 WITH HEADER LINE .
DATA: VALUE_TAB LIKE PDTASK-OTEXT OCCURS 2 WITH HEADER LINE.
DATA: VALUE LIKE FEBMKA-BANKN,
GIVEN_VALUE LIKE HELP_INFO-FLDVALUE.
DATA: IT_T005T LIKE T005T OCCURS 0 WITH HEADER LINE,
IT_T002T LIKE T002T OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN: BEGIN OF BLOCK BLK1 WITH FRAME TITLE ABC.
PARAMETERS: P_SPRAS LIKE T002T-SPRAS,
P_LAND1 LIKE T005T-LAND1.
SELECTION-SCREEN: END OF BLOCK BLK1.
INITIALIZATION.
ABC = 'Selection Criteria:'.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_LAND1.
PERFORM VALUE_REQUEST_LAND1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_SPRAS.
PERFORM VALUE_REQUEST_SPRAS.
*& Form VALUE_REQUEST_land1
FORM VALUE_REQUEST_LAND1.
*---- Reading the Screen values.
DATA: LT_DYNPFIELDS LIKE DYNPREAD OCCURS 0 WITH HEADER LINE,
LV_DYNAME LIKE D020S-PROG,
LV_DYNUMB LIKE D020S-DNUM.
*-------Append field which you want to read from the screen
LV_DYNAME = SY-REPID.
LV_DYNUMB = SY-DYNNR.
LT_DYNPFIELDS-FIELDNAME = 'P_SPRAS'.
APPEND LT_DYNPFIELDS.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = LV_DYNAME
DYNUMB = LV_DYNUMB
TABLES
DYNPFIELDS = LT_DYNPFIELDS.
SELECT * FROM T005T
INTO TABLE IT_T005T
WHERE SPRAS = P_SPRAS.
REFRESH: HELPVAL1, VALUE_TAB.
CLEAR: HELPVAL1, VALUE_TAB, GIVEN_VALUE, VALUE.
*---- Append field name for the columns in the help popup
HELPVAL1-TABNAME = 'T005T' .
HELPVAL1-FIELDNAME = 'LAND1' .
HELPVAL1-SELECTFLAG = 'X' . " will return the value on the screen
APPEND HELPVAL1 .
CLEAR HELPVAL1 .
HELPVAL1-TABNAME = 'T005T' .
HELPVAL1-FIELDNAME = 'LANDX' .
HELPVAL1-SELECTFLAG = ' ' .
APPEND HELPVAL1 .
CLEAR HELPVAL1 .
LOOP AT IT_T005T.
VALUE_TAB = IT_T005T-LAND1.
APPEND VALUE_TAB.
VALUE_TAB = IT_T005T-LANDX.
APPEND VALUE_TAB.
ENDLOOP.
GIVEN_VALUE = P_LAND1.
CALL FUNCTION 'HELP_VALUES_GET_WITH_VALUE'
EXPORTING
DISPLAY = SPACE
GIVEN_VALUE = GIVEN_VALUE
IMPORTING
SELECT_VALUE = VALUE
TABLES
FIELDS = HELPVAL1
VALUETAB = VALUE_TAB.
IF NOT VALUE IS INITIAL.
P_LAND1 = VALUE. " Assing value to the parameter
ENDIF.
ENDFORM. " VALUE_REQUEST_land1
*& Form VALUE_REQUEST_SPRAS
FORM VALUE_REQUEST_SPRAS.
REFRESH: HELPVAL1, VALUE_TAB.
CLEAR: HELPVAL1, VALUE_TAB, GIVEN_VALUE, VALUE.
HELPVAL1-TABNAME = 'T002T' .
HELPVAL1-FIELDNAME = 'SPRSL' .
HELPVAL1-SELECTFLAG = 'X' .
APPEND HELPVAL1 .
CLEAR HELPVAL1 .
HELPVAL1-TABNAME = 'T002T' .
HELPVAL1-FIELDNAME = 'SPTXT' .
HELPVAL1-SELECTFLAG = ' ' .
APPEND HELPVAL1 .
CLEAR HELPVAL1 .
SELECT * FROM T002T
INTO TABLE IT_T002T
WHERE SPRAS = SY-LANGU.
LOOP AT IT_T002T.
VALUE_TAB = IT_T002T-SPRSL.
APPEND VALUE_TAB.
VALUE_TAB = IT_T002T-SPTXT.
APPEND VALUE_TAB.
ENDLOOP.
GIVEN_VALUE = P_SPRAS.
CALL FUNCTION 'HELP_VALUES_GET_WITH_VALUE'
EXPORTING
DISPLAY = SPACE
GIVEN_VALUE = GIVEN_VALUE
IMPORTING
SELECT_VALUE = VALUE
TABLES
FIELDS = HELPVAL1
VALUETAB = VALUE_TAB.
IF NOT VALUE IS INITIAL.
P_SPRAS = VALUE.
ENDIF.
ENDFORM. " VALUE_REQUEST_SPRAS -
SSRS using multiple select parameter in expression
Hi,
I am using parameters to create my query at runtime using data set expression.
I have a multi select string parameter that gets populated using a query. I want to add this multi select parameter values to where clause in expression of mail data set. I am able to join the string and make it comma(,) separated but not sure how can I
add single quotes(') to it.
= join(Parameters!Column.Value,",")===>>a,b,c,d
requirement===>'a','b' ,'c'
Pls. guidemake it like this
= "'" & join(Parameters!Column.Value,"','") & "'"
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
SSRS 2012 multi select parameter not working in Report Manager.
Hello,
I have one report with Multi select parameter. its working fine in bids, report server but I am facing some issue on report manager 2012.
Issue is, In Multi select parameter I have Suppose 6 value a,b,c,d,e,f after the deployment on report manager for the first time report is working fine with selecting all the value. but for the second time if my selection include either
a or f report gives no result and check box get unselect.
I also try on different report manager but same result.
what can be a issue here causing problem only for two value but working fine for other value?
Thanks,Hi Javed,
The Issue is with when you click on View Report button of Report Manager for Parameters which contain CHAR(10) and CHAR(13).
Where ever that Column is used in Report Data Set ,
Use replace(replace(Param,char(10),''),char(13),'') function.
----------------Please Mark This as Answer if it helps to solve your problem---------------------------- -
Multiple select parameter with each selected value covering multiple sub values
Hello, everyone,
In my SSRS report, I need to set a multiple select parameter called Group, with values: group1 group2, etc....
When group1 is selected, it needs to apply to data of certain sub groups: sub-group1, sub-group2;
When group2 is selected, it needs to apply to data of different sub groups: sub-group3, sub-group4 and sub-group5;
when both group1 and group2 are selected, then, it needs to apply to data of sub-group1 to sub-group5.
I know how to do it when only one group is selected: simply use a case statement in the query to select the right sub groups based on the group selected.
But I don't know a good way to do it when multiple groups are selected.
Any help, pointers are much appreciated. Thanks in advance!
RegardsHi QQFA,
If I understand correctly, there are two parameters (Group and Sub_group) in the report. When we select group1 in Group parameter, it will auto select sub-group1, sub-group2 in the Sub_group parameter; when we select group2 in Group parameter, it will auto
select sub-group3, sub-group4 and sub_group5 in the Sub_group parameter; when we select both all, it will auto select all sub_group values. If I have misunderstood, please don't hesitate to let me know.
In this scenario, we can create a temporary table with Group and Sub_group columns, then select Sub_group column values based on the Group field. For more details, please see:
Create a dataset with the query below:
CREATE TABLE #temp([group] nvarchar(50),sub_group nvarchar(50))
INSERT INTO #temp VALUES ('group1','sub-group1'),('group1','sub-group2'),('group2','sub-group3'),('group2','sub-group4'),('group2','sub-group5')
SELECT * FROM #temp
where [group] in (@Group)
Set available values and default values of Sub_group parameter with get values from the sub_group field in the new dataset.
Note that the two parameters are all multiple parameters.
If there are any misunderstanding, please elaborate the issue for further investigation.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
GR55 Report - Need to add Document type in selection parameter
Hi Friends,
Our client needs to have document type in selection parameter for one report group which has 4 reports attached.
Changes have been made and now document type is already there in selection parameter. But irrespective of document type Output is same.
That is if i Give docuement type or not it gives me same output.
This report is bein copies n new report is made.
Can any one help me out with how go proceed further.Hi,
This report is bein copies n new report is made.
You just copied the output from an existing one right....
Inorder to get the report documenmt type wise you also need to change the output format of the report.
Ask your ABAPer to get this tobe done... -
Who's who - add custom selection parameter
Hi,
I want to add a custom selection parameter to the who's who in ESS.
I've copied the standard infoset to a z-one, added siome output-fields and this works well.
But now I want to add a selection-parameter which is not included in the ldb pncp (text of the personnel subarea) and I don 't qsee how I can add this. Someone out there who can help me ?Check the link,
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/108c31e7-b6a7-2d10-3692-c1a9f7a5c4dc?quicklink=index&overridelayout=true
Hope this helps.
Cheers-
Pramod -
Search Help Problem - Passing parameter between to search helps.
I created following 2 table for entering data in PO screen using ME21N using Custom Data Tab.
ZSTATE_TAB - State table (has elementary search help ZSTATE_SH - Value of SCODE is exported)
SCode(Key) Description
S001 New York
S002 Virginia
S003 West Virginia
ZCITY_TAB - City Table (has elementary search help ZCITY_SH - Value of SCODE is imported)
SCode(Key) CCode (Key) Description Level
S001 C001 New York City L001
S001 C002 Rochester L002
S001 C003 Buffalo L003
S002 C004 Richmond L029
S002 C005 Fairfax L030
I have created an custom input field LEVEL in t-code ME21N in Customer Data Tab.
I want to create search help for LEVEL using import parameter STATE & CITY .
On selection screen of search help two selection parameters STATE and CITY are displayed.
Step 1:User press F4 for getting list of state and selects any state using search help ZSTATE_SH (Value of SCODE is exported)
Step 2:User press F4 to get the list of City using search help ZCITY_SH, based on state selected in Step 1. (Value of SCODE is imported)
In Step 2, I want to see only the cities selected in Step 1. But instead all Cities are displayed in hit list.
I also created a table maintenance program SM30 for ZCITY_TAB, the search help ZCITY_SH is correctly displaying the data in hit list according to the State selected in ZSTATE_SH.
But it is not displaying the correct list for cites in ME21N.
Kindly help me in fixing this problem.
Thanks in advance.here is the answer from [sap library - Value Transport for Input Helps - Parametrizing the Import Parameters of the Search Help|http://help.sap.com/saphelp_nw2004s/helpdata/en/35/bdb6e2c48411d1950800a0c929b3c3/frameset.htm] :
If the search help is attached to the table field ( Attaching to Table Fields) or to the check table of the field ( Attaching to Tables), a value transport can take place for all the screen fields that are linked with a parameter of the search help. -
Adding selection parameter in VF04 selection screen
Hi Gurus...
I need to add a selection parameter on selection screen of VF04 transaction.
Is it possible to do so?
If yes, please tell me how.
Thanks.HI Jagdish
You can go in for Source Code Enhancements. (wont require the access key in this case)
Note - Available SAP ERP 6.0 onwards
1) Just click on the spiral (ENHANCE) button
2) Right click on the suitable enhancement point / Enhancement Section
3) Go to Enhancement Implementation -> Create
4) Add your code in the enhancement implementation and activate
You will need to add your code at multiple place (Obviously !!); just use the same implementation for all the Point / Sections you use in the program.
Refer Source Code Enhancements - Part 5 of the Series on the New Enhancement Framework for more.
Hope it helps. Please revert in case of specific issues.
Neeraj -
How to create own Selection Parameter for ME2M list
Dear Sir,
We use ME2m tcode for getting list related to Purchase Order . We have been told that we can create our own "SELECTION PARAMETER" for ths report . Kindly guide us as what steps need to be done for this pl .
With Thanks and Regards
Sonia Mittalyou can also set a variant for the existing / default ME2M screen
fill all the required entries then click on GOTO >>Variants >Save as Variant
next time when you run T code ME2M, you can select the variant and run the t code
hope this will help you -
Infoset with ldb IOC - error in selection parameter
Hi Expers,
could any of You pls help me with an issue - creating infoset with ldb, and get error in selection parameter definiton.
I am about to create an infoset than a query, using IOC logical database, and get a couple of error message related to selecion parameters - such as: error in sel. parameter P_PICK is - Statement concluding with "...TYPE" ended unexpectedly.
I do not really need this parameter for my selection, so I was to delete - but I could not find it amongst the selection fields in actual infoset. When I tried to create it, I got a message: it has already been created (of course), but where can I find / change it if not amongst listed selection parameters (Extras / Selection)
I suppose I can not make any changes in DBIOCSEL - because COOIS is also using this ldb - and it might have some unexpected effect there as well.
Later I started to create a Z*report via SE80, using same ldb, and it works fine.
So it is not a burning issue any more, but still interesting, why infoset has problem with the sel. parameter which is actually not in use.
All usefull answer is appreciated
BrHi,
the selection screen is coded without a number. Here's the code:
SELECTION-SCREEN BEGIN OF BLOCK selection WITH FRAME TITLE text-t11.
SELECTION-SCREEN BEGIN OF BLOCK persdata WITH FRAME TITLE text-t01.
SELECT-OPTIONS so_pernr FOR ls_pa0017-pernr.
SELECTION-SCREEN END OF BLOCK persdata.
SELECTION-SCREEN END OF BLOCK selection.
SELECTION-SCREEN BEGIN OF BLOCK input WITH FRAME TITLE text-t12.
SELECTION-SCREEN BEGIN OF BLOCK zeitraum WITH FRAME TITLE text-t02.
PARAMETERS pa_begda TYPE p0017-begda DEFAULT sy-datum OBLIGATORY.
PARAMETERS pa_endda TYPE p0017-endda DEFAULT '99991231' OBLIGATORY.
SELECTION-SCREEN END OF BLOCK zeitraum.
SELECTION-SCREEN BEGIN OF BLOCK gruppierungen WITH FRAME TITLE text-t03.
PARAMETERS pa_spebe TYPE p0017-spebe OBLIGATORY DEFAULT '1'.
SELECTION-SCREEN END OF BLOCK gruppierungen.
SELECTION-SCREEN BEGIN OF BLOCK zuordnungen WITH FRAME TITLE text-t05.
PARAMETERS pa_bukrs TYPE p0017-bukrs MATCHCODE OBJECT c_t001 DEFAULT '2000'.
PARAMETERS pa_gsber TYPE p0017-gsber MATCHCODE OBJECT h_tgsb DEFAULT '0001'.
SELECTION-SCREEN END OF BLOCK zuordnungen.
SELECTION-SCREEN END OF BLOCK input.
SELECTION-SCREEN BEGIN OF BLOCK attributes WITH FRAME TITLE text-t13.
PARAMETERS pa_test AS CHECKBOX DEFAULT 'x'.
SELECTION-SCREEN END OF BLOCK attributes.
Regards
Mark-André -
Delete selection parameter on account search
Hi experts
i've enhanced an bsp for add a selection parameter on search of an account.
The problem occurs when i call the search twice, the second time i've the same parameter valorized two time.
so, i need the clear, or hide, this parameter after set to this the value.
i'm using a class type cl_crm_bol_dquery_service, and for add the selection parameter i use method add_selection_param,
i need a same method for delete the paramet
somebody can help me?
best regards
Marco
Moderator message: please post each question only once, I have deleted the duplicates.
Edited by: Thomas Zloch on Jul 6, 2010 5:01 PMhi Julius,
search parameters entered on the main search screen are not appearing in the do prepare output method.
lr_col_params = lr_qs->get_selection_params( ) doesn't return the value entered on the screen. LOW value is blank.
Maybe you are looking for
-
Ipod touch causing blue screen
I'm new here so I hope I explain this properly. I have the latest version of itunes installed on my computer with a 1G nano. I just got a ipod touch. I pluged it into my usb port like I did with the nano and it moved all my music onto the touch. The
-
Hello All, Can any provide me SRM 7.0 screen shots providing a complet cycle starting from Determination of requriement >Creation of service specification->source determination->Bid invitation->Quotation entry--->award phase --->PO Processing --->PO
-
How can I add cursor attribute values or change the size?
I am using the SetCursorAttribute and would like to create and add additional cursor attribute values insteasd of the current 24 that are available. In particular, I would like to number each cursor in my list to each cursor on a graph so it can be i
-
User exit CATS0003 on loading of record working time screen
Hi Experts this is continuation to my last thread ESS CA-TS Missing time sheet, the requirements remains the same and I just need to confirm below thing Does cats enhancement user exit CATS0003 will trigger initially at the time of loading the data e
-
In which table ASN No is stored
Hi Folks, I have created a ASN for one of PO.In which table ASN no is stored and how we can find ASN No related to that PO. Thanks in advance.