How to default value in hr report category
Hi all,
I have create a hr report category in my abap report.
However, i need to default the Reporting Period field to value 'Today'.
Please find the below screen.
How can i do that?
Thanks & Regards,
Sujatha sahu.
Hi Sujaha,
I guess u used logic database PNPCE,
so use below source code FYA.
You can add the other values in the list. Now I added two only. (“D” and "Y")
NODES peras.
TABLES: pernr. " Standard Selections for HR Master Data Reporting FOR THE DEFAULT SCREEN.
AT SELECTION-SCREEN OUTPUT.
PERFORM set_date.
START-OF-SELECTION.
GET peras.
*& Form set_date
* set_date
FORM set_date .
DATA: lv_vrm_id TYPE vrm_id,
lt_vrm_values TYPE STANDARD TABLE OF vrm_value,
lwa_vrm_values TYPE vrm_value.
lwa_vrm_values-key = 'D'.
lwa_vrm_values-text = 'Today.Good day'.
APPEND lwa_vrm_values TO lt_vrm_values.
lwa_vrm_values-key = 'Y'.
lwa_vrm_values-text = 'Current Year. Horse Year'.
APPEND lwa_vrm_values TO lt_vrm_values.
lv_vrm_id = 'PNPTIMED'.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = lv_vrm_id
values = lt_vrm_values
EXCEPTIONS
id_illegal_name = 1
OTHERS = 2.
ENDFORM. "set_date
Similar Messages
-
[Forum FAQ] How do I change default values shown in Report Delivery Options?
Introduction
Some users want to change default values shown in Report Delivery Options when creating standard subscriptions. Someone might want to always Cc the report to a specified user without sending the report URL. So they want to display those default values display
automatically when creating standard subscriptions like below.
Solution
To achieve this goal, please embed JavaScript code into the SubscriptionProperties.aspx file to change those default values (By default, the file’s location is: <Installation directory>\Reporting Services\ReportManager\Pages\SubcriptionProperties.aspx).
The example below will show how to set default values for “Cc” field and “Include Link” field.
Before coding, pleas find out the corresponding HTML tags of the two fields in the browser using IE Developer Tools.
Get “Cc” field with its corresponding HTML tag
Get “Include Link” field with its corresponding HTML tag
Embed such a code snippet at the end of the existing code within the SubcriptionProperties.aspx file
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
Page.ClientScript.RegisterStartupScript(typeof(Page),"MyScript", "var cc = document.getElementById('CcEmailAddressesID');cc.value = '[email protected]';var IncludeLink = document.getElementById('ui_cbIncludeLink');IncludeLink.checked
= false;",true);}
</script>
Create a new subscription to check the default values shown in Report Delivery Options
Applies to
Reporting Services 2005
Reporting Services 2008
Reporting Services 2008 R2
Reporting Services 2012
Reporting Services 2014
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Thanks,
Is this a supported scenario, or does it use unsupported features?
For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
in a supported way?
Thanks! Josh -
Defining default value for financial reports display in the workspace (9.3)
Hi
I need to change the default value for financial reports workspace preview mode, for every workspace user. It is actually set on html, and I would like to have pdf instead.
This option can be changed when logged on the workspace, in file->preferences->financial reporting->default preview mode. However I want every user to start with the right settings, so they dont have to change anything manually.
I have tried to do it with Shared Services : under projects, BI+, assign preferences. From there I can change the default folder and the start page (the general preferences), however I cannot find the options for financial reporting.
Is there a way to change these values with hyperion tools ?
If not, is it possible to change it directly in the repository DB ?Thanks and best regardsWe looked at this about 2 years ago - from memory, you can only set preferences when the users are first setup in Shared Services, under the manage preferences section of the wizard.
I can't remember if there is a settings file you can edit for the default users - i think there is, but again this must be set before users are set up.
We looked at changing users preferences, but gave up on the idea as all users had been provisioned already :-(
Cheers, Iain -
How to Input Value in ALV report at reuntime...?
Dear All,
How to Input Value or change the value of a field in ALV report at runtime...?
regards,HI,
To input value in ALV you have to make it editable.
to change values at runtime you have to capture some events and then change your values in internal table which is used to display alv.
Here is an example of editable ALV.
<b>REPORT ZWA_ALV_EDITABLE_FM .
type-pools: slis.
data: gs_layout type slis_layout_alv.
DATA: d_ref TYPE REF TO data.
DATA: itab type table of fmfint.
SELECT * FROM fmfint
INTO TABLE itab.
gs_layout-edit = 'X'.
* Call ABAP List Viewer (ALV)
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = 'ZWA_ALV_EDITABLE_FM'
i_callback_user_command = 'USER_COMMAND'
i_structure_name = 'fmfint'
is_layout = gs_layout
tables
t_outtab = itab.
form user_command using r_ucomm type sy-ucomm
rs_selfield type slis_selfield.
if r_ucomm = '&DATA_SAVE'.
message i000(SU) with 'saved'.
MODIFY fmfint FROM TABLE itab.
call function 'REUSE_ALV_LIST_DISPLAY'
exporting
i_structure_name = 'fmfint'
tables
t_outtab = itab.
endif.
endform.</b>
Regards,
Wasim Ahmed -
How to default value in collection after intial collection field entered
Hi there,
Am working on gettting to know collections but not really had much to do with them so far.
I have a multi row data entry screen that works great using a collection. Now the boss has decided that the new records require a default value that the users can overwrite if required.
The value i need to default is the second field in the collection but i only want to populate the value after the first field in the collection has been entered.
Could anyone talk me through how i do this please or point me to any relevant documents.
Cheers
LisaHi Lisa,
If you want to default value only after user enters data in another row column, you ll have to write a javascript code that executes after the column is entered
If you have jQuery(already included in apex 4.0) it would make the task of accessing that other column easy.
Otherwise its much more harder work to get I can think of setting the ID's using the pitem_id_* while rendering the editable fields(set it for both the columns..say as COL1_ROWNUM , COL2_ROWNUM ) using APEX_ITEM. Then add an onblur event(using the html attributes parameter of APEX_ITEM api) call a JS function with the rownumber(to identify the row). You can then write the logic for default value inside the function and set the corresponding column with the value.
If you can update about your version and/or if you use any JS libraries, it would be easier to help you any further. -
Hi,
I have created a page in which I have two different LOVs. My requirement is to default some value in the First LOV i.e. "ALL"
and the second LOV which is dependent on the first LOV will gets populated with the values based on the first one on the page load itself.
Both the LOVs have "autoSubmit" and "partialTriggers"realtion between them.
The problem I am facing is that I am able to set some default value to the first LOV with value as "ALL" by using "setSubmiitedValue" on LOV from backing bean on the page load but the second LOV popup (dependent LOV) is coming blank on page load.
But if i select same value "ALL" form the first LOV popup after page load then second LOV popup gets populated with values based on first LOV
Please provide some urgent help that how to default any LOV with some value and based on that second LOV gets populated on the page load itself.
Thanks in Advance
Kanika DhamijaHi,
Can you please explain a bit more the ' ... is to default some value.. ' part?
When exactly do you want to set a default Value?
Depending on your case, there is always the declarative way to consider through BC
some approaches on different cases:
How to set a default value in an ADF table when adding a new row
http://www.youtube.com/watch?v=9WQ0SDVVWtE
http://adfcodebits.blogspot.co.uk/2010/04/bit-13-overriding-create-to-set-default.html
cascading LOVs
http://andrejusb.blogspot.co.uk/2012/11/cascading-lovs-in-jdeveloper-111230.html
hope this helps
Regards,
Dimitrios. -
Default values for static report parameters are not visible when scheduling
Hello
Crystal Reports 2008 Dev
Crystal Reports Server 2008
When I publish a report to the repository and then try to schedule that report, the default value that I have set for a static parameter in the report is not visible.
In the Parameters section of the Scheduling wizard this parameter is marked as [EMPTY]
However, when I View the report (right click and select View) from within Infoview, the parameter default value is visible
I have published in the following 3 ways:
Publishing Wizard
File > Save As > Enterprise from withing Crystal Reports Dev
CMC > Folders > Add > Crystal Reports
The results are the same for each method of publishing.
To try to eliminate any DB issues etc i have created a report that is not attached to a datasource.
This test report has one Static parameter.
I have set 3 values for its list: Entry A, Entry B, Entry C
Entry X is set as the parameter Default Value
The parameter is placed in the details section of the report
When the report is Viewed it will prompt for parameter entry, with the default value present
When I try to schedule the report is will not have an entry for its parameter
It seems to me that the default values for parameters should be retained from report design through to report schedule, especially when the default values are retained from report design to report View
Is this a config problem that i have ?
Can anyone help me with this ?
Best regards
Patrick Coote
Edited by: PATRICK COOTE on Oct 2, 2008 2:08 PM
Edited by: PATRICK COOTE on Oct 3, 2008 9:23 AMHi Robert
Thanks for the reply and apologies for not responding sooner.
What i have found is that if i use Publishing Wizard to upload reports it is then possible to set values for prompts during the last step of this process.
Although this is a bit clumsy, it is sufficient for now
Best regards
Patrick -
How to default value on bet01 based on ansal
Dear Freinds
i would like to know how to default the value for bet01 based on the
calculated on ansal
i want is
q0008-bet01 = p0008-ansal /100.
Can i default the value using the user exit ZXPADU01 or ZXPADU02. . As my ueser exit is not triggering without me entering to bet01 .
how can i do defaulting the value on bet01 ,
regards
shantiDear Chritisn
in my code i have done same thing what you have said as follows
i have written the coding in ZXPADU02 as below
data : wa_p0008 like p0008,
i0008 like p0008,
l_v_ANSAL type ANSAL_15,
l_v_amount type PAD_AMT7S.
CASE innnn-infty.
when '0008'.
MOVE-CORRESPONDING innnn to wa_p0008.
if wa_p0008-lga01 = 'MFPY'.
l_v_ansal = wa_p0008-ansal.
l_v_amount = l_v_ansal / 100.
if l_v_amount ne wa_p0008-bet01.
move l_v_amount to wa_p0008-bet01.
MOVE-CORRESPONDING wa_p0008 to innnn.------ at this point
endif.
when others.
endcase.
I have used move corresponding because i am getting the error as the strucutr eof INNNN to that WA_P0008 is different (unicode compatability error) ...
now i can see the data in wa_p0008 and when i have move into innnn ..... i can see all the data in debuggin except the bet01 value as below
in wa_p0008 the data in debugin is as follows
PERNR N 8 00000004
INFTY C 4 0008
SUBTY C 4 0
OBJPS C 2
SPRPS C 1
ENDDA D 8 99991231
BEGDA D 8 20070716
SEQNR N 3 000
AEDTM D 8 00000000
UNAME C 12
HISTO C 1
ITXEX C 1
REFEX C 1
ORDEX C 1
ITBLD C 2
PREAS C 2
FLAG1 C 1
FLAG2 C 1
FLAG3 C 1
FLAG4 C 1
RESE1 C 2
RESE2 C 2
GRPVL C 4
TRFAR C 2 01
TRFGB C 2 01
TRFGR C 8 E1
TRFST C 2 08
STVOR D 8 00000000
ORZST C 2
PARTN C 2 WAERS C 5 HKD
VGLTA C 2
VGLGB C 2
VGLGR C 8
VGLST C 2
VGLSV D 8 00000000
BSGRD P 3 100.00
DIVGV P 3 165.00
ANSAL P 8 1000.00 -
value entered on the screen
FALGK C 10
FALGR C 6
LGA01 C 4 MFPY
BET01 P 7 10.00 ---after calculation the value(1000/10)
ANZ01 P 4 0.00
EIN01 C 3
innn structure in debuggin as follows:
PERNR N 8 00000004
INFTY C 4 0008
SUBTY C 4 0
OBJPS C 2
SPRPS C 1
ENDDA D 8 99991231
BEGDA D 8 20070716
SEQNR N 3 000
AEDTM D 8 00000000
UNAME C 12
HISTO C 1
ITXEX C 1
REFEX C 1
ORDEX C 1
PREAS C 2
FLAG1 C 1
FLAG2 C 1
FLAG3 C 1
FLAG4 C 1
RESE1 C 2
RESE2 C 2
GRPVL C 4
DATA1 C 250 0101E1 0800000000 HKD 00000000#ᘌ౐###ఀ MFPY###### ###### ###### ######
DATA2 C 250
we can see in the debuggin for the DATA1 it is having the MFPY value but i dont find the value for bet01 ..........
and iam not getting the value on the screen in PA30 for the bet01.
please let me know what i have to do , and let me know where i went wrong.
regards
shanti -
How set default value in field of new infotype
Hi experts!!
We have created a new infotype 9002. This infotype has two mandatories fields, one with the amount and another with the currency.
The currency always will be 'EUR', for this reason we would like to assign the default value for this field and the user only should fill the amount field.
How we should assing the default value to the field we have created in a new infotype 9002?
Kind regards,
JulianHawk,
Another option here will be to enhance infotype 9002 screen 2000 PBO logic. Add a PBO module with the following logic:
Begda hat sich vielleicht geändert.
PERFORM re500c(sapfp50m) USING psyst-land p9002-begda. "K35729
IF p9002-waers IS INITIAL. "QNUK110803
IF t500c-waers IS INITIAL. "QNOK034099
MOVE t001-waers TO p0015-waers. "QNOK034099
ELSE. "QNOK034099
MOVE t500c-waers TO p9002-waers. "QNOK129756
ENDIF. "QNOK034099
ENDIF.
This is standard code extracted from infotype 0015 PBO logic. It default currency according to your country. -
How to default values on screen using FREE_SELECTIONS_INIT
Hi Experts,
I have the following requirement :
We have developed a screen on which there is a button. On click of the button, a dynamic selection screen is generated using the functions FREE_SELECTIONS_INIT and FREE_SELECTIONS_DIALOG.
I want when the selection screen is generated for the first time, the fields on it contains some default values taken from a table.
e.g. If Screen has fields MARA-MATNR, MARA-MTART, MARA-MEINS then MARA-MEINS should be defaulted with a value 'EA'.
I have tried a lot but could not find a solution to it.
Kindly help me out as this is very urgent.
Points are guaranteed..
Thanks in advance.
Regards,
HimanshuSELCTION SCREEN
SELECTION-SCREEN BEGIN OF BLOCK BLOCK_1 WITH FRAME TITLE TEXT-001.
PARAMETERS : P_RADLOC RADIOBUTTON GROUP GRP1 USER-COMMAND USER .
SELECTION-SCREEN BEGIN OF BLOCK SUB1_BLOCK WITH FRAME TITLE TEXT-002 NO INTERVALS.
PARAMETERS : P_LOCNO TYPE /SAPAPO/LOCNO MODIF ID ABC default 'Specify the default value here.
SELECTION-SCREEN END OF BLOCK SUB1_BLOCK.
SELECTION-SCREEN SKIP .
PARAMETERS : P_RADRES RADIOBUTTON GROUP GRP1 DEFAULT 'X'.
SELECTION-SCREEN BEGIN OF BLOCK SUB2_BLOCK WITH FRAME TITLE TEXT-003 NO INTERVALS.
PARAMETERS : P_RESNM TYPE /SAPAPO/RES_HEAD-NAME MODIF ID XYZ.
PARAMETERS : P_NOB TYPE /SAPAPO/CRES_NOINDIVRES MODIF ID XYZ.
SELECTION-SCREEN END OF BLOCK SUB2_BLOCK.
SELECTION-SCREEN END OF BLOCK BLOCK_1.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF P_RADLOC = WL_SPACE .
IF SCREEN-GROUP1 = WL_ABC.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ELSEIF P_RADRES = WL_SPACE .
IF SCREEN-GROUP1 = WL_XYZ.
CLEAR : P_RESNM, P_NOB.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ELSE.
SCREEN-ACTIVE = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP. -
How to send values from a "Report Column" instead of a "Page Item" ?
Hi there,
Here's my case: Two pages A and B.
Page A is used to view each employee from a selected department.
Page B is used to created/modify employees.
I have a create button on page A which redirect to page B.
By default, page B is blank (as of course we have to fill the blanks to create a new employee).
However, there is 2 values I want to send to page B (as I'd like to pre-fill some blanks) : The department ID and the Manager ID (there is one manager per department).
---- I succeed with the department ID because it's a page item and in the "Action When Button Clicked" of the button I filled "Set These Items" -> Item From Page B "With These Values" -> Item from Page A.
---- I'm confused with the Manger ID because it is not a page item but a report column and there is nothing to do like I did for the Department ID in the create button.
I'm a bit lost cause I don't know how to transfer/send this value to the second page.
Do you have any clue ?
Thanks again for your time !
BR
UlrichUlrich,
Maybe I have misunderstood your requirements, from those I assumed that Page 4 was already being populated with a Department ID. So my plan was to look-up the Manager ID via the known Department ID
Here's my case: Two pages A and B.Page A is used to view each employee from a selected department.
Page B is used to created/modify employees.
I have a create button on page A which redirect to page B.
By default, page B is blank (as of course we have to fill the blanks to create a new employee).
However, there is 2 values I want to send to page B (as I'd like to pre-fill some blanks) : The department ID and the Manager ID (there is one manager per department).
---- I succeed with the department ID because it's a page item and in the "Action When Button Clicked" of the button I filled "Set These Items" -> Item From Page B "With These Values" -> Item from Page A.
---- I'm confused with the Manger ID because it is not a page item but a report column and there is nothing to do like I did for the Department ID in the create button.>
Have you verified that you have the :P4_DEPARTMENT_ID in session?
Does your SQL run in SQL Commands when provided a Department ID?
Have you tried altering when the Computation fires? I recommended to start with After Regions, try some other firing points.
Jeff -
How to use Value Variable in Report Painter Column defined as Formula
Hi Gurus,
In report painter, how can I add one field (exchange rate) in selection screen, so that user can provide the exchange rate to be used, then execute the report, the exchange rate will used to multiple local currency amount.
The reason for this is we want use provided exchange rate to convert the amount from once currency to the other currency.
Alternatively I am studying the functionality of "Value Variable" and found that I can perform the task from this. I have created the value variable but when I am using the variable in Report Painter columns as "&ZVALVAR", system is giving me error. I read the help and it states that use the variable with "&" and do it as it is mentioned.
Can anybody suggest what I need to do to make it workable.
ThanksI did try using the presentation variable, but that does not work too. I am setting session variable in the dashboard prompt (select 'request variable'). When I use presentation variable, it hard codes the value of the variable name.
sql is
select date from work_order where facility = @{p_facility}
the physical log sql is
select date from work_order where facility = 'p_facility' -
How to default value from popup page to main page.
Hi,
Requirement:
I have a create page with table region of 10 lines.I have an icon for every line and on click of this icon, a popup window will be opened.
In the popup window i have quantity field with a table region. User is allowed to select the quantity. Also i have a ADD button on the popup page.
Now On selecting the quantity and click on add button, the quantity should be added and the sum quantity should be defaulted to quantity field in the main page.
For this requirement what i have done is
I have added the quantity on click of the Add button.and the total quantity i set to the quantity attribute that has been attached to main page.
But the quantity didnt get reflect to the main page. i think the focus is not retured o main page.
Please suggest me how can i do this requirement.
Thanks in Advance,
Thanks,
Mallika
Edited by: user12216727 on Nov 21, 2009 4:29 AMHi,
As per my analysis for the issue, the control is returning to processRequest of the controller and when i set the attribute value, the value is being set and I am able to get the value and print it.
But the value is not displayed on the page.Here I am using Advanced Table Region, and I am not able to shoe the value.
I also created one view attribute and tried to set the readonly property to TRUE for the same field. I did in the same way, the value is being set and the field is made readonly.
The problem is I am not able to show value to the user, even the value is present in the view attribute.
Any pointers to this are really helpful.
Thanks,
--Mallika -
How make default values in the selection criteria of BEx query????
Hi all
I have to create a brand new query, in the selection criteria(Prompts) I have two prompts. one prompt should show current budget year and second prompt should show next budget year, both prompts are mandatory and default.
Can any one please let me know how to obtain current and next budget year??? do I need to write any customer exit or do i need to create a offset???
Two prompts are using same infoobject 0fiscper which is mapped to ECC Table MBEW and field is LFGJA.
ThanksHI sathiyaa,
so you want to show user with two prompts one will show current year and the other next year value by default.
//tell me that if you user change the current year value for ex: it will show 2011 by default.. and user changed it to 2009.
you want to show 2009 year results or 2011 even though he changed the prompt.
Here i'm considering that even though user changed current year to some other year still you want to show the current year results.
Create a customer exit variable for calyear with ready for input (checked).
customer exit code in CMOD :
when ' customer exit var for cal year'
IF I_step = 1.
clear l_S_range.
l_S_range-low = sy-datum+0(4).
l_s_range-sign = 'I'.
L_s_RANGE-opt = 'EQ'.
ENDIF.
if i_step = 2.
data: zyear(4) type c.
zyear = sy-datum+0(4).
ex: l_s_range-sign = 'I',
l_s_range-opt = 'EQ'.
L_s_range-low = zyear.
appen l_s_range to e_t_range.
after this create a variable offset
create a new selection in the structure, drag the KF and calyear restricted by current year variable . Copy the same selection and insert it as a new selection, go back to the calyear restriction, right clik on the variable. specify variable offset and enter + 1.
or search in sdn how to create variable offset it will help you
Regards,
Ranganath. -
AP Form Personalization - How to default Values.
Hi All,
I am trying to Personalize the *"Payment Batch"* Form in AP Super User.
(Navigation : Payments > Entry> Payment Batches.)
My Requirement is:
*"Once the Bank Account(LOV) is selected, the Pay Group(LOV) should get defaulted."*
There is a ONE-TO-ONE Relationship with the Bank Account and Pay Group given by the user.
1. How can I default the Pay Group corresponding to a Bank Account.
2. Is there any table which links Bank Account and Pay Group to accomplish the same.
3. Can i do it by creating LOOK-UPS
Please help me start with this personalization.
Thanks a TON in Advance.Please post your question in the [EBS General Discussion|http://forums.oracle.com/forums/forum.jspa?forumID=475] forum as this forum is dedicated to NON-EBS Forms development.
Craig...
Maybe you are looking for
-
Need to download 3.6 in order to use Zone Alarm, ver4 not compatiable
I use Zone Alarm firewall. I downloaded Firefox 4 and installed it, not knowing it was not compatible. I would like reinstall 3.6, but cannot find a site to download it. All sites (that I find) have been changed to to version 4. WTROTT
-
How do you reference assembly resources from MP in PowershellGrid Widget script
Instead of shipping my custom assemblies to a known location on the system center 2012 server in separate files, I'm trying to use assembly resources to do this. The issue I am having is referencing these assemblies in the script for the PowershellG
-
MTO, Change in SO quantity affect PO, Can new PR adopted in existing PO?
Dear all I have this problem: In the Make-to-order environment, Sales Order will trigger the requirement. And once the MRP is run, it will explode the BOM level and propose the procurement quantity. on 1st of April, I have already converted the Plann
-
Create a vizualization of artwork
Hi, i created seveeral business cards and other artworks in Illustrator cs5. I was wondering if Illustrator can generate a vizualization of business cards (for example) like if it was a real PRINTED business card and place on table ? if not, do you k
-
Hi, There is client requirement to confiquire rman on all development environments. The prodcution and preproduction environment Rman confiquired by third party vendor and the team who are supporting production and preproduction are reluctant to shar