Schedule webi report using  BW data source and send through email..

Hi  all,
I want to schedule webi report and send it through email.
I am able to send through email.
here im  got stopped how to schedule the report from bw data source . i have to schedule in webi infoview how to give date format in universe the report sholud run for (sysdate-2) daily
eg. today is 02-DEC-2011 if i schedule the report it should run for 30-NOV-2011.  iam trying in both BW qyuery and CUBE im not getting how to give date format in
let me knw is there any solutions..
im using XIR3 3.1 sp3
bw 7.1
Integration kit sp3
Regards,
Ravi Sarma.

it is resolvede by keeping sysdate-2 variable at bw query side i have solved my issue.
Regards
ravi

Similar Messages

  • Schedule webi report to destination to Inbox AND send email notification

    I'm writing a new process that will schedule a webi report.  The output of the report needs to be delivered to multiple user's BO Inboxes AND an email notification (without the report attached) needs to be sent telling them that they have a new report to view in their Inbox.  Trying to mimic how this is done via CMC Schedule - Notification and Destination tabs.
    I can get it to deliver the report to the Inbox and I can get it to send an email seperately, but the problem I'm running into is that I can't get it to do both in the same process.  Here is the code snippet that I've written.  Any assistance would be appreciated.
    // Retrieve the managed plugin
    IInfoObjects managedInfoObjects = infoStore.query("Select SI_DEST_SCHEDULEOPTIONS, SI_PROGID From CI_SYSTEMOBJECTS Where SI_NAME = 'CrystalEnterprise.Managed'");
    IInfoObject infoObject = (IInfoObject)managedInfoObjects.get(0);
    IDestinationPlugin destinationPlugin = (IDestinationPlugin)infoObject;
    IManaged managed = (IManaged)destinationPlugin;
    // Set the destination to inbox
    IManagedOptions managedOptions = (IManagedOptions)managed.getScheduleOptions();
    managedOptions.setDestinationOption(IManagedOptions.CeDestinationOption.ceInbox);
    managedOptions.setSendOption(IManagedOptions.CeManagedSendOption.ceCopy);
    managedOptions.setIncludeInstance(true);
    managedOptions.getDestinations().add(new Integer(ditUserID1));
    managedOptions.getDestinations().add(new Integer(ditUserID2));
    managedOptions.getDestinations().add(new Integer(ditUserID3));
    scheduleInfo.getDestination().setFromPlugin(managed);
    // Retrieve the smtp plugin. to send email notification
    IInfoObjects smtpInfoObjects = infoStore.query("Select SI_DEST_SCHEDULEOPTIONS, SI_PROGID From CI_SYSTEMOBJECTS Where SI_PARENTID = 29 AND SI_NAME = 'CrystalEnterprise.Smtp'");
    IInfoObject smtpInfoObject = (IInfoObject)smtpInfoObjects.get(0);
    IDestinationPlugin smtpDestinationPlugin = (IDestinationPlugin)smtpInfoObject;
    // Set to email notification on success
    ISMTP smtp = (ISMTP)smtpDestinationPlugin;
    ISMTPOptions smtpOptions = (ISMTPOptions)smtp.getScheduleOptions();
    smtpOptions.setServerName("mailhost.XXXXX.net");
    smtpOptions.setPort(25);
    smtpOptions.setDomainName("XXXXX.com");
    smtpOptions.setSenderAddress("XXXXX.com");
    smtpOptions.setSubject("Indicative Data Update Reports");
    smtpOptions.getToAddresses().add("XXXXX.com");
    smtpOptions.setMessage("Test Message");
    smtpOptions.setSMTPAuthenticationType(CeSMTPAuthentication.NONE);
    scheduleInfo.getNotifications().getDestinationsOnFailure().add("New");
    scheduleInfo.getDestination().setFromPlugin(smtp);
    Edited by: Shannon Maret on Apr 21, 2009 7:02 PM

    One thing to keep in mind is that "scheduling to SMTP" is different from "scheduling with email notification", and it looks like you're conflating the two.  The ISchedulingInfo.getDestinations() is the access point for scheduling to SMTP and ISchedulingINfo.getNotifications() is the access point for scheduling with Notification.
    > scheduleInfo.getNotifications().getDestinationsOnFailure().add("New");
    You'd add the SI_PROGID of the SMTP Destination here, and work with the returned IDestination to set the destination parameters.
    Sincerely,
    Ted Ueda

  • How to create a report using XML data source from Crystal Report Designer

    Hi,
    Iu2019m having Crystal Report Designer XI R2 SP4. Iu2019m trying to create a report using XML data source stored on disk. This is a customer order report and the xml is structured in such a way that it has an order details header part (master) and then it has several order lines (detail). One order line can have several order line characteristics (detail-detail). So what I need to know is now I can design this layout from the designer. If this was done using views I can do it with sub-reports but using xml data this seems to be different. Can you help me to design this layout? I have included the xml and xsd as well.
    Thank you in advance.
    Regards,
    Chanaka
    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <CUSTOMER_ORDER_CONF_REP_REQUEST xmlns:xsi="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep">
        <CUSTOMER_ORDER_CONF_REP>
            <ORDER_NO>D555809</ORDER_NO>
            <PRINTED_DATE>2009-03-26T08:52:54</PRINTED_DATE>
            <AUTHORIZE_NAME>Chanaka</AUTHORIZE_NAME>
            <CUSTOMER_NO>CU-1473-INV</CUSTOMER_NO>
            <CUST_NAME>Mr.Johan Matts</CUST_NAME>
            <SHIP_ADDR_1>93,Main Street</SHIP_ADDR_1>
            <SHIP_ADDR_2>Negambo Road</SHIP_ADDR_2>
            <SHIP_ADDR_3>Watthala</SHIP_ADDR_3>
            <SHIP_ADDR_4>SRI LANKA</SHIP_ADDR_4>
            <BILL_ADDR_1>93,Main Street</BILL_ADDR_1>
            <BILL_ADDR_2>Negambo Road</BILL_ADDR_2>
            <BILL_ADDR_3>Watthala</BILL_ADDR_3>
            <BILL_ADDR_4>SRI LANKA</BILL_ADDR_4>
            <CUSTOMER_PO_NO>112984638</CUSTOMER_PO_NO>
            <CUSTOMER_FAX>112984639</CUSTOMER_FAX>
            <CUSTOMER_EMAIL>abcbababab</CUSTOMER_EMAIL>
            <ORDER_LINES>
                <ORDER_LINE>
                    <LINE_NO>1</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP11</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>iPod</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1200</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1200</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID xsi:nil="1"/>
                            <CHARACTERISTIC_VALUE xsi:nil="1"/>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>2</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP24</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>XGA Projector</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>500</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1500</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>3</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free Instalation</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>3</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP02</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Sony DVD Player</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1000</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1000</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free 5 DVDs</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>4</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP99</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Flatscreen TV</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>1500</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>1350</PRICE_TOTAL>
                    <DISCOUNT>10</DISCOUNT>
                    <PRICE_QTY>1</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free Delivery</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>1 year additional warranty</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
                <ORDER_LINE>
                    <LINE_NO>5</LINE_NO>
                    <CUSTOMER_PART_NO>NW-IP56</CUSTOMER_PART_NO>
                    <CUSTOMER_PART_DESC>Sony MP3 Player</CUSTOMER_PART_DESC>
                    <SALE_UNIT_PRICE>200</SALE_UNIT_PRICE>
                    <PRICE_TOTAL>400</PRICE_TOTAL>
                    <DISCOUNT>0</DISCOUNT>
                    <PRICE_QTY>2</PRICE_QTY>
                    <ORDER_LINE_CHARACTERSTICS>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>1</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free carry belt</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>2</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>Free promotional 4GB memory bar</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                        <CHARACTERISTIC_ITEM>
                            <CHARACTERISTIC_ID>3</CHARACTERISTIC_ID>
                            <CHARACTERISTIC_VALUE>No warranty on memory bar</CHARACTERISTIC_VALUE>
                        </CHARACTERISTIC_ITEM>
                    </ORDER_LINE_CHARACTERSTICS>
                </ORDER_LINE>
            </ORDER_LINES>
        </CUSTOMER_ORDER_CONF_REP>
    </CUSTOMER_ORDER_CONF_REP_REQUEST>
    XSD
    <?xml version="1.0" encoding="UTF-8"?>
    <?report  module="ORDER" package="CUSTOMER_ORDER_CONF_REP" ?>
    <xs:schema targetNamespace="urn:ifsworld-com:customer_order_conf_rep" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="urn:ifsworld-com:customer_order_conf_rep" elementFormDefault="qualified" attributeFormDefault="unqualified">
    <xs:element name="CUSTOMER_ORDER_CONF_REP_REQUEST">
    <xs:complexType>
    <xs:all minOccurs="1" maxOccurs="1">
    <xs:element name="CUSTOMER_ORDER_CONF_REP">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="50">
    <xs:element name="ORDER_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="PRINTED_DATE" type="xs:dateTime" nillable="true" minOccurs="0"/>
    <xs:element name="AUTHORIZE_NAME" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_PO_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUST_NAME" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_1" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_2" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_3" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SHIP_ADDR_4" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_1" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_2" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_3" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="BILL_ADDR_4" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_FAX" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_EMAIL" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ORDER_LINES" nillable="true" minOccurs="0">
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="ORDER_LINE">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="39">
    <xs:element name="LINE_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="SALE_UNIT_PRICE" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="PRICE_TOTAL" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="DISCOUNT" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="PRICE_QTY" type="xs:float" nillable="true" minOccurs="0"/>
    <xs:element name="CUSTOMER_PART_NO" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CUSTOMER_PART_DESC" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="4000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="ORDER_LINE_CHARACTERSTICS" nillable="true" minOccurs="0">
    <xs:complexType>
    <xs:sequence minOccurs="0" maxOccurs="unbounded">
    <xs:element name="CHARACTERISTIC_ITEM">
    <xs:complexType>
    <xs:choice minOccurs="0" maxOccurs="6">
    <xs:element name="CHARACTERISTIC_ID" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    <xs:element name="CHARACTERISTIC_VALUE" nillable="true" minOccurs="0">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:maxLength value="2000"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:choice>
    </xs:complexType>
    </xs:element>
    </xs:all>
    </xs:complexType>
    </xs:element>
    </xs:schema>

    Hi Sourashree,
    Thank you for the response and ideas you have given me so far. I can get the fetch the data from the data source without any problem. That is I do the following,
    1.     New Report
    2.     From Create New Connection-> XML
    3.     Provide the u201CLocal XML Fileu201D and have u201CSpecify Schema Fileu201D checked -> Next
    4.     Provide the u201CLocal Schema Fileu201D  -> Finish
    Then I can see the following under XML
    + CUSTOMER_ORDER_CONF_REP_REQUEST
            CUSTOMER_ORDER_CONF_REP_REQUEST
         CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
    And from here if I add the following three I can get all the fields I need to the report
         CUSTOMER_ORDER_CONF_REP_REQUEST/CUSTOMER_ORDER_CONF_REP
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE
         CUSTOMER_ORDER_CONF_REP_REQUEST/ CUSTOMER_ORDER_CONF_REP/ORDER_LINES/ORDER_LINE/ORDER_LINE_CHARACTERSTICS/CHARACTERSTIC_ITEM
    Then I come to the Linking section. Here I canu2019t link anything. There is a common field called u201CInternal_IDu201D but I canu2019t link using it. So I get a message when I click Next. From here I add all the fields.
    For this point onwards only I need help. How do I group, add fields and design the layout so I can get an report output as follows.
    Date
    Order number                                   Authorized code
    Customer No
    Name
    Phone
    Fax email
    Shipping address 1                              Billing Address 1
    Shipping address 2                              Billing Address 2
    Shipping address 3                              Billing Address 3
    Shipping address 4                              Billing Address 4
    Order Line 1 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026                      LINE_NO     CUSTOMER_PART_NO          CUSTOMER_PART_DESC     SALE_UNIT_PRICE     PRICE_QTY     DISCOUNT     PRICE_TOTAL
    Characteristic details belonging to Order line 1       CHARACTERISTIC_ID 1  CHARACTERISTIC_VALUE1
                                           CHARACTERISTIC_ID 2  CHARACTERISTIC_VALUE2
                                           CHARACTERISTIC_ID 3  CHARACTERISTIC_VALUE3
    Order Line 2 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 2
    Order Line 3 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 3
    Order Line 4 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 4
    Order Line 5 detailsu2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
    Characteristic details belonging to Order line 5
    How can I achieve this kind of a layout using the give xml and xsd? Should I use grouping if so how should I do the grouping?
    I have included the full xml and xsd in the first mail I posted but I canu2019t see it now. I can include that again if you want.
    Regards,
    Chanaka

  • Error When Trying to Schedule Webi report using SAP authentication

    Hii,
    We are trying to Schedule Webi report in CMC for Group of Users using SAP authentication(SSO) ,While Trying this we are geting error Unable to Connect to SAP BW server Incomplete Logon Data ..(IES 10901) .
    Authorization done at BI side and Its working properly.Users are able to login into BI Launchpad and View Report as per authorization
    Some Webi reports are created using BICS connection and some  are created using Universe Design Tool (.UNV) which are migrated from BO 3.1 to BO 4.0
    Server Status:
    BO server and Client Tools-:BO 4.0 SP6
    BW System-7.01
    Please refer attach Screen Shot

    Hi Rupesh,
    Please check the below note:
    Seems issue with SNC/STS settings.
    1798197 - Schedules fails with error "Database error: Unable to connect to SAP BW server Incomplete logon data.. (IES 10901)" in BI 4.0
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361…

  • Scheduling WebI reports for Dynamic Date Ranges

    Hello Everyone,
    Our Env is BOBJ XI 3.1 SP2 FP2.5 integrated with SAP NW  BW 7.02 EPH1
    We are trying to schedule few WebI reports which can be used on ad-hoc basis as well. Some reports need to get data from starting of the month to today (like MTD) and few are with dynamic date ranges.
    In case of relational universes i used to do Magic Date as mentioned here :  http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts
    But for OLAP Universes i have written a MDX filter prompt as :
    <FILTER KEY= "@Select(Debit Memo Date\Debit Memo Date LOV)">
    <CONDITION OPERATORCONDITION= "Between">
    <CONSTANT CAPTION= "IIF (@Prompt('Enter\Select DM Start Date: ','D','First day of Current Month\First day of Current Month',mono,free,not_persistent,{'First Day of Month'},,User:0)='First Day of Month','First day of Current Month\First day of Current Month',@Prompt('Enter\Select DM Start Date: ','D','First day of Current Month\First day of Current Month',mono,free,not_persistent,{'First Day of Month'},,User:0))"/>
    <CONSTANT CAPTION= "IIF (@Prompt('Enter\Select DM End Date: ','D','Date2\Today',mono,free,not_persistent,{'Today'},,User:0) > '1/1/2100 12:00:00 AM',''1/1/2010 12:00:00 AM'',(@Prompt('Enter\Select DM End Date: ','D','Date2\Today',mono,free,not_persistent,{'Today'},,User:0))"/>
    </CONDITION>
    </FILTER>
    We are getting MDX erros because IIF can only return numeric values. So are there any other approaches for dynamically scheduling the reports or can the above MDX prompt be modified to make it work ?
    - Vamsi Ch

    Ingo,
    When we schedule the WEBI report we use the BEX query with a variable based on a customer Exit .
    There are good examples in
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    In order to avoid providing a hard coded date restriction in the BEX query we want to have a flexible date range solution (e.g. data from 1.1.2011 until yesterday).
    Is the folloing scenario possible:
    Scheduled webi report with a hard coded date e.g. 1.1.1900 (for the BEX variable)
    The BEX query should return the data from 1.1.2011 until yesterday (dynamically)  if date = 1.1.1900
    else it should return the data (for the e.g. adhoc reporting)
    Is a customer exit like this possible ?
    Pseudo code:
    IF date = 1.1.900 then return sysdate-1 else return entered date
    For a relational universe I always used a magic date condition

  • Want to schedule WebI report for End date of Prior Month

    Hello Experts,
    We have WebI report created on top of Bex Query, We have key date as prompt for the report. Can we schedule the webi report for key date as last date of prior month, so if current month is February, my key date should be Jan 30 2011. I am not sure if this is possible?
    Thanks,
    Ravi

    You need to apply two FM to get the end day of the month.
    First you need to apply FM MONTHS_PLUS_DETERMINE. This will give you the date after 3 months.
                CALL FUNCTION 'MONTH_PLUS_DETERMINE'
                  EXPORTING
                    MONTHS        = 3   " << for 3 months
                    OLDDATE       = l_start_Date   " << 12/01/2007
                 IMPORTING
                   NEWDATE       = l_3_Date. " << 02/01/2008
    Then call the FM RP_LAST_DAY_OF_MONTHS . this will give you the end date of the month
      CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS'
        EXPORTING
          day_in            = l_3_Date  " << 02/01/2008
        IMPORTING
          last_day_of_month = l_3_Date  " < 02/29/2008
        EXCEPTIONS
          day_in_no_date    = 1
          OTHERS            = 2.
    Call both FMs again to get your another date(after 4 months).
    Regards,
    Naimesh Patel

  • SQL Server 2008 R2 - Report Builder 3.0 - timeout using shared data source and stored procedure

    I select the shared datasource from the data source propeties dialog, test the connection and everything is good.
    I add a dataset by selecting "use a dataset embedded in my report" option within the Dataset properties dialog.
    I select the newly added data source, click the "Stored procedure" query type and drop down the list box and select my intended stored procedure.
    the timeout for the dataset is "0" seconds.
    I click the "OK" button and I'm presented with the parameters to the stored procedure.
    I enter valid data for the parameters and click the "OK" button.
    I then get the following error message after 30 seconds:
    The problem is, all of the timeouts, that I'm aware of, have values of zero (no timeout) or high enough values that 30 seconds isn't even close to the timeout.
    I think the smallest timeout we have is 120 seconds.
    I have searched this site and many others and the solutions all involve altering the stored procedure to get the fields into report builder and then revert the stored procedure back to its original form.
    To me, this is NOT a solution.  
    I have too many stored procedures that need to be brought into Report Builder.
    I need a real solution.
    Thank you for you time, Tim Caldwell.
    Timothy E Caldwell

    I don't mean to be rude, but really, check to see if the stored procedure can return data rows???
    Maybe I'm not being clear enough.
    The stored procedure runs perfectly fine.
    it runs perfectly fine in the production environment and the test environment.
    I can access the stored procedure in several ways and have it return correct data.
    I can even trick report builder into creating a dataset with parameters and run the stored procedure that way.
    What I cannot do, is to get report builder to not timeout after 30 seconds on the initial creation of a dataset with a Query type of stored procedure.
    I have seen this issues posted again and again and again on may different sites and the "solution" is to simplifiy the stored procedure by creating a stored procedure that has a create table and a select in the stored procedure and that's it.  After
    report builder creates the dataset the developer then has to replace the simplified stored procedure with the actual stored procedure and everything works fine after that.
    HOWEVER, having to go through this process for 70 or more stored procedures is ridiculous.
    It would appear that there is something within report builder itself that is causing this issue.
    The SQL Script included is an example of a stored procedure that will not create fields create a dataset with fields and parameters in Report Builder 3.0:
    USE [CRUM_IT]
    GO
    /****** Object: StoredProcedure [dbo].[COGNOS_Level5ScriptSP] Script Date: 11/17/2014 08:02:26 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER procedure [dbo].[COGNOS_Level5ScriptSP]
    @CompanyCode varchar(8) = null,
    @GetSiblings varchar(1) = 'N'
    as
    Begin
    -- get emergency contact info
    select *
    into #tmp_Contacts
    from
    (select
    ConEEID,
    con.connamelast as [Emer Contact Last Name],
    con.connamefirst as [Emer Contact First Name],
    con.connamemiddle as [Emer Contact Middle Initial/Name]--,
    ,ROW_NUMBER() over (Partition by ConEEID order by ConNameLast)as rn
    ,ISNULL(
    case when con.conphonepreferred = 'H'
    then '(' + substring(con.conphonehomenumber, 1, 3) + ')' + substring(con.conphonehomenumber, 4, 3) + '-' + substring(con.conphonehomenumber, 7, 4)
    else '(' + substring(con.conphoneothernumber , 1, 3) + ')' + substring(con.conphoneothernumber , 4, 3) + '-' + substring(con.conphoneothernumber , 7, 4)
    end,
    ) as [Emergency Phone]
    from [ultiprosqlprod1].[ultipro_crum].dbo.Contacts con
    where con.ConIsEmergencyContact='y'
    and con.ConIsActive='y'
    ) A
    where A.rn = 1
    CREATE TABLE #tmp_CompanyCodes (CompanyCode varchar(8))
    If @GetSiblings = 'Y'
    Begin
    INSERT INTO #tmp_CompanyCodes (CompanyCode)
    EXEC [z_GetClientNumbers_For_ParentOrg_By_ClientNumber] @CompanyCode
    End
    INSERT INTO #tmp_CompanyCodes
    values (@CompanyCode)
    select *
    into #tmp_Company
    from [ultiprosqlprod1].[ultipro_crum].dbo.Company
    where cmpcompanycode in (select CompanyCode from #tmp_CompanyCodes)
    select distinct
    cmpcompanycode as [Client ID],
    CmpCompanyDBAName as [Client Name],
    eec.eecEmplStatus AS [Employment Status],
    eec.eecEmpNo AS [Employee Num],
    rtrim(eep.eepNameLast) AS [Last Name],
    rtrim(eep.eepNameFirst) AS [First Name],
    isnull(rtrim(ltrim(eep.eepNameMiddle)), '') AS [Middle Initial/Name],
    rtrim(eep.eepAddressLine1) AS [Address Line 1],
    isnull(rtrim(eep.eepAddressLine2), '') AS [Address Line 2],
    eep.eepAddressCity AS [City],
    eep.eepAddressState AS [State],
    CASE
    WHEN len(eep.eepAddressZipCode) > 5 and charindex(eep.eepAddressZipCode, '-', 1) = 0
    THEN substring(eep.eepAddressZipCode, 1, 5)
    ELSE rtrim(eep.eepAddressZipCode)
    END AS [Zip code],
    CASE
    WHEN len(eep.eepAddressZipCode) > 5 and charindex(eep.eepAddressZipCode, '-', 1) = 0
    THEN substring(eep.eepAddressZipCode, 6, 4)
    WHEN len(eep.eepAddressZipCode) > 5 and charindex(eep.eepAddressZipCode, '-', 1) > 0
    THEN substring(eep.eepAddressZipCode, charindex(eep.eepAddressZipCode, '-', 1) + 1, 4)
    WHEN len(eep.eepAddressZipCode) <= 5
    THEN ''
    END AS [ZIP + 4],
    substring(eep.eepSSN, 1, 3) + '-' + substring(eep.eepSSN, 4, 2) + '-' + substring(eep.eepSSN, 6, 4) AS [SSN],
    isnull(convert(VARCHAR(10), eep.eepDateOfBirth, 101), '') AS [Date Of Birth],
    eetFED.TAXCODE AS [FED Tax Code],
    eetFED.FILINGSTATUS AS [Fed Filing Status],
    eetFED.EXEMPTIONS AS [Fed Exemption Allowance],
    eetFED.ADDITIONAL AS [Additional Fed Withholding],
    eetSIT.TAXCODE AS [SIT Tax Code],
    eetSIT.FILINGSTATUS AS [State Filing Status],
    eetSIT.EXEMPTIONS AS [State Exemption Allowance],
    eetSIT.ADDITIONAL AS [Additional State Withholding],
    isnull('(' + substring(eep.eepPhoneHomeNumber, 1, 3) + ')' + substring(eep.eepPhoneHomeNumber, 4, 3) + '-' + substring(eep.eepPhoneHomeNumber, 7, 4), '') AS [Home Phone],
    isnull((SELECT cod.codDesc
    FROM [ultiprosqlprod1].[ultipro_crum].dbo.Codes cod WITH (NOLOCK)
    WHERE cod.codCode = eep.eepEthnicID
    AND cod.codDosTable = 'ETHNICCODE'), '') AS [Race-Origin], --eep.eepEthnicID AS [Race-Origin],
    eep.eepGender AS [Gender],
    isnull(convert(VARCHAR(10), eec.eecDateOfOriginalHire, 101), '') AS [Original Hire Date],
    isnull(convert(VARCHAR(10), eec.eecDateOfSeniority, 101), '') AS [Seniority Date],
    isnull(convert(VARCHAR(10), eec.eecDateOfTermination, 101), '') AS [Termination Date],
    isnull(eecTermType,'') as [Termination Type],
    isnull(TchDesc, '') as [Termination Reason],
    rtrim(eec.eecJobCode) AS [WC Code],
    isnull(eec.eecJobTitle, '') AS [Job Title],
    pgr.pgrPayFrequency AS [Pay Frequency],
    eec.eecFullTimeOrPartTime AS [Full/Part Time],
    eec.eecSalaryOrHourly AS [Pay Type],
    isnull(convert(MONEY, eec.eecHourlyPayRate), 0.00) AS [Hourly Rate],
    isnull(eec.eecAnnSalary, 0.00) AS [Annual Salary],
    [YTD Hours],
    isnull(eep.eepNameFormer, '') AS [Maiden Name],
    eec.eecLocation AS [Location ID],
    rtrim(eec.eecOrgLvl1) AS [Department ID],
    eec.eecorglvl2 AS [Cost Item],
    eec.eecorglvl3 as [Client Project],
    eec.eecPayGroup as [Pay Group],
    isnull(eepAddressEMail,' ') as [Email Address],
    isNull(BankName1,' ') as PrimaryBank,
    isNull(BankRoute1,' ') as PrimaryRouteNum,
    isNull(Account1,' ') as PrimaryAccount,
    isNull(AcctType1,' ') as PrimaryAcctType,
    isNull(DepositRule1,' ') as PrimaryDepositRule,
    isNull(BankName2,' ') as SecondaryBank,
    isNull(BankRoute2,' ') as SecondaryRouteNum,
    isNull(Account2,' ') as SecondaryAccount,
    isNull(AcctType2,' ') as SecondaryAcctType,
    isNull(DepositRule2,' ') as SecondaryDepositRule,
    isNull(
    CASE
    WHEN DepositRule2 = 'D'
    THEN '$' + convert(varchar, cast(EddAmtOrPct2 AS decimal(10,2)))
    WHEN DepositRule2 = 'P'
    THEN convert(varchar, cast((EddAmtOrPct2*100) AS decimal(10,0))) + '%'
    ELSE null
    END,' ') as SecondaryDepositAmount,
    isNull(BankName3,' ') as ThirdBank,
    isNull(BankRoute3,' ') as ThirdRouteNum,
    isNull(Account3,' ') as ThirdAccount,
    isNull(AcctType3,' ') as ThirdAcctType,
    isNull(DepositRule3,' ') as ThirdDepositRule,
    isNull(
    CASE
    WHEN DepositRule3 = 'D'
    THEN '$' + convert(varchar, cast(EddAmtOrPct3 AS decimal(10,2)))
    WHEN DepositRule3 = 'P'
    THEN convert(varchar, cast((EddAmtOrPct3*100) AS decimal(10,0))) + '%'
    ELSE null
    END,' ') as ThirdDepositAmount,
    Supervisor,
    eec.eecEEID AS [Employee EEID],
    eec.EecJobCode As [Job Code],
    isnull(eec.EecTimeclockID,' ') As [Time Clock ID],
    con.[Emer Contact Last Name],
    con.[Emer Contact First Name],
    con.[Emer Contact Middle Initial/Name],
    con.[Emergency Phone]
    from [ultiprosqlprod1].[ultipro_crum].dbo.empPers eep WITH (NOLOCK)
    inner join [ultiprosqlprod1].[ultipro_crum].dbo.empComp eec WITH (NOLOCK)
    ON eep.eepEEID = eec.eecEEID
    inner join #tmp_Company cmp WITH (NOLOCK)
    ON eec.eecCOID = cmp.cmpCOID
    inner join [ultiprosqlprod1].[ultipro_crum].dbo.PayGroup pgr WITH (NOLOCK)
    ON eec.eecPayGroup = pgr.pgrPayGroup
    left outer join [ultiprosqlprod1].[ultipro_crum].dbo.TrmReasn
    on tchCode = eecTermReason
    left join (select CAST(sum(isnull(eee.eeeYTDHrs,0.00))AS DECIMAL(18,2)) as [YTD Hours],
    eeeEEID,
    eeeCOID
    from [ultiprosqlprod1].[ultipro_crum].dbo.EmpEarn eee with (NOLOCK)
    group by eeeCOID,eeeEEID)eee
    on eec.eecEEID = eee.eeeEEID
    and eec.eecCOID = eee.eeeCOID
    left join (SELECT eetCOID AS COID,
    eetEEID AS EEID,
    eetTaxCode AS TAXCODE,
    eetFilingStatus AS FILINGSTATUS,
    eetExemptions AS EXEMPTIONS,
    eetExtraTaxDollars AS ADDITIONAL
    FROM [ultiprosqlprod1].[ultipro_crum].dbo.empTax WITH (NOLOCK)
    WHERE eetTaxCode = 'USFIT'
    )eetFED
    ON eec.eecCOID = eetFED.COID
    and eec.eecEEID = eetFED.EEID
    left join (SELECT eetCOID AS COID,
    eetEEID AS EEID,
    eetTaxCode AS TAXCODE,
    eetFilingStatus AS FILINGSTATUS,
    eetExemptions AS EXEMPTIONS,
    eetExtraTaxDollars AS ADDITIONAL
    FROM [ultiprosqlprod1].[ultipro_crum].dbo.empTax WITH (NOLOCK)
    WHERE eetTaxCode like '%SIT'
    AND eetIsWorkInTaxCode = 'Y'
    )eetSIT
    ON eec.eecCOID = eetSIT.COID
    and eec.eecEEID = eetSIT.EEID
    left outer join (SELECT eddCOID,
    eddEEID,
    eddEEBankName BankName1,
    eddEEBankRoute BankRoute1,
    eddAcct Account1,
    EddAcctType AcctType1,
    EddDepositRule DepositRule1,
    EddAmtOrPct EddAmtOrPct1
    FROM [ultiprosqlprod1].[ultipro_crum].dbo.EmpDirDp WITH (NOLOCK)
    WHERE eddSequence = '99')edd
    ON eec.eecCOID = edd.eddCOID
    and eec.eecEEID = edd.eddEEID
    left outer join (SELECT eddCOID,
    eddEEID,
    eddEEBankName BankName2,
    eddEEBankRoute BankRoute2,
    eddAcct Account2,
    EddAcctType AcctType2,
    EddDepositRule DepositRule2,
    EddAmtOrPct EddAmtOrPct2
    FROM [ultiprosqlprod1].[ultipro_crum].dbo.EmpDirDp WITH (NOLOCK)
    WHERE eddSequence = '01')edd2
    ON eec.eecCOID = edd2.eddCOID
    and eec.eecEEID = edd2.eddEEID
    left outer join (SELECT eddCOID,
    eddEEID,
    eddEEBankName BankName3,
    eddEEBankRoute BankRoute3,
    eddAcct Account3,
    EddAcctType AcctType3,
    EddDepositRule DepositRule3,
    EddAmtOrPct EddAmtOrPct3
    FROM [ultiprosqlprod1].[ultipro_crum].dbo.EmpDirDp WITH (NOLOCK)
    WHERE eddSequence = '02')edd3
    ON eec.eecCOID = edd3.eddCOID
    and eec.eecEEID = edd3.eddEEID
    left outer join (SELECT eecCOID,
    eecEEID,
    rtrim(eepNameLast) + ', ' +
    rtrim(eepNameFirst) + ' ' +
    isnull(rtrim(ltrim(eepNameMiddle)), '') AS [Supervisor]
    FROM [ultiprosqlprod1].[ultipro_crum].dbo.EmpComp WITH (NOLOCK)
    join [ultiprosqlprod1].[ultipro_crum].dbo.EmpPers with (NoLock)
    on eeceeid = eepeeid)eec2
    ON eec.eecSupervisorID = eec2.eecEEID
    left outer join #tmp_Contacts con
    on eep.eepEEID = con.ConEEID
    order by [Client ID],
    [Last Name],
    [First Name]
    drop table #tmp_Contacts
    END
    Timothy E Caldwell

  • Reporting Services: XML Data Source and Parameters

    I’ve created an XML service (asmx) in ASP.Net that I want to use as a data source for an SQL Reporting Services report. The report and service work just fine if I use a Method from the service that does not have parameters. However, if I use a Method that
    needs a parameter, the query/report fails. My investigation makes it seem that the parameter is not getting passed to the Method at all. (The parameter is a DateTime and it always ends up uninitialized and the WebMethod throws an exception.)
    I’ve exhausted all my TechNet resources and Googled this excessively. It would seem that I am doing this correctly, based on all the examples I’ve seen, but I still can’t get it to work.
    I've done a lot of different permutations, but this is where I’m at right now.
    (Note: I've changed the Web Method's parameter to be a String instead of a DateTime. I did this as part of my trial-and-error process. Once I get this figured I'll return it to a DateTime.)
    I'm trying to include everything here that will help you help me (see attached image). I had to obfuscate a few things (not sure if that is necessary).
    See attached image:
    Created Shared Data Source in SQL Report Services
    Create Report Parameter (matching Web Method parameter)
    Created a data set in Report Builder (with Query, and parameter - matching Web Method parameter)
    Query in Data Source
    <Query>
    <Method Name="GetDueDateAging" Namespace="http://zzz.com/vvv">
    <Parameters>
    <Parameter Name="cutoffDate">
    <DefaultValue></DefaultValue>
    </Parameter>
    </Parameters>
    </Method>
    <SoapAction>http://zzz.com/vvv/GetDueDateAging</SoapAction>
    <ElementPath IgnoreNamespaces="true">*</ElementPath>
    </Query>
    This is where I needed the most help, and I don't totally understand it. But again, the parameter-less Method worked. I've tried adding different things in the <DefaultValue> tag (like @cuttoffDate and constant values), with no success.
    WebMethod Code
    [WebMethod]
    public List<AgingInvoice> GetDueDateAging(string cutoffDate)
    DateTime cd = DateTime.MinValue;
    if (!DateTime.TryParse(cutoffDate, out cd))
    cd = DateTime.Now;
    Shared.DueDateAging aging = new Shared.DueDateAging();
    return aging.GetDueDateAging(cd, Settings.Default.ConnectionString);
    I've looked at every online resource that I could find, but I'm striking out right now. Any help or hints would be greatly appreciated.
    Thanks.
    Derrick

    Hi Derrick,
    In your case, please refer to the following method to troubleshooting this problem:
    We can use Fiddler2 to monitor the HTTP post, and check whether the parameter is being sent. The Fiddler tool can helps us debug web applications by capturing network traffic between the Internet and test computers. If the parameter is being sent, please
    debug the web service to ensure the method has values return.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Error (WIS 10901) while creating a webi report against SAP data source

    Hi,
    While creating a webi report against a universe created using Infocube/Bex query (basically SAP data source) get a error message -
    A database error occured. The database error text is: A runtime exception has occured. (License key check failed. Check that you are licensed to access SAP data sources). (WIS 10901).
    Any clues whether this is a license issue or something else?
    Thanks,
    -Purav.

    >
    George Pertea wrote:
    > Does your connection in the Universe test ok on the server if you are on Win? Did you install the Java Connector properly?
    I am having the same problem.  I checked and double checked everything, including deleting and recreating the Universe and the Connection.  No improvement.  On a whim, I deleted the hierarchy from the query on which the Universe was based, and recreated the Universe on the query without the hierarchy.  The problem went away.
    Now, the question is, why do I get the WIS 10901 error when a hierarchy is present in the query/Universe?

  • How to schedule webi report using OLAP Universe

    Hi all,
    I am using the webi report which is based on BW query or cube.
    I want to schedule the webi report  which should get refreshed automatically.
    how to set the date parameter for that webi report at universe or report level.
    or shall i should create a variable at bw side i.e., (sysdate -1)  and tht variable should i use in the report or any idea..
    i am using BOE 3.1 SP3
    Integration Kit SP3
    BW 7.1
    Thanks & Regards,
    Ravi Sarma
    Edited by: Ravi Sarma on Dec 6, 2011 6:09 PM

    Hi,
    it won't be at "report-level" . those local variables are formulae used for formatting, not for user inputs / responses.
    Easiest is to use the SAP KEYDATE variable in the BEx query.
    This SAPVAR will come through as a WebI prompt like any other, and has a default value of sysdate (if not answered differently)
    As for the Scheduling mechanism, this is the same as always - done in Infoview / BILaunchPad - select the webi instance, and click Schedule .
    Regards,
    H

  • Schedule Webi report using RESTful API

    We are using BO 4.0 (SP2) and looking to schedule reports using our intranet application. I have searched for APIs avaialble and was able to find RESTful API for SP4 but not SP2.  How can we do it in BI 4.0, SP2?
    Quick help will be really appreciated.
    Thanks

    you can schedule Webi documents with prompts using the following:
    URL: http://<servername>:6405/biprws/raylight/v1/documents/<docid>/schedules
    Method:POST
    Request Body:
    <schedule>
    <name>Enter values for City:</name>
    <format type="webi"/>
    <destination>
    <inbox/>
    </destination>
    <once retriesAllowed="2" retryIntervalInSeconds="60">
    <startdate>2013-08-26T15:58:51.000+02:00</startdate>
    <enddate>2013-08-27T15:58:51.000+02:00</enddate>
    </once>
    <parameters>
    <parameter optional="false" type="prompt" dpId="DP0">
    <id>0</id>
    <technicalName>Enter values for City:</technicalName>
    <answer constrained="false" type="Text">
    <values>
    <value>Austin</value>
    </values>
    </answer>
    </parameter>
    </parameters>
    </schedule>
    Using the above request you can schedule the Webi document with prompts to inbox destination  and set for once. The schedule can be sent in different formats to several destinations and set just for once, daily,
    hourly or monthly.
    BUT, its broken if you want to schedule a weekly report (Calendar Date) with prompts in BI 4.1 and SDK has been deprecated.

  • Using different data source and connection name

    Hi,
    We have a requirement where the data source for our application is already configured on the server by name like MyDBDataSource. But the database connection name in our application is like My_DB. So application module is using data source name like My_DBDS. If i change data source name in application module configuration manually to be MyDBDataSource, then it fails at runtime. This has been identified as bug as mentioned in this post
    http://andrejusb.blogspot.in/2009/01/practical-adf-security-deployment-on.html
    Is this still valid? I am using 11.1.1.6 version. Also want to know if there is any workaround for this ? If i change the name in web.xml at deployment time using script, will it work ?
    Thanks

    Hi Ami,
    Is your issue get solved ?
    I would like to mention few things about the database connection in application & data source in Weblogic.
    1. When you create a database connection in Application (for example say connection name as hr) then in the Application Module Database Configurations in the bc4j.xcfg File Custom JDBCDataSource will be set as <Custom JDBCDataSource="java:comp/env/jdbc/hrDS"/> for both ApplnModule shared & Local. So when you create data source in weblogic it is better to create the JNDI Name like jdbc/hrDS ( ie between the '/' and 'DS' you have to specify the name of database connection you created in the application ).What ever the Data source name is no matter.
    2.If you change the JNDI name of data source later like jdbc/hrconnectionDS then it is better to delete the old hr connection from application and recreate a connection as hrconnection. After that you have to edit bc4j.xcfg file in the Application Module--> Configurations and set Custom JDBCDataSource as below for both local & shared config.
    <Custom JDBCDataSource="java:comp/env/jdbc/hrconnectionDS"/>
    I hope this will help you.
    Gijith.

  • Even with parameters, reports reading entire data source and then filtering

    I'm working with an Oracle database (read-only access) and Crystal Reports 2008.  I have created a report and added three parameters for which I have already done all necessary steps in the select expert.  But when I do a Print preview of the report, and after selecting the parameter values, the report tries to read all of the data source records before the parameters are utilized by the report.  In other words, if the data source has 100,000 records, the report will return (in the background) all 100,000 records and then filter among these returned records to present/display the data according to the provided parameter values.  Instead, I would like it to use the parameters first so that only those records that meet the parameter value criteria are read into the report from the "get go"...Since I only have read only access to the Oracle database, I cannot write a stored procedure either...(company policy)...Can parameters be used to read in only pertaining records instead of filtering already read in records in a given report?  Is there some syntax that can be entered into a Command type connection to do this?

    I've tried that but I'm now getting an error on line 6...
    Crystal Reports Error:
    Failed to retrieve data from the database.
    Details: HYooo:[Oracle][ODBC][Ora]ORA-00911: invalid character
    ORA-06512: at line 6
    [Database Vendor Code: 911 ]
    for the following syntax: (Not sure why...any help would be extremely appreciated!)
    DECLARE
    varCCN CHAR(7);
    varMASLOC char(3);
    varWO char(10);
    BEGIN
    EXECUTE IMMEDIATE '
    SELECT Trim(DB.D_WO.SERIAL) AS Serial,
    Trim(DB.WO.WO_NUM) AS WO,
    DB.WO.WO_LINE AS Line,
    DB.WO_HDR.WO_DESCRIPTION,
    DB.WO.ITEM,
    DB.WO.REVISION,
    CASE WHEN DB.WO.ITEM=' || '''\''' || 'THEN DB.WONSD.DESC_ ELSE DB.ITEM.DESCRIPTION END AS Item_Description,
    DB.WO.ORD_QTY,
    DB.WO.START_DATE,
    DB.WO.DUE_DATE,
    DB.WO_RTG.OPERATION,
    DB.D_OPERNM.D_OPER_NUM_SEQ,
    DB.WC.DESCRIPTION AS WC_Description,
    DB.WO.CCN,
    DB.WO.MAS_LOC,
    DB.D_WKINST.D_WORK_INSTRUCTION,
    DB.D_WORTG.NA_OPER,
    DB.D_WORTG.D_OPER_GROUP,
    DB.GLOVCLB.CONTENT,
    DB.D_WOHDR.D_J_MACHINE,
    DB.D_WOHDR.D_H_MACHINE,
    DB.D_WOHDR.D_STD_ASSEMBLY,
    DB.D_WOHDR.D_T_C_A_ASSEMBLY,
    DB.D_WOHDR.D_T_C_B_ASSEMBLY,
    DB.D_WOHDR.D_B_S_ASSEMBLY
    FROM DB.WO_HDR
    LEFT JOIN DB.WO
    ON DB.WO_HDR.CCN = DB.WO.CCN
    AND DB.WO_HDR.MAS_LOC = DB.WO.MAS_LOC
    AND DB.WO_HDR.WO_NUM = DB.WO.WO_NUM 
    LEFT JOIN DB.D_WO
    ON DB.WO.WO_LINE = DB.D_WO.WO_LINE
    AND DB.WO.WO_NUM = DB.D_WO.WO_NUM
    AND DB.WO.MAS_LOC = DB.D_WO.MAS_LOC
    AND DB.WO.CCN = DB.D_WO.CCN
    LEFT JOIN DB.WONSD
    ON DB.WO.WO_LINE = DB.WONSD.WO_LINE
    AND DB.WO.WO_NUM = DB.WONSD.WO_NUM
    AND DB.WO.MAS_LOC = DB.WONSD.MAS_LOC
    AND DB.WO.CCN = DB.WONSD.CCN
    LEFT JOIN DB.ITEM
    ON DB.WO.REVISION = DB.ITEM.REVISION
    AND DB.WO.ITEM = DB.ITEM.ITEM
    LEFT JOIN DB.WO_RTG
    ON DB.WO.WO_LINE = DB.WO_RTG.WO_LINE
    AND DB.WO.WO_NUM = DB.WO_RTG.WO_NUM
    AND DB.WO.MAS_LOC = DB.WO_RTG.MAS_LOC
    AND DB.WO.CCN = DB.WO_RTG.CCN
    LEFT JOIN DB.D_WORTG
    ON DB.WO_RTG.OPERATION = DB.D_WORTG.OPERATION
    AND DB.WO_RTG.WO_LINE = DB.D_WORTG.WO_LINE
    AND DB.WO_RTG.WO_NUM = DB.D_WORTG.WO_NUM
    AND DB.WO_RTG.MAS_LOC = DB.D_WORTG.MAS_LOC
    AND DB.WO_RTG.CCN = DB.D_WORTG.CCN
    LEFT JOIN DB.WC
    ON DB.WO_RTG.WC = DB.WC.WC
    AND DB.WO_RTG.CCN = DB.WC.CCN
    LEFT JOIN DB.D_OPERNM
    ON DB.WO_RTG.OPERATION = DB.D_OPERNM.OPERATION
    AND DB.WO_RTG.WO_LINE = DB.D_OPERNM.WO_LINE
    AND DB.WO_RTG.WO_NUM = DB.D_OPERNM.WO_NUM
    AND DB.WO_RTG.MAS_LOC = DB.D_OPERNM.MAS_LOC
    AND DB.WO_RTG.CCN = DB.D_OPERNM.CCN
    LEFT JOIN DB.D_WKINST
    ON DB.D_WORTG.D_WORK_INSTRUCTION = DB.D_WKINST.D_WORK_INSTRUCTION
    LEFT JOIN DB.WOLN_TXT
    ON DB.WO.WO_LINE = DB.WOLN_TXT.WO_LINE
    AND DB.WO.WO_NUM = DB.WOLN_TXT.WO_NUM
    AND DB.WO.MAS_LOC = DB.WOLN_TXT.MAS_LOC
    AND DB.WO.CCN = DB.WOLN_TXT.CCN
    LEFT JOIN DB.GLOVCLB
    ON DB.WOLN_TXT.OBJECT_ID = DB.GLOVCLB.OBJECT_ID
    LEFT JOIN DB.D_WOHDR
    ON DB.WO.CCN = DB.D_WOHDR.CCN
    AND DB.WO.MAS_LOC = DB.D_WOHDR.MAS_LOC
    AND DB.WO.WO_NUM = DB.D_WOHDR.WO_NUM
    WHERE DB.WO_HDR.CCN=' || varCCN || ';
    AND DB.WO_HDR.MAS_LOC=' || varMASLOC || ';
    AND TRIM(DB.WO_HDR.WO_NUM)=' || varWO || ';';
    END;
    Edited by: lirizarry on Nov 6, 2009 4:37 PM

  • UCCX 10 CUIC Custom Report (using external data source)

    Hi.
    We have a customer where we are storing information in an external data source. We would like to built a report and import that report into their UCCX CUIC System in order for the customer to have the new report along side with the UCCX built-in reports. We need to add the external data source to CUIC but I'm not sure if the strip CUIC version of UCCX can allow that. Is that possible?
    I know that with CUIC Premium we can add third party data sources into the CUIC. The Premium CUIC NFR allows that and we can create the report but for it to work in UCCX we need to add the external data source to CUIC.
    What are my options? If any?
    Thanks in advanced,
    -Jose

    Hi Jose,
    You can basically build custom reports on a standalone CUIC server and import them to the CUIC on UCCX.
    But I am not sure if this datasource is continuously polling information from the DB and giving it to the report and if this is possible.
    Please refer to the link below for creating the custom reports on CUIC in UCCX:
    https://communities.cisco.com/docs/DOC-31936
    Regards,
    Arundeep

  • Can Tivoli (TWS) be used for scheduling WebI reports in BO XI 3.1?

    I am trying to figure out if it is possible to schedule WebI reports to refresh using TWS?
    We are using BO XI 3.1 SP2 deployed on unix and would like to use TWS to refresh WebI reports that are built on SAP BW Bex queries.  Does anyone have any experience scheduling WebI reports using TWS with XI 3.1?  Any information you can provide would be appreciated!
    Thanks,
    Derek

    Hi
    I can think of two options:
    1) You define in BO CMC external events  and schedule your reports to wait for them. In the TWS you can schedule an OS script to create the file that triggers the BO external event. The reports will run only after the file is created.
    2) You write  a java program that uses the BOBJ SDK in order to schedule immediately your reports. In the TWS you create a scedule that starts the java program. (You can find examples how to use the SDK here http://www.sdn.sap.com/irj/boc/samples )
    Regards,
    Stratos

Maybe you are looking for

  • Btrieve error

    I've got a server with a Pervasive(BTrieve) Database and Crystal reports XI. When i use crystal reports from a workstation it's possible to use the Btrieve database(ODBC). When i try to do this in a terminal session on the server. I receive an btriev

  • Error message while opening a project: "an error was encountered while loading the image"

    We've run into a new error message here today: an error was encountered while loading the image It appears when we try to load a recorded project. It occurs on both the cp-file and the backup file. It's on a windows 7-machine. Anyone encountered it a

  • Will my iPod 5G Touch work with the new AppleWatch?

    Hi,   I don't own an Apple iPhone 5, 5S, 6, 6+ but only my iPod 5G Touch.   Will the new AppleWatch sync with my iPod 5G Touch in anyway?   If not, I might still buy the AppleWatch in hopes that if the rumor of a newer iPod 6 comes in the fall of 201

  • 27¨ iMac - Dead Pixel Madness!

    Hi, Today was a very interesting and exhausting day for me. I purchased a new *27¨ iMac* a few days ago, I set it up and I noticed that there is a *dead pixel*, right in the middle of the screen. I told myself to live with it but a friend of mine sai

  • HELP! Where is the Help key!

    I am running an old Powerbook G4 1GHz, and a program I am using has Cmd-Help as a key combo. I notice that there is no Help key on the Powerbook, indeed there is no help key on the new Aluminum keyboards either. Any suggestions as to where it has gon