Geman date in reports

Hello,
i have downloaded the discussion Forum from oracle.
I'm from germany and our portal language is german.
I have created a report based on the info_exchange table.
In the query i see the date format in german 'DD.MM.YY'.
If i will update the row, in the following next form, the date
format is for example '10-NOV-01'. On update, the following
message is comming : a third person have changed the row.
This Problem is only by using german language, not in english
language.
regards,
Christian Klein

Open u r report layout , click "EDIT MARGIN " one option available in the report
( means after trailer section options is available .) after that check which date field is showing ****** ,
then select that field and increase the width ,
after compile and run the report .

Similar Messages

  • Issue in Due date analysis report S_ALR_87012168

    Hi Friends,
    We have a strange issue regarding due date analysis report (S_ALR_87012168)...
    When i execute this report it displays different amounts in "Not Due" column under 0-30 bucket. In 0-30 bucket, under not due column it shows 10,000 and under total open items column it shows 15,000. How it is possible?
    Thanks to everyone
    Anifi

    Hi,
    This has been closed due to Local and Document currency prob...
    Thanks

  • Data Quality Report Error

    In DS 12.1.1.0,
    when I try to open a Data Quality Report in the Management Console I get a new Windows with the following error message:
    Fehler
    Fehler bei der Seitenformatierung: FormulaFunction hat eine unerwartete Ausnahme von der 'evaluate'-Methode ausgelöst. 
    Tomcat log stdout says:
    19-05-09 10:58:59:708 - {ERROR} sdk.JRCCommunicationAdapter Thread [http-28080-Processor24];  JRCAgent5 detected an exception: Fehler bei der Seitenformatierung: FormulaFunction hat eine unerwartete Ausnahme von der 'evaluate'-Methode ausgelöst.
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
         at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
         at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
         at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
         at com.crystaldecisions.report.web.event.b2.a(Unknown Source)
         at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
         at com.crystaldecisions.report.web.event.av.a(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
         at org.apache.jsp.jsp.dqcrystalviewer_jsp._jspService(dqcrystalviewer_jsp.java:274)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at com.acta.webapp.mdreport.servlet.JSFilter.doFilter(Unknown Source)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    Any idea how this can happen?
    Regards,
        Martin
    Edited by: Martin Bernhardt on May 19, 2009 11:03 AM

    Martin,
    can you try to change the Settings of your Internet Explorer:
    Tools --> Internet Options --> General/Appearance/Languages
    Add "English (United States) [en-US]" and move it to first place above the "German (Germany) [de]" entry?
    Niels

  • Data quality report under management consol

    I am using BO DS 4. and trying to use the data quality report under management consol. For me these reports are getting generated for every run of the address cleanse Job.
    Is it possible to get a consolidated report for a day of the Job rather then for each run? If yes, please let me know how I can do that.

    Please respond, If any body has any clue on this

  • Delivery Date-Wise Report

    Dear all
    Can I have a Delivery Date wise report for Purchase Order.
    (T.Code) and what the paramenters that I have to input.
    Manoj

    Hi
    You can get it in the ME series 2L,2M ,2N etc by giving the delivery date range but the delivery dates will not be displayed in the report. To see the PO wise delievry date see the table EKET.
    DBehera

  • How to Write Log Message in a XML Data Source Report

    Hi Friends,
    Can anyone help me out what is the process of writing a log file in the XML Data Source Report. for eg: in Plsql we use FND_LOG.PUT_LINE to print the Log message in the Concurrent Request Output. in the similar manner, when we develop a report using XML, where we write Coding in XQuery of XML, what is the process need to follow to print the logs for the XQuery.
    Any inputs/Suggestion on this Highly appreciable.
    Thanks in advance.

    Create an RMI application (for example) that writes the log, and let all logging calls call that remote application.
    Something like that is the only feasible way that doesn't require you to have a drive on the remote machine mapped to the local one (which causes its own problems as you could have multiple simultaneous write attempts...).

  • Problem with cgicmd.dat in reports 10g

    Dear Sir/Mam,
    I've configured report serve on solaris 10. When executing reports using web url with key map given in cgicmd.dat file, I'm getting a very strange problem. Whatever parameters m passing to the reports through web url an additional "=" character is appended automatically. I'm giving details of the files below. Please help me out. Thanks in advance.
    Content of rwservlet.properties:-
    SERVER_IN_PROCESS=YES
    RELOAD_KEYMAP=YES
    DIAGNOSTIC=YES
    TRACEOPTS=TRACE_ALL
    TRACEFILE=rwservlet.trc
    TRACEMODE=TRACE_REPLACE
    SERVER=test
    #IMAGEURL=http://<web_server_name>:<port_num>/reports/rwservlet
    KEYMAPFILE=cgicmd.dat
    #DBAUTH=RWDBAUTH.HTM
    #SYSAUTH=RWSYSAUTH.HTM
    #ERRORTEMPLATE=RWERROR.HTM
    #COOKIEEXPIRE=30
    ENCRYPTIONKEY=reports9i
    #DIAGBODYTAGS=<reports_servlet_help_file_title>
    #DIAGHEADTAGS=<reports_servlet_help_file_body_tag>
    #HELPURL=<url_of_customized_help_file_for_reports_servlet>
    #SINGLESIGNON=YES
    OID_ENTITY=%REPORTS_OID_ENTITY%
    #ALLOWHTMLTAGS=NO
    #REPORTS_NETWORK_CONFIG=rwnetwork.conf
    #OIDCON_INIT=10
    #OIDCON_INCREMENT=10
    #OIDCON_TIMEOUT=0
    DEFAULTCHARSET=JA16EUC
    #DEFAULTCHARSET=EUC-JP
    Content of cgicmd.dat:-
    osk47zgenp: report=%1 userid=utimainapp/utimainapp@testdb rundebug=NO desformat=delimited destype=cache mode=bitmap mast_ext=roymask.xls p_start_dt=%2 p_end_dt=%3 p_srvc_id=%4 p_sch_id=%5 p_agnt_cd=%6 p_user_id=%7 p_sesn_id=%8
    Report URL is:-
    http://10.10.100.110:8890/reports/rwservlet?osk47zgenp+rp_os424_mat_recon.rdf+30-JUN-2009+01-JAN-2010++31++shashi+1492544
    Error coming on browser:-
    REP-110: File 'rp_os424_mat_recon.rdf=' not found.
    REP-0110: Unable to open file 'rp_os424_mat_recon.rdf='.
    Content of rwservlet.trc:-
    [2011/1/19 7:37:1:624] (RWClient:doGet) enter...
    [2011/1/19 7:37:1:625] Debug 50103 (RWClient:doGet): QueryString: osk47zgenp+rp_os424_mat_recon.rdf+30-JUN-2009+01-JAN-2010++31+
    shashi1492544
    [2011/1/19 7:37:1:625] Info 50103 (RWClient:processRequest): reload key map file: s_reloadKeyMap: YES
    [2011/1/19 7:37:1:626] Debug 50103 (KeyEntry:replaceParams): report=rp_os424_mat_recon.rdf= userid=utimainapp@testdb rundebug=N
    O desformat=delimited destype=cache mode=bitmap mast_ext=roymask.xls p_start_dt=30-JUN-2009= p_end_dt=01-JAN-2010= p_srvc_id=31=
    p_sch_id=shashi= p_agnt_cd=1492544= p_user_id= p_sesn_id=
    [2011/1/19 7:37:1:626] Debug 50103 (RWClientUtility:isFromPortal): portal: null
    [2011/1/19 7:37:1:626] Debug 50103 (RWClientUtility:isFromPortal): webdbversion: null
    [2011/1/19 7:37:1:627] Info 50103 (RWClientUtility:findServer): Failed to bind to server: test
    [2011/1/19 7:37:1:627] Warning 50103 (RWClient:startInProcessServer): start inprocess server test
    [2011/1/19 7:37:1:657] Debug 50103 (NetworkUtility:getIOR): Found a server and returning the IOR
    [2011/1/19 7:37:1:658] Debug 50103 (ServerManager:getServer): Found server class object
    [2011/1/19 7:37:1:659] Debug 50103 (ServerManager:getServer): ping server successfully
    [2011/1/19 7:37:1:660] Debug 50103 (RWClientUtility:getReportsServer): server: test
    [2011/1/19 7:37:1:660] Debug 50103 (ServerManager:getServer): Found server class object
    [2011/1/19 7:37:1:660] Debug 50103 (ServerManager:getServer): ping server successfully
    [2011/1/19 7:37:1:661] Debug 50103 (AuthManager:getAuthId): server secure: false
    [2011/1/19 7:37:1:663] Debug 50103 (RWClientUtility:getReportsServer): server: test
    [2011/1/19 7:37:1:664] Debug 50103 (RWClientUtility:getReportsServer): server: test
    [2011/1/19 7:37:1:664] Debug 50103 (ServerManager:getServer): Found server class object
    [2011/1/19 7:37:1:665] Debug 50103 (ServerManager:getServer): ping server successfully
    [2011/1/19 7:37:1:666] Debug 50103 (RWClientUtility:isFromPortal): portal: null
    [2011/1/19 7:37:1:666] Debug 50103 (RWClientUtility:isFromPortal): webdbversion: null
    [2011/1/19 7:37:1:667] Debug 50103 (RWClient:runReport): cmdline: p_end_dt=01-JAN-2010= baseUrl=http://10.10.100.110:8890/report
    s/rwservlet/getfile/ userid=utimainapp@testdb USER_AGENT="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0)" p_srv
    c_id=31= SERVER_NAME=10.10.100.110 jobname="rp_os424_mat_recon.rdf=" p_sesn_id= mast_ext=roymask.xls getFilestr=/no> imagekey=re
    ports9i p_user_id= REMOTE_ADDR=10.10.105.54 SERVER_PROTOCOL=HTTP/1.1 authid=RWUser p_start_dt=30-JUN-2009= mode=bitmap REMOTE_HO
    ST=10.10.105.54 destype=cache SERVER_PORT=8890 p_sch_id=shashi= report="rp_os424_mat_recon.rdf=" expiredays=0 ACCEPT_LANGUAGE=en
    -us desformat=delimited p_agnt_cd=1492544= SCRIPT_NAME=/rwservlet rundebug=NO
    [2011/1/19 7:37:1:668] Debug 50103 (ServerManager:getServer): Found server class object
    [2011/1/19 7:37:1:669] Debug 50103 (ServerManager:getServer): ping server successfully
    [2011/1/19 7:37:1:669] Debug 50103 (ReportRunner:connectToServer): New Connection request for userid: RWUser to server: test
    [2011/1/19 7:37:1:673] Debug 50103 (ReportRunner:connectToServer): Connection succeeded for user: RWUser to server: test
    [2011/1/19 7:37:1:709] Info 51022 (ReportRunner:Release): Connection object has been released
    [2011/1/19 7:37:1:711] Exception 110 (): File 'rp_os424_mat_recon.rdf=' not found.
    REP-0110: Unable to open file 'rp_os424_mat_recon.rdf='.
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    at oracle.reports.RWExceptionHelper.read(RWExceptionHelper.java:67)
    at oracle.reports.server._ConnectionStub.runJob(_ConnectionStub.java:504)
    at oracle.reports.client.ReportRunner.dispatchReport(ReportRunner.java:288)
    at oracle.reports.rwclient.RWReportRunner.dispatchReport(RWReportRunner.java:86)
    at oracle.reports.rwclient.RWClient.runReport(RWClient.java:1671)
    at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1525)
    at oracle.reports.rwclient.RWClient.doGet(RWClient.java:366)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    [2011/1/19 7:37:1:711] Debug 50103 (RWClientUtility:isFromPortal): portal: null
    [2011/1/19 7:37:1:711] Debug 50103 (RWClientUtility:isFromPortal): webdbversion: null
    [2011/1/19 7:37:1:716] Debug 50103 (RWClientUtility:isStatusFormat): statusformat: null
    [2011/1/19 7:37:1:717] Debug 50103 (RWClientUtility:isStatusFormat): statusformat: null
    [2011/1/19 7:37:1:717] (RWClient:doGet) ...exit

    HI,
    From where can I get access of the Doc id 341188.1. Could u tell me the solution? I'm stuck with it for more than 2 weeks.
    Thanks in advance.
    Regards,
    Shashi Ranjan

  • SQL Developer Data Modeler  "Reports"  Duplicate Columns in Index- Bug

    I am using SQL Data Modeler of SQL Developer - 3.2.20.09
    Problem Description:
    In the "Indexes" section of report generated for a table, column appear twice.
    Steps to Reproduce:
    1. Create an Entity in Modeler: COMPANY, Add attributes COMP_ID and COMP_DESC to it, mark COMP_ID as PK
    2. Engineer it to Relational Model
    3. Go to 'File->Data Modeler->Reports'
    4. Select 'Available reports' = 'Table' and press 'Generate Report'
    5. View the report.
    Indexes shown for the table contains duplicate columns for COMP_ID
    Regards,

    Hi
    I've just tested with SQL Developer 3.2.20.09 and built in Data Modeler 3.1.4.710 with Data Modeler reports 11.2.0.09.87
    There is no duplicate columns for COMP_ID in the report.
    What are your versions? You can check them from Tools->Preferences->Extensions

  • Customer due date analaysis report

    Hi
    In customer due date analysis report S_ALR_87012068 figures are different from customer local currency report.  In vendors due date analysis report figures matches with vendor local currency figures. But some different amount is showing in customer due date analysis report why it so? FBL5n also showing some different amount
    Can anybody help me.
    Thanks
    jaya

    Hi
    Thanks for your reply, no entry was posted in future date. Any option is there to check carry forward fiscal year run has been done or not. Because i have checked for this year 2008 i don't know about 2007 is done or not
    Can u help me
    thanks
    jaya

  • Help With Date driven report

    I am trying to generate a list of the programs on all channels for a specific day showing the channel number, supplier, package, program name, rating code, and show time. This will be similar to a program guide, only not package specific. This is a date-driven report, therefore it should only display programs for a single date specified.
    [code/]SELECT DISTINCT
    S.PROGTIME AS "SHOWTIME",
    S.PROGNAME AS "PROGRAM TITLE",
    C.CHNUM AS "CHANNEL #",
    SU.SUPNAME AS "SUPPLIER",
    R.RATINGDESCRIPT AS "RATING"
    FROM SCHEDULE S
    CROSS JOIN CHANNELS C
    CROSS JOIN SUPPLIERS SU
    INNER JOIN PROGRAM P ON P.PROGNAME = S.PROGNAME
    INNER JOIN CHANNEL_PACKAGE CP ON CP.CHID = S.CHID
    INNER JOIN RATING R ON R.RATINGID = P.RATINGID
    WHERE S.PROGTIME='18-DEC-10'
    ORDER BY C.CHNUM
    Which gives me an undesired resulT containg rows that put names of all channels with each channel number and ends up outputting 3016 rows which there should be only 29.
    I don't know how to add my script file here since there is no option for an attachment.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Ok here is my syntax I have been working on
    SELECT DISTINCT
    S.PROGTIME AS "SHOWTIME",
    S.PROGNAME AS "PROGRAM TITLE",
    C.CHNUM AS "CHANNEL #",
    SU.SUPNAME AS "SUPPLIER",
    R.RATINGCODE AS "RATING"
    FROM SCHEDULE S
    CROSS JOIN CHANNELS C
    CROSS JOIN SUPPLIERS SU
    INNER JOIN PROGRAM P ON P.PROGNAME = S.PROGNAME
    INNER JOIN CHANNEL_PACKAGE CP ON CP.CHID = S.CHID
    INNER JOIN RATING R ON R.RATINGID = P.RATINGID
    WHERE C.CHID=S.CHID
    ORDER BY C.CHNUM;
    Here are the tables and data
    CREATE TABLE CHANNEL_TYPES(
    CHANTYPEID CHAR(10) NOT NULL,
    CHANTYPEDESC VARCHAR2(15) NOT NULL,
    PRIMARY KEY(CHANTYPEID));
    CREATE TABLE SUPPLIERS(
    SUPID NUMBER(4) NOT NULL,
    SUPNAME CHAR(4) NOT NULL,
    SUPSTADD VARCHAR2(30) NOT NULL,
    SUPCITY VARCHAR2(30),
    SUPSTATE CHAR(2),
    SUPZIP NUMBER(9),
    CONTNAME VARCHAR2(30) NOT NULL,
    CONTPHNUM VARCHAR2(15),
    CONTEMAIL CHAR(50),
    PRIMARY KEY(SUPID));
    CREATE TABLE RATING(
    RATINGID NUMBER(4),
    RATINGDESCRIPT VARCHAR(30),
    RATINGCODE VARCHAR(10),
    PRIMARY KEY(RATINGID));
    CREATE TABLE PACKAGE(
    PKGID NUMBER(6) NOT NULL,
    PKGDESC VARCHAR2(40) NOT NULL,
    PKGNAME VARCHAR2(15),
    PKGPRICE NUMBER (8,2),
    PRIMARY KEY(PKGID));
    CREATE TABLE CHANNELS(
    CHID NUMBER(5) NOT NULL,
    CHNUM NUMBER(3) NOT NULL,
    CHNAME VARCHAR2(20) NOT NULL,
    CHANTYPEID CHAR(10) NOT NULL,
    PRIMARY KEY(CHID),
    FOREIGN KEY(CHANTYPEID) REFERENCES CHANNEL_TYPES(CHANTYPEID));
    CREATE TABLE PROGRAM(
    SUPID NUMBER(4) NOT NULL,
    PROGNAME VARCHAR2(20),
    PROGDESC VARCHAR2(30) NOT NULL,
    PROGLGTH NUMBER(4),
    CHANTYPEID CHAR(10),
    RATINGID NUMBER(4),
    PRIMARY KEY(PROGNAME),
    FOREIGN KEY(SUPID) REFERENCES SUPPLIERS(SUPID),
    FOREIGN KEY(CHANTYPEID) REFERENCES CHANNEL_TYPES(CHANTYPEID),
    FOREIGN KEY(RATINGID) REFERENCES RATING(RATINGID));
    CREATE TABLE SCHEDULE(
    SCHEDID CHAR(6) NOT NULL,
    CHID NUMBER(4) NOT NULL,
    PROGNAME VARCHAR(20) NOT NULL,
    PROGTIME DATE NOT NULL,
    PRIMARY KEY(SCHEDID),
    FOREIGN KEY(PROGNAME) REFERENCES PROGRAM(PROGNAME));
    CREATE TABLE CHANNEL_PACKAGE(
    CHID NUMBER(5) NOT NULL,
    PKGID NUMBER(6) NOT NULL,
    FOREIGN KEY(CHID) REFERENCES CHANNELS(CHID),
    FOREIGN KEY(PKGID) REFERENCES PACKAGE(PKGID));
    --INSERT STATEMENTS
    INSERT INTO SUPPLIERS (SupID, SupName, SupStAdd, SupCity, SupState, Supzip, ContName, ContPhNum, ContEmail)
    VALUES ( 4578, 'NBC', '10880 WILSHIRE BLVD #1200', 'LOS ANGELES','CA','90213','JEFF KING','310-369-5231','[email protected]');
    INSERT INTO SUPPLIERS (SupID, SupName, SupStAdd, SupCity, SupState, Supzip, ContName, ContPhNum, ContEmail)
    VALUES ( 5267, 'ABC', '26547 STARS BLVD #5699', 'LOS ANGELES','CA', '90212', 'JACK CAVERISI', '310-840-9966', '[email protected]');
    INSERT INTO SUPPLIERS
    (SupID, SupName, SupStAdd, SupCity, SupState, Supzip, ContName, ContPhNum, ContEmail)
    VALUES ( 7137, 'FOX', '10960 WILSHIRE BLVD', 'LOS ANGELES','CA', '90213', 'JANIS CARMIKEL', '310-235-5233', '[email protected]');
    INSERT INTO SUPPLIERS
    (SupID, SupName, SupStAdd, SupCity, SupState, Supzip, ContName, ContPhNum, ContEmail)
    VALUES ( 3549, 'WB', '3701 W. OAK ST', 'BURBANK', 'CA','91125', 'SIMON PHILIPS', '310-532-6588', '[email protected]');
    INSERT INTO SUPPLIERS (SupID, SupName, SupStAdd, SupCity, SupState, Supzip, ContName, ContPhNum, ContEmail)
    VALUES ( 6389, 'STAR', '3291 GOLDEN LN.', 'BURBANK', 'CA', '91124', 'SOPHIA SLERPY', '310-677-9511', '[email protected]');
    INSERT INTO SUPPLIERS (SupID, SupName, SupStAdd, SupCity, SupState, Supzip, ContName, ContPhNum, ContEmail)
    VALUES (5729, 'CNN', '579 WALNUT ST. #7893', 'LOS ANGELES', 'CA', '90215', 'MILDRED FOLLEY', '310-729-5568', '[email protected]');
    INSERT INTO SUPPLIERS (SupID, SupName, SupStAdd, SupCity, SupState, Supzip, ContName, ContPhNum, ContEmail)
    VALUES (5376, 'CBS', '3499 SURVIVOR CR.', 'BURBANK', 'CA', '91125', 'SHANNON MYERS', '310-648-1064', '[email protected]');
    INSERT INTO SUPPLIERS (SupID, SupName, SupStAdd, SupCity, SupState, Supzip, ContName, ContPhNum, ContEmail)
    VALUES (7763, 'TBS', '95 TURNER BLVD.', 'ATLANTA', 'GA', '26478', 'ALEXIS COUPE', '443-752-7335', '[email protected]');
    INSERT INTO SUPPLIERS (SupID, SupName, SupStAdd, SupCity, SupState, Supzip, ContName, ContPhNum, ContEmail)
    VALUES (3675, 'LIFE', '9945 SAILOR LN.', 'NEW YORK', 'NY', '36984', 'KRISTIAN HART', '646-985-8998', '[email protected]');
    INSERT INTO SUPPLIERS (SupID, SupName, SupStAdd, SupCity, SupState, Supzip, ContName, ContPhNum, ContEmail)
    VALUES (2599, 'CW', '55890 TERRANCE DR', 'NEW YORK', 'NY', '36983', 'NANCY BOTWIND', '646-736-7349', '[email protected]');
    INSERT INTO SUPPLIERS (SupID, SupName, SupStAdd, SupCity, SupState, Supzip, ContName, ContPhNum, ContEmail)
    VALUES (8771, 'MTV', '7721 TIMES SQ. #98654', 'NEW YORK', 'NY', '36983', 'KID ROCK', '646-992-1257', '[email protected]');
    INSERT INTO SUPPLIERS (SupID, SupName, SupStAdd, SupCity, SupState, Supzip, ContName, ContPhNum, ContEmail)
    VALUES (7700, 'G4', '87264 GEEK LN.', 'NEW YORK', 'NY', '36983', 'OLIVIA MUNN', '646-753-7312', '[email protected]');
    INSERT INTO SUPPLIERS (SupID, SupName, SupStAdd, SupCity, SupState, Supzip, ContName, ContPhNum, ContEmail)
    VALUES (6666, 'FEAR', '666 ELM ST.', 'SLEEPY HOLLOW', 'NY', '36907', 'FREDDY KRUGER', '646-568-9666', '[email protected]');
    INSERT INTO RATING (RatingID, RatingDescript, RatingCode)
    VALUES ( 0001, 'GENERAL AUDIENCE', 'G');
    INSERT INTO RATING (RatingID, RatingDescript, RatingCode)
    VALUES ( 0002, 'PARENTAL GUIDENCE', 'PG');
    INSERT INTO RATING (RatingID, RatingDescript, RatingCode)
    VALUES ( 0003, 'PARENTAL GUIDENCE 13', 'PG13');
    INSERT INTO RATING (RatingID, RatingDescript, RatingCode)
    VALUES ( 0004, 'RATED', 'R');
    INSERT INTO RATING (RatingID, RatingDescript, RatingCode)
    VALUES ( 0005, 'NO ONE 17 AND UNDER ADMITTED', 'NC17');
    INSERT INTO RATING (RatingID, RatingDescript, RatingCode)
    VALUES (0006, 'MATURE', 'M');
    INSERT INTO RATING (RatingID, RatingDescript, RatingCode)
    VALUES (0007, 'NUDITY', 'N');
    INSERT INTO RATING (RatingID, RatingDescript, RatingCode)
    VALUES (0008, 'LANGUAGE', 'L');
    INSERT INTO RATING (RatingID, RatingDescript, RatingCode)
    VALUES (0009, 'MILD VIOLENCE', 'MV');
    INSERT INTO RATING (RatingID, RatingDescript, RatingCode)
    VALUES (0010, 'VIOLENCE', 'V');
    INSERT INTO RATING (RatingID, RatingDescript, RatingCode)
    VALUES (0011, 'SEXUAL CONTENT', 'SC');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('M', 'Movie');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('N', 'News');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('L', 'Lifestyle');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('D', 'Documentary');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('S', 'Sports');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('R', 'REALITY');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('C', 'CHILDREN');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('F', 'FAMILY');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('H', 'HORROR');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('I', 'INSTRUCTIONAL');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('MU','MUSIC');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('MYST', 'MYSTERY');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('NA', 'NATURE');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('RE', 'RELIGOUS');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('ROM', 'ROMANCE');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('SCIFI', 'SCIENCE FICTION');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('SO', 'SOAP OPERAS');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('TS', 'TALK SHOW');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('W', 'WESTERN');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('AD', 'ADULT');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('BIO', 'BIOGRAPHY');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('CART', 'CARTOONS');
    INSERT INTO CHANNEL_TYPES (ChanTypeID, ChanTypeDesc)
    VALUES ('SHOP', 'SHOPPING');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES(1001, 1, 'Movie Channel 1', 'M');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES(1002, 2, 'StarZ', 'M');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES(1003, 3, 'FOX News', 'N');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES(1004, 4, 'Real News', 'N');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES(1005, 5, 'Lyfetiem', 'L');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES(1006, 6, 'FIT TV', 'L');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES(1007, 7, 'Gumshoe', 'D');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES(1008, 8, 'Reality Everything', 'D');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES(1009, 9, 'Pure Gridiron', 'S');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES(1010, 10, 'NESN', 'S');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1011, 11, 'GAMESHOW NETWORK', 'L');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES ( 1012, 12, 'HSN', 'SHOP');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1013, 13, 'CARTOON NETWORK', 'CART');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1014, 14, 'ONE LIFE', 'BIO');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1015, 15, 'MY MUSIC', 'MU');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1016, 16, 'HEAVENLY TV', 'RE');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1017, 17, 'GUNSLINGER', 'W');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1018, 18, '24-7 TALK SHOWS', 'TS');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1019, 19, 'SOAPNET', 'SO');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1020, 20, 'WBFF20', 'MYST');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1021, 21, 'ABC FAMILY', 'F');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1022, 22, 'LOVETV', 'ROM');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1023, 23, 'SYFY', 'SCIFI');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1024, 24, 'OUTDOORS', 'NA');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1025, 25, 'DIY', 'I');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1026, 26, 'CHILLER', 'H');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1027, 27, 'REALTV', 'R');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1028, 28, 'ESPN', 'S');
    INSERT INTO CHANNELS (ChID, ChNum, ChName, ChanTypeID)
    VALUES (1029, 29, '5STAR', 'M');
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES(4578, 'N', 'NBC Tonight', 'News from around the world', 360, 0002);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES(7137, 'L', 'Sale of the Year', 'Game Show Lifestyle', 24, 0001);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES(3549, 'M', 'Fly Killers are Back', 'Flies attack the city once', 175, 0004);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES (5267, 'N', 'FOX ACTION NEWS', 'LOCAL NEWS', 60, 0002);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES (6389, 'M', 'MR. NICE GUY', 'MR.NICE GUY SAVES THE DAY', 120, 0003);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 3675, 'L', 'COOKING WITH FOOD', 'PREPARING A HOLIDAY FEAST', 180, 0001);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 5267, 'S', 'STEELERS VS RAVENS', 'FOOTBALL', 240, 0009);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 5376, 'S', 'US OPEN', 'CHAMPIONSHIP TENNIS', 360, 0002);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 7700, 'D', 'HISTORY VIDEO GAMES', 'THEN AND NOW', 120, 0003);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 7763, 'D', 'A WORLD AT WAR', 'WWII DOCUMENTARY', 120, 0010);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 6666, 'L', 'WHEEL O TERROR', 'GAMESHOW', 60, 0004);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 3675, 'SHOP', 'DEAL OF THE CENTURY', 'SHOPPING', 240, 0001);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 7763, 'C', 'SCOOBY DOO', 'SCOOBY AND GANG', 60, 0001);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 3675, 'BIO', 'MS13 GANG', 'INSIDE THE MS13 GANG', 120, 0010);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 8771, 'MU', '#1 VIDEOS', 'TODAYS HOTTEST VIDEOS', 300, 0011);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 6666, 'RE', 'SCRIPTURE READING', 'REV.DEAK READS ',120, 0002);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES (7700, 'W', 'GUNSLINGER', 'SHOOTOUT IN THE OLD WEST', 60, 0009);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 5729, 'TS', 'JERRY SPRINGER', 'RELATIONSHIP BREAKUPS', 60, 0011);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 4578, 'SO', 'GENERAL HOSPITAL', 'SOAP OPERA', 120, 0006);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 7137, 'MYST', '48 HOURS', 'WHO KILLED JIMMY HOFFA', 60, 0003);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 5267, 'F', 'FULL HOUSE REUNION', 'STARS FROM FULL HOUSE REUNITE', 120, 0002);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 8771, 'ROM', 'CUPIDS ARROW', 'LOVERS IN LOVE', 30, 0011);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 6666, 'SCIFI', 'WAREHOUSE 13', 'NONE AVAILIBLE', 60, 0005);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 3675, 'NA', 'DEER HUNTER EXTREME', 'HUNTING', 120, 0009);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 5729, 'I', 'FIXING THE SINK', 'HOW TO FIX LEAKY SINK', 60, 0008);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES (6666, 'H', 'SAW XX', 'RELENTLESS PSYCO KILLS AGAIN', 300, 0010);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 6389, 'AD', 'VICTORA FASHION SHOW', 'MODELS', 60, 0007);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 5267, 'S', 'UFC 300', 'PRO MMA', 300, 0010);
    INSERT INTO PROGRAM (SupID, ChanTypeID, ProgName, ProgDesc, ProgLgth, RatingID)
    VALUES ( 6389, 'M', 'NOT HOME ALONE', 'NONE AVAILABLE', 120, 0002);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1001, 1);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1001, 2);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1001, 3);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1001, 4);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1002, 1);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1002, 3);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1002, 4);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1003, 1);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1003, 2);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1003, 3);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1003, 4);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1004, 2);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1004, 4);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1005, 4);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1006, 1);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1006, 2);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1006, 3);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1006, 4);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1007, 1);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1007, 2);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1007, 3);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1007, 4);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1008, 3);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1008, 4);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1009, 1);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1009, 2);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1009, 3);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1009, 4);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1010, 3);
    INSERT INTO CHANNEL_PACKAGE(ChID,PkgID)
    VALUES (1010, 4);
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1101', 1001, 'NBC Tonight',TO_DATE('18-DEC-10 18:00', 'DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES (1102, 1002, 'Sale of the Year',TO_DATE('18-DEC-10 20:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1103', 1003, 'Fly Killers are Back',TO_DATE('18-DEC-10 20:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1104', 1004, 'FOX ACTION NEWS',TO_DATE('18-DEC-10 18:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1105', 1005, 'MR. NICE GUY',TO_DATE('18-DEC-10 11:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1106', 1006, 'COOKING WITH FOOD',TO_DATE('18-DEC-10 12:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1107', 1007, 'STEELERS VS RAVENS',TO_DATE('18-DEC-10 15:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES('1108', 1008, 'US OPEN',TO_DATE('18-DEC-10 14:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1109', 1009, 'HISTORY VIDEO GAMES',TO_DATE('18-DEC-10 13:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1110', 1010, 'A WORLD AT WAR',TO_DATE('18-DEC-10 17:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1111', 1011, 'WHEEL O TERROR',TO_DATE('18-DEC-10 17:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1112', 1012, 'DEAL OF THE CENTURY',TO_DATE('18-DEC-10 13:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1113', 1013, 'SCOOBY DOO',TO_DATE('18-DEC-10 14:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1114', 1014, 'MS13 GANG',TO_DATE('18-DEC-10 15:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1115', 1015, '#1 VIDEOS',TO_DATE('18-DEC-10 12:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1116', 1016, 'SCRIPTURE READING',TO_DATE('18-DEC-10 11:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1117', 1017, 'GUNSLINGER',TO_DATE('18-DEC-10 18:00', 'DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1118', 1018, 'JERRY SPRINGER',TO_DATE('18-DEC-10 20:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1119', 1019, 'GENERAL HOSPITAL',TO_DATE('18-DEC-10 11:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ( '1120', 1020, '48 HOURS',TO_DATE('18-DEC-10 12:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ( '1121', 1021, 'FULL HOUSE REUNION',TO_DATE('18-DEC-10 15:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1122', 1022, 'CUPIDS ARROW',TO_DATE('18-DEC-10 14:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1123', 1023, 'WAREHOUSE 13',TO_DATE('18-DEC-10 13:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1124', 1024, 'DEER HUNTER EXTREME',TO_DATE('18-DEC-10 15:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1125', 1025, 'FIXING THE SINK',TO_DATE('18-DEC-10 11:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1126', 1026, 'SAW XX',TO_DATE('18-DEC-10 12:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1127', 1027, 'VICTORA FASHION SHOW',TO_DATE('18-DEC-10 13:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1128', 1028, 'UFC 300',TO_DATE('18-DEC-10 12:00','DD-MON-YY HH24:MI'));
    INSERT INTO SCHEDULE (SchedID, ChID, ProgName, ProgTime)
    VALUES ('1129', 1029, 'NOT HOME ALONE',TO_DATE('18-DEC-10 11:00','DD-MON-YY HH24:MI'));

  • What is a purchasing data analysis report

    hell all,
    can some one plz tell me what a purchasing data analysis report is?
    thanks in advance,
    seenu
    Message was edited by:
            Seenu SAP

    Hi
    RBKP is the Invoice(vendor) header Table
    RSEG is the item table
    <b>Join RBKP and RSEG and link the RSEg EBELn and EBELP fields with the EKBE table</b>
    VTTK is the Shipment Header table and VTTP is the Item table
    VTTP has VBELN (DElivery Field) Like this like:
    Take the  EKKN (po Account assignment) -VBELN field(Sales Order) and POSNR (item) fields and pass to LIPS  to get the delivery which is nothing but the VTTP delivery.
    VTTP-VBELN pass to LIPS, take VGBEL and VGPOS (sales Order details) and pass them to EKKN Table and Take the PO and Item details.
    Reward points if useful
    Regards
    Anji

  • Need to show Previous months data in report

    Hi All,
    I have a crystal report 2011 which shows monthly Cash data. It has 3 other columns like Previous 3 months cash data, previous 6 months cash data, Previous 12 months cash data in report.
    My report also has two parameters- start date and end date. If I give Start date as 1/1/2012 and end date as 12/31/2013 (two years date range) then correct data comes in all columns and for 2013 year, correct data is coming for Previous 12 months column. But if I give only one month date range like start date as 1/1/2013 and end date as 01/31/2013, then it is not showing correct data for these 3 columns - Previous 3 months cash data, previous 6 months cash data, Previous 12 months cash data. Ideally as per requirement, it should calculate previous months data regardless of parameter values and put data in respective columns.
    Any help/suggestion? Any trick which can help me to show correct data in all columns no matter what date range or months I am taking in parameters.
    Is it mandatory to have previous 12 Months data in report to calculate column-Previous 12 months Cash data?
    Thanks,
    Remi

    Hi Remi,
    You can try like this:
    I have given a some suggestions i.e You just take one parameter only because u can imagine 3 columns previous data display correctly i.e From Date
    Month parameter is also a alternate option.
    For Ex: Column1: From Date - 90 Days/3 Months  - we get the three months previous data correctly etc.
    Finally, create a stored procedure that returns the required columns and does all the calculations on the database side.
    Follow abhilash suggestion as well.
    Useful threads: Crystal Report Parameter Issue
    Pull Last 6 months of data
    Month to date data for Previous month
    How to find current month, previous month Net Sales by means of formula?
    Thanks,
    DJ

  • APEX CSS - How do I get data in report columns to wrap?

    I found information here http://www.orafaq.com/wiki/APEX_FAQ
    About How do I get data in report columns to wrap?
    This works and another way to do it is by adding the CSS directly into the
    Home>Application Builder>Application 137>Page 1>Report Attributes>Column Attributes page
    in the Column Formatting area. I added 'white-space:normal' and this works in FF but in
    IE it has a different behavior.
    In FireFox
    testasdgadhad
    gadfadgadgadg
    adgafhsrgjsgnsfg
    nsdfbadfafhafha
    dfhadfh
    In Internet Explorer
    testasdgadhad gadfadgadgadg adgafhsrgjsgnsfg nsdfbadfafhafha dfhadfh
    Is there a way to force it so it display in IE the same way that it displays in FF?
    The correct display format is FF.
    Thanks,
    Nestor :)

    I have try this because I found it during a search and it makes no difference in IE.
    This is what I am using now 'display: block; width: 100px;max-width:100px;white-space:normal'
    I also tried 'display:block; width:500px'
    If I use the values 'normal' or 'pre' for white-space' it works in FireFox but not in IE, The display block
    does not seem to make a difference. It seems that all I need is 'white-space:normal' but again
    it does not works on IE.
    Thanks,
    Nestor :-)

  • How to fetch data in report related to fb03 , bkpf, bset table ?

    how to fetch data in report related to  fbo3, table bkpf, bset etc.
    if any body is having any report related to these tables then please share.

    Moderator message - Welcome to SCN.
    But please ask a specific questio - thread locked.
    Also, Please read Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!! and How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
    Rob

  • Date of report generation in PDF report

    How can I get the date the report was generated in the PDF output?
    I'm using oc4j.

    Darren,
    I'm using the following in BI Publisher reports.
    Report Date: <?xdoxslt:sysdate('DD-MON-YYYY')?>
    Regards,
    Todd

Maybe you are looking for

  • Lightroom 5.6 Export RAW to Resized JPEG Producing Poor Quality Images

    I have the latest Lightroom 5.6 and am running into a problem that I never had EVER and I've been using the same workflow since LR1. I shoot in RAW and want to send my client JPEG proofs (resized to 1000px, 100% quality, and 96dpi, sRGB). I use the e

  • Problem with placing a Word Document

    Hello! I am a new user of InDesign. I followed the instructions given in the tutorials on placing a document into InDesign, but it just doesn' t work. I use MS Office  Professional Plus 2010. In InDesign I do as instructed: File -> Place and pick the

  • IPad 1 internet connection issues for months--connects to modem fine

    Was hoping the 4.3 upgrade would solve my issue, but it hasn't. I've had issues with my iPad for the past few months. It connects to my wireless network and works for some time (say a day or two) and then it suddenly cannot connect to the internet. T

  • My history thread changed

    I used to be able to see all my history thread. Recently, I only can see last 60 days thread. I would like to know are there any way to view all my history thread like the forum used to be. Your information and help is great appreciated, Regards, Sou

  • Preview app crashes when I try to open jpegs on my desktop

    I can't open any jpeg that I copied to my desktop. Very frustrated, help...