Find out the FISCAL YEAR by putting today date.

From which table I can find out the FISCAL YEAR by putting today date.
Thanks
Kris

hi Kris,
try FM GET_CURRENT_YEAR.
You have to add a date and a company code and you'll get:
current year
current period
previous year
previous period
hope this helps
ec

Similar Messages

  • The system could not calculate the fiscal year start or finish date message

    While running the transaction FMO1 and FMOA in funds management we have confronted with the following problem.
    Message no. FI 500
    The system could not calculate the fiscal year start or finish date.
    WE are using year dependent fiscal year and are implementing Funds Management for the first time.
    SAP Version – 4.0 B
    Priority – Urgent
    For the same problem in Version 4.5 and 4.6 there is a note number 213713 available on service.sap.com.

    No, there is no bug.
    Those activities that have asterisks (Stars) next to their start or finish dates (despite having no constraints) have "External Early Start" or "External Late Finish" dates, respectively, assigned to them. These dates get imported with XER and represent links to activities of those projects that are not in your database but in the external database where the XER originated from.
    To remove, filter out all such activities (with stars) and delete their "External" dates. However, be aware that Start or Finish dates of such activities might change if you delete theire External dates. If getting rid of asterisks does alter your schedule, ask the person who sent you the XER to confirm start/finish dates of all such (starred) activiites.
    Cheers

  • Function Module to get first day of the fiscal year on passing a date

    Hi Experts!!
    Can you please suggest a Function Module to get first day of the fiscal year on passing a date..?
    Example:  if a fiscal year starts from 30 November 2009 and ends at 28 november 2010.
    it should return 30 th nov 2009 (first day of the fiscal year)

    Moderator message - Welcome to SCN.
    I think you'll find that this question has been answered before. Please search the forum before posting.
    Also, Please read Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!! and How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
    Rob

  • How to find out the failed sql command and its data from DEFERROR

    Hi,
    has anybody a procedure or some other possibilities to read the content of column USER_DATA of the advanced replication view DEFERROR in order to find out the failed sql command and its column values?
    Thanks in advance.

    Hi Vishwa,
                 The control would be something like this for navigation in Get_p_xxx method u mention as link and u mention a event name which gets triggered on the click of this hyperlink. So your GET_P_XXX method would have the following code:
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = 'EXAMPLE'.
    Now you have to create a method as EH_ONEXAMPLE at your IMPL class and within which you would give an outbound plug method. Within the outbound plug the target data would be filled in the collection and window outbound plug would be triggered.
    This is a huge topic and  i have just mentioned you basic things.
    Regards,
    Bharathy.

  • Query to find out the Activities done against a table

    Hi,
    One table has been truncated and data reloaded into the table by the user. But at latter stage user deny that activity. I believe all these activities stored in any oracle 10g database table.
    Need a query to find out the activities done on a specific date say 6th Sep.
    This is too urgent. Thanks in advance

    Hi,
    Welcome to the forum!
    If you don't have enable table auditing maybe you can see last_ddl_time column of user_objects view:
    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    SQL> select * from test2;
          COL1       COL2       COL3
             1          1          3
             1          2          3
             1          3          3
    SQL> select to_char(uo.created, 'DD/MM/YYYY HH24:MI:SS'), to_char(uo.last_ddl_time, 'DD/MM/YYYY HH24:MI:SS') from user_objects uo where uo.object_name = 'TEST2';
    TO_CHAR(UO.CREATED,'DD/MM/YYYY TO_CHAR(UO.LAST_DDL_TIME,'DD/M
    12/09/2009 12:20:26            12/09/2009 12:20:27
    SQL> truncate table test2;
    Table truncated
    SQL> select to_char(uo.created, 'DD/MM/YYYY HH24:MI:SS'), to_char(uo.last_ddl_time, 'DD/MM/YYYY HH24:MI:SS') from user_objects uo where uo.object_name = 'TEST2';
    TO_CHAR(UO.CREATED,'DD/MM/YYYY TO_CHAR(UO.LAST_DDL_TIME,'DD/M
    12/09/2009 12:20:26            12/09/2009 14:01:21
    SQL> Regards,

  • How to find out the list of all user's whose passwords are expired

    Hi
    i had tried to find out the list of all user's whose passwords are expired.
    i had written some jndi code by finding the max age and then find out the current time and subtracted this current time from max age using the following code
    "Attributes attbts=ctx.getAttributes("cn=pwdpolicy");
    String maxAge=(String)attbts.get("pwdMaxAge").get();
    Date Today = new Date();
    System.out.println("maxAge"+maxAge);
    long curTime=(Today.getTime())-Long.parseLong(maxAge)*1000;"
    and then parse it and create a string time as follows
    String time=year+month+day+hour+minute+second+"Z";
    where "year" "month" etc were parsed from curTime
    now i can get the list by using following code
    "String filterCriteria="(&(objectclass=person)(pwdChangedTime>="+time+")";
    NamingEnumeration results = ctx.search(baseDN,filterCriteria, sc); "
    but the current time which i am getting is the time of my system not the time of ldap server
    so my questions are following;
    1.Can there is any way by which i can get the tivole sever's system time.
    2.If there is no way then can you suggest any other way to find out the list of user's whose passwords are expired.
    please help me.
    Thanks.
    Krishan Rathi.

    Hi,
    Thanx for ur reply..
    I got the list from the table...
    thanks,
    sivagami

  • How to find out the grayscale percentage?

    Is it possible to find out the grayscale percentage(k value) in "illustrator CS3" through scripting. Kindly advice me.

    You really should have started a new topic but maybe this will work. It's modified from an export to PNG script posted last year.
    * @author Niels Bosma ([email protected]
    var folder = Folder.selectDialog();
    var document = app.activeDocument;
    if(document && folder)
        var exportOptions = new ExportOptionsJPEG();
        var type = ExportType.JPEG;
        // Setting ExportOptionsJPEG properties.
        exportOptions.antiAliasing = false;
        exportOptions.qualitySetting = 100;
        //exportOptions.artBoardClipping = true;
        var n = document.layers.length;
        for(var i=0; i<n; ++i)
            hideAllLayers();
            var layer = document.layers[i];
            layer.visible = true;
            var file = new File(folder.fsName+"/"+layer.name+".jpg");
            document.exportFile(file, type, exportOptions);   
        showAllLayers();
    function hideAllLayers()
        forEach(document.layers, function(layer) {
            layer.visible = false;
    function showAllLayers()
        forEach(document.layers, function(layer) {
            layer.visible = true;
    function forEach(collection, fn)
        var n = collection.length;
        for(var i=0; i<n; ++i)
            fn(collection[i]);
    //Cut and paste into any text editor and save as .jsx. Put into the AI Scripts preset folder and run. It requires an open document and will ask where to save the files.

  • Finding out the userid from a JSP or servlet. (9.0.2)

    Hi Again!
    I have a JSP in the htdocs directory of my portal which fetches binary objects
    from a content repository. I use this binary.jsp to display images embedded
    in a content portlet shown within the portal. So as far as the browser gots
    the portal page it starts to fetch the images with an ordinary get operation
    to a given URL of the binary.jsp.
    Now I want to be able to find out if the current user is allowed to see the
    image from the content repository, so I have to find out the userid within
    the JSP. But I couldn't find any way to do this. Since the binary.jsp is
    not loaded in the context of the portal, it doesn't know anything about
    the PortletRendererRequest, so thi code returns null:
    PortletRenderRequest oraRequest = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    if ( oraRequest == null ) {
    makeLog ("Could not get PortletRequest!");
    } else {
    oracleUser = oraRequest.getUser().getName();
    So I've tried to put the userID into the servlet session like this
    request.getSession().setAttribute("iASUserName", oracleUser);
    but obviously the binary.jsp doesn't share the same http session object,
    so this code returns null within the binary.jsp
    request.getSession().getAttribute("iASUserName");
    We allready done this with the old version of PDK and JServ and
    everything was OK, except that we used the deprecated API
    request.getSession().setValue("iASUserName", oracleUser);
    request.getSession().getValue("iASUserName");
    No both ways doesn't work, since we are using Orion-Appserver
    and PDK 9.0.2 :-(
    Is there anyone out there with an idea how we can solve
    this problem?

    I could understand what you are lookig for. We can probably relie on cookies to share user information between portal & non-portal resources.
    Example :
    Lets say we have a contributor.jsp viewed through portal. This sets up a cookie in the client machine which carries portal user name. It persists till the end of user session.
    contributor.jsp
    <%
    PortletRenderRequest pr =
    (PortletRenderRequest)request.getAttribute(HttpProvider.PORTLET_RENDER_REQUEST);
    String pUser = pr.getUser().getName();
    /* Customize these strings to suitable names. */
    String pUserKey = "CUR_PORTAL_USER";
    String pDomain = ".oracle.com";
    %>
    <SCRIPT language="JavaScript1.2">
    var today = new Date();
    function setCookie(name, value, domain)
    document.cookie = name + "=" + escape(value) +
    "; path=/" +
    "; domain=" + domain;
    </SCRIPT>
    <BODY onload="javascript:setCookie('<%=pUserKey%>', '<%=pUser%>', '<%=pDomain%>')"/>
    This cookie now will be set in the client machine and any JSP in the same domain will be able to access it.
    Let me know if it offers any help to your problem.
    Thanks,
    Amjad.

  • How to find out the User Details for the particular transaction

    Hi,
    Actually AJAB -Asset Year closing was done by One User.How and Where to find out the User details who executed the Transaction.Kindly tell me the T-code for this.
    Thanks
    Sap Guru

    Hi:
    Please contact you basis administrator.Give him the T.code and date when Year closing was done. He may resolve your problem.
    Please let me know if you need more information,
    Assign points if useful.
    Regards
    MSReddy

  • How to find out the list of users who used Discoverer

    Dear All,
    We have Oracle E-Business Suite 11.5.10.2 with Disco. 4i.
    We need to know how we can find out the Employee ID, Responsibility, Org... who used discoverer during a specific period in the past ? For example the last year.
    Any help plz.
    Regards,
    Mohammad Muhtadi

    I'm not sure You can get the responsibilities or the org that was used in that specific run but as for getting when it was run and by whom...
    Try that SQL:
    select distinct
    qs.qs_doc_name workbook,
    --qs.qs_doc_details worksheet,
    case when instr(qs.qs_doc_owner,'#')=1 then substr(qs.qs_doc_owner,2,10) else qs.qs_doc_owner end workbook_owner,
    qs.qs_created_date run_date,
    case when instr(qs.qs_created_by,'#')=1 then substr(qs.qs_created_by,2,10) else qs.qs_created_by end apps_user_id,
    fu.user_name apps_user_name,
    ppf.FULL_NAME user_full_name,
    ppf.EMPLOYEE_NUMBER user_employee_number
    from
    eul_us.eul4_qpp_stats qs,
    fnd_user fu,
    per_people_f ppf
    where to_number(substr(qs.qs_created_by,2,10))=fu.user_id(+)
    and fu.employee_id=ppf.PERSON_ID
    and sysdate between ppf.EFFECTIVE_START_DATE and ppf.EFFECTIVE_END_DATE
    change the "eul_us" to the discoverer schema.
    Basically the primary data you are looking for lies in the qpp_stats table...

  • Web Report not printing the fiscal year period variable value

    Hi,
    In web report where in one text element, we enabled the fiscal year period variable value to display
    in the report result.
    If we run the report then this fiscal year period is displaying in the general information.
    We have print button (Java Code),  where user can take a printout of the same report.
    In the printout this Fiscal year period is NOT PRINTING, other variables like rollup time, technical name of report etc are printing perfectly.
    It is required to print the fiscal period also in the print out of the report.
    Any help to come out of this.....
    Thanks
    Srinivas

    Hi
    Any Help.....
    Srini

  • How can I find out the mail server from email address?

    Hi:
    How can I find out the mail server from email address?
    for example: If I know the email address is [email protected],
    how to find the pop3 and smtp mail server?
    THANK YOU

    You can't tell by the email address since you can pretty much put whatever you want in there (especially if the SMTP server is not filtering anything).
    The header may be able to tell you something. There is a Received header value which looks like it has the routing information although I am not sure if this is a complete trace or just the last hop the message took.
    Sean

  • How can I find out the original UK price of an older MacBook Pro*

    I need to find out the original UK cost of a specific older model macbook pro. This is because I had mine stolen the other day and the insurance company are going to give me a percentage of the original cost. As I bought mine used I don't know the original price, but I don't want to get short changed! by my insurance company.
    Any help would be greatly apreciated,

    well, you can go go everymac.com - click on year - then select the year you macbook pro was - from there - click on the model that corresponds to the one you lost - go all the way to the bottom to see the original selling price and convert it to your currently.
    see example on the image below for me 2010 Macbook Air.

  • How can I find out the percentage of space taken up by a vector in a document?

    Hi all,
    I've been doing visual research over the last couple of years, and part of this has resulted in hundreds of in-design documents with vectors of varying sizes in each. Essentially, I'm hoping to find a quick way to find out the percentage of space occupied by these vectors. I can't figure out how to go in to each document and find the info on the selected vector. I know that Photoshop has options to see pixels when using selection tools, but I've found this both cumbersome and inaccurate.
    Any ideas would be greatly appreciated!
    Cheers,
    Kevin

    java.io.BufferedReader in = new java.io.BufferedReader( new java.io.FileReader( "YourFile.txt" ) );
    int lineCount = 0;
    while( in.readLine() != null )
    lineCount ++;
    System.out.println( "Line Count = " + lineCount );

  • How do I find out the date in which I registered my imac?

    How do I find out the date in which I registered my imac?

    It doens't really matter what date you registered it. However if you are looking to see when your expiration on AppleCare is/was it is 3 years from the original date of purchase. You can use the Apple Online Service Assistant afer you input the serial number click the link that says See your service and support coverage.

Maybe you are looking for

  • External Drive Format - Mac Extended vs Fat32

    Hi There seems to be a general consensus that if you are saving iMovie projects to an external hard disk, the format must be Mac Extended (Journaled). There is an Apple support article from July 2003 saying that this is the case. However I have exper

  • ORA-14758: Last partition in the range section cannot be dropped

    Hi, I am trying to  truncate table for 30 days or older records but I am getting below error. I ran an block like below FOR i IN (SELECT *                FROM user_tab_partitions               WHERE table_name = 'XXX' AND partition_position > 1)    L

  • MAX and ValueMotion: execute differently given the same trajectory parameters

    I'm trying write a LabVIEW program to move a stepper motor to a specific position at specific velocity and acceleration. The end product needs to be a user-friendly VI that can do all needed steps without the user opening Measurement and Automation E

  • Measuring points tab repeating the point no for different selection.

    I have selected one entry list and enter into points tab to see the corresponding measuring point . Then select one equipment which already in the entry lists tab for an ad hoc entry.  In this case 'B-781-A-001' Now the points tab repeating the point

  • Aggregation order DOES matter for average aggregation

    I left a comment on chapter 9 of the OLAP User's Guide 11g (http://download.oracle.com/docs/cd/B28359_01/olap.111/b28124/aggregate.htm). In this chapter you can find the statement that the aggregation oder does not matter for the average aggregation.