Duplicate Cal. Yar/Month with offset on row 2?
I'm have a query/report with say Profit Center in the Rows and Qty and Cal. Year/Month (0CALMONTH) in the Columns. Very simple and works just fine.
But now I want to add an additional Dill Across with Cal. Year/Month offset by 1 year.
Something like this -
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Qty ,,,,, Qty etc'
,,,,,, Cal.Year/Month 01/2006 02/2007 etc'
,,,,,, Cal.Year/Month 01/2007 02/2007 etc'
Profit Center ,,,,,,,,,,,,,,,, 123 ,,,,,,, 111
Any ideas please?
this rek is not possible
how can u show the 01/2006 and 01/2007 in same window i.e. in same columns.
and how can it show the profit center in same column...
if u analyse ur rek how can it bring both values of 01 2006 & 2007 in same result...
,,,,,,,,,,,,,,,,,,,,,,,,,,,, Qty ,,,,, Qty etc'
,,,,,, Cal.Year/Month 01/2006 02/2007 etc'
,,,,,, Cal.Year/Month 01/2007 02/2007 etc'
Profit Center ,,,,,,,,,,,,,,,, 123 ,,,,,,, 111
now here 123 corressponds to year 2006 or 2007
this is not possible...
if u try to bring calendar year/month in columns it will display like...
,,,,,,,,,,,,,,,,,,,,,,,,,,,, Qty ,,,,, Qty etc'
,,,,,, Cal.Year/Month 01/2006 01/2007 02/2006 02/2007
Profit Center ,,,,,,,,,,,,,,,, 123 ,,,11,,,,,,,,,,,24,,,,,,,,,,25
above display is proper , as it brings the profit center for both month in adjacent cellsss...
if this doesnot solve ur issue , i can suggest how to achive below display
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Qty ,,,,, Qty etc'
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,jan,,,,,,,,feb,,,,,,mar,,,,
Profit Center for year 2006,,,12,,,,,,,,,,13,,,,,,,,,14
Profit Center for year 2007,,,22,,,,,,,,,,43,,,,,,,,,54
does this help
Similar Messages
-
Cal year / Month is not populating correctly in Bex report
Hi Experts,
We have a bex query on virtual provider with only one column in it i.e 'cal year / month'. I'm having the problem with this column.
In the excel output of this report the cal year /month is displaying in this sequence.
01/0000 02/0000 03/0000 04/0000 05/0000 06/0000 07/0000 08/0000 09/0000 08/2008 09/2008 10/2008 11/2008 12/2008 01/2009 02/2009 03/2009 04/2009 05/2009 03/2010 04/2010 05/2010 06/2010 07/2010 08/2010 09/2010 10/2010 11/2010 12/2010 01/2011 02/2011 03/2011 04/2011 05/2011 06/2011 07/2011 08/2011 09/2011 10/2011 11/2011 12/2011 01/2012 02/2012 03/2012 04/2012 05/2012 06/2012 07/2012 08/2012
I'm not getting why the first 9 columns its displaying as 01/0000 02/0000 03/0000 04/0000 05/0000 06/0000 07/0000 08/0000 09/0000 .
It should display as
08/2008 09/2008 10/2008 11/2008 12/2008 01/2009 02/2009 03/2009 04/2009 05/2009
06/2009 07/2009 08/2009 09/2009 10/2009 11/2009 12/2009 01/2010 02/2010 03/2010 04/2010 05/2010 06/2010 07/2010 08/2010 09/2010 10/2010 11/2010 12/2010 01/2011 02/2011 03/2011 04/2011 05/2011 06/2011 07/2011 08/2011 09/2011 10/2011 11/2011 12/2011 01/2012 02/2012 03/2012 04/2012 05/2012 06/2012 07/2012 08/2012
My data source is fetching the correct data including this cal year/ month.
Thanks in advance for your help.
Regards,
Brahma ReddyIt seems there are some records of "cal year/month" with value 01/0000 02/0000 03/0000 04/0000 05/0000 06/0000 07/0000 08/0000 09/0000
2 possible solution:
1) Check the data again, you may simply filter them by restrict the cal year/month to the specific value (01/0000)
2) restrict the cal year/month, only allow 2008/8 + value in the result. -
Replacement path variable with offsets
Hi experts,
I have the requirement to report receivables (open items) historically by fiscal year / period.
More precisely, each period should show the open items that are open at the end of the period.
Example:
001.2010 (shows open items from 31.01.2010)
002.2010 (shows open items from 28.02.2010)
...etc.
The idea is that the user enters a fiscal year/period using a manual entry variable.
The open items should be calculated as follows:
KF: Amount
Posting Date <= Variable
Clearing > Variable or unassigned
Variable is a replacement variable that is replaced by attribute "Date To" from the user entry Variable (Fiscal year period)
E.g. if the user enters 008.2010, then this value is automatically replaced by 31.08.2010.
Generally this works.
However, to view the values for the last 12 months, a structure is needed consisting of 12 elements with offsets in order to show the 12 months prior to the selected period (e.g. 001.2010 - 002.2010 - 003.2010 ....etc.)
The problem is that the replacement only considers the user's variable entry and ignors the offsets.
Example:
User enters 008.2010.
In the column strucure I show 3 months 006.2010, 007.2010, 008.2010.
Then all columns would show items open on 008.2010 - the offsets are ignored.
Any idea, why this happens and how it can be resolved?
This problem has given me a headache for days.
Your help is much appreciated.
Thanks and regards,
Alex
The user should be able to enter a fiscal year / period andtake an e.g.
u have characteristic say ch1
u want to restrict it with replacement path variable
first of all create a variable var1
click what it is based upon for e.g. 0calday, 0material etc.
make it user entry variable
select single or multiple entry
make it mandatory
save it and hit okey
click on ch1
right click and say restrict
in new window create a new variable
give its name and technical name
processing path is replacement path
go to next tab of replacement path
select several ooptions
replace variable with another variable
select a variable called var1
change the offset length and offset start with different parameters.
hit okey
this way u have restricted ch1 with replacement path variable var1
now when u run report u have to enter value of var1
which will then further feeded to ch1
this way u can create replacement path variables at lots of instances and then u can always feed the value from var1 at different time
make sure as this ur requirement is date
try to use 0calday as reference infoobject all the times.... -
How to select Months with in a date range
Hi
I am working on a report which will list out Month wise totals in each row.
How should i select the Months with in a date range and do the sum ( User may select the date range for N number of years also. Example : 01/10/2000 to 01/01/2010 )
Thanks in advance
Thanks®ards
MrudulaHi
Use the following code:
data: l_date(8) value '03042007',
l_mname type t247-ktx,
l_c(25).
select single ktx from t247
into l_mname
where spras = sy-langu
and mnr = l_date+2(2).
concatenate l_mname l_date+6(2)
into l_c." SEPARATED BY space.
data: g_date(10) type c. " Processing date of Report
g_date = sy-datum.
concatenate g_date0(4) g_date4(2) g_date+6(2) into g_date.
data: g_date1(10) type c.
g_date1 = so_verab-high.
concatenate g_date10(4) g_date14(2) g_date1+6(2) into g_date1.
Regards,
Sreeram -
Customer Exit Variblae with Offset
Hello Everyone,
Can any one tell me whether we can use offset on Customer Exit Variable or no?
I have
Variable 1. Calmonth_01 in first Column which is also input varialble.
Variable 2. Calmonth_02 is second Columnt which is Exit Variable on which offset is not applied.
From third Column i m using second variable with offset.
According to me it has to work. but i m report it is not working.
Plz help.Hi,
If you have any Input Variable on 0CALMONTH and based on the input month if you want to display the reports either + or 1 Months then you can use Off Sets it will work, no need to go for Customer Exit Variables.
1. Create a User Entry Variable on 0CALMONTH eg name of variable = ZMNTH
2. Restrict the Keyfigure with ZMNTH in column one.
3. Restrict the Keyfigure with ZMNTH-1 in column two, it will display Previous month data based on Input month
4. Restrict the Keyfigure with ZMNTH+1 in column three, it will display next month data based on Input month
Steps 3 & 4 are using Off Sets only.
For any Customet Exit variables see
https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
Thanks
Reddy -
Hi,
i have a problem with offset length please see below code and suggest :
data: content_new LIKE soli-line. "It has a length of 255 charecter
content_new = 'MTE:SD0\nwssd01_SD0_00\CPU\CPU_Utilization'.
content_new = content_new+4(251).
it is giving result:
content_new = SD0\nwssd01_SD0_00\CPU\CPU_Utiliza "it is removing last 4 charecter of UTILIZATION also
while i need :
content_new = 'SD0\nwssd01_SD0_00\CPU\CPU_Utilization'.
can anyone plz help me?
regards.
Moderator Message: Duplicate Post.
Edited by: kishan P on Oct 28, 2010 9:44 AMYou can find string length first. Subtract length by 4, Then use like new = str+4(len), use condense if required.
-
Compare turnover actual month with previous month on monthly based report
Hello Gurus,
please help me with the following requirment:
In have a monthly based report with key figure 'turnover'. Now I want to calculate deviation turnover actual month vs turnover previous month from last year. How to handle this?
Example:
CalYear/Month
01.2010 02.2010 03.2010 04.2010
Turnover 10 20 15 20
Calculated xxxx xxxx xxxx xxx
Thank you very much!
MuammerHello voodi,
it doesn't work. With offset function it shows the turnover only in the columns from last year. I need the turnover from last year in the columns from this year. Any ideas?
Expected:
CalYear/Month
01.2010 02.2010 03.2010 04.2010
Turnover 10 20 15 20
Turnover last year xxxxx xxxxx xxxxxx xxxxx
With offset -12
CalYear/Month
01.2009 02.2010 ... 01.2010 02.2010 03.2010 04.2010
Turnover 20 50 .... 10 20 15 20
Turnover last year 20 50 ... blank blank blank blank
Thank you!
Muammer -
Which Time variable should use compare this month with last month
We want to calculate the increaed number of employees according to one action reason e.g. Entry to company compare with last month. In this case we have to use time variable in BEx query designer. Now can see 0calmonth has serval variable available.
1) Should we use [0CMLMON] for last month and use offset for this month like [0CMLMON]-1 or [0CMLMON]+1 or use variable [0RSTTCM1], which variable should we use for this month and last month? Do we need to create variables by manually?
2) Then using calculated KF to calculate the increaed number of employees, is this logic correct? If it is wrong, please info.
Edited by: hi ni on Apr 22, 2008 7:58 AMHi,
For the comparison of last 2 months data, you can use two Restricted Key figures with reference to 0CALMONTH and it is better to use only customer exit variable for both RKF's.For the Last month use offset value as -1.
Rgs,
I.R.K -
Cal.Year/ Month - Applet - MM.YYYY and HTML- MMM.YYYY
Hi All.
I have created Webi Report on top of Bex Query.
While running the webi report Cal.Year/ Month Prompts list of vales showing format as MM.YYYY (01.2014) in Applet version.
and running the same report with HTML version, Cal.Year/ Month Prompts list of vales showing different format as MMM.YYYY (Jan.2014).
I have checked at bex Q level Cal.Year/ Month variable have List of values MM.YYYY (01.2014) format.
Cal.Year/ Month - @
Bex Q : MM YYYY
Applet - MM.YYYY
HTML- MMM.YYYY
Need to understand same report Cal.Year/ Month Prompts list of vales showing different format (Applet - MM.YYYY. HTML- MMM.YYYY).
is there any way to fix the issue display same format in the both version.Hi Sateesh,
Thanks for reply.
Are you using Unv /BICS ? BICS
Did you checked both applet and HTML version with the same user ? Yes, Same user
HTML and Applet version report pointed to same BO and BW system ? Yes, Both BO and BW systems are same. (development systems)
In BEx , variable values shows both text and key and when value selected it only show key in the entry field box .- Yes, bex variable and characteristic defined display as KEY.
I have created Cal.Year/ Month Prompts at webi level….while refresh the report. Cal.Year/ Month Prompts list of vales showing different format (Applet -MM.YYYY (01.2014). HTML- MMM.YYYY (Jan.2014)). -
How to copy a record with an Automatic Row Processing (DML) ?
Hi,
I want to duplicate (to copy) a record.
I have a form, with an Automatic Row Processing (DML), looking for the PK stored into an item named P26_ID and populating the values into the corresponding items of the form.
I have an Automatic Row Processing (DML) which permit to update, delete and modify the row.
So far so good.
I thought it would be good if I calculate a new value for the PK and stored it into the P26_ID.
Then I thought the Automatic Row Processing (DML) would see that it is a new value for the PK and would "decide" insert a new record.
But it does not work like that. I thought it was because the item P26_ID is database column type; so I switched to another item named P26_ID_NEW and put this new pk into this item. I then created another Automatic Row Processing (DML), triggered by this button, and which will look into this new item. It does not work either.
Where do i go wrong ?
Thank you for your kind help !
ChristianChristian:
Assuming that the 'Duplicate' function is available only when the page is in 'Edit' mode, ie. a record has already been loaded into the form you can do the following to duplicate this record
1) Define a button named 'Duplicate'
2) Set the target of this button to be 'URL'
3) Set the URL for this button to be
javascript:duplicate();
4) Add this bit of JS into the page HTML header<script>
function duplicate() {
$s('<name_of_PK_page_item>','');
doSubmit('CREATE');
</script>Varad -
Report grouped by month, need months with no data to appear.
In my report, I have the data grouped on a formula field that concatenates month and year, so all of my months are returned in order with summary data for the months in headder along with the group name. The details are supressed.
I have two issues.
1) I need the headders to show up for all months, even months with no data. I've had a similar issue in the past, which I've worked around, but I was grouping based on a finite ordinal set that existed in my database. I simply let in a little more data than I needed, and supressed the extra rows. This isn't going to work here.
2) I need the zeroed data points to appear in a graph. Right now, the graph just ignores months that don't exist in the dataset, and as a result the time scale isn't an accurate representation of the actual data trend. ie: if Jan was 13, Feb was 0, and March was 13, on the graph, the line is continuous from 13 to 14. For a user who isn't paying attention to the axis would miss that there is actually a zero in there.If you download the "Reports that demonstrate subreport functionality" zip file from this link:
https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm, there is a report in there called "Creating_Fake_Records.rpt" which may help you. -
I have a Macbook Pro running Leopard 10.5.8. I had a problem with my my operating system (my fault, I moved a file I shoudnt have) couldnt boot up but was able to boot up from a backup. I managed to repair my original system except now all the system folders, including hidden folders are littered with duplicate folders and files with the suffix (from old Mac). For the most part the dupes are an exact copy, but not always. I want to remove them to free up space and cant imagine duplicate folders in the /system/library are not hindering my computer. But I dont know where to start and am afraid of doing irreparable damage. Any ideas
pacull,
Use iCal>View>Show Notifications to choose what to do with the notification. -
Hi Experts,
I have a problem with offset values. I have create a variable on OFISCPER, it's characteristic value, indivdual value, mandatory and ready for the input. I need to show the varibel period and the l previous period and so on till 12 periods. I used the offset values (-1, -2, etc.) but when I execute the query I can show just the variable period and the period previous I don`t see. The query is based on multiprovider and don´t has filters. Can anyone help me?Leonel,
You may nt need to have 12 columns in the query designer.
You could include the keyfigure and restrict it to the variable and create the offset for the 12 periods
Check this http://help.sap.com/saphelp_nw04/helpdata/en/00/e8d13f7fb44c21e10000000a1550b0/frameset.htm
-Doodle -
Want to print the whole month with or without overtime for each employee
Hi,
I have Oracle forms/reports10g R2, Below query returns employee overtime correctly but I want to add the whole month with it in simple words if one employee have overtime for five days in a month I want the query to return the whole month including five overtime days for each employee and let say if we have ten employees query return whole month for each employee either he have or overtime or not how can I implement this in report it becomes agony for me, anyone please suggest a solution.
Thanks and regards, Khawar.
---Query---
select o.ot_date , o.start_dt_time as start_time, o.end_dt_time as end_time, o.ot_details, et.holiday, et.staff_id, e.staff_name, e.desig
from overtime o, emp_ot et, employee e
where o.complain_no = et.complain_no
and o.inc_type_code = et.inc_type_code
and et.staff_id = e.staff_id
order by 1, 2, 3, e.staff_idHi Michael,
Thanks for reply, I think I didn't explain as I should, I want to print Overtime report for each employee let say employee A123 did overtime for five days in DEC than what I want is to print report for employee A123 for the whole month means when I print report blank cell should come where A123 don't have data (I mean other 25/26 days).
The structure of tables are as
SQL> desc overtime
Name Null? Type
COMPLAIN_NO NOT NULL NUMBER(5)
OT_DATE NOT NULL DATE
START_DT_TIME NOT NULL DATE
INC_REF_NO NUMBER(5)
END_DT_TIME NOT NULL DATE
INC_TYPE_CODE NOT NULL VARCHAR2(10)
DISTRICT_CODE VARCHAR2(6)
BUSBAR_VOL VARCHAR2(5)
OT_DETAILS VARCHAR2(2000)
SQL> desc EMP_OT
Name Null? Type
STAFF_ID NOT NULL VARCHAR2(8)
COMPLAIN_NO NOT NULL NUMBER(5)
INC_TYPE_CODE NOT NULL VARCHAR2(10)
HOLIDAY NUMBER
Each employee associated with primary key i.e COMPLAIN_NO and INC_TYPE_CODE
in each OVERTIME table record we may have more than one employee in EMP_OT table.
above detail may clear my query.
Thanks and Regards,
Khawar. -
I subscribe to my video podcasts but some of them either has a small red E next to them and won't download new content or some just doesn't download new content. I have been watching the Rachael Maddow video podcast for at least a month with no problems. Now suddenly it won't download the last nights show. I have read and followed all troubleshoot and cannot find a solution. I have unsubscribed and re-subscribed to no avail. Can someone help me with this problem?
keian27 wrote:
And now that my contract has expired, I have some options. Last weekend, I called Verizon again threatening to leave. The representative offered the same $75 rebate that was offered to me 6 months earlier. I even offered up one of my device upgrades in place of a network extender, but that deal was knocked down. And so now I’m left with the option to make a public spectacle out of this scenario and hope Verizon takes notice. Failing that, I’ll be forced to leave Verizon behind.
I don't understand. If having service in your home IS important to you and you already know Verizon's policy, why have you not instead started to search for carriers which cover your home? It seems a pretty easy decision to me, at least.
Maybe you are looking for
-
Financial Reporting in 11.1.2.2 vs 9.3.3
We are moving from HFM with Financial Reporting 9.3.3 to version 11.1.2.2. One thing we've noticed is that when we first run a report in 11.1.2.2, it takes about 30 seconds for the report to prompt the user with the Point of View. After that, subse
-
Urgent help need to compress 4 hrs of footage onto 1 dvd
hi people any one know the settings i will need to compress 4 hours of footage onto a single layer dvd? the footage is of a seminar so not much action but will still need best quality possible have been using compressor 2 and got a complete head ache
-
How can I reactivate my Apple ID?
Ich habe mein Konto überzogen und meine Apple.ID wurde gesperrt. Jetzt hab ich wieder Geld auf meinem Konto um die Schulden zu tilgen aber ich weiß nicht an wen , wie oder ob ich noch etwas tun muss... Wäre nett wenn jemand der sich damit auskennt mi
-
How can use removal rate to show level of liquid in a tank?
I'm trying to use a use a flow meter to measure the usage of oil in a home heating system. I've set up a VI to measure the frequency of the flow meter and convert it into l/hr. The problem I have is how can I use this data to show the liquid level in
-
SAP HANA Modeling Sample end to end Project
Dear All, I got trained on SAP HANA Modeling and BODS recently, and in process of learning SAP BO. My core is SAP EP and don't have indepth knowledge on SAP BI and Functional aspects. I am working on few sample applications but I would like to do a S