How to get the End date of the dynamic period in Financial Reports
Dear All,
I have a issue with the Financial Report, I want to show the text under the Heading in the Balance Sheet like 31 DEC 2008 but in this date should be the end date of the dynamic period what user select in the POV.
Can any one have any idea about this.
Regards
rao.
There are 2 options:
1. Use the POVAlias text function:
e.g. <<POVAlias ("Grid1", DimName)>>
(you could also use POVMember if the items you want is the member and not the alias).
2. Have a hidden column on the report referencing the POV selection, then reference this in the header.
Similar Messages
-
Is there a way to show the end dates of the previous month stand out?
is there a way to show the end dates of the previous month in bold or make it stand out? so 30,31 and 1st of this month don't all look the same? For example the 30,31st get a regular text since they are a part of the the last month and this month gets bold dates? Its hard to read the dates anyways.
Pics and more
I may receive some form of compensation, financial or otherwise, from my recommendation or link.
5:05 PM Sunday; January 4, 2009 -
How to get last login date of the user
Hi,
I have an application where i need the last login date of the user and if the differance between the last login date and the system date is greater than a certain range the user account should be locked automatically.Please suggest me how resolve the problem as early as possible.
Thanks and Regards
AniruddhaHi,
We have faced the same issue earlier. Some attributes are available in SAP API, but they are depricated by sap due to some performance issue.
Below solution will be helpful:
So we have implmented custom code in our application. We have developed one webdynpro application which will retrieve update & retrieve logon time from portal database(custom table). And we have integrated this application in desktop inner page. So this application will be invisible to the user and will executed first time when user logs into the portal.
Regards,
Charan -
Extend End date after the end date has reached
Hi gurus,
We are using SRM5.0 on ECS with backend ECC5.0.
We notice that after the end date of bid has reached even though there is a bid submitted by supplier , the purchaser still can extend the end date to a later date as long as he has not made the accept or reject choice.
If it is the case, the purchaser can view the price after the end date reached and then extend the end date and maybe tell other supplier what the price the opponent has submitted. This is not allowed and should be penaltied.
We just want to know how to avoid this in the term of system. Can we make the
end date field unchangeable after the end date has reached? or any other solutions?
Thank you in advance.
Message was edited by:
YE WangHi,
As Teja and SAndeep mentioned,you can go for either the Approval or BADI approach.
In case you are implementing the BADI,you can make the concerned fields grayed out so no changes are made but then this would mean that <b>no changes
</b> can be done at all after the END date has been reached.
In case of workflow,you can have you starting conditions in which you will compare the end date and the system date .If same,you can trigger a Workflow for approval of any changes to be done further.So even if the changes are made,the chnages are approved by a higher authority.
Another way would be to implement the "BBP_DOC_CHECK_BADI" to check whether the end date has been reached and then allow the user to do any changes.You can use the FM "BBP_PD_BID_GETDETAIL" to get the details of the BI and then check.In this case,you can additionally check for other parameters of the User like role,authorisation based on which he can make changes in exceptional cases.
BR,
Disha.
<b>Pls reward points for useful answers.</b> -
Start date End date of the current Calendar month
Hi All,
How can we get the Start date of the Current Calendar month and the End date of the current Calendar month , when we given certain date in the selection screen.
For Eg : In the Selection screen if I give date as Todays date 04042008, we should be getting the Start date of the month as 01042008 and End date of the month as 31042008.
Any pointers will be much appreciated.
Regards
Rohini.Hi,
Please refer the code below:
CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = sp_gjahr
* i_monmit = gp_monat
i_periv = 'K4'
i_poper = sp_monat
IMPORTING
e_date = gv_firstday
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
"Last day of the period
CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
EXPORTING
i_gjahr = sp_gjahr
* I_MONMIT = gp_monat
i_periv = 'K4'
i_poper = sp_monat
IMPORTING
e_date = gv_lastday
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks,
Sriram Ponna. -
Extending the End Date of Relationship Org. Unit and Position
Hi All,
Please help me below.
Problem: The end date for the relationship between org. unit and position should be set back to 31.12.9999. It was accidentally been set to 31.03.9999 and results to two records in infotype 0001, which the wrong record should be deleted.
This can only be deleted by changing the relationship end date in PO13 but unfortunately, the user doesn't have any access to this transaction.
Request: Can you explain to me on how the end date can be change in transaction PPOME or PPOM_OLD as these are the only transactions the user has an access. I'd already explored these transactions but I can't find on how it should be deleted here.
Thanks!Hi Raju,
Thanks for this information. This was a very helpful answer. But I only need to extend the end date of a particular infotype 0001 record of a particular employee. I think the report will extend all of the records of all the employees in the system. I can't find any parameter in the report wherein I can set the employee number I wish to extend the end date.
Thanks! -
How to get a week number for the year using oracle sql query?
hi everyone,
i have the requirement to find the week number for the calender..
so that week number should start with 01 when the year starts and it should end with week end date(that is first saturday of the january month).. so next week number starts with sunday and ends with saturday ,continously.. in the end date of the year it should not be 'saturday' but week number should end with last date of the year.. again in the next year it should start with '01'.
for example:
01-JAN-13 tuesday 01
02-JAN-13 wednesday 01
03-JAN-13 thursday 01
04-JAN-13 friday 01
05-JAN-13 saturday 01
06-JAN-13 sunday 02
07-JAN-13 monday 02
26-DEC-13 thursday 52
27-DEC-13 friday 52
28-DEC-13 saturday 52
29-DEC-13 sunday 53
30-DEC-13 monday 53
31-DEC-13 tuesday 53
01-JAN-14 wednesday 01
02-JAN-14 thursday 01
how can i achieve this, can anyone please help me out on this..
i have a query that starts with 01 when year starts but it gives problem in the end of the year .. described below with a query..
select mydate,
to_char(mydate,'day') as weekday,
to_char(next_day(mydate,'sunday'),'iw') as week_num
FROM ( SELECT TRUNC (SYSDATE, 'yy') - 1 + LEVEL AS mydate
FROM dual
CONNECT BY LEVEL <= (SELECT TRUNC (ADD_MONTHS (SYSDATE, 24), 'yy')
- TRUNC (SYSDATE, 'yy')
FROM DUAL))
this query gives date, weekday and week_num for 2 years 2013 and 2014,
when i run this query ,at the end of the 2013 it gives the result as,
26-DEC-13 thursday 52
27-DEC-13 friday 52
28-DEC-13 saturday 52
29-DEC-13 sunday 01
30-DEC-13 monday 01
31-DEC-13 tuesday 01
01-JAN-14 wednesday 01
02-JAN-14 thursday 01
for dates 29 ,30,31st it should give 53 .. how can i achieve that using this this query .. can any one help me out on this please...
thanks,
pradeepI tried with the IW ...
it is giving week_id for the year.
select
mydate,
to_char(mydate,'day'),
case when mydate between trunc(mydate,'yyyy') and next_day(trunc(mydate,'yyyy'),'saturday')
then to_number(to_char(mydate,'yyyy')||to_char(trunc(mydate,'yyyy'),'iw'))
when mydate between next_day(trunc(mydate,'yyyy'),'saturday') and trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d')-1
then to_number(to_char(mydate,'yyyy')||to_char(next_day(mydate,'sunday'),'iw'))
when mydate between trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d') and add_months(trunc(mydate,'yyyy'),12)-1
then to_number(to_char(mydate,'yyyy')||to_char(trunc(add_months(trunc(mydate,'yyyy'),12)-1,'d')-1,'iw')+1) end as WEEK_ID
FROM ( SELECT TRUNC (SYSDATE, 'yy') - 1 + LEVEL AS mydate
FROM dual
CONNECT BY LEVEL <= (SELECT TRUNC (ADD_MONTHS (SYSDATE, 24), 'yy')
- TRUNC (SYSDATE, 'yy')
FROM DUAL
)) -
End Date of the Selection Period defaults as tax year end date in P45
Hi,
We have recently implemented both HRSP'S and CLC'S. In addition to this, we have also applied the following SAP Notes:
1. 1305238
2. 1309852
3. 1310431
4. 1316197
Despite this, we are still having the below problem with the P45 Program.
The End Date of the Person Selection Period automatically defaults to the end of the tax year, we are now unable to overide the date suggested by the system.
Can anyone suggest the cause of this issue.
Rgds
SandyHi,
With the Inyear movement legal changes ,HMRC have now introduced a check where in P45 cannot be produced for leavers who have a future leaving date 30 days from the current date.
In line with the above changes,the chance of issuing P45 for future leavers is now checked by the P45 program even though the person selection end date is the tax year end date . So that's why the date is getting defaulted from the tax year.
Hope this could solve your issue.
Regards
Roop -
Who to get Actual Shipment Date for the Sales Order
Dear All,
How to Get Actual Shipment Date for the given sales order.
REgards
sudheerHai,
If you want the actual shipment date of an order call the function module RV_ORDER_FLOW_INFORMATION and pass the order number as vbeln in the structure COMWA.select the values from the return table which corresponds to 'J' type which are delivery and get thedate.
THis will give the actual delivery date (if created).
Oher way is to look for vbeln in table LIPS using VGBEL = order number as the selection criteria.
Cheers,
Sandeep -
How to get starting date and ending date of the given Fiscal Period
Hi Friends,
In my Selection screen parameter, I've Fiscal year and Period , I want to get the starting date and ending date with the Fiscal period.
How to get and throught which FM.
Pls advise.
thanks®ards
Sankar.Hello Sankar,
Check the FM PERIOD_DAY_DETERMINE.
DATA :
l_periv TYPE periv,
l_blart TYPE blart,
l_fday TYPE bkpf-budat, "First day in period
l_lday TYPE bkpf-budat. "Last day in period
* Fetch the fiscal year variant from T001
SELECT SINGLE periv INTO TABLE l_periv
FROM t001
WHERE bukrs EQ p_bukrs.
* Get first day/last day
CALL FUNCTION 'PERIOD_DAY_DETERMINE'
EXPORTING
i_gjahr = p_gjahr
i_monat = p_monat
i_periv = l_periv
IMPORTING
e_fday = l_fday
e_lday = l_lday
EXCEPTIONS
error_period = 1
error_period_version = 2
firstday_not_defined = 3
period_not_defined = 4
year_invalid = 5
OTHERS = 6.
Hope this helps.
BR,
Suhas
Edited by: Suhas Saha on Jan 9, 2009 2:08 PM -
DATA TRANSFER - How to get a SINGLE SPACE in the downloaded file from UNIX?
Hi Experts,
Am sending data from SAP to UNIX/ Application server and text file on desk top as well.
So, I am keeping a single character just SPACE at the END of each record.
Then, When I see the downloaded text file, I found a SINGLE SPACE at the end of each record, fine.
Then, by using CG3Y t code, I downloaded the UNIX file to my desk top.
But, When I see this UNIX downloaded file from UNIX, I did NOT find any SPACE at the end of each record!!!
Am doing every thing same in both cases.
So,
1 - Why its happening in case of UNIX file?
2 - How to get a SINGLE SPACE at the END in the downloaded file from UNIX?
thanqHi,
I don't know if this works:
perform SET_TRAIL_BLANKS(saplgrap) using 'X'.
perform SET_FIXLEN(saplgrap) using '0' '060'. "put length of your line from-to
... download ...
It will put space at the end of your line, according to the length.
Hope it works,
Chang -
Getting the start and end dates of the week
Hi,
I was stuck with a problem in getting the start date and end date of the week,i know the month ,week and year also,with these three values how can i get the start and end dates of a week.please help me
ThanksThere is no simple way. It has to be a math calculation.
There are several ways you can get the dates. First you have to know what day is January 1st and what day is december 31st for a particular year. Second you have to check whether the given year is a leap year or not. Based on the abvove information you should be able to find out what day is a particular date.
Hope this helps to get you started.
- Venkat Dhurjati. -
Although my ipod shows the number of steps, calories, and time, it no longer is saving it to the history. Also when I open the history it takes me to May 2010 instead of the current date. Any ideas on how to get it to start recording the history again?
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try another cable
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar
The missing apps could have been done by setting the Restrictions that can hid those apps. If the backup was made with those retrictions set the the Restrictions are also restored.
Thus, if you get it to work restore to factory settings/new iPod, not from backup
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
I use since 1 year iTunes match. Do I get a mail from apple to renew my subscription or do I have to renew my subscription for my own? I don't know the exactly date from the end of lifetime?
Kind best regards - sunshine34778The subscription will renew automatically (unless you have disabled that) and you will get an email approximately one month before renewal.
-
How to get last Build date of a dll in the real time target
Info On My Project
I am working on LabWindows CVI 12.0 for development . This project is a real time application for hardware, which is having Phar Lap ETS as RTOS...
I am facing some problems while checking Build date of my Application file( .dll)
I have tried to use GetFileDate API. But it is not supporting for realtime Target..
So i have tried __DATE__ macro.. That also having some problems..
How to get last Build date of a dll from the real time target ??
Please Help to solve this....
Thanks
Vaishakh A KPlease reply if any one have suggestion...
Maybe you are looking for
-
Have an onchange event in SPD to update a list based on user selection of data view drop down?
Hoping someone can point me in the right direction: I have a list for Media announcements, each one of these announcements will have various types of documents associated (via look up field in the doc library). I am trying to have a data form web par
-
SUM two ROWS in the SAME Table
Hi, I have a problem with this issue. I want to sum two rows from the same table, but I don´t know how to do that. I tried to do it with CTE, but always I get the same error "Ambiguous". I would like to ask you, if there is other manner to get that d
-
Transaction code history table
Hi Guys, I need to know the program names which were assigned to a particular transaction code. I know this history is stored in a table. I forgot the table name. Now I am in urgency to find what are all the previous programs assigned t
-
Hi Experts, I need a query to block a double payment from happening or an approval procedure to alert the financial manager. The requirements are as follows: In the outgoing paymetns screen, I need to block the payment if the "Reference" field in the
-
Quicktime Pro wont save video in rotated version, reverts to original.
Despite following all the steps to rotate a video saved from iphone 4 it won't save its new version (PC) ..have clicked save as , re-named file and it will save as a new file but it is still upside down in the thembnail and if you open it with any ot