Set date parameter as scheduling date

Hi,
I designed a report which is to be run on demand as well as batch. Report has Begina Date and End Date as input parameter. I am working in CR XI with Oracle database(SP has these two dates as input param). I am using Infoview XI Release 2 to schedule the report.
I need to schedule the report weekly and mothly basis and at the same time Begin Date and End Date must be taken as schedule dates.
Please help me to find a solution.
Thanks...
Deepak Sisodia

Please re-post if this is still an issue to the Business Objects Forum or purchase a case
and have a dedicated support engineer work with your directly

Similar Messages

  • Sales order item data & sales order schedule data

    Hello,
    I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
    Example of how the data looks now:
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10
    1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15
    2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
    How do I merge the data on the Sales Order number in the cube so it looks like below?
    Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . . Act GI Date
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000
    Many thanks,
    Matt

    > Hello,
    >
    > I have a Sales Orders cube which is pulling data from
    > two DSOs (one for sales order item data and the other
    > for sales order schedule data). The common fields
    > between these two DSOs is the Sales Order number but
    > in my cube I have dual entries for each Sales Order
    > document (item and schedule info).
    >
    Two previous remarks:
    1) If you need to report on very detailed data consider doing an info-set joining both datastores. 2 reasons why:
    - not a good idea to report on very detailed information (sales order, GI dates) on cube level, if you have a scenario with lots of data. You end up with big dimension tables a poor report times;
    - there are better alternatives, like drill-through from cube query to DS query with report to report interface or Datastore-based reporting...so...
    With this solution you do not need to change the data model, I think, but test to be sure. See if the reporting times are acceptable. If not...
    2) First confirm your requirements, because what you show in your example as "to-be" have details that do not make sense, probably..
    - if you have more that one schedule line for each item then you would have many times the item information like material/price;
    - if not or if you could cope with that, then you can consider:
    2.1) create a new DS that agregattes from the previous on, with the same key of sales order item; do you have schedule line kf's? if so you these KF's should be additive in DS update; But if you may have more one scheduled line for 1 item then you have to decide what to do with the GI data (keep the last one posted, use code..) and other characteristics.
    2.2) update the shedule line datasource to the sales order item DS; same comments apply.
    2.3) maintain the missing data in the cube update rules from sheduled lines DS. Using code, refer to the respective item in the order item ODS. You would have to make sure that DS's data are correctly activated before updating the infocube.
    What solutions to choose?
    2.1 is better in terms of flexibility and architecture...because you could re-arrange the new DS to answer future needs, without loosing the 1st line DS's data;
    2.2 choose if data volumes and disk space are a concern...
    or
    2.3 it's OK, but i do not like it because of what explained in point 1...
    Message was edited by:
            Miguel Costa

  • Getting Error with date parameter field -"Invalid DATE"

    Hi
    I created a report with 9.2 version. And  i created 2 date parameter fields in it. And within crystal reports it works fine.
    But If, I call from the VS2005 crystalreport.net(report document) SDK , i am getting error as Invalid Date" enter a Date Value". Actually it is a dtp control. how can i modify it.

    <p>There&#39;s not enough details to get a good understanding of your scenario, but it sounds like you&#39;re using some kind of date control to retrieve the date value and pass it to the report&#39;s parameter field at runtime. </p><p>If this is correct, it sounds like the format of the date value from the control may not be what the report is expecting. To debug, I would first use hardcoded values when you set the report parameter fields to see what works. Then compare that to what the return value is from the control to see if they match. I suspect the formats differ. </p><p>I did a quick search on the BOBJ kbase and found a couple of articles that may help you. I recommend searching as there are lots of information on how to set parameter fields at runtime. </p><p><span style="margin-left: 5px"><a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2010247&sliceId=&dialogID=8582434&stateId=1 0 8584068" target="_blank">c2010247</a></span><span style="margin-left: 5px"><span style="margin-left: 5px"><a href="http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2010251&sliceId=&dialogID=8582434&stateId=1 0 8584068" target="_blank">c2010251</a></span></span></p><p>-MJ</p>

  • Issue with Custom data parameter in Excel Data Connection

    Hello,
    We are querying a OLAP (SSAS 2008) cube using Excel 2007 by creating a data connection to SSAS server with an extended parameter “Custom Data”. We are using custom data parameter to apply our application’s user security to filter dimension
    members in Excel’s pivot table report. We have created a pivot table in Excel and the excel is including this custom data parameter along with each request that excel is submitting to SSAS.
    However, when the user selects “Show Properties in Report” option for a dimension which is selected in Row-axis of pivot table, Excel is not including custom data parameter . Why this “Custom Data” parameter is not being included in
    the request only for this specific case?
    1. The Request which sent from Excel to SSAS when user clicks on “Show Properties in Report” option
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Session xmlns="urn:schemas-microsoft-com:xml-analysis" SessionId="AE6B294B-4983-4010-BC5F-E0896A49ECD9"/></soap:Header><soap:Body><Discover
    xmlns="urn:schemas-microsoft-com:xml-analysis"><RequestType>DISCOVER_LITERALS</RequestType><Restrictions/><Properties><PropertyList><Content>SchemaData</Content><Format>Tabular</Format></PropertyList></Properties></Discover></soap:Body></soap:Envelope>
    2. The sample Request which sent from Excel to SSAS for all other requests
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><Session xmlns="urn:schemas-microsoft-com:xml-analysis" SessionId="74165AD6-C240-4634-92A1-61A400A3FC97"/></soap:Header><soap:Body><Discover
    xmlns="urn:schemas-microsoft-com:xml-analysis"><RequestType>MDSCHEMA_CUBES</RequestType><Restrictions><RestrictionList><CUBE_NAME>RepCube</CUBE_NAME></RestrictionList></Restrictions><Properties><PropertyList><Catalog>QAV10_12thMay2010</Catalog><Timeout>5000</Timeout><SafetyOptions>2</SafetyOptions><MdxMissingMemberMode>Error</MdxMissingMemberMode><LocaleIdentifier>1033</LocaleIdentifier><DbpropMsmdMDXCompatibility>1</DbpropMsmdMDXCompatibility><CustomData>xxxxxx</CustomData></PropertyList></Properties></Discover></soap:Body></soap:Envelope>
    As the Custom Data parameter is missing in 1st request our application logic is throwing a custom exception to Excel and Excel is not able to understand the exception message. Excel is sending the same request repeatedly (going into infinite loop) and the excel
    window is freezed. Not able to work with excel until restarting the Excel.
    Can anyone help me to resolve the above? quick help is much appriciated!
    Thanks,
    Venkat

    Venkat,
    We have a very similar issue, but there is almost no material to help us. If this gets to you, please let me know if you progressed it or whether I need to go to Microsoft for a solution
    THanks
    David

  • Default Date parameter to current date

    Using Crystal Reports 2008 version 12.1.0.892
    I have a Stored Procedure for the report that among others requires a StartDate and EndDate parameter.
    It appears that I can not easily/simply set the default for this parameters to the current date.
    In the properties dialog for the parameter the Default value appears to be just a text field.  I can type in a value, but I can not make it always have the current date selected.
    This report also has an End Date that we would like to have default to the current date(no time) plus one day.
    We can do this using Reporting services, but I can not find a way to do this as easily in crystal reports. What am I missing?
    Thanks

    Well here's a little quick tip for reports have to be scheduled and require date parameters. I've used this on lots of reports...
    For the bulk of our scheduled reports, the user typically wants to see data for either the current month or the previous month. For example management may want a production report scheduled to run at the end of every week for the current month so that they can track month to date progress. They will also want the same report run on the 1st of the month for the previous month so that they have a final monthly total.
    Here's how I do it with just one report...
    1) Create a text parameter called {?DateRange}
    2) Give it 2 static LOVs... Current Month & Previous Month
    3) Build out the SQL Command (I use a lot of them... Most of our vendors aren't nutty about clients adding SPs to their DBs)
    4) Drop in the following block of code at the top of the SQL Command...
    DECLARE @DateRange CHAR(15)
    DECLARE @BEG DateTime, @END DateTime
    SET @DateRange = '{?DateRange}';
    IF @DateRange = 'Current Month' SET @BEG = DATEADD(mm, DATEDIFF(mm,0,GETDATE()),0)
                                                   ELSE SET @BEG = DATEADD(mm, DATEDIFF(mm,0,GETDATE())-1,0);
    IF @DateRange = 'Current Month' SET @END = DATEADD(ms,-5,DATEADD(mm, DATEDIFF(mm,0,GETDATE())+1, 0))
                                                   ELSE SET @END = DATEADD(ms,-5,DATEADD(mm, DATEDIFF(mm,0,GETDATE()), 0));
    5) Modify the WHERE clause of the SQL to pull dates between @BEG AND @END
    6) Add the DateRange parameter in the Parameter List of the Command.
    At this point the user has just 2 date range options... Current Month & Previous Month.
    From there you can upload to the CR Server and schedule it.
    Jason

  • BOM exlosion date and basic scheduling date

    HI gurus,
    I am new for SAP, and I currently learning basic date scheduling and BOM explosion.
    My doubt is if during requirement planning bom is exploded to determine requirements then, why again on basic start date bom is exploded?
    if this is only in case of alternative bom then also selection of bom and its explosion takes place on the day of mrp run to determine requirements,still in this case on basic start date why bom is exploded?
    please help me. correct answer will be rewarded in points!!
    Akshay Naware

    Hi Akshay
    Your question is not clear. On the MRP process the BOM is exploded only once for each planned order. Under which circumstances the BOM is being exploded again?
    Please observe that there is a customizing to determine which BOM explosion date will be considered by MRP. You can find on transaction OPPQ, under section BOM Explosion.
    The following note also provides a very detailed explanation of the BOM explosion and master data selection:
    412736 - MRP: PP master data selection (explosion date)
    BR
    Caetano

  • Sales order schedule date is a (working) day before Scheduled ship date

    In MRP/MPS planning, the forecast consumption is occuring for all sales orders at a date (sales order schedule date) which is always a working day before the Scheduled Ship Date (SSD). What is the logic?
    Time fences are not used.
    E.g. Sales order is scheduled to ship (SSD) on 30th Nov, in forecast set > Forecast items > Consumptiion > Detail, the sales order schedule date is a day before SSD.

    Hi,
    This is a complex issue; best solution is by using APO/GATP.
    If not, then in ERP only, the second best is:
    1) Work with assembly processing in SO, meaning that a production/planned order is automatically created in the customer order during order creation.
    2) Then, after the order is created it is scheduled, and the delivery date proposal is based on that.
    3) Now you can check in the order that there are no capacity overloads, and all capacity required to produce on the proposed date is available. If yes, you're done. If not, it gets a bit complex, since you actualy need to switch to capacity planning, do capacity leveling and dispatch (PP), and the you get a new feasible schedule proposal based on that.
    APO/GATP could do all that automatically!
    Regards,
    Mario

  • SSRS - Date Parameter Format

    Hi,
    I have a report where I need to filter values based on dates, so i am using two parameters , From Date and To Date
    I have set the parameter to be Data/time in Parameter Properties -> general tab and Also used an expression to format as mentioned in some of the Forum links for example 
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/2fa790d6-bb28-4e21-8100-fd9ea64ea61b/parameter-date-format-in-ssrs?forum=sqlreportingservices
    i am not getting any error but the format will not change,
    I have already Coverted my datetime values to read as date (yyyy-mm-dd)in the SQL Query but the format in the parameter is still in mm-dd-yyyy format.
    Hope I am not missing something silly and any help will be greatly appreciated.
    Thanks,
    Chaitanya

    Hi,
    Please try below steps:
    Right click dataset -> Properties
    In parameter tabs -> Your Date parameter -> In value of parameter type below expression
    =Format(Parameters!YourDateParameterName.value,"yyyy-MM-dd")

  • Replication of scheduled date (of phase or task) into assigned WBS-element

    Hi Experts,
    One of my customers raised the following question:
    Is there a possibility to transfer/replicate the scheduled dates of a phase or task into the assigned WBS-element of the financial integration scenario (PS)??
    I know, this is not included in SAP standard functionality... but maybe there is a possibilty with a BADI etc.
    Thanks for any hints, comments etc.
    Best regards,
    Jochen

    Hi Jochen,
    the scheduled dates can neve be tranferred, because they are determined during scheduling. What may be possible is to set or map the scheduled date sto the basic dates of  WBS.  Ther is no standard Badi to extend it. The communication between cProject -> PS is done via Bapi calls.
    GCC_PS_PROJECT_MANAGER:
    CALL FUNCTION 'BAPI_BUS2001_CREATE'                                          
          EXPORTING                                                                  
            I_PROJECT_DEFINITION       = LS_PROJECT_DEFINITION                       
          TABLES                                                                     
            ET_RETURN                  = LT_PRO_DEF_RETURN                           
          EXTENSIONIN                =                                             
          EXTENSIONOUT               =                                             
          EXCEPTIONS                                                                               
    error_message = 1                                      "t9         
                  others        = 2.                                     "t9         
    CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'                                    
          EXPORTING                                                                  
            I_PROJECT_DEFINITION       = gv_project_definition                       
          TABLES                                                                     
            IT_WBS_ELEMENT             = LT_WBS_ELEMENT                              
            ET_RETURN                  = LT_RETURN                                   
          EXTENSIONIN                =                                             
          EXTENSIONOUT               =                                             
          EXCEPTIONS                                                                               
    error_message = 1                                      "t9         
                  others        = 2.                                     "t9         
    Kind regards,
    Zhenbo

  • Activity milestone actual date replacing schedule date

    Hi,
    The last few years we have been using activity milestones. These milestones are offset from the early start date of the activity. We manually add the actual date and the schedule date would remain the same. We recently added some hot packs and now when the user puts in the actual date it also replaces the schedule date with the actual date. Reading throught some of the OSS notes it sounds like this is the way it works and the way it was working before the hot packs may have been wrong. I was just wondering if anyone really knows how the milestone schedule date and actual dates are suppose to work. We prefer that the schedule date remains the schedule date and not revert to the actual date. Any info would be appreciated.

    SAP stated that once the actual date is input then the schedule date would change to the actual date. They said this is how it is suppose to work but if we wanted to leave the sched date alone then there was a note we could put in the system. We did this and it works like we want.

  • Trap syntax error in trap-schedule.dat alert; possibly SMC related

    Receiving many ID xxxxxx daemon.alert events every hour. The message is:
    [ID xxxxxx daemon.alert] syslog Nov 10 14:00:10 trap syntax error in trap-schedule.dat(200) at token '???'
    followed immediately (same timestamp) with:
    [ID yyyyyy daemon.alert] syslog Nov 10 14:00:10 trap *** aborting execution ***
    I coudn't find anything on the web specifically for this message but several hits that looked similar seemed to indicate that this might be a problem in SMC. If it is not I apologize in advance.
    System is an ldom:
    Solaris 10;
    SunOS clsol8 5.10 Generic_127127-11 sun4v sparc SUNW,T5140
    Current situation is:
    # /opt/SUNWsymon/sbin/es-validate
    This script will help you in validation of Sun (TM) Management Center.
    Validation Tool Version : 4.0
    Host name : clsol8
    Number of CPUs : 24
    Platform : SUNW,T5140
    Operating System : SunOS 5.10
    Memory size : 2048 Megabytes
    Swap space : 595480k used, 3727296k available
    JAVA VERSION : "1.5.0_14"
    Sun Management Center Production Environment Installation.
    Following layers are installed : SERVER, AGENT, CONSOLE
    Installation location : /opt/SUNWsymon
    Sun Management Center installation status:
    PRODUCT : Production Environment
    INSTALLATION STATUS : Setup.
    DATABASE SETUP : Setup.
    COMPLETELY INSTALLED PACKAGES : SUNWescom,SUNWesbui,SUNWesbuh,SUNWenesi,
    : SUNWesdb,SUNWesagt,SUNWessrv,SUNWessa,
    : SUNWesjp,SUNWesaxp,SUNWesse,SUNWesclt,
    : SUNWesjrm,SUNWmeta,SUNWenesf,SUNWesmdr,
    : SUNWesgui,SUNWesweb,SUNWessvc,SUNWesasc,
    : SUNWescix,SUNWsuagt,SUNWsusrv,SUNWesval,
    : SUNWesmc,SUNWessms,SUNWessdv,SUNWescdv,
    : SUNWlgsmc,SUNWeslac,SUNWesodbc,SUNWesmib,
    : SUNWesken,SUNWesmod,SUNWesae,SUNWesaem,
    : SUNWesmcp,SUNWesafm,SUNWescon,SUNWsucon,
    : SUNWescli,SUNWesclb
    <NOTE: I had to cut out a bunch of installed components to hit character limit>
    Sun Management Center Add-Ons and Versions:
    PRODUCT VERSION
    Production Environment 4.0
    Advanced System Monitoring 4.0_Build15
    Sun Fire Entry-Level Midrange S 3.5-v6
    Service Availability Manager 4.0_Build15
    Performance Reporting Manager 4.0_Build15
    Solaris Container Manager 4.0_Build15
    Sun Fire Midrange Systems Platf 3.5-v6
    System Reliability Manager 4.0_Build15
    Sun Management Center Integrati 4.0_Build15
    Workgroup Server 3.6
    Generic X86/X64 Config Reader 4.0_Build15
    Sun Management Center Patch installation details:
    No Sun Management Center patch is installed.
    Sun Management Center disk-space consumption:
    PRODUCT APPROXIMATE DISK SPACE CONSUMED
    Production Environment : 54452 kB
    Advanced System Monitoring : 2391 kB
    Sun Fire Entry-Level Midrange S : 1738 kB
    Service Availability Manager : 1838 kB
    Performance Reporting Manager : 3371 kB
    Solaris Container Manager : 3688 kB
    Sun Fire Midrange Systems Platf : 3270 kB
    System Reliability Manager : 970 kB
    Sun Management Center Integrati : 540 kB
    Workgroup Server : 3707 kB
    Generic X86/X64 Config Reader : 608 kB
    TOTAL : 76573 kB
    Database is located at : /var/opt/SUNWsymon/db/data/SunMC
    Free space available on this partition is : 6493142 kB
    Following locales are installed :
    Information about upgrade from old versions is not available.
    Sun Management Center Ports:
    SUNMC COMPONENT PORT_ID
    agent service 1161
    trap service 162
    event service 163
    topology service 164
    cfgserver service 165
    cstservice service 167
    metadata service 168
    platform service 166
    grouping service 5600
    rmi service 2099
    webserver_HTTP service 8080
    webserver_HTTPS service 8443
    You are currently running SNMPDX.
    Sun Management Center Server Hosts definitions in domain-config.x:
    SUNMC COMPONENT SERVER_HOST
    agent service clsol8
    trap service clsol8
    event service clsol8
    topology service clsol8
    cfgserver service clsol8
    cstservice service clsol8
    metadata service clsol8
    platform service clsol8
    Sun Management Center Processes:
    SUNMC SERVICE STATUS
    Java Server Running.
    Database services Not Running.
    Grouping service Running.
    Event-handler service Running.
    Topology service Not Running.
    Trap-handler service Not Running.
    Configuration service Running.
    CST service Not Running.
    Metadata Services Running.
    Hardware service Not Running.
    Web server Running.
    Sun Management Center Agent Running.
    Platform Agent Not Running.
    Privilege level for Sun Management Center users :
    CATEGORY USERS
    esadm : smcadmin
    esdomadm : smcadmin
    esops :
    ALL USERS : smcadmin
    server is local host
    Web server package is installed correctly.
    Web Server is up and responding.
    Web Server servlet engine is up and responding.
    I have also read that patching SMC has caused problems for some people so I don't really want to try that until I get some feedback.

    Hi Mike,
    Tried your suggestion to rename the .dat and let SMC recreate it but I can't get the SMC database service to launch. So it looks like I am having trouble with the database. Any suggestions?
    To back up, you nailed it with the loss of power - we lost both power supplies on a Sunday night with no warning and nothing in /var/adm/messages (since we send them to a loghost.) It was determined that chips within each power supply in the T5140 failed. So we replaced both power supplies and fired the server up. That is when we started getting the trap errors and only those two errors on clsol8.
    I did check http://sun.com/msg/SMF-8000-KS but am not sure how that helps.
    What I tried:
    On clsol8 as root:
    # cd /opt/SUNWsymon/sbin
    # ls
    {db-memconfig.sh   es-details        es-imagetool      es-setup
    db-start          es-device         es-inst           es-start
    db-stop           es-dt             es-keys.sh        es-stop
    es-apps           es-gui-imagetool  es-lic            es-tool
    es-backup         es-guiinst        es-load-default   es-trapdest
    es-chelp          es-guisetup       es-makeagent      es-uninst
    es-cli            es-guistart       es-platform       es-validate
    es-common.sh      es-guistop        es-restore        esmultiip
    es-config         es-guiuninst      es-run            ports.config}
    # ./es-stop -A
    {Stopping metadata component
    Stopping cfgserver component
    Stopping topology component
    Stopping event component
    Stopping grouping service
    Stopping trap component
    Stopping java server
    Stopping webserver
    Stopping agent component
    Stopping platform component}
    <attempting Mike's solution suggestion>
    # cd /var/opt/SUNWsymon/cfg
    # ls
    trap-schedule.dat
    # mv trap-schedule.dat trap-schedule.dat.maybeCorrupted
    # /opt/SUNWsymon/sbin/es-start -Ac
    {Some of the SunMC services are in maintenace state.
    Please check the corresponding SMF service log in /var/svc/log directory.
    Please disable the services in maintenance state and re-start the services again.}
    # svcs -vx
    svc:/application/management/sunmcdatabase:default (SunMC database service)
    State: maintenance since November 6, 2009 3:50:51 PM CST
    Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
    See: http://sun.com/msg/SMF-8000-KS
    See: /var/svc/log/application-management-sunmcdatabase:default.log
    Impact: This service is not running.
    svc:/application/management/sunmcwebserver:default (SunMC webserver service)
    State: maintenance since November 12, 2009 2:45:50 PM CST
    Reason: Start method failed repeatedly, last exited with status 103.
    See: http://sun.com/msg/SMF-8000-KS
    See: /var/svc/log/application-management-sunmcwebserver:default.log
    Impact: This service is not running.}
    # svcadm disable sunmcdatabase
    # svcadm disable sunmcwebserver
    # svcs -vx
    # svcadm enable sunmcdatabase
    # svcadm enable sunmcwebserver
    # /opt/SUNWsymon/sbin/es-start -Ac
    {Failed to successfully perform Database Startup.}
    # svcs -vx
    svc:/application/management/sunmcdatabase:default (SunMC database service)
    State: maintenance since November 12, 2009 2:49:50 PM CST
    Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
    See: http://sun.com/msg/SMF-8000-KS
    See: /var/svc/log/application-management-sunmcdatabase:default.log
    Impact: This service is not running.}
    # cd /
    # svcadm disable sunmcdatabase
    # shutdown -y -g0 -i6
    (after reboot, I logged into clsol8 and su'd to root)
    # svcs -xv
    svc:/application/management/sunmcdatabase:default (SunMC database service)
    State: disabled since November 12, 2009 3:02:11 PM CST
    Reason: Disabled by an administrator.
    See: http://sun.com/msg/SMF-8000-05
    Impact: 1 dependent service is not running:
    svc:/application/management/sunmctopology:default}
    # svcadm enable sunmcdatabase
    # svcadm disable sunmcdatabase
    # svcadm clear sunmcdatabase
    svcadm: Instance "svc:/application/management/sunmcdatabase:default" is not in a maintenance or degraded state.
    # svcadm refresh sunmcdatabase
    # svcadm enable sunmcdatabase
    # svcs -xv
    svc:/application/management/sunmcdatabase:default (SunMC database service)
    State: offline since November 12, 2009 3:09:25 PM CST
    Reason: Start method is running.
    See: http://sun.com/msg/SMF-8000-C4
    See: /var/svc/log/application-management-sunmcdatabase:default.log
    Impact: 1 dependent service is not running:
    svc:/application/management/sunmctopology:default
    # svcs -xv
    svc:/application/management/sunmcdatabase:default (SunMC database service)
    State: maintenance since November 12, 2009 3:10:30 PM CST
    Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
    See: http://sun.com/msg/SMF-8000-KS
    See: /var/svc/log/application-management-sunmcdatabase:default.log
    Impact: 1 dependent service is not running:
    svc:/application/management/sunmctopology:default
    [ Nov 12 15:08:37 Leaving maintenance because disable requested. ]
    [ Nov 12 15:08:37 Disabled. ]
    [ Nov 12 15:09:07 Rereading configuration. ]
    [ Nov 12 15:09:25 Enabled. ]
    [ Nov 12 15:09:25 Executing start method ("/lib/svc/method/es-svc.sh start datab
    ase") ]
    execution of verifyDatabaseUp failed
    exiting........................
    [ Nov 12 15:10:30 Method "start" exited with status 95 ]

  • Set get parameter but free memory id is not working

    Hi All,
    I am using set get parameter  to transfer data from one module to another .
    But when i am trying to clear the memory id using Free memory id .
    it is not doing that.
    Does it work with import export.
    What method i should use to clear this memory id ..
    Thanks in advance
    ANit gautam

    Clears the memory:
    SET PARAMETER ID pid FIELD space.

  • Need current date embedded in scheduled request parameter

    Hi Experts,
    Need current date embedded in scheduled request parameter
    I have a concurrent program
    This is scheduled to run every day.
    One of the requests has a parameter that I need to set with the current date (YYYYMMDD), I tried fnd_standard_date, date value sets in the parameter..
    I tried using a SQL Statement (select to_char(sysdate, 'YYYYMMDD') from dual), but it appears to only run this when the request if first submitted and not on subsequent resubmissions. So the date never changes.
    The box is checked to "Increment date parameters each run" but since this is a date value in a regular parameter, it is not getting incremented.
    Any ideas how I can get this value to change every day?
    Please help it's very urgent.
    With Regards,
    Kumar.

    Hi,
    Please see if the following documents help.
    Note: 861953.1 - Request Set Date Parameters Are Not Defaulted As Per Setup
    Note: 339849.1 - Unexpected Behavior Using Increment Date Parameter Each Run
    Regards,
    Hussein

  • Error while setting date parameter to an RFC

    Hi,
    I am getting the following error when i am setting a parameter od Date type to an RFC
    java.lang.ArrayIndexOutOfBoundsException: -1
         at com.sap.mw.jco.JCO$MetaData.getType(JCO.java:9201)
         at com.sap.aii.proxy.framework.core.JcoBaseTypeData.setElementValue(JcoBaseTypeData.java:731)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.setAttributeValueAsDate(DynamicRFCModelClass.java:568)
         at com.telstra.ctawa.models.mainmodel.Zct_Wd_Demcat_Details_Input.setI_Tsk_Compldte(Zct_Wd_Demcat_Details_Input.java:387)
         at com.telstra.ctawa.apps.wdp.IPublicAddWorkCustomController$IZct_Wd_Demcat_Details_InputElement.setI_Tsk_Compldte(IPublicAddWorkCustomController.java:1759)
         at com.telstra.ctawa.apps.AddWorkCustomController.executeZct_Wd_Demcat_Details_Input(AddWorkCustomController.java:208)
         at com.telstra.ctawa.apps.wdp.InternalAddWorkCustomController.executeZct_Wd_Demcat_Details_Input(InternalAddWorkCustomController.java:367)
         at com.telstra.ctawa.apps.AddWorkAppView.executeGetDetails(AddWorkAppView.java:172)
         at com.telstra.ctawa.apps.AddWorkAppView.wdDoInit(AddWorkAppView.java:101)
         at com.telstra.ctawa.apps.wdp.InternalAddWorkAppView.wdDoInit(InternalAddWorkAppView.java:172)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
         at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:274)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:43)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:198)
         at com.sap.tc.webdynpro.clientserver.window.InternalWindow.open(InternalWindow.java:45)
         at com.telstra.ctawa.apps.TaskListView.onActionAddWork(TaskListView.java:402)
         at com.telstra.ctawa.apps.wdp.InternalTaskListView.wdInvokeEventHandler(InternalTaskListView.java:369)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:100)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:299)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:635)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Regards
    Prakash

    Hi Rohit,
      public void executeZct_Wd_Demcat_Details_Input( java.lang.String indicator )
        //@@begin executeZct_Wd_Demcat_Details_Input()
         //$$begin Service Controller(145786950)
         if(indicator.equals("CNTR"))
          wdContext.nodeTemp_DemCat().invalidate();
           if(indicator.equals("CNTR") || indicator.equals("DEMCAT"))
              wdContext.nodeTemp_WorkType().invalidate();
              if(indicator.equals("CNTR") || indicator.equals("DEMCAT") || indicator.equals("WRKTYP"))
               wdContext.nodeTemp_ProdSkill().invalidate();
                if(indicator.equals("CNTR") || indicator.equals("DEMCAT") || indicator.equals("WRKTYP") || indicator.equals("PRDSK"))
                 wdContext.nodeTemp_CsgLoc().invalidate();
         IWDMessageManager manager = wdComponentAPI.getMessageManager();
         try{
              String contractType = wdContext.currentContextElement().getContractType();
              String demCat = wdContext.currentContextElement().getDemcat();
              String wrkType = wdContext.currentContextElement().getWorktype();
              String prodSkill = wdContext.currentContextElement().getProdskill();
              String csgLoc = wdContext.currentContextElement().getCsgcat();
              //setting all to null first
              wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Contract_Type("");
              wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Demand_Cat("");
              wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Work_Type("");
              wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Product_Skill("");
              wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Csg_Loc("");
              //wdContext.currentContextElement().get
              if(indicator.equals("CNTR")){
                   wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Contract_Type(contractType);
              if(indicator.equals("DEMCAT")){
                   wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Contract_Type(contractType);
                   wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Demand_Cat(demCat);
                   wdContext.currentContextElement().setProdskill("");
                   wdContext.currentContextElement().setWorktype("");
                   wdContext.currentContextElement().setCsgcat("");
                   wdContext.currentContextElement().setPoints(new BigDecimal("0.00"));
            if(indicator.equals("PRDSK")){
                   wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Contract_Type(contractType);
                   wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Demand_Cat(demCat);
                  wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Product_Skill(prodSkill);
                   wdContext.currentContextElement().setWorktype("");
                   wdContext.currentContextElement().setCsgcat("");
                   wdContext.currentContextElement().setPoints(new BigDecimal("0.00"));               
              if(indicator.equals("WRKTYP")){
                   wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Contract_Type(contractType);
                   wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Demand_Cat(demCat);
                   wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Product_Skill(prodSkill);
                   wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Work_Type(wrkType);
                   wdContext.currentContextElement().setCsgcat("");
                   wdContext.currentContextElement().setPoints(new BigDecimal("0.00"));
              if(indicator.equals("CSGCT")){
                   wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Contract_Type(contractType);
                   wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Demand_Cat(demCat);
                   wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Work_Type(wrkType);
                   wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Product_Skill(prodSkill);
                  wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Csg_Loc(csgLoc);
    wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Task_Complte(new Date(System.currentTimeMillis()));     
              wdContext.currentZct_Wd_Demcat_Details_InputElement().modelObject().execute();
              wdContext.nodeOutput().invalidate();
             if(indicator.equals("CNTR")){
                   //copy data from CSG_DEM_CAT to nodeTempDemCat
                   for(int i=0;i<wdContext.nodeDem_Cat_Output().size();i++){
                   IPublicAddWorkCustomController.ITemp_DemCatElement demCatElem = wdContext.createTemp_DemCatElement();
                   WDCopyService.copyCorresponding(wdContext.nodeDem_Cat_Output().getDem_Cat_OutputElementAt(i) ,demCatElem);
                   wdContext.nodeTemp_DemCat().addElement(demCatElem);
                   IPublicAddWorkCustomController.ITemp_DemCatElement demCatElem = wdContext.createTemp_DemCatElement();
                   demCatElem.setDemand_Cat("Select");
                   wdContext.nodeTemp_DemCat().addElement(demCatElem);
                   wdContext.currentContextElement().setDemcat("Select");
              if(indicator.equals("DEMCAT")){
                 for(int i=0;i<wdContext.nodeProduct_Skill_Output().size();i++){
                 IPublicAddWorkCustomController.ITemp_ProdSkillElement prdSkillElem = wdContext.createTemp_ProdSkillElement();
                 WDCopyService.copyCorresponding(wdContext.nodeProduct_Skill_Output().getProduct_Skill_OutputElementAt(i) ,prdSkillElem);
                 wdContext.nodeTemp_ProdSkill().addElement(prdSkillElem);
                 IPublicAddWorkCustomController.ITemp_ProdSkillElement prdSkillElem = wdContext.createTemp_ProdSkillElement();
                 prdSkillElem.setProduct_Skill("Select");
                 wdContext.nodeTemp_ProdSkill().addElement(prdSkillElem);
                 wdContext.currentContextElement().setProdskill("Select");            
              if(indicator.equals("WRKTYP")){
                   //copy data from CSG_LOC to nodeCsgloc
                   for(int i=0;i<wdContext.nodeCsg_Cat_Output().size();i++){
                   IPublicAddWorkCustomController.ITemp_CsgLocElement csgLocElem = wdContext.createTemp_CsgLocElement();
                   WDCopyService.copyCorresponding(wdContext.nodeCsg_Cat_Output().getCsg_Cat_OutputElementAt(i) ,csgLocElem);
                   wdContext.nodeTemp_CsgLoc().addElement(csgLocElem);
                   IPublicAddWorkCustomController.ITemp_CsgLocElement csgLocElem = wdContext.createTemp_CsgLocElement();
                   csgLocElem.setCsg_Loc("Select");
                   wdContext.nodeTemp_CsgLoc().addElement(csgLocElem);
                   wdContext.currentContextElement().setCsgcat("Select");
              if(indicator.equals("PRDSK")){
                 //copy data from WRK_TYPE to nodeTempWrkTyp
                 for(int i=0;i<wdContext.nodeWork_Type_Output().size();i++){
                 IPublicAddWorkCustomController.ITemp_WorkTypeElement wrkTypElem = wdContext.createTemp_WorkTypeElement();
                 WDCopyService.copyCorresponding(wdContext.nodeWork_Type_Output().getWork_Type_OutputElementAt(i) ,wrkTypElem);
                 wdContext.nodeTemp_WorkType().addElement(wrkTypElem);
                 IPublicAddWorkCustomController.ITemp_WorkTypeElement wrkTypElem = wdContext.createTemp_WorkTypeElement();
                 wrkTypElem.setWork_Type("Select");
                 wdContext.nodeTemp_WorkType().addElement(wrkTypElem);
                 wdContext.currentContextElement().setWorktype("Select");            
              if(indicator.equals("CSGCT")){
                   BigDecimal points = wdContext.currentOutputElement().getPay_Points();
                   if(points.equals(new BigDecimal("0")))
                   wdContext.currentContextElement().setChkPointsInp(false);
                   else{
                   wdContext.currentContextElement().setChkPointsInp(true);
                   wdContext.currentContextElement().setPoints(wdContext.currentOutputElement().getPay_Points());
              ISimpleTypeModifiable demCatSimpleType = wdThis.wdGetAPI().getContext().getModifiableTypeOf("demcat");
              IModifiableSimpleValueSet demCatList = demCatSimpleType.getSVServices().getModifiableSimpleValueSet();
              //wdContext.nodeDem_Cat_Output()
              for(int i = 0 ;i < wdContext.nodeTemp_DemCat().size();i++){
                   String demCatListElem = wdContext.nodeTemp_DemCat().getTemp_DemCatElementAt(i).getDemand_Cat();
                   demCatList.put(demCatListElem, demCatListElem);
              ISimpleTypeModifiable wrkTypSimpleType = wdThis.wdGetAPI().getContext().getModifiableTypeOf("worktype");
              IModifiableSimpleValueSet wrkTypList = wrkTypSimpleType.getSVServices().getModifiableSimpleValueSet();
              //wdContext.nodeDem_Cat_Output()
              wrkTypList.clear();
              for(int i = 0 ;i < wdContext.nodeTemp_WorkType().size();i++){
                   String wrkTypListElem = wdContext.nodeTemp_WorkType().getTemp_WorkTypeElementAt(i).getWork_Type();
                   wrkTypList.put(wrkTypListElem, wrkTypListElem);
              }//for
              ISimpleTypeModifiable prodSkillSimpleType = wdThis.wdGetAPI().getContext().getModifiableTypeOf("prodskill");
              IModifiableSimpleValueSet prodSkillList = prodSkillSimpleType.getSVServices().getModifiableSimpleValueSet();
              prodSkillList.clear();
              //wdContext.nodeDem_Cat_Output()
              for(int i = 0 ;i < wdContext.nodeTemp_ProdSkill().size();i++){
                   String prodSkillListElem = wdContext.nodeTemp_ProdSkill().getTemp_ProdSkillElementAt(i).getProduct_Skill();
                   prodSkillList.put(prodSkillListElem, prodSkillListElem);
              ISimpleTypeModifiable csgCatSimpleType = wdThis.wdGetAPI().getContext().getModifiableTypeOf("csgcat");
              IModifiableSimpleValueSet csgCatList = csgCatSimpleType.getSVServices().getModifiableSimpleValueSet();
              csgCatList.clear();
              //wdContext.nodeDem_Cat_Output()
              for(int i = 0 ;i < wdContext.nodeTemp_CsgLoc().size();i++){
                   String csgCatListElem = wdContext.nodeTemp_CsgLoc().getTemp_CsgLocElementAt(i).getCsg_Loc();
                   csgCatList.put(csgCatListElem, csgCatListElem);
         } catch(WDDynamicRFCExecuteException ce) {
              manager.reportException(ce.getMessage(), false);
         //$$end
        //@@end
    this line
    wdContext.currentZct_Wd_Demcat_Details_InputElement().setI_Task_Complte(new Date(System.currentTimeMillis()));
    before the modelobject is executed is giving error.
    Regards
    Prakash

  • Set parameter as empty date in OIM

    Hello
    I have an adapter that calls a stored procedure and need to pass null as one of the date parameters. I tried not to input anything but OIM sets the parameter value as 01/01/1970. I tried "set variable" task to set the variable as "Empty date" but it did not work either! Is there any way to do that?
    Thanks

    Can you paste the code and API you are using? If you are using stored procedure, then it's SQL statements. If you are using java code and the apis, have you tried "" as your value? Or 0000-00-00 00:00:00.000
    -Kevin

Maybe you are looking for

  • How to create the list box in the selection screen.

    hai friends.. i want to create the list box for the selection screen input boxes. thanks, velu.

  • Will my sony display work?

    Hi everybody! I currently use only PC, never used a mac ever. I have two PCs, connected to my sony display SDM-HX73, which has dual VGA input and DVI input. I was thinking of buying a mac mini to use the DVI input (both VGAs are in use) but after rea

  • HTML Page not appearing after SAP Upgrade from 4.6c to ECC 6.0

    Dear All, I am novice in ITS and IAC configuration stuff.... Issue: We have a HTML page which shows a tree structure of Functional location and Equipments. A Z transaction is built to cater the requirement. User logs on to the HTML page navigates thr

  • Can a firewire iPod Mini be changed to USB?

    I've just bought a new MacBook. My older Mac is a Mac Mini and my iPod Mini connects to it via Firewire. Can I simply get a USB iPod cable to connect the iPod to the MacBook? Or is there anything else I can do to use the iPod with the MacBook?

  • Added application opens with Logic 9

    Hi, I use Logic 9.0.0 and Leopard (Mac OS 10.5.8). An application called CoreMIDIServer.framework always opens with Logic (located in Macintosh HD>System>Library>Frameworks. Has anyone had this? This doesn't seem right. Thanks.