Report/Form Please help

Hi All,
I need to know if there is a way to show a report with values from multiple tables that links to one form. I have limited experience and need the help.
I have a table (table3 "ProCon") that links two separate tables (table1 "Project" and table2 "Contact") via a unique key. I want to be able to show project name and contact name for user to make sure they are editing correct account when linking over to PROCON table to update or create new. I get errors no matter what I try to do.
This is our first application that we are trying to go live with and this is the only matter that is holding us up.
Help would be extremely appreciated!!!

with those different updates you can address different tables.
Of course you have to store the correct primary keys as items and use them in the where clause of the update statement.
The foreign key constraints will be automatically enforced....
Using the procon linking table is the correct way to implement many-to-many relations in a relational database.
If I look at your table schema, you have O -> C -> ProCon <- P <-SBIR
which is correct from a modeling point of view!
You can create a view which brings all the relevant infos together. About the issue of updateable views within Oracle, you should consult the manual ;-)
If I am facing a similar problem within Apex, I do construct a view for a report which brings all the relevant info together. Within the report I make cells clickable with direction to a form then....
This is maybe not as elegant, but I can use the built-in DML functions then.

Similar Messages

  • R12 upgrade issue:Not able to login using forms:Please help****urgent

    We have recently upgraded our instance from 11.5.9 to 12.0.4 in Windows 2003 server.
    We are unable to login to forms after upgrade, however we are able access self service responsibilities without any issues.
    We are getting APP-FND-01496 when we access any forms responsibility. We have tried all possible metalink notes with no luck.
    Any help to resolve this issue will be appreciated.

    Duplicate thread ...
    R12 upgrade issue:Not able to login to forms**please help
    Re: R12 upgrade issue:Not able to login to forms**please help

  • Oracle report parameters- please help

    iam working on reports 2.5 and oracle DB7.3.
    In a report parameter in order to retrive the parameters i gave
    a query as
    select docno from docket where status='A'
    for some period it has worked well.
    may be as the number of transactions have increased the report
    parameter form is not gettign loaded and when i click the report
    it gives me r25srv error.
    i could get rid of this error by restricting the parameters
    pertaining only to 2001 documents.
    the report is working but i have limited the trasactions here
    and the problem has been solved temporarily.
    my question is
    1) does the parameter field takes limited no of transactions.?
    if so what is limit to the parmeters.
    this i am asking the reason is i found some docnos got displayed
    latter i could view only junck characters in the parameter drop
    down list. This could view only once.all the time it gives
    r25srv error
    2) how can i retrive all the docnos in the parameter other than
    the above query.
    please help me

    hello Thiru
    thank u for ur help.
    here i donot find necessity of using Distinct and groupby clause.
    as the docnos are unique in the table i was referring,further
    iam not using any function so as to use groupby clause.
    Ofcourse i will try with LOV by calling reports from forms.
    This particular table contains 12000 records ,each record has 1
    doc no assigned to it.That means i want all the 12000 docs to be
    viewed in the parameter so that i can select one doc no to view
    that particular report.

  • Report Server (Please help ! )

    I have installed infrastructure and AS onsame machine. In startthe default report server (rep_myserver) performe very well but after about 60 reports it went to down. Now when i try to start it from AS Home page it start and immidiatly stoped.
    Log files are showing only start and stop time without any other details. Trace files are also empty.
    Please help me to solve this problem. Is it a configration problem or i need a patch to solveit.

    Hi UsmanRana,
    Make sure your rep_myserver.conf file has the following line in it and that it isn't commented out:
    <trace traceOpts="trace_all">
    Then restart your report server and look in the "logs" subdirectory for the rep_myserver.trc file. It should show you what happened that caused the report server to shut down.

  • My iMac is really slow and I need advice based on EtreCheck report. Please help?

    Problem description:
    Have recently found endless errors, crashes and general slowdown on my recently bought iMac Late 2013. I upgraded to Yosemite which seems to kick this off so took it to a local shop to have Mavericks re-installed as Time Machine Backup would not work. I also installed CleanmyMac to adios the trash and Memory Clean to monitor the Mac State. After running Memory Clean my memory drops continuously until about 1Gb and then Memory Clean kicks in again. The Activity Monitor shows a Kernel Task at the top of the list which, when clicked on, lists a Fault Figure which also is ever increasing. Please help?
    EtreCheck version: 2.0.11 (98)
    Report generated 26 November 2014 18:01:58 GMT
    Hardware Information: ℹ️
      iMac (27-inch, Late 2013) (Verified)
      iMac - model: iMac14,2
      1 3.4 GHz Intel Core i5 CPU: 4-core
      8 GB RAM Upgradeable
      BANK 0/DIMM0
      4 GB DDR3 1600 MHz ok
      BANK 1/DIMM0
      4 GB DDR3 1600 MHz ok
      BANK 0/DIMM1
      empty empty empty empty
      BANK 1/DIMM1
      empty empty empty empty
      Bluetooth: Good - Handoff/Airdrop2 supported
      Wireless:  en1: 802.11 a/b/g/n/ac
    Video Information: ℹ️
      NVIDIA GeForce GTX 775M - VRAM: 2048 MB
      iMac 2560 x 1440
    System Software: ℹ️
      OS X 10.9.5 (13F34) - Uptime: 5:8:21
    Disk Information: ℹ️
      APPLE HDD ST1000DM003 disk0 : (1 TB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 999.35 GB (841.57 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
      Western Digital My Passport 07B8 2 TB
      S.M.A.R.T. Status: Verified
      EFI (disk2s1) <not mounted> : 210 MB
      Main BackUp (disk2s2) /Volumes/Main BackUp : 2.00 TB (830.61 GB free)
      Western Digital My Passport 0730 1 TB
      S.M.A.R.T. Status: Verified
      WFAW (disk1s1) /Volumes/WFAW : 1.00 TB (130.61 GB free)
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Inc. MacBook Air SuperDrive
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [running] com.adobe.AdobeCreativeCloud.plist Support
      [running] com.bitdefender.antivirusformac.plist Support
      [loaded] org.macosforge.xquartz.startx.plist Support
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.bitdefender.AuthHelperTool.plist Support
      [loaded] com.bitdefender.upgrade.plist Support
      [loaded] com.macpaw.CleanMyMac2.Agent.plist Support
      [loaded] Support
      [loaded] org.macosforge.xquartz.privileged_startx.plist Support
    User Launch Agents: ℹ️
      [loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
      [loaded] com.valvesoftware.steamclean.plist Support
    User Login Items: ℹ️
      iTunesHelper ApplicationHidden (/Applications/
      Moveslink2 Application (/Applications/
      CleanMyDrive Application (/Applications/
    Internet Plug-ins: ℹ️
      AdobeAAMDetect: Version: AdobeAAMDetect - SDK 10.7 Support
      FlashPlayer-10.6: Version: - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.3
      Flash Player: Version: - SDK 10.6 Support
      Default Browser: Version: 537 - SDK 10.9
      SharePointBrowserPlugin: Version: 14.4.0 - SDK 10.6 Support
      Silverlight: Version: 5.1.30317.0 - SDK 10.6 Support
    Safari Extensions: ℹ️
    3rd Party Preference Panes: ℹ️
      Flash Player  Support
    Time Machine: ℹ️
      Skip System Files: NO
      Auto backup: YES
      MyPassport [Local]
      Total size: 2.00 TB
      Total number of backups: 46
      Oldest backup: 2014-06-15 15:59:27 +0000
      Last backup: 2014-11-26 18:00:11 +0000
      Size of backup disk: Excellent
      Backup size 2.00 TB > (Disk size 0 B X 3)
    Top Processes by CPU: ℹ️
          3% WindowServer
          3% mds
          1% fontd
          0% AppleSpell
          0% ocspd
    Top Processes by Memory: ℹ️
      335 MB BDLDaemon
      241 MB Safari
      189 MB
      103 MB WindowServer
      94 MB Finder
    Virtual Memory Information: ℹ️
      4.37 GB Free RAM
      2.16 GB Active RAM
      1.12 GB Inactive RAM
      938 MB Wired RAM
      733 MB Page-ins
      0 B Page-outs

    The main cause of slow system is due to certain heavy applications running in the background
    We agree on that.
    or because of duplicate and hidden files.
    Files visible, hidden, the same as other files, do not do anything, unless they happen to cause the disk to be completely or nearly full.  Otherwise they are just 1's and 0's.  They are passive (speaking as a paid file system developer).
    These files can't be easily removed.
    If they can't be removed, then they are essential to the proper operation of the operating system (such as /private/var/vm/swapfie(s)).  And if you have huge swapfile(s), then it is an indication of running too many RAM hungry apps concurrently, or a Mac that could use more RAM.
    So I think using speed up Mac software is the best solution.
    Hang around these forums long enough and you will see that in many cases those speed up, clean up, anti-malware apps "ARE" the "certain heavy applications running in the background" to use your own words.  It has been the experience of the long time forum contributors that once these 3rd party utilities are removed, most performance issues and system panics go away.

  • Getting Error in Viewing Report..Please help

    Post Author: gauravitech
    CA Forum: JAVA
    Hi All,
      I am new to Crystal Report world.. I am trying to integrate Crystal Report with FileNet. FileNet has its own API to call webservices for Crystal report which bring reports back to the web application. I am getting some error like incopatible cast type objects. Please help me to resolve this..For me it seems to  be a jar problem
    Thanks in advance for your replies....
    Below is the error:
    Error Message:com.crystaldecisions.xml.serialization.SaveOption.setTimeZone(Ljava/util/TimeZone;)VException Class:java.lang.NoSuchMethodErrorStack Trace:java.lang.NoSuchMethodError: com.crystaldecisions.xml.serialization.SaveOption.setTimeZone (Ljava/util/TimeZone;)V    at com.crystaldecisions.proxy.remoteagent.TCPIPCommunicationAdapter.setTimeZone (Unknown Source)    at (Unknown Source)    at (Unknown Source)    at (    at (    at (    at com.filenet.wcm.toolkit.server.base.WcmController.broadcastStartPageEvent (    at com.filenet.wcm.toolkit.server.base.WcmController.initializeModulesWork (    at com.filenet.wcm.toolkit.server.base.WcmController.initializeModules (    at com.filenet.wcm.toolkit.server.base.WcmController.initializeModules (    at com.filenet.wcm.toolkit.server.base.WcmController.handleEvent (    at com.filenet.wcm.apps.server.controller.WcmWorkplaceController.handleEvent (    at com.filenet.wcm.toolkit.server.base.WcmController.handleEvent (    at jsp_servlet._reports.__rmviewreport._jspService (    at weblogic.servlet.jsp.JspBase.service (    at weblogic.servlet.internal.ServletStubImpl$ (    at weblogic.servlet.internal.ServletStubImpl.invokeServlet (    at weblogic.servlet.internal.ServletStubImpl.invokeServlet (    at weblogic.servlet.internal.WebAppServletContext$ (    at (    at (    at weblogic.servlet.internal.WebAppServletContext.invokeServlet (    at weblogic.servlet.internal.ServletRequestImpl.execute (    at weblogic.kernel.ExecuteThread.execute (    at (

    Post Author: Ted Ueda
    CA Forum: JAVA
    If SaveOption doesn't have setTimeZone method, then my best guess is that either Serialization.jar file is from a version older than it should be, or rasapp.jar is newer than it should be - there might be a mixing of jar files from different versions of the RAS SDK.  I'd recommend cleaning out the jars and copying then anew from the installation folder.
    Ted Ueda

  • Report format - Please help urgently

    We have an AR report with the following format.
    Customer - Document No -Payment terms
    Currently, the report rows shows for one customer ( Text and Key) for various document number and Payment terms.
    Customer 1 - Document no1 - payment terms1
                      - Document no2 - payment terms2
                      - Document no3 - payment terms3
                      - Document no4 - payment terms4
    Customer 2 - Document no5 - payment terms5
                      - Document no6 - payment terms6
    But, the requirement is as below. Every line needs to show the customer no for all the rows.
    Customer 1 - Document no1 - payment terms1
    Customer 1 - Document no2 - payment terms2
    Customer 1 - Document no3 - payment terms3
    Customer 1 - Document no4 - payment terms4
    Customer 2 - Document no5 - payment terms5
    Customer 2 - Document no6 - payment terms6
    Please help.
    BW Learner

    Right click on the query results and choose properties at the bottom of the pop menu.  Uncheck the option titled "Suppress Repeated Key Values" then click okay.   Your query will update the results and you should see all characteristics now, even if they are repeated.

  • Oracle Reports Team Please Help..! Arabic Reports PDF not working in Solaris

    I am not able to Generate Arabic PDF reports (HTMLCSS is working fine with me.....)
    O/s is Solaris........O/s supports Arabic....
    NLS_LANG is set to "ARABIC_EGYPT.AR8ISO8859P6"
    In place of arabic content its showing Junk characters..... In win2k Its working fine........ I have checked my uifont.ali I am giving my PDF section details..
    [ PDF:Embed ]
    helvetica = "helvetica.afm helvetica.pfa"
    [ PDF:Subset ]
    Arial = "Arial.ttf"
    helvetica = "Arial.ttf"
    "Andale Duospace WT J" = "Aduoj.ttf"
    "Albany WT J"="AlbanWTJ.ttf"
    "MS UI Gothic" = "msgothic.ttc"
    And i have Included the Fonts folder entry in REPORTS_PATH variable entries...Is there any thing needs to be done.....??????
    Why its not working in Solaris........PLEASE HELP ME OUT...........!!!!!
    Thanks in Advance........
    sharat ([email protected])

    Hi Sharat
    I see that you have two entries for helvetica font in your uifont.ali. Be aware that order of precedence is alias->embed->subset. If the helvetica part is appearing junk, try and comment out the entry in embed section and let the subsetting happen.
    On Solaris, ensure that the case of font file names match.

  • Getting data to show from context in adobe pdf form - Please help

    I need to get data passed to pdf based print form.
    Here are the steps i perfomed to bring the data to the form:
    1) created adobe form layout and context in sfp tcode
    2) created interface in sfp tcode. used a copy of a standard sap interface with the code initialization intact.
    3) dragged fields from interface to context
    4) did default binding in object palette of the form fields in the layout to the respective fields from context
    still, the data is not getting displayed in the form layout when the form is executed, whereas it is getting displayed in the standard form.
    Am I missing something here... Please help me as this is urgent.
    Points will be rewarded for helpful answers.


  • Need help with Flash/PHP online form, please help, URGENT!

    ive made my online form with the scripts shown below, when i
    submit i dont get any errors... but i also dont receive any emails
    from the form, if you can see anything that ive done wrong please
    help me out..
    $fname = $_REQUEST["fname"];
    $mail = $_REQUEST["mail"];
    $add1 = $_REQUEST["add1"];
    $add2 = $_REQUEST["add2"];
    $add3 = $_REQUEST["add3"];
    $town = $_REQUEST["town"];
    $county = $_REQUEST["county"];
    $postcode = $_REQUEST["postcode"];
    $telephone = $_REQUEST["telephone"];
    $subject = $_REQUEST["subject"];
    $message = $_REQUEST["message"];
    $full_message = $_SERVER['REMOTE_ADDR'] . "\n\n" . $message;
    $message= $full_message;
    $fname = stripslashes($fname);
    $mail = stripslashes($mail);
    $add1 = stripslashes($add1);
    $add2 = stripslashes($add2);
    $add3 = stripslashes($add3);
    $town = stripslashes($town);
    $county = stripslashes($county);
    $postcode = stripslashes($postcode);
    $telephone = stripslashes($telephone);
    $subject = stripslashes($subject);
    $message = stripslashes($message);
    $subject = "Vision Ten Online Form ". $subject;
    if(isset($fname) and isset($mail) and isset($add1) and
    isset($add2) and isset($add3) and isset($town) and isset($county)
    and isset($postcode) and isset($telephone) and isset($subject) and
    mail("[email protected]", $fname, $mail, $add1,
    $add2, $add3, $town, $county, $postcode, $telephone, $subject,
    $message "From: $mail");
    -------------------------------------------------------PHP-------------------------------- ----------------------------------
    for the
    System.useCodepage = true
    this.sent.onRelease = function () {
    my_vars = new LoadVars ();
    my_vars.fname = fname_box.text;
    my_vars.mail = mail_box.text;
    my_vars.add1 = add1_box.text;
    my_vars.add2 = add2_box.text;
    my_vars.add3 = add3_box.text; = town_box.text;
    my_vars.county = county_box.text;
    my_vars.postcode = postcode_box.text;
    my_vars.telephone = telephone_box.text;
    my_vars.subject = subject_box.text;
    my_vars.message = message_box.text;
    if (my_vars.fname !="" and my_vars.mail !="" and
    my_vars.add1 !="" and !="" and my_vars.county !="" and
    my_vars.postcode !="" and my_vars.telephone !="" and
    my_vars.subject !="" and my_vars.message !="") {
    my_vars.sendAndLoad("script/mailer.php", my_vars, "POST");
    } else {
    my_vars.onLoad = function (){
    fname_box.onSetFocus = mail_box.onSetFocus =
    add1_box.onSetFocus = add2_box.onSetFocus = add3_box.onSetFocus =
    town_box.onSetFocus = county_box.onSetFocus =
    postcode_box.onSetFocus = telephone_box.onSetFocus =
    subject_box.onSetFocus = message_box.onSetFocus = function () {
    if (error_clip._currentframe !=1) {
    -----------------------------------------------ACTIONSCRIPT------------------------------- ---------------------------

    that php mail function looks suspect. that should be

  • Panic Report troubleshoot - please help

    New to these reports. Can someone please help me decipher what the Panic Report is stating? Only change on laptop was upgraded to 16gb Crucial Memory.
    Only happens when I do a "Shutdown" but not on a "Restart" - Report comes up then restarts itself - in which it boots up fine afterwards. Any help would be great thanks!
    Anonymous UUID:       7D6EED65-32FA-79A7-CA57-520860203E06
    Tue Nov 18 12:36:05 2014
    *** Panic Report ***
    panic(cpu 2 caller 0xffffff802dfd867f): "Invalid queue element pointers for 0xffffff804be07f80: next 0 prev 0"@/SourceCache/xnu/xnu-2782.1.97/osfmk/kern/queue.h:133
    Backtrace (CPU 2), Frame : Return Address
    0xffffff82161a32b0 : 0xffffff802df3a811
    0xffffff82161a3330 : 0xffffff802dfd867f
    0xffffff82161a3390 : 0xffffff802dfdafd3
    0xffffff82161a33c0 : 0xffffff802dfa575c
    0xffffff82161a34c0 : 0xffffff802dfb6bd8
    0xffffff82161a35d0 : 0xffffff802dfacd2c
    0xffffff82161a3600 : 0xffffff802dfa9013
    0xffffff82161a3630 : 0xffffff802df431ba
    0xffffff82161a3650 : 0xffffff802df439f9
    0xffffff82161a3670 : 0xffffff7fb05b5693
    0xffffff82161a37d0 : 0xffffff802e18feac
    0xffffff82161a3820 : 0xffffff802e18d833
    0xffffff82161a38d0 : 0xffffff802e347436
    0xffffff82161a39b0 : 0xffffff802e446372
    0xffffff82161a3ac0 : 0xffffff802df952a8
    0xffffff82161a3b10 : 0xffffff802df943f3
    0xffffff82161a3b50 : 0xffffff802df9f75b
    0xffffff82161a3d00 : 0xffffff802dfa3902
    0xffffff82161a3f20 : 0xffffff802e01ec9c
    0xffffff82161a3fb0 : 0xffffff802e03a355
          Kernel Extensions in backtrace:
   [988D8F4D-CE96-34 83-AE31-E833D2AD74DD]@0xffffff7fb05b4000->0xffffff7fb05b8fff
    BSD process name corresponding to current thread: bash
    Mac OS version:
    Kernel version:
    Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64
    Kernel UUID: 89E10306-BC78-3A3B-955C-7C4922577E61
    Kernel slide:     0x000000002dc00000
    Kernel text base: 0xffffff802de00000
    __HIB  text base: 0xffffff802dd00000
    System model name: MacBookPro9,2 (Mac-6F01561E16C75D06)
    System uptime in nanoseconds: 21055305981
    last loaded kext at 2719821287: 240.2 (addr 0xffffff7fafe0d000, size 20480)
    loaded kexts: 240.2 240.2 240.2 327.5 471 3.0.1 1.0.0d1 1.0.0d1 35 3.7.0 404 2.6.5 800.20.24 901.19.10 10.1.2b3 1.6.5 705.4.1 5.5.2 3.0.7 705.4.14 705.4.14 161.0.0 2.0 3.1 1.8 2.1 3.1 1.7 218.0.0 161 3 8 218.0.0 245.2 705.4.0 705.4.0 705.4.9 471 3.7.0 1.7 1.7.1 1.7.1 4.0.6 4.0.6 2.0.2 2.6.1 3.7.0 3.1.7 4.2.1 700.52 1.0.3b3 1.0.1b8 3.2 4.5.6 2.7.0 705.4.14 2.0 2.0 2.0.0 1.1 300.0 1.0.0d1 2 1.0.5 1.0 389.1 2.0 31 28.30 3.1 2.9 1.4 1.0 1 1
    Model: MacBookPro9,2, BootROM MBP91.00D3.B08, 2 processors, Intel Core i5, 2.5 GHz, 16 GB, SMC 2.2f44
    Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
    Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x859B, 0x43543130323436344246313630422E543136
    Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x859B, 0x43543130323436344246313630422E543136
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (
    Bluetooth: Version 4.3.1f2 15015, 3 services, 27 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: APPLE HDD HTS547550A9E384, 500.11 GB
    Serial ATA Device: MATSHITADVD-R   UJ-8A8, 812.9 MB
    USB Device: Hub
    USB Device: FaceTime HD Camera (Built-in)
    USB Device: Hub
    USB Device: Hub
    USB Device: Apple Internal Keyboard / Trackpad
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    USB Device: IR Receiver
    Thunderbolt Bus: MacBook Pro, Apple Inc., 25.1

    The memory may be defective or incompatible, or it may not have installed properly. Clean the contacts with a mild solvent such as rubbing alcohol, and avoid touching them.

  • Report Problem, please help

    hello everyone,
    our company buy/purchase materials but we do not sell the items that we have bought, we use it in the company internally. the new items that was bought is stock in the Warehouse, and it will be withdrawn by each department that will use the item. we use the Goods Issue function of SBO so that we can charge the value of the item against the withdrawing party. now this is what i want to happened in my report
    ItemCode = A0001           ItemDesc = Test Item
    AcctCode       AcctName      DocNum        Quantity
    10000000       Accounting      111               5
    10000000       Accounting      112               5
    10000000       Accounting      113               5
    10000001      Engineering      114               3
    10000001      Engineering      115               3
    10000002      IT                     116              4
    10000002      IT                     117              1
    Grand Total                                              26
    I did some query but i cannot achieve my desired report look like and specially the details of the report. anyway this is my query
    SELECT T0.DocNum, T0.DocDate, T2.FormatCode,T2.AcctName,  T1.ItemCode, T1.Dscription, T1.Quantity FROM OIGE T0  INNER JOIN IGE1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OACT T2 ON T1.AcctCode = T2.AcctCode WHERE T1.ItemCode = '[%0]' AND  T0.DocDate >= '[%1]' AND  T0.DocDate <=  '[%2]' ORDER BY T2.FormatCode
    i saved this query, and tried if i can achieve my desire report in query print layout, adding Sort and Sub total is not possible coz it is disabled in query print layout. im really having a hard time on how to achieve this report..
    please, if u have idea on how i can achieve this report, share your ideas and expertise.
    thanks in advance.

    Hi Avelino Fidel,
    XL Reporter should be installed at Server because it created seperate database at SQL.
    MS Excel 2007 is not supported. MS Excel 2005 is needed.
    From below link u can find pdf file
    welcome u for reward me by giving points, If it is really helpfull to u.
    Suresh Yerra.

  • Why is my mac (OS X Lion) logging me off and shutting down randomly? Also web browsers (safari, chrome and mozilla) and applications (word, excel) are shutting down and then have error reports? Please help!!

    My Mac (OS X Lion) keeps logging me off and shutting down randomly.. Also my web browsers (Chrome, Mozilla & Safari) keep quitting and so do my applications (word, excel).. Please help!

    My Mac (OS X Lion) keeps logging me off and shutting down randomly.. Also my web browsers (Chrome, Mozilla & Safari) keep quitting and so do my applications (word, excel).. Please help!

  • Trying out Survey reporting options (Please help)

    I am attempting to create a survey - our company does not use an LMS (we use Captivate for simulation videos), so I believe the best option for reporting is using
    Any suggestions would be welcome!
    First question: What is the best reporting option to get simple survey results back to a user (me) without an LMS?
    Second question: How do I accept the user agreement (see screenshot)?

    Hi there,
    If you do not have an LMS, then you can get the reporting using  or Internal Server Reporting. You need to have Quiz results analyzer at your end to get the reports.
    Please log on to and accept the end user license agreement after logging there, then configure settings in Captivate.

  • Purchasing Report Errors - Please Help

    Hey everyone!
    I am an SAP newb so bear with me please. I am having issues with a the Purchasing report on our system.
    The report takes parameters determining the time period for which the report is to be run, ex: from Jan 1 2008 - Aug 1 2008.
    The values returned by the report are:
    Item code
    Item Name
    Purch Unit
    Available units
    Units on Order (how many are currently dedicated to an already placed order)
    Purchase Factor
    Purchase Price
    Purchase Currency
    Avg Price
    Stock Value
    MonthToDate Sales (calculates total sales for item within time period)
    Average Sales (calculates the average sale for item within time period)
    Sales Factor
    Month on Order
    Month on Stock
    The Problems are occuring with: Month to Date Sales and Average Sales. As well as Month on Order and Month on Stock, however these are secondary.
    The report in SAP is as follows:
    declare @FrmWhs varchar(8),
    @ToWhs varchar(8),
    @WhsLst varchar(254),
    @GroupCode int,
    @FrmItm varchar(20),
    @ToItm varchar(20),
    @MthAgo int,
    @GroupName varchar(20),
    @HistStart varchar(6),
    @HistEnd varchar(6),
    @ShowInactive varchar(1)
    SELECT @FrmWhs = T0.U_FrmWhs,
    @ToWhs = T0.U_ToWhs,
    @WhsLst = T0.U_WhsLst,
    @GroupCode = T1.ItmsGrpCod,
    @FrmItm = T0.U_FrmItm,
    @ToItm = T0.U_ToItm,
    @MthAgo = T0.U_MthAgo,
    @HistStart = T0.U_Hist1,
    @HistEnd = T0.U_Hist2,
    @ShowInactive = T0.U_Inact
    FROM [email protected] T0, dbo.OITB T1
    WHERE T0.U_FrmWhs = '%0'
    AND T0.U_ToWhs = '%1'
    AND T0.U_WhsLst = '%2'
    AND T1.ItmsGrpNam = '%3'
    AND T1.Locked = 'X'
    AND T0.U_FrmItm = '%4'
    AND T0.U_ToItm = '%5'
    AND T0.U_MthAgo = %6
    AND T0.U_Hist1 = '%7'
    AND T0.U_Hist2 = '%8'
    AND T0.U_Inact = '%9'
    SET @GroupName = '%3'
    IF @GroupName = ''
    SET @GroupCode = 0
    SELECT @GroupCode = T2.ItmsGrpCod
    FROM dbo.OITB T2
    WHERE T2.ItmsGrpNam = @GroupName
    SET @FrmWhs = '%0'
    SET @ToWhs = '%1'
    SET @WhsLst = '%2'
    SET @FrmItm = '%4'
    SET @ToItm = '%5'
    SET @MthAgo = %6
    SET @HistStart = '%7'
    SET @HistEnd = '%8'
    SET @ShowInactive = '%9'
    exec dbo.xxPurchReport @FrmWhs,@ToWhs,@WhsLst,@GroupCode,@FrmItm,@ToItm,@MthAgo,@HistStart,@HistEnd,@ShowInactive
    I do not fully understand how the SQL query (the stored procedure) dbo.xxPurchasing Report calculates these numbers. If it is helpful, I could post the SQL query in its entirety or in part.
    Thank you very much for your willingness to help. It is quite frustrating for me and it is so great to have knowledgeable people here to help

    Thanks. That makes sense.
    I am not a database guy, but from my limited knowledge, so here is the query in its entirety:
    ALTER  proc xxPurchReport (
         @FromWhs varchar(8) = null,
         @ToWhs varchar(8) = null,
            @WhsList varchar(255) = null,
            @GroupCode int = null,
         @FromItem varchar(20) = null,
         @ToItem varchar(20) = null,
         @MonthsAgo int = 1,
            @HistStart varchar(6) = null,
            @HistEnd varchar(6) = null,
            @ShowInactive char(1) = 'Y')
        set NOCOUNT ON
        DECLARE @StartDate datetime,
                @EndDate datetime,
                @Today datetime,
                @Periods int
        CREATE TABLE #tempwhs(WhsCode varchar(8))
        if @WhsList is null or LTRIM(RTRIM(@WhsList)) = ''
           if @FromWhs is null
              set @FromWhs = ''
           if @ToWhs is null or LTRIM(RTRIM(@ToWhs)) = ''
              set @ToWhs = 'ZZZZZZZZ'
           insert into #tempwhs
           select WhsCode
             from OWHS
            where WhsCode between @FromWhs and @ToWhs
           set @WhsList = ',' + @WhsList + ','
           insert into #tempwhs
           select WhsCode
             from OWHS
            where charindex(',' + WhsCode + ',',@WhsList) > 0
        if @GroupCode = 0
           set @GroupCode = null
        if @FromItem is null
           set @FromItem = ''
        if @ToItem is null or LTRIM(RTRIM(@ToItem)) = ''
            set @ToItem = 'ZZZZZZZZZZZZZZZZZZZZ'
        if @MonthsAgo is null
           set @MonthsAgo = 0
        if @MonthsAgo > 0
           set @MonthsAgo = @MonthsAgo * -1
        select @StartDate = dateadd(mm,@MonthsAgo,cast(cast(year(getdate()) as varchar(4)) + right(cast(month(getdate()) + 100 as varchar(3)),2) + '01' as datetime)),
               @EndDate = dateadd(mi,-1,dateadd(mm,@MonthsAgo,dateadd(mm,1,cast(cast(year(getdate()) as varchar(4)) + right(cast(month(getdate()) + 100 as varchar(3)),2) + '01' as datetime)))),
               @Today = cast(convert(varchar(8),getdate(),112) as datetime)
        if isnull(@HistStart,'') = '' or isnull(@HistEnd,'') = ''
           select @HistEnd = left(convert(varchar(8),@StartDate - 1,112),6),
                  @HistStart = left(convert(varchar(8),dateadd(yyyy,-1,@StartDate),112),6)
        select @Periods = count(distinct period)
          from XXSalesHistory
         where period between @HistStart and @HistEnd
         select itemcode,whscode,cast(round(cast(sum(totsale) as decimal(12,5)) / @Periods,2) as decimal(12,5)) as AvgSale,
                cast(round(cast(sum(totqty) as decimal(12,5)) / @Periods,0) as int) as AvgQty
           into #tmpavg
           from XXSalesHistory
          where period between @HistStart and @HistEnd
          group by itemcode,whscode
          order by 1
        Select ItmGrp.ItmsGrpNam,lines.ItemCode,lines.WhsCode,
               items.CardCode as DefaultVendor,items.ItemName,
               whs.OnHand,items.SalUnitMsr as SaleUnit,items.BuyUnitMsr as PurchUnit,whs.IsCommited,
               (whs.OnHand - whs.IsCommited) as Available,whs.OnOrder,items.PurFactor2,
               isnull(purprc.Price,0) as PurchasePrice,
               isnull(purprc.Currency,'USD') as PurchCurrency,
               cast(whs.OnHand / (CASE WHEN items.PurFactor2 = 0 THEN 1 ELSE items.PurFactor2 END) as decimal(16,2)) as CS,
               whs.AvgPrice,prc.Price,isnull(prc.Currency,'USD') as Currency,isnull(whs.StockValue,0) as StockValue,
               cast(sum(case lines.usebaseun
                   when 'Y' then   Lines.OpenCreQty
                   else ( Lines.OpenCreQty  * Items.NumInSale) end) as integer) as MtdSales,
               isnull(hst.AvgQty,0) as AvgSales,items.SalFactor2
          into #temprpt
          From OINV Main,
               INV1 Lines,
               OITM Items,
               OITB ItmGrp,
               OITW whs
                    left outer join #tmpavg hst
                         on hst.ItemCode = whs.ItemCode and hst.WhsCode = whs.WhsCode,
               ITM1 prc,
               ITM1 purprc
         Where Main.DocDate between @StartDate and @EndDate
           And Main.Instance = 0
           And Main.Canceled = 'N'
           and Main.DocEntry = Lines.DocEntry and lines.LineTotal <> 0
           and lines.ItemCode between @FromItem and @ToItem
           and lines.whscode collate database_default in (select WhsCode from #tempwhs)
           and Items.ItemCode = Lines.ItemCode
           and items.PrchseItem = 'Y'
           and (@ShowInactive = 'Y' or Items.frozenfor = 'N')
           and ItmGrp.ItmsGrpCod = Items.ItmsGrpCod
           and ItmGrp.ItmsGrpCod = isnull(@GroupCode,ItmGrp.ItmsGrpCod)
           and whs.ItemCode = lines.ItemCode and whs.WhsCode = lines.WhsCode
           and prc.ItemCode = items.Itemcode
           and prc.PriceList = (CASE WHEN whs.whscode = '02' THEN 6 else 2 END)
           and purprc.ItemCode = items.Itemcode
           and purprc.PriceList = (CASE WHEN whs.whscode = '02' THEN 10 else 1 END)
         Group BY
            cast(whs.OnHand / (CASE WHEN items.PurFactor2 = 0 THEN 1 ELSE items.PurFactor2 END) as decimal(16,2)),
        select grp.ItmsGrpNam,itm.ItemCode,whs.WhsCode,itm.CardCode as DefaultVendor,
               itm.ItemName,whs.OnHand,itm.SalUnitMsr as SaleUnit,itm.BuyUnitMsr as PurchUnit,
               (whs.OnHand - whs.IsCommited) as Available,whs.OnOrder,itm.PurFactor2,purprc.Price,
               isnull(purprc.Currency,'USD') as PurchCurrency,
               cast(whs.OnHand / (CASE WHEN itm.PurFactor2 = 0 THEN 1 ELSE itm.PurFactor2 END) as decimal(16,2)) as CS,
               whs.AvgPrice,prc.Price,isnull(prc.Currency,'USD') as Currency,isnull(whs.StockValue,0) as StockValue,0,
               isnull(hst.AvgQty,0) as AvgSales,itm.SalFactor2
        from OITM itm,
             OITB grp,
             OITW whs
                  left join(INV1 lines inner join OINV main
                    on lines.DocEntry = main.DocEntry and lines.LineTotal <> 0
                       and main.Canceled = 'N' and main.instance = 0
                       and Main.DocDate Between @StartDate and @EndDate)
                    on whs.ItemCode = lines.ItemCode and whs.WhsCode = lines.WhsCode
                  left outer join #tmpavg hst on hst.ItemCode = whs.ItemCode and hst.WhsCode = whs.WhsCode,
             ITM1 prc,
             ITM1 purprc
            where itm.ItemCode between @FromItem and @ToItem
              and itm.PrchseItem = 'Y'
              and (@ShowInactive = 'Y' or itm.frozenfor = 'N')
              and grp.ItmsGrpCod = itm.ItmsGrpCod
              and grp.ItmsGrpCod = isnull(@GroupCode,grp.ItmsGrpCod)
              and whs.ItemCode = itm.ItemCode
              and whs.WhsCode collate database_default in (select WhsCode from #tempwhs)
              and main.DocEntry is null
              and prc.ItemCode = itm.Itemcode
              and prc.PriceList = (CASE WHEN whs.whscode = '02' THEN 6 else 2 END)
              and purprc.ItemCode = itm.Itemcode
              and purprc.PriceList = (CASE WHEN whs.whscode = '02' THEN 10 else 1 END)
        group by grp.ItmsGrpNam,itm.ItemCode,whs.WhsCode,itm.CardCode,
           cast(whs.OnHand / (CASE WHEN itm.PurFactor2 = 0 THEN 1 ELSE itm.PurFactor2 END) as decimal(16,2)),
        select r.*,
               cast((CASE WHEN r.OnOrder = 0
                THEN 0
                ELSE (CASE WHEN r.AvgSales = 0
                           THEN (CASE WHEN r.MtdSales = 0 THEN 999 ELSE r.OnOrder / r.MtdSales END)
                           ELSE r.OnOrder / r.AvgSales
                END) as decimal(9,1)) as MonthsOnOrder,
               cast((CASE WHEN r.Available <= 0 THEN 0
                     ELSE (CASE WHEN r.AvgSales <= 0 THEN 999
                     ELSE r.Available / r.AvgSales END) END) as decimal(9,1)) as MonthsInStock
          from #temprpt r
         order by 1,2,3
    I hope that is not too overwhelming, it is for me so any help you have to offer is truly appreciated. I am not trained in SAP but they have no one else. Thanks alot everyone!

Maybe you are looking for