Variant adjustment in HR report
Hi all,
Initially I have created a HR Report which has logical database PNP and HR report category say HRCAT1. I have created few variants with this. Now I have changed the HR report category from HRCAT1 to HRCAT2. HRCAT2 has additional fields that of HRCAT1. Now when I selected the any one of the variants, the variants is not showing the additional fields which are available in HRCAT2.
Please let me know if the variants can be adjusted as per the new HR report category.
Thanks,
K.Karthikeyan
Edited by: karthikeyan kasiviswanathan on Nov 13, 2009 9:59 AM
Edited by: karthikeyan kasiviswanathan on Nov 13, 2009 10:15 AM
Hi,
go to FS00, hit 3rd tab and remove 'only automatic posting' flag. You will be able to do so.
review you definition for this tax to avoid this maintainments.
reagrds
Similar Messages
-
Getting the variant name when the report program is run in background
Hi All,
How to get the variant name for the report program when run in background? My requirement is to create an email attachement with the name 'variant.XLS', where variant = selection screen variant, when the report program is run in background. The system field SY-SLSET holds the variant name only when run online.
Any pointers to this will be highly appreciated.
Thanks and regards,
Nilesh.Hello Nilesh,
Please find the algo:
1. Call the FM: GET_JOB_RUNTIME_INFO to get the background job details.
2. Select data from TBTCP using these details:
DATA:
FP_EVENTID TYPE BTCEVENTID
FP_EVTPARM TYPE BTCEVTPARM
FP_ACTIVE TYPE BTCXPGFLAG
FP_JOBCNT TYPE BTCJOBCNT
FP_JOBNM TYPE BTCJOB
FP_STEPCNT TYPE BTCSTEPCNT.
CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
IMPORTING
EVENTID = FP_EVENTID
EVENTPARM = FP_EVTPARM
EXTERNAL_PROGRAM_ACTIVE = FP_ACTIVE
JOBCOUNT = FP_JOBCNT
JOBNAME = FP_JOBNM
STEPCOUNT = FP_STEPCNT
EXCEPTIONS
NO_RUNTIME_INFO = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
* Error calling FM: GET_JOB_RUNTIME_INFO
ENDIF.
DATA: FP_VARIANT TYPE BTCVARIANT.
SELECT JOBNAME JOBCOUNT STEPCOUNT VARIANT
FROM TBTCP
INTO TABLE L_IT_TBTCP
WHERE JOBNAME = FP_JOBNM
AND JOBCOUNT = FP_JOBCNT
AND STEPCOUNT = FP_STEPCNT.
IF SY-SUBRC = 0.
SORT L_IT_TBTCP BY JOBNM JOBCNT STEPCNT.
READ TABLE L_IT_TBTCP INTO L_WA_TBTCP INDEX 1.
IF SY-SUBRC = 0.
FP_VARIANT = L_WA_TBTCP-VARIANT.
ENDIF.
ENDIF.
Hope this helps.
BR,
Suhas -
Transaction Variant for a standard report without transaction code
Hi,
I want to create a transaction variant for a executable report. The report has some subscreens 100, 110 etc. I want to hide the subscreen through transaction variant. So I have created a transaction code (Y*) for it and then tried creating transaction variant using SHD0 transaction. But the fields are not listed to choose invisible or other options. Please adviceThe fields are listed when you leave each recorded screen. You have the flag "do not display the screen". It's strange you don't have anything, are you sure you started the recording? (you enter the transaction code, the transaction variant, you click the Create button and the screens are displayed and recorded)
Which transaction is it?
A little remark (about your last posts): forum rules ask people to give points, it's a way to say thank you. Otherwise, people won't help you anymore. It's not a black and white logic : don't give points only when your problem is solved. Give 2 or 5 points to thank people (or 0 if it's out of context). Thanks. -
Hi Guys,
I was wondering if there was a way of creating a variant for a web report, the way we can create one for a BEx report. I would like to be able to store the variable values in a variant and then select one of the avaialable ones.
Thanks,
DonivThe save as view functionality does exist in BW 3.x. The only difference is that it is not available as a web item. There is a template named 0publishing_template. This has the save view option available. The other way is directly from the Web Application Designer. Go to Tools --> View Definition --> Select either based on a query or based on another query view. Once this is done you can either create another web template with the view as your dataprovider or you can create a hyperlink in the role menu and use a URL like this:
http://servername/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=0query_template&data_provider_id=technical name view.
One thing to note is that views will save the variable entries. You can add VARIABLE_SCREEN="X" to force the display of the variable screen. To change the values in the variable screen add VARIABLES_CLEAR="X".
Hope this helps.
Jeff -
Transaction Variant for a Custom Report
Hi Folks...
I am trying to create a transaction variant for a custom report...and i am unable to do it. Have any one tried that before and got it worked..please let me know.
Thanks in advance.
Rajeevhi,
i also used a different approach based on the requirement. this might be helpful to someone:
requirement: to make one of the parameter fields as display only. other users should not be allowed to edit this field & make it modifiable again.
_solution1:_ in the program, assign the parameter field to a modification id and make it protected (screen-input=0).
limitation: needs program modification incase there is a future requirement to change the parameter field value.
solution2: [1]create & save a variant and protect that parameter field. [2] go to SE93 & create a report transaction, put your saved variant in the 'start with variant'. [3] go to SU21 & create an authorization object for controlling the access to the variant. [4] ask your basis to attach this authorization object to the user id responsible for maintaining the variants for that program. [5] add a logic to check the authorization object in your program whenever the user tries to save or delete variants.
remarks: in production, make sure the authorization object & the update profile are transported. create also the same variant name as what you have defined in your report transaction code. -
Variant calling in the report program.
Hi,
I got a report program to be called using the submit statement mentioned below.
SUBMIT... [USING SELECTION-SET <var>].
The Variant is saved in the Tcode. How can i get the Variant programatically rather than harcoding the variant name?.i mean any table it will be stored or any Function module available?.
The variants are stored in the TVARV table, but still i need to pass the variant name to get the entries from the table.Any other alternative.
Thanks,
Neslin.Hi Vijay,
In the table i find a possibility of getting multiple variants for a single report pgm name. any way to get a unique variant..
Thanks,
Neslin -
To view variants used in multiple reports
Hi all,
Is there any function module or report or transaction to view the variants used in multiple reports?
Our current process is to go into SM37, pull up the individual user, input the date, open the list of reports, u201CGo tou201D the variant and review the information.
Please help me to get the details of variants ?Hi manju,
From table VARID you can find the list of reports using the same variant by passing the name of variant in field VARIANT.
To get the details about the variant you can use the FM RS_VARIANT_CONTENTS.
Here you can get the list of PARAMETERS, SELECTOPTIONS and there values also.
Regards
Dillip sahoo -
How to get selection screen variant name of a report ?
Hi Experts,
Can any body please suggest, how I can get the variant name that was selected when a report program was being scheduled in background?
I am using system field SY-SLSET but it is working only at foregrounf execution.In background mode it holds different value like '&0000000000038'.
Thanks in advance.Hi !
When running the program in foreground (SE38 -> F8) or in a background job (SM36), sy-slrel is correctly filled.
When running in background via SE38 transaction (run in background : F9), sy-slrel is not filled correctly (&000010 for example).
However, in the second case, you still are in foreground when in the selection screen. Thus this simple but quite efficient idea of [Vinod Vemuru|http://wiki.sdn.sap.com/wiki/display/~ncz6anw] :
http://wiki.sdn.sap.com/wiki/display/ABAP/Howtogetthevariantnamewhenrunningthereportinbackgroundfromselectionscreen -
Key figure values vary each time the report is run by different users
Hi All,
We are facing a unique problem, here it goes :
Different users are getting different values for the same key figure, when executing the same query on the same selection conditions.Each time, user executes the report, he is getting varying values for the same key figure.Any idea's how to resolve this issue??
Thanks in Advance
BinduHi Bindu,
One reason might be due to authorizations as discussed earlier.
check how frequently is the cube getting refreshed.
This might also happen that if users are running the data at different times and there is a cube load in between.
check for this.
Cheers,
Srinath. -
Error during Variant Creation for a report
hi,
i'm trying to schedule a background job for the report MEREP_DISTRIBUTOR. it requires me to create a variant. i go to SA38 Transaction and try creating a variant.
<b>"Maintain Variant: Report MEREP_DISTRIBUTOR, Variant Distributor" </b>Screen.
When i give simulate, i get this error.
<b>Simulate --> No Mobile ID found.</b>
Can you help me solve this issue?
Thanks and Regards
Arun
PS: Answers will be Rewarded.
Message was edited by: Arun Kumar Ravi> Login in to your webconsole, under the
> 'Administration' tab, press 'Add entry' button; which
> will allow you to assign the componen to a user.
at this point, i get a message "Selected component type cannot be assigned\n"
but when i see what components have been assigned,
On All Devices MI_ADMIN ZMI0_EX1 01 Deployment with Next Synchronization With Role Assignment 2005-12-29 19:14:23
ZMI0_EX1 - MCD Name.
01 Version
MI_ADMIN - User name.
the above statement was a result of role sync from the ABAP server side.
So, what's next?
Regards,
arun.
Message was edited by: Arun Kumar Ravi -
To display the selection screen variant name in WAD report output.
Hello experts,
I have a requirement which is to display the selection screen variant description in the output of the WAD report.
I managed halfway, by using the object "Information field", which displays all the values which are selected by the variant.
Example:I have created a cost center report created using WAD, since I need some graphical displays..
In the selection screen, I have the characteristic "cost center" as input field. I have created a variant " GM - IT" which will include few cost centers managed by GM. In the output, I want the dispaly to be "Cost center - GM IT". Currently it displays "Cost Center - a,b,c,d" as the values a,b,c,d are the values from the variant name "GM-IT"
Please let me know if this required any java script. I am not familiar with java / html codes and any help would be much appreciated (and rewarded)
Thanks in advance
KSHi,
Try this.
If you want to include your variables in your WAD means you have to choose "Force Variable Screen" option to be in enabled condition.
TO enable this,in WAD select your Template(New Template1) click the WEBITEM , it'll shows all generic properties , here you can enable this "Force variable screen"
Save and execute your WAD now you can get your variable screen.
Thanks,
JituK -
Adjustment in a Report of withholdingtax
Hello ,
I need to make an adjustment , when in a reporting somebody make a mistake and calculate the withholding tax on the whole
tax base , then the invoice is paid and in the next fortnight I have to do an adjustment but I can´t post directly on the witholding ledger accounts.
How could I resolve this please?
(The report is for Argentina)Hi,
go to FS00, hit 3rd tab and remove 'only automatic posting' flag. You will be able to do so.
review you definition for this tax to avoid this maintainments.
reagrds -
Header Variant on Line Item Reports
Can someone tell me how to transport header variants that I have created for FBL5N. I have gone into the report, then chosen Settings -> Layout -> Current Header Rows and defined the header layout. However, I cannot find a way of placing this definition on a transport so I can move it through the system landscape.
Any help greatfully received, thanks.IN FBL5N, when the list is on screen, go to Settings->Layout->Administration
then select the layout you want to transport, then menu Layout-> transport, select existing custo TO or create a new one.
Jerome -
Function to get the layout and variant info of a report
Hi ,
I have report zmm4. I have created a variant 'var1' .
The output format of the report is defined in the layout
'lay1'. Which is the function which gives the complete info about the displaying coulmns of those layout ? because I need replicate these functionality in EP .
Please don't say USE "SAP transaction Iviews'.
any hint is appreciated
thanks
pkiranHi Prashant,
Does your report should look like portal format? or is it ok if you show SAP report in portal then easiest would be having a layout variant in the report selection.
Assuming you are using ALV display. Specify the layout variant 'lay1' and save the variant 'var1'.
Create Iview using SAP Transaction Iview and pass the Tcode - 'Start_Report'
Application Parameters - D_SREPOVARI-REPORT=ZMM4 & D_SREPOVARI-VARIANT = VAR1.
Choose option process first screen.
Other suggestion would be to create a function module which is RFC enabled and pass the report values in the specified format to the FM output table and use SAP RFC IVIEW and report would look in portal format.
You can also use com.sap.pct.srv.portaldataviewer par file and choose PortalALVTemplate. PortalALVTemplate is FM in R3 and gives u an idea how you can present the ALV report in Portal.
Hope this helps,
Thanks,
Praveen
PS.Dont forget to reward points for useful/solved answers -
How to enable the variant button in my report
Hi experts,
How can I enable the variant button at the top menu bar of my report?Hi Miv,
In the above post of mine I didn't give info. on creating variant.
Here is how to create a variant:
On the Selection screen after giving INPUT. <b>Just press ctrl+S</b>.
to create a variant.Give the variant name and save it.
<b>
Reward all helpful answers</b><b>
One request, i.e., don't forget to close the thread by giving points if your problem.</b>
Regards,
V.raghavender.
Maybe you are looking for
-
OPEN_FORM results in FRM-40010 Cannot read form etc. I ave just installed/started using Forms 9i . Calling form exists and runs OK. Called form saved/compiled in same folder - however FRM-40010 keeps appearing . Suggestions anyone ? Any help would be
-
HT1782 File in Finder can't open, erase
I have two files (cursor arrow pointing them out on screen shot). They appear as "Favorite" files in "Finder". I can't open, move, ... do anything with them. When I use the cursor and push down on the mousepad (to select, open) them, I get the white
-
Hiding lines on a line chart (Display marker only)
I would like to only view Markers along with bars in combination chart. Need to make lines transparent or hidden (disable). The X category axis is (different companies), so connecting line is not appropriate. There are setting to hide other elements
-
How to customize profile for T Code COID
Hi, Can any one help me creating profile in T code COID.
-
When loading fire fox 4.0 i can no longer access fire fox , it wont open up
I was using the older Firefox before with know problems so i decided to update to Firefox 4.0 now it does not work and wont open up to allow me to access Firefox full stop so hopefully you can find me a solution