How to get last 35th fiscal year periof form current fiscal year period
Hi,
I want last 35th moths fiscal yesr periof from current fiscal yesr periog.
E.g. current month FISPER - 2010011 so required FISPER is 2010011 - 35 = 2007009.
Please help if any one know about it.
Marks will be provided.
Hi,
Drag Fiscal year/period characteristic in the query and restrict it .
In the variables , you will find SAP delivered variable which willl give you current fiscal year/period.
Create range on the using this variable and give offset of -35.
For eg.
the name of the variable is 0PF_CP, then create range in the following way.
Lower range will be 0PF_CP - 35
and higher limit will be 0PF_CP.
So the range would be 0PF_CP-35 : 0PF_CP.
This will give you the last 35 fiscal year/period.
- Jaimin
Similar Messages
-
How to get last date of the week
hi,
how to get last date of the week like FM WEEK_GET_FIRST_DAY gives the date of the first day of the week i need the date of the last day of the week..
thnxdata : p_week type KWEEK,
p_Date type SYDATUM.
p_week = <incoming value in week of year>
CALL FUNCTION 'WEEK_GET_FIRST_DAY'
EXPORTING
week = p_week
IMPORTING
DATE = p_date
EXCEPTIONS
WEEK_INVALID = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
To get the last day of the week.
p_date = p_date + 6.
You can find the available fm in the system from se37 transaction code. -
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...
-
How to Get last page number in report 10g
I want to get last page number in report but Current page number found from srw.get_page_num(n)
but i want to get last page number for conditional formating like this
srw.get_page_num(current_page)=last_page
pls help me how can get last page number;
pls help;
thanks in advanced;Hi,
you can use the Property Print Object On for this.
Regards
Rainer -
How to get last column used in report sorting?
hi,
how to get last column used in report sorting?
simonHow to identifiy which column was sorted having different reports on page?
just use:
'YOUR_STATIC_REGION_NAME' instead of p_static_id,
:APP_ID for p_app_id,
:APP_PAGE_ID for p_page_id
:APP_USER_ID for p_app_user.
and dont forget to grant SELECT on #OWNER# to APEX_030200.WWV_FLOW_PREFERENCES$
good luck and thank you Juergen.Schuster
Simon -
How to get a second page in a form letter report after create it by Wizard
How to get a second page in a form letter report after create it by Wizard
i've built a report by wizard with a sql-Query
the sql give me back for example 3 dataset
and the report prints 3 pages
dataset 1 - page 1
dataset 2 - page 1
dataset 3 - page 1
thats ok,
but now I need a second page per dataset ( with only a text )
so that the report should print 2 pages per dataset
dataset 1 - page 1 ,page 2
dataset 2 - page 1 ,page 2
dataset 3 - page 1 ,page 2
It's not really clear for me, what to do, to create the second page
any help ?.... found answer in other forum
-
How to get the list of active devices in current wifi network?
Hi All,
I am going to a start a new Network based app. So please any one give me an idea on the below question.
How to get the list of active devices in current wifi network?Nope I want the log-in user to retrieve its Group where he is belong. I have this following code
strUsername = Request.getParameter("username").toLowerCase().trim()+"@dev.test.com.ph";
strPassword = Request.getParameter("password").toLowerCase().trim();
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, INITCTX);
env.put(Context.PROVIDER_URL, MY_HOST);
env.put(Context.SECURITY_AUTHENTICATION, "simple");
env.put(Context.SECURITY_PRINCIPAL,strUsername);
env.put(Context.SECURITY_CREDENTIALS, strPassword);
// enable tracing
env.put("com.sun.naming.ldap.trace.ber", System.err);
// Create the initial context
DirContext initCtx = new InitialDirContext(env);
// Get the target context
DirContext targetCtx = (DirContext)initCtx.lookup("");
SearchControls constraints = new SearchControls();
constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
// Perform the search on the target context
NamingEnumeration enum = targetCtx.search("","(userPrincipalName="+strUsername+")",constraints);
javax.naming.directory.Attributes attrs;
NameClassPair item;
String[] attrIds = new String[]{"MemberOf"};
// For each answer found, get its "Groups" attribute
// If relative, resolve it relative to the target context
// If not relative, resolve it relative to the initial context
while (enum.hasMore()) {
item = (NameClassPair)enum.next();
Out.println(item);
attrs = targetCtx.getAttributes(item.getName(), attrIds);
Out.println(attrs + "<br>");
initCtx.close();
It returns all this string :
{memberof=memberOf: CN=CMCanadaRD,OU=Groups / Teams,DC=dev,DC=test,DC=com,DC=ph, CN=iMngrCanadaRW,OU=Groups / Teams,DC=dev,DC=test,DC=com,DC=ph, CN=Domain Users,CN=Users,DC=dev,DC=test,DC=com,DC=ph, CN=Backup Operators,CN=Builtin,DC=dev,DC=test,DC=com,DC=ph, CN=Administrators,CN=Builtin,DC=dev,DC=test,DC=com,DC=ph}
How can i retrieve the Group named CMCanadaRW and CMCanadaRD on the Attribute?
Thanks -
How to get the output of Standard HR forms in PE51
Hi Experts,
How to get the output of standard HR forms available in PE51 Transaction for coutry grouping 99.
Please advice.
Regards,
IFFHi
Use the t code for country grouping 99....PC00_M99_CEDT - Remuneration Statement. to get the variant in tcode PC00_M99_CALC_SIMU - Simulation.
Like this test for all the standard forms, what all are the available in PE51 for country grouping 99 -
SQL query to get last 6 months records neglect the current month
Hi All;
I need help with
sql query to get last 6 months records neglect the current month
Any help much appreciated
Thanks
Pradnya07SELECT <> FROM tbl WHERE dt >=dateadd(month,-6,GETDATE())
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
How can get the console window name of the current form?
How can get the console window name of the current form?
Try the various get methods of the viewObject such as getQuery:
http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtAnchor.getQuery%28%29/vtTopicFile.bc4jjavadoc%7Crt%7Coracle%7Cjbo%7CViewObject%7Ehtml/ -
How to get the report server name in Forms 10g.
How to get the report server name in Forms 10g.
I'm using the Application Server 10g 10.1.2.Hello,
I do not think that you can get this value from anywhere. A solution is to put the Reports server name in an environment variable stored in the /forms/server/default.env file, then to query it at Forms runtime with the TOOL_ENV.Getvar() built-in.
Francois -
How to get List of SharePoint Groups to which Current Users belongs using Javascript ?
How to get List of SharePoint Groups to which Current Users belongs using JavaScript? Not JSOM
Here is the code that worked for me:
var userid= _spPageContextInfo.userId;
var requestUri = _spPageContextInfo.webAbsoluteUrl + '/_api/web/CurrentUser/Groups?$select=Id,Title';
alert(requestUri);
var requestHeaders = { "accept" : "application/json;odata=verbose" };
$.ajax({
url : requestUri,
contentType : "application/json;odata=verbose",
headers : requestHeaders,
success : onSuccess,
error : onError
function onSuccess(data, request){
var s='';
for (var i = 0; i < data.d.results.length; i++)
s +=data.d.results[i].Title+'\n';
alert(s);
function onError(error) {
alert("error"); -
How to get last day of the year
Hi All ,
Thanks in advance ...
How will I get the last day of the year as I am passing date at run time .
I can manage to get first day of year by
SELECT TRUNC(SYSDATE,'YEAR') AS FDAY_YEAR
from dual
Thanks in advance
Regards
Sachin1* select ADD_MONTHS(trunc(sysdate,'yyyy'),12)-1 dd from dual
SQL> /
DD
31-DEC-2010 -
How to get Last Year Sales and YTD Sales without using AGO and TODATE?
Hi all,
I have got Company and Time dimensions and Sales Fact. My requirement is to get Last Year sales for each company without using AGO function and YTD without using TODATE function. (Due to performance issue as AGO and TODATE do not insert a Cache entry).
Can someone please help me to achieve my requirement? Thanks in advance.Hi Satya,
Thanks again for your reply. To start with I don't have data for the years 2012 and 2011 to test as I am using SH sample schema from Oracle. I have applied your solution but it does not seem to be working for the previous years like 2000, 2001. My requirement is to have a dashboard prompt "YEAR" and let the user choose whatever year he wants.
Please have a look at the column formulas of my analysis (As per your solution) :
***here B_YEAR is replaced by CALENDAR_YEAR.
Amount: "F1 Sales"."Amount"
AmountYTD: FILTER("F1 Sales"."Amount" USING "D1 Time"."CALENDAR_YEAR" =YEAR(CURRENT_DATE))
Amount LY: FILTER("F1 Sales"."Amount" USING "D1 Time"."CALENDAR_YEAR" =YEAR(CURRENT_DATE)-1)and the physical query generated by BI Server: (as you can see I have got a filter CALENDAR_YEAR= 2000)
WITH
SAWITH0 AS (select sum(T1074.AMOUNT_SOLD) as c1,
sum(case when T1035.CALENDAR_YEAR = TO_NUMBER(TO_CHAR(TO_DATE('2012-05-03' , 'YYYY-MM-DD'), 'yyyy'), '9999') then T1074.AMOUNT_SOLD end ) as c2,
sum(case when TO_NUMBER(TO_CHAR(TO_DATE('2012-05-03' , 'YYYY-MM-DD'), 'yyyy'), '9999') - 1 = T1035.CALENDAR_YEAR then T1074.AMOUNT_SOLD end ) as c3,
T1035.CALENDAR_MONTH_DESC as c4,
T1035.CALENDAR_YEAR as c5,
T1035.CALENDAR_MONTH_ID as c6
from
TIMES T1035 /* D1 Time */ ,
SALES T1074 /* F1 Sales */
where ( T1035.CALENDAR_YEAR = 2000 and T1035.TIME_ID = T1074.TIME_ID )
group by T1035.CALENDAR_MONTH_DESC, T1035.CALENDAR_MONTH_ID, T1035.CALENDAR_YEAR)
select distinct 0 as c1,
D1.c4 as c2,
D1.c5 as c3,
D1.c1 as c4,
D1.c2 as c5,
D1.c3 as c6,
D1.c6 as c7
from
SAWITH0 D1
order by c3, c2 Thanks in advance. -
Reversal of Last Fiscal year asset in current fiscal year
Dear SAP experts
Asset has been booked in last fiscal year (jan2006) depreciation also posted till this fiscal year last month (2007 June)
Asset value-70000 (invoice value)
Accumulated Depreciation-33753.42
Asset net book value as on date- 36246.58
With same information one more asset also booked by mistake, so my client want to reverse any one of them asset with depreciation (which has booked in last fiscal year)
I tried with asset credit memo (T code ABGF); it is picking up only asset net book value (36246.58) not accumulated depreciation (which is already affected in Accumulated GL account).
Can you tell me is there any way to solve this problemHi Chaitanya,
If you have already acquired and depriciated the asset in previous fiscal year and closed the books and published the results why do you want to reverse it now. from accounting point of view also how would you show the entry for reversal of depriciation.
Any how the acqusition and depriciation posted in previous fiscal year can not be reversed in current fiscal year it can be reversed only in previous fiscal year. as per SAP standards you can write up the asset if you have wrongly depricaiated the asset.
Or else you can retire the asset with revenue which will give the same financial impact as you are expecting.
Thanks & Regards
Sree
Maybe you are looking for
-
Interactive Report - Column list of values
The column header list of values feature is great but I think it would benefit from some usability enhancements. Specifically, 1. Say I have a column which has 100s of distinct values. Clearly, I wouldn't want to enable the drop-down list of values (
-
Hi people, if this queston was asked before i appologize in advance, but i can't seem to find anything on this subject. I created this form in Acrobat Pro and i need the filled in form compatible with excel for my client . . . Does anyone have any de
-
No permissions on share - Keynote?
Hello, I have an installation of the newest Keynote on an iMac with Mavericks. When saving a Keynote file to a Windows server share, it will allow it to save, but when opening from that share and attempting to work with the file, it will not let me
-
Importing Song From iCloud Drive to GB IOS
I have been saving my GB ios songs to icloud, consequently my iPad is getting full (32gb). Now that my song is in iCloud Drive may I delete the song from my iPad and if needed later import it back to my iPad? If so, what is the procedure? Thanks.
-
Problem in register a custom skin
Dear all i am using jdeveloper 11.1.1.3 To register a custom skin there are several steps to do : In the Application Navigator, right-click the project and select New. In the New Gallery, expand General and select XML. Select XML Document from XML Sc