Create a new "actual day variable" for 0CALDAY

Hello,
i want to create a new "actual day variable" for InfoObject 0Calday. The variable should have the same functions like 0DAT.
How can I create this? Coding for CMOD?
Thanks and regards,
Heiko

Hi,
As I understand your question properly, You need a dynamic variable which will give the actual date i.e current date.
create a variable for 0calday with single value processing type customer exit. reay for input deselect.
in cmod
When 'vARIABLE FOR CALDAY'.
CLEAR L_S_RANGE.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
L_S_RANGE-LOW = SY-DATUM.
APPEND L_S_RANGE TO E_T_RANGE.
Regards,
Ranganath.

Similar Messages

  • Dynamic variable for 0CALDAY

    Hi all, this is my scenario:
    I've created a query with input variable for characteristic Year/Month (0CALMONTH), in columns i added a key figure and in rows i added the characteristic 0CALDAY. The result looks someting like this:
    Varibale entry: 09.2006
    Result table:
    <b>
    0CALDAY      | KYF</b>
    01.09.2006 | 1,000
    02.09.2006 | 2,000
    03.09.2006 | 1,500
    30.09.2006 | 2,100
    31.09.2006 | 2,350
    Now, what i need is to add a column that shows the value of the previous day, so the result should be:
    Varibale entry: 09.2006
    Result table:
    <b>
    0CALDAY      | KYF      | Previous Day KYF</b>
    01.09.2006 | 1,000  | -
    02.09.2006 | 2,000  | 1,000
    03.09.2006 | 1,500  | 2,000
    30.09.2006 | 2,100  | (value for 29.09.2006)
    31.09.2006 | 2,350  | 2,350
    I guess offsets will be the solution, but i need a variable (dynamic variable) to read the current day (0CALDAY) in the report... anyone knows how to do this? a customer exit can solve it (which code)? Please advice.
    Thank you.

    Thank you KJ for your answer, but unfortunatelly my knowledge in ABAP is very limited, ¿Do you happen to have an example so i can see how to customize it in order to read values from characteristic 0CALDAY?

  • Error while creating a new connection in ODSM for OVD

    Hi all,
    I am getting the following error while creating a new connection in ODSM for OVD.
    Error log:
    [2012-07-10T14:50:30.005+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXkC9dU3FClqwsJb6G1FyhO000003D,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #7[[
    javax.servlet.ServletException: Could not initialize class com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by:
    =======
    java.lang.NoClassDefFoundError: Could not initialize class
    com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub
    at com.octetstring.vde.admin.services.client.ServerMgrServiceLocator.getVDEAdminService(ServerMgrServiceLocator.java:58)
    at oracle.ldap.odsm.model.ovd.APServerProxy.connect(APServerProxy.java:248)
    at oracle.ldap.odsm.model.ovd.APServerProxy.authenticateAs(APServerProxy.java:684)
    at oracle.ldap.odsm.model.ovd.APServerProxy.authenticate(APServerProxy.java:286)
    at oracle.ldap.odsm.model.ovd.APServerProxy.init(APServerProxy.java:216)
    at oracle.ldap.odsm.model.ovd.APServerProxy.<init>(APServerProxy.java:198)
    at oracle.ldap.odsm.model.ovd.OVDRoot.connectOVD(OVDRoot.java:185)
    at oracle.ldap.odsm.ui.common.Connection.connect(Connection.java:120)
    at oracle.ldap.odsm.ui.common.Visit.createConnection(Visit.java:663)
    at oracle.ldap.odsm.ui.common.Login.saveChanges(Login.java:215)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    ... 28 more
    How to resolve this issue.Pls suggest me.
    Regards,
    -Deena.

    Hi Deena,
    This error:
    "[2012-07-10T14:50:30.005+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXkC9dU3FClqwsJb6G1FyhO000003D,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #7[[
    javax.servlet.ServletException: Could not initialize class com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub"
    is known issue
    Go to metalink, article: Unable To Connect To OVD 11g Webinterface Using ODSM. [ID 1282757.1]
    You need to apply that patch.
    I hope this helps,
    Thiago Leoncio.

  • How do I create a new icloud email address for my apple id?

    Hi there
    How do I create a new icloud email address for my apple id? My original email address is associated with my previous employers.
    When I send email from my Macbook, it seems as if I still work there, which is a problem.
    I would like to use the email address that I created for my iPad.
    When I login with my appleid (for my macbook) I keep getting the old company one, not the new one.
    Is there any way of resolving this? I
    Thanks
    Kelvin

    Welcome to the Apple Community.
    Providing you aren't trying to change you Apple iCloud email address you can make changes at My Apple ID

  • I'm trying to create a new ichat Acc because for some reason the old one is not working, so I go to Create an Apple ID and start creating a new apple ID, when I submit the Acc it tells me that my Email address is already verified for another Apple ID and

    I'm trying to create a new ichat Acc because for some reason the old one is not working, so I go to Create an Apple ID and start creating a new apple ID, when I submit the Acc it tells me that my Email address is already verified for another Apple ID and thats the only email address I have... What can I do?

    There is no way to consolidate iTunes accounts.
    Setting up an iPhone has never required creation of a new Apple ID.
    You've apparently purchased content with both Apple ID's.  Sign into the device with the correct Apple ID and sync the content.

  • How can I create a new E-mail address for the Marketing Manager

    Hullo,
    how can I create a new E-mail address for the Marketing Manager (i.e. marketing professional role in SAP CRM) please.
    That when you go and create a new E-mail campaign you need to choose an E-mail form in addition to the E-mail address of the Marketing Manager.
    Kind Regards.

    Hi Alhussien
    Add it to his Position in the Organisational Model. Transaction PPOMA_CRM.
    Under there address section is an option to populate the email address.
    Regards
    Arden

  • How can I create a new folder in Word for Mac ?

    How can I create a new folder in Word for Mac?

    You don't do this in Word. You do it in the OS X Finder.
    All you need do in Word is open the file, then select Save As from Word's File menu. Change the destination to your new folder then click on the Save button.
    The Finder method is much faster if you have a number of files you want to move. Just remember that to open those moved files in Word, you will have to change the directory from which you will open those files.

  • I bought a second hand ipad 4 4g the first user forgot the apple id and password, how can i restore the ipad and create a new id and password for it?

    i bought a second hand ipad 4 4g the first user forgot the apple id and password, how can i restore the ipad and create a new id and password for it?

    You cannot get around Activation Lock without the oringinal owner disassociating the iPad from their account.
    See the Activation Lock FAQ for what you and they need to know.

  • Error when I create the New material Master (MM01) for New Plant.

    Dear experts,
    I got the error when I create the New material Master (MM01) for New Plant.
    Error:  Valuation Area 2800 Not yet productive with Material Ledger.
    So Pl send me the solution asap.
    Venkata Raju Khottari

    Hi,
    Have u assinged Plant to Company code?
    If u say no, use T.code OX18.
    Regards,
    Murali
    Assign points if it is useful.

  • Have 1 POP3 email account I want to work like IMAP email in icloud. Apple suggested created a new Apple ID just for POP3. Has anyone tried this to see if it works and will delete across multiple devises?

    Have 1 POP3 email account I want to work like IMAP email in icloud (keeps my iMac, iPhone, ipad mail in sync). Apple suggested trying creating a new Apple ID just for that POP3 email. Has anyone tried this to see if it works and will delete/update across multiple devises? Would mean keeping up with two Apple ID accounts but only other alternative I know of is paying for monthly service for Microsoft 365.

    would I be able to "upload" (not sure how else to say it) my existing folders and subfolders containing all my emails so that they are all available on my new IMAP service, while still being available on my Mac?
    Not easily, no. There's no direct transfer option between POP and IMAP, especially across email providers. The best you could do would be to forward all of your emails to your new address, although it's not clear that you need to - dropping your sbcglobal.net account doesn't instantly render all your existing mail void - it'll still be in your Mail client, you can still read it, search it, etc., it just won't be on your provider's server.
    I have toyed with the idea of getting a MobileMe account. Would that solve my issue/question above?
    MobileMe would be viable, especially if you're interested in synching your various iOS devices. It's not free, of course, unlike Yahoo and Gmail, although you've already discounted them...
    I have also toyed with purchasing my own URL, but it's hard to tell from the sites (1and1, Namecheap, etc.) if they come with IMAP email accounts included.
    Some registrars offer email hosting bundles with a domain registration. This could be a good way to go. GoDaddy, for example, have a email hosting option for domains you register with them.

  • Hi folks, I am having trouble down loading an app that is only available in the United States? should I create a new apple ID account for the U.S.?

    Hi folks, I am having trouble down loading an app onto my IPhone that is only available in the United States? should I create a new apple ID account for this U.S. application

    Sorry... But... You cannot use other countries itunes stores.
    You must be within the Country with a Valid Billing Address and Credit Card for that Country to use the iTunes Store of that Country..
    iTunes Store Terms of Service
    http://www.apple.com/legal/itunes/us/terms.html#SERVICE

  • Why do my events change in the day view, when I create a new event? (iCal for iPad 2)

    Every time I create a new event in the day view in iCal on iPad, the other events (which I created before for the same day) change their starting and/or their ending time.
    Please help!

    monkeyde,
    You are getting entagled in the two confusing meanings of the term pixels, namely as a unit identical to points and equalling 1/72 inch, and the basic component of raster images (and effects).
    You can read on in this very recent thread:
    Is there a way to get Illustrator to know how many pixels are in an inch?

  • Query variables for 0CALDAY

    Hello gurus,
       I´m trying to create a query variable that shows the last calendar day(infoobject 0CALDAY) in the previous year, current year, next year. I´m not finding these variables in Business Content. Does anybody know any variable for this? If I gonna need to create a user exit for this, where should I put the result of the ABAP program?
    Thanks,
    David.

    Hello David!
    Yes, you must create user-exit variable for this.
    Go to transaction CMOD and find or create project with RSR00001 enhancement ("BI: Enhancements for Global Variables in Reporting"). After that edit ZXRSRU01 include in function EXIT_SAPLRRS0_001.
    Add to ZXRSRU01 code for you user-exit variable. For example:
        WHEN 'ZB_DATE_LASTMINUS1'.
          LOOP AT i_t_var_range INTO wa_range WHERE vnam = 'ZB_FISCYEAR_M1S'.
          ENDLOOP.
          n4 = wa_range-low.
          n4 = n4 - 1.
          CONCATENATE n4 '1231' into l_s_range-low.
          APPEND l_s_range TO e_t_range.
    in example ZB_FISCYEAR_M1S - variable for manual input on 0fiscyear characteristic.
    ZB_DATE_LASTMINUS1 - user-exit variable. calculate last day for input year - 1.
    Anton.

  • Creating a new event in iPhoto for iOS

    Hi,
    I'd like to know if I can create new events starting from either PhotoStream photos or camera roll ones. I found out that in the default ios photo app I can create a new album but not a new event.
    Thank you in advance.

    Greetings,
    Events cannot be generated on the iOS device itself.  They come from external sources (iTunes Sync from computer or direct import from an SD card / camera).
    See this help article entry for details on what is visible in each of the different iPhoto views: http://help.apple.com/iphoto/ipad/1.0/#blnk7c4d5bff
    Hope that helps.

  • Do we need to create a new EP in DAC for a new Action

    Hi,
    We have set an Action for a Task in DAC. Is it mandatory to create a new Execution Plan for this action to get reflected while the task is running.
    Thank you,
    Vinay

    If you would like to create sub-directories on the server, you can simply use a FTP program and create new directories manually.
    Muse creates /css/, /images/ and /scripts/ folders by default that it uses to store files required for the site to function properly. In addition to these, it would create an /assets/ folder if you are uploading your own static files and /phone/ and /tablet/ too if you have enabled the mobile layouts.
    If you would like to host your site to a sub-directory instead of the root, you can define a Host directory within the Publish options (for BC) or the FTP upload dialog box (for non-BC hosted sites).
    Thanks,
    Vinayak

Maybe you are looking for

  • Search managed property date format dd/mm/yyyy instead of mm/dd/yyyy

    All regional settings in the site collections and the search site have been set to English(Australia), and the date format is correct within them however when I try to perform a search on a managed date property date:dd/mm/yyyy I do not get the expec

  • Copying .jar files from one machine to other in network

    hi all, i want to write one functionality in java.which will copy one .jar file in one machine to another machine (in network). we can also say that as ftp transfer. can anybody help me in this. thank you . Message was edited by: priyankap

  • Online solution for Time Machine

    I was wondering if anyone had a good solution for automatically backing up Time Machine files online.  The drive I use for my TM backups failed.  Even though my main Mac drive is fine and I can start a new TM archive, I've basically lost the time sta

  • Display Title key in drop-down for Business Partners

    Hello Experts, the "Title" drop-down list in a cusutomer or contact person does not show the keys (eg 0001, 0002 . etc.). It only shows the description (eg MIster, Mrs, Ms. etc.). I have activated "show keys in all drop-down lists" in my Options menu

  • Zfs filesystem screwed up?

    Hi, I am running S10U3 (all patches applied). Today by mistake I extracted a big (4.5G) tar archive into my home directory (on ZFS) which ran out of space and the tar command terminated with the error "Disk quota exceeded" (it should have been someth