DIscoverer output different from toad

Hi
I have an apps mode EUL (Discoverer 10.1.2.2 , EBS R12 and Oracle 11g database)
I have a custom folder for onhand material analysis.
The output will be something like below
Item Onhand Batch Start Date Requirement for this batch Net-Onhand
ABC 1000 22-Jul-2009 100 900
ABC 900 24-Jul-2009 50 850
ABC 850 26-Jul-2009 25 825
And so on sorted by item and batch start date
The purpose is to view demand vs availability for a time span,
And if an item satisfies all the demand (final net-onhand >0) it need not be shown in the report.
The custom folder i wrote worked alright during testing for 5 items and date range of 6 months.
However, it is showing wrong results when run for all items in an org for a given planner.
This when the sql itself when run in toad does work as expected.
Here is my sql. The conditions commented out are applied at the workbook. What could be reason for the difference in the query output in discoverer vs toad.
SELECT *
FROM (SELECT tmp1.magasin, tmp1.of_commande, tmp1.composant,
tmp1.composant_desc, tmp1.date_demandee, tmp1.statut_of,
tmp1.comment_scheduling, tmp1.date_debut_of, tmp1.unite,
CASE
WHEN tmp1.prev_qty_demandee = 0
THEN tmp1.on_hand
ELSE LAG (tmp1.current_onhand, 1) OVER (PARTITION BY tmp1.composant ORDER BY tmp1.date_debut_of,
tmp1.material_detail_id)
END onhand,
CASE
WHEN tmp1.rk = 1
THEN NVL
(tmp1.quantity_pending_lot,
0
ELSE 0
END quantity_pending_lot,
tmp1.qty_demandee,
CASE
WHEN tmp1.prev_qty_demandee = 0
THEN DECODE (SIGN (tmp1.on_hand - tmp1.qty_demandee),
1, 0,
tmp1.on_hand - tmp1.qty_demandee
ELSE DECODE
(SIGN
( LAG (tmp1.current_onhand, 1) OVER (PARTITION BY tmp1.composant ORDER BY tmp1.date_debut_of,
tmp1.material_detail_id)
- tmp1.qty_demandee
1, 0,
LAG (tmp1.current_onhand, 1) OVER (PARTITION BY tmp1.composant ORDER BY tmp1.date_debut_of,
tmp1.material_detail_id)
- tmp1.qty_demandee
END qty_manquante,
tmp1.date_de_blocage, tmp1.num_of_pos,
tmp1.date_de_livraison_reele, tmp1.inventory_item_status_code,
tmp1.inventory_item_status,
LAST_VALUE (tmp1.current_onhand) OVER (PARTITION BY tmp1.composant)
final_onhand,
tmp1.batch_status, tmp1.organization_id, tmp1.planner_code
FROM (SELECT tmp.*,
LAG (tmp.qty_demandee, 1, 0) OVER (PARTITION BY tmp.composant ORDER BY tmp.date_debut_of ASC NULLS LAST)
prev_qty_demandee,
tmp.on_hand
- SUM (tmp.qty_demandee) OVER (PARTITION BY tmp.composant ORDER BY tmp.date_debut_of,
tmp.material_detail_id) current_onhand,
SUM (tmp.qty_demandee) OVER (PARTITION BY tmp.composant ORDER BY tmp.date_debut_of,
tmp.material_detail_id) running_qty_demandee,
RANK () OVER (PARTITION BY tmp.composant ORDER BY tmp.date_debut_of,
tmp.material_detail_id) AS rk
FROM (SELECT gbh.organization_code magasin,
gbh.organization_id,
gbh.batch_no of_commande,
msi.segment1 composant,
msi.description composant_desc,
gmd.material_requirement_date date_demandee,
gbh.batch_status,
gbh.batch_status_desc statut_of,
gbh.attribute4 comment_scheduling,
gbh.plan_start_date date_debut_of,
gmd.dtl_um unite,
(SELECT SUM
(primary_transaction_quantity
FROM mtl_onhand_quantities_detail ohq
WHERE ohq.inventory_item_id =
gmd.inventory_item_id
AND ohq.organization_id =
gmd.organization_id
AND ohq.inventory_item_id =
msi.inventory_item_id
AND ohq.organization_id =
msi.organization_id
AND NVL
(xxbpt_or_util_pkg.get_lot_status
(ohq.lot_number,
gmd.inventory_item_id,
gmd.organization_id
'QA'
) IN ('QA', 'PRL')) on_hand,
(SELECT SUM
(primary_transaction_quantity
FROM mtl_onhand_quantities_detail ohq
WHERE ohq.inventory_item_id =
gmd.inventory_item_id
AND ohq.organization_id =
gmd.organization_id
AND xxbpt_or_util_pkg.get_lot_status
(ohq.lot_number,
gmd.inventory_item_id,
gmd.organization_id
) = 'ENCOURS')
quantity_pending_lot,
CASE
WHEN gmd.plan_qty
- NVL (gmd.actual_qty, 0) > 0
THEN gmd.plan_qty
- NVL (gmd.actual_qty, 0)
ELSE 0
END qty_demandee,
NULL date_de_blocage, NULL num_of_pos,
NULL date_de_livraison_reele,
msi.inventory_item_status_code,
mis.inventory_item_status_code_tl
inventory_item_status,
msi.planner_code, gmd.material_detail_id
FROM gme_batch_header_vw gbh,
gme_material_details gmd,
mtl_system_items msi,
mtl_item_status_vl mis
WHERE gbh.batch_id = gmd.batch_id
AND gmd.inventory_item_id = msi.inventory_item_id
AND gmd.organization_id = msi.organization_id
AND gmd.line_type = -1 -- Ingredient
--AND gbh.organization_code = 'LYO'
-- AND gbh.batch_no = '350737'
--AND gbh.batch_status_desc IN ('En attente', 'En-cours de fabrication')
--AND gbh.batch_status_desc IN ('Pending', 'WIP')
AND gbh.batch_status IN (1, 2)
AND msi.inventory_item_status_code =
mis.inventory_item_status_code
--AND msi.segment1 IN
-- ('0036814403', '0036822635', '0037812790')
-- AND msi.planner_code = '99011'
ORDER BY msi.segment1, gbh.plan_start_date) tmp
WHERE tmp.qty_demandee > 0) tmp1) tmp2
WHERE tmp2.final_onhand < 0

Hi Ariv,
Hmm, only other difference I've had is when you set your NLS settings in SQL*Developer / Oracle Client (TOAD) and get no rows in _VL views etc.
But it sounds like your issue is combining folders in the discoverer BA ... perhaps there's a wayward join?
Have you tried running/comparing the SQL generated from the workbook/sheet itself using View SQL in Discoverer (or sql trace)?
PS. Yes a few posts on the blog still going strong, been a tad busy in the last few months, so no time to post new stuff :-( but plenty coming up once I get a chance :-)
Regards,
Gareth

Similar Messages

  • Output differs from Printpreview and Spool ?

    Hello All,
    Let me tell u my actual problem.
    1. When I see the output of the PO in the Print Preview it's coming perfectly.
    But when I see the output of the same PO in the Spool it's not the same.
    2. For this reason I want to Debug the PO in both the cases i.e Print Preview case and Spool Case.
    3. When I'm trying to debug in the Print Preview case it's going into the script and I'm able to check the values. But that'S not my Problem .
    My Problem is with the Spool case bcoz I'm getting a different output when compared to that of the Print Preview Output.
    4. SO I want to debug the script whn I choose the Spool Option .
    i.e Path is : ME22N --> GIve a PO --> Click on Messages Tab --> Select any of the Processed Record and Press Repeat output and --> SAVE.
    Before pressing the SAVE Button I pressed /h and started to debug .
    But It's not going into the script at all.Instead it is going to some other standard program and creating a spool request.
    5. My first Qn is : When viewed from the Spool will it go into the script or not ?
    My second Qn is : Hw to debug the script when we are seeing the output from a SPOOL i.e from the Path :
    ME22N --> GIve a PO --> Click on Messages Tab --> Select any of the Processed Record and Press Repeat output and --> SAVE.
    Hope I'm clear now in my Explanation.
    Regards,
    Deepu.K

    It seems to be an issue with the Output Device. For the Spool, try to print on a different printer/ or the default SAP output device (SAPWIN device type).
    If the output comes correctly, then the issue is with the Driver.
    Regards,
    abhishek

  • Final Film output differs from the film in timeline!!!! :

    This is frustrating. I am working on a film and when I want to export it when it is finished the final output does not match some parts of the project in the timeline. I look at the film within Final Cut Pro and everything look good. But on some part (the end of the film) when I look at the exported Quicktime movie in the Quictime applicationm the saturation and lightness has changed! The end of the film (just about 4 frames before I start to play around with a few flying cows ( yes it is true) the picture becomes pale and unsaturated for the rest of the film?
    I did try the color corrector 3 way on some of the clips.... not all. But that should not have anything to do with it?
    Message was edited by: Simen Myrberget

    When I have tried to export or save final art (finished films) with File -> Export -> Quicktime Movie the results have been far from reliable. Things has been looking good in the timeline when after exporting the film changed a lot at some parts. This was especially often when I did include graphics which were cut out using alpha channels. The end product looked like it was bleached on those parts involving moving graphics with alpha channels.
    But after I tried Compressor things changed. This seems to be much more consistent. The best quality for this specific project was with Output for DVD (Best Quality), but then there were no sound...... and this is the ".m2v" format which I am not familiar with.
    http://fotofikling.com/ftp/temp/exportqualitydiffersfcp.jpg
    I did also try the 10 bit uncompressed, that was ok too, but slightly paler and less saturated than what I worked out in the timeline (what I wanted for end result).
    This was an old film I shot 10 years ago on SD format. I am quiet new to FCP, but I surely hope that one could work in a way that enables to get more reliable results.
    Any suggestions how to get a better end result in compressor? Something more like the ".m2v" version..... (see the attached link)...

  • Why SNMP output different from CLI output? SNMP incorrect?

    I'm using various Cisco routers and switches. Cisco 2811, 1841 routers. Cisco 3560 switches.
    I'm using net-snmp tools in UNIX.
    The output below is snipped to show what's important. When I use snmpwalk I see interfaces with errors. When I use the Cisco CLI to show interfaces no interfaces have errors.
    Am I doing something wrong or is the SNMP information wrong?
    My only goal is to get accurate interface errors on multiple cisco devices on all interfaces as quickly as possible. I wanted to use SNMP because it snmpwalk seems faster than an expect script or any script which logs into each device over telnet and runs show interface commands.
    If I could filter it to show only the interfaces with errors that would be even better but I haven't been able to find or create a script which will do that yet.
    Thanks in advance.
    snmpwalk -v 2c -c public -OQsT 192.168.0.1 ifInErrors
    ifInErrors.1 = 0
    ifInErrors.100 = 0
    ifInErrors.10101 = 0
    ifInErrors.10102 = 0
    ifInErrors.10103 = 0
    ifInErrors.10104 = 0
    ifInErrors.10105 = 54
    #show int | incl error
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
         0 output errors, 0 interface resets
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
         0 output errors, 0 interface resets
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
         0 output errors, 0 collisions, 0 interface resets
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
         0 output errors, 0 collisions, 0 interface resets
         0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
         0 output errors, 0 collisions, 0 interface resets

    CLI counters are designed for human consumption where as SNMP counters are designed more for programmatic consumption.  As such, CLI counters can be cleared (i.e. reset to 0).  SNMP counters cannot be cleared.  They will continue to increase until the device is reloaded.  So, if the show interface counters have been cleared, then they can certainly be out of sync with their SNMP counterparts.

  • [SOLVED] printenv output differs from settings in /etc/profile

    Hi, I just noticed that
    printenv PATH
    gives me something else (just '/usr/bin') than is defined in /etc/profiles, which is
    PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"
    export PATH
    I'm using fish but there is no entry about variables in ./config/fish/config.fish.
    Thanks for your help!
    Last edited by ysetdng (2014-09-16 23:05:56)

    Let /etc/login.defs be, it isn't supposed to have the full PATH.
    Read https://wiki.archlinux.org/index.php/Fi … leshooting
    Arch wiki wrote:
    If you decide to set fish as your default shell, you may find that you no longer have very much in your path. You can add a section to your ~/.config/fish/config.fish file that will set your path correctly on login. This is much like .profile or .bash_profile as it is only executed for login shells.
    if status --is-login
    set PATH $PATH /usr/bin /sbin
    end
    Note that you will need to manually add various other environment variables, such as $MOZ_PLUGIN_PATH. It is a huge amount of work to get a seamless experience with fish as your default shell.

  • Dialog Programing: Output screen layout is different from actaul layout

    Hi,
    I have developed screen layout in SE51 and same is used in my program.Program is working fine but the problem is in column order.I designed layout in SE51 by copying structure from ABAP dictionary and same has been used in my program but output layout column order is completely different from SE51 screen layout.When i check this on Se51,everything is in order.
    My program is referring the same screen number and program.there is only one screen i.e 100.
    How do we fix this problem.
    Regards,

    Looks like, your table settings got changed for the table control on the screen.
    Run your program.
    Now, on the screen you can find out the "Table Settings" in the Top Right corner of the Table control as ICON.
    Press the Icon and it will bring the Table Settings screen.
    In the Current Settings, choose the Basic Settings ... save and close.
    Regards,
    Naimesh Patel

  • While executing the query the output is completey different from the query

    Dear friends,
    We built a query and loaded the data for that infoprovider.
    While executing the query the output is completey different from the query what we have built.
    Output has no relevance to the query.
    Kindly help the same.
    Regards,
    Sathya

    HI Satya,
    In my opinion the issue is with your front end.
    Results should be identical in RSRT, BEx Analyzer (Workbooks) and the ABAP-Web since all three frontend tools use the "ABAP Runtime layer".
    It may differ In the Portal where the new "Java Runtime layer". (Java-Web.) is used.
    This is given in OSS Note 1296576 - Different Query Behaviour: ABAP - Java.
    So i think the problem lies in your analyser. If you are using Analyzer: BI Add on 7.X (Based on 7.10) try and get support package 8.
    Hope this helps.
    Thanks,
    Rahul

  • The waveform of output from file is different from original one

    I've a new question about displaying a waveform from a text file. The waveform which its data is from file is different from the original one.
    I attached image files which included my two vi files and 3 waveform. In the compressed file, "ReadData_Waveform1.jpg" is a image of waveform from "ReadData.jpg" vi file with the configuration of "Transpose" is True,
    "ReadData_Waveform2.jpg" is a image of waveform from "ReadData.jpg" vi file with the configuration of "Transpose" is False,
    "WriteData_Waveform.jpg" is a image of waveform from "WriteData.jpg" vi file.
    I attached the source file of waveform with text format as well.
    Please help me to solve this question if there is anyone who can figure it out.
    Thanks, Andy.
    Attachments:
    Question.zip ‏154 KB
    data.txt ‏55 KB

    Hi Andy
    If you transpose the data when you write it, you also have to transpose it when you read it.
    Just have a look at the simple example attached. I write data and read it again. Each file operation is called with the default-value for transpose (false). The data is read correctly.
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...
    Attachments:
    data.vi ‏35 KB

  • PS CS5 Image Display Differs From Used ICC Profile In Win 7

    Hi,
    on my Windows 7 Ultimate x64 machine, I just calibrated my Dell SP2309W monitor using an i1DisplayPro and basICColor 5, creating a ICC v2 profile (I am aware of the problems under Windows with ICC v4 profiles).
    It created the ICC profile and applied it to be used by Windows. I double checked under COLOR MANAGEMENT that the new ICC profile is being used. Although I can see that the new ICC is being used (desktop appearance changes), there are a few issues I am experiencing:
    (1.) Windows Photo Viewer
    The thumbnails in Windpows Explorer look fine (they DO use the new ICC profile), when I double click a jpeg and open the image it DOES NOT use the new ICC profile. When I click the PLAY SLIDESHOW button (starting the slideshow) in the opened image in Windows Photo Viewer, the images DO use the new ICC profile.
    (2.) Internet Browsers
    All current internet browser (Firefox, IE, Safari and Chrome) DO use the new ICC profile and display the image correctly.
    (3.) Photoshop CS 5
    When I open the same image - that Windows Photo Viewer does not correctly displays (according to the new ICC profile) - in Photoshop CS5, I get the same image display that Windows Photo Viewer gives me (when not thumbnail or not in slideshow mode) - it appears to be the sRGB display.
    My color settings in PS CS5 are: North America General Purpose 2 > sRGB IEC 61966-2.1.
    When I go to View > Proof Setup > Monitor RGB I get the image display using the new ICC profile.
    Why does the image look different in PS than my calibrated monitor should output ?
    I was under the impression (please correct me if I am wrong), that the sole purpose for calibrating my monitor was to get a uniform display across (ICC aware) applications. Even when one applies different color spaces to a document in PS, I thought the output on my calibrated screen done by the graphic card should always be according to my calibration and the settings in the ICC profile being used.
    What Am I doing wrong or what am I misunderstanding ?
    Any help or input is appreciated !
    Thanks.
    - M

    Hello,
    A note on monitor calibration: calibrating your monitor will not guarentee that every application will display color correctly, it's more of a step along the pipeline, and for the preview part of a color workflow it's the last step.  Here's how color translation follows for an ICC workflow when previewing to a monitor:
    Image Color Numbers > Document Tag or Workspace Profile > Monitor Profile
    For non-color managed applications, if the original document is or isn't tagged with a color profile it will be translated directly to the monitor profile anyway.  This is the equivalent in Photoshop of selecting "Monitor" in soft proofing.  Selecting monitor in softproofing will bypass the tagged or workspace profile to translate colors directly through the monitor profile.
    For most automatic color managed applications (like Firefox), the image will be translated through the tagged profile and then sent through the monitor profile.  If the image is untagged or the profile is unrecognized, the colors get sent directly to the monitor profile.
    For Photoshop, a tagged document will have its profile respected and then sent to the monitor.  An untagged document will be assigned the workspace profile, which acts like a temporary document profile, and then gets sent to the monitor.  This is often why users will notice Photoshop behaves differently from other applications.  It's usually a case of the workspace coming into play.  By default the workspace profile is set to sRGB.  You can change this in Edit > Color Settings.
    The purpose of the workspace is originally for printing workflows, as a way of keeping consistant color translations when dealing with both tagged and untagged documents.  For web output workflows it can be useful for viewing everything through sRGB, which is typical of the average monitor output (not so with newer wide-gamut monitors, another source of confusion...) combined with the fact that originally most web browsers were not color managed.  Hence viewing everything through sRGB is pretty close to what most monitors see and what untagged/unmanaged docs will look like.
    Monitor calibration is useful only because it brings your monitor output to a "known state".  In traditional workflows the monitor was always a middle-man, a preview device which was useful for getting an idea of what the printed output would look like before you print it.  Since print colorspaces are often smaller than display spaces, it's feasible and useful to narrow down the monitor/display space and calibrate it to a known state, so that even if it doesn't totally match the print, you'll get used to its differences/limitations and they'll be consistent so long as the calibration is maintained.
    For web output, your final output is often another user's computer monitor, which can have any form of behavior (most standard monitors are pretty close to sRGB, or use sRGB as an operating system workspace (default monitor profile).  Wide gamuts behave differently, but I'm not sure if there's a particular ICC space that they closely match, or if different wide-gamuts are even that close to each other in their display color spaces.
    Hope this helps!

  • I cannot get my messages/text messages to work om my Hi.  I am sending this thru my iPad.  Respond and let me know you got it.  Fun fun fun.  .  I did go and try to another Apple ID different from my iPhone but it still will not work.  Can anyone help me?

    I cannot get my messages/text messages to work om my Hi.  I am sending this thru my iPad.  Respond and let me know you got it.  Fun fun fun.  .  I did go and try to another Apple ID different from my iPhone but it still will not work.  Can anyone help me?

    chicx wrote:
    This is the third time of writing this on your Apple Support Communities!
    Not with your current user id.
    Far too much uneccesary information in your post, which only confuses things, a vast amount!
    Let's start with iTunes.
    Have you updated iTunes to 11.1.5, because the previous version did appear to have an issue about seeing iPods?
    With iTunes 11.1.5 installed, look in Edit/Preferences/Devices, (or use the ALT key, followed by the E key and then the F key) and make sure that the box named Prevent iPods, iPhones and iPads from syncing automatically does not have a tick in the box.
    Once you have doen those two things, check to see if the iPod is seen by iTunes.
    chicx wrote:
    By the way, what does IOS mean? (I thought IO stood for operating system, but am flummoxed by the S on the end.
    Really?
    OS stands for Operating System. (In computer speak, IO means Input/Output.)
    iOS originally stood for iPhone Operating System, but it now refers to the iPod Touch and iPhone. The iPod Classic, which you have listed in your profile as your iPod, does not use iOS.
    I assume that you have been listening to the Podcast in your iTunes on the computer as you cannot transfer it to your iPod. It's what I'd do.

  • AP Check Print: Same PDF O/P prints differently from Different Printers

    hi ,
    I am working on AP Check Printing. We are upgrading our system from 11i to R12.1.3.
    I have developed the Check Template for a US Check, the PDF output generated from the "Format Payments Instructions" look good and prints perfectly onto one printer.
    But when i print the same o/p to a different printer, it is cutting off all the edges.
    I have verified that both the Printers use Universal Pasta Configuration & the same past_pdf.cfg file.
    It has "Prepocess = pdftops - paper match {outfile} {infile}" as the command to convert PDF output file into a PS (Post Script).
    I am able to reproduce the problem by printing the PS file from unix using the command "lp - d <printername> <PS File Name>".
    Please advice ASAP, this is a BLOCKER issue for us and need to solve this at the earliest.
    Thanks in Advance.
    VIJAY

    Hi,
    Thanks a bunch for your quick response.
    In order to check the driver, i have seen in the following areas.
    System Admin => Install => Printers => Register /Type /Style / DRIVER.
    The driver postion is actually depending on the print style like "PDF Publisher" or "Portrait For Logo" etc.
    Is this the place you want me to check ? or is there anything else i am missing ?
    Thanks,
    Vijay

  • Strange Behavior: VO query result shown in UI different from backend

    Hi Experts,
    I have an issue with one of the VOs in my application. The VO uses an expert query.
    The application uses ADF faces for the front end. The UI is created by dragnDrop method from ViewCriteria(Datacontrol for this VO) to the page.
    I would expect the page to always show the data which I would get when I execute the query from the backend.
    But the data that comes up in the UI(through the VO and queryPanel, af:table) is different from the data set if I execute the query directly from backend. (Oracle 11G Database)
    The issue occurs for one set of data and not for another set of data.
    I tried the following:
    In VOImpl, the executeQuery method is overridden to add additional filters.
    Just before super.executeQuery, captured the getQuery() result.
    The query got this way, I am running from back-end(SQLPLUS/Toad) returns expected results, whereas when the Application is run, the UI table shows duplicate data for one set alone.
    Please share pointers on how to debug this issue further.
    Please note that this post is not about the query but I am illustrating the query here just in case its needed.
    The query is something like this:
    Fetch rows from maintable that belong to either the set mapping to :bindvariable1 or the set mapping to bindvariable2. This could be represented as a union between the two selects as well.
    select
    col1,col2,col3...
    from main_table, table1, table2
    where
    (main_table.idcolumn =:bindvariable1
    and table1.referencecolumn =:bindvariable1
    and table2.referncecolumn =:bindvariable1)
    or
    (main_table.idcolumn =:bindvariable2
    and table1.referencecolumn =:bindvariable2
    and table2.referncecolumn =:bindvariable2)
    and
    maintable.idcolumn2=table1.idcolumn
    and maintable.idcolumn3=table2.idcolumn
    Thanks for your time and help.
    Ganesh Iyer

    Do you have a security policy associated with the table?
    Oracle 8i supports virtual private database where the server can dynamically modify a query.
    The query 'SELECT * FROM EMP' could be modified by the server to 'SELECT * FROM EMP WHERE DIVISION = 'AIRCRAFT' by putting a security policy on the EMP table.
    You, as a user, would never know it happened.
    A security policy based on some arcane rule such as the time of day could cause the problem you are describing.
    The only other way I know of is if you logged in as two different users and each user has different privileges on the table.
    Good luck!
    null

  • Auto message determination for Freight Vendor when different from main ven

    Hi All,
    We have an issue with auotmatic output determination of a purchase order for a freight vendor, when the freight vendor is different from material vendor.
    We are creating a PO for raw-material for vendor 'A'. In the same PO we are maintaining freight condition (FRA1/FRB1/FRC1) and for that condition we are maintinaing a different vendor (e.g Fedex). Now when we save the PO we want the system to output the PO via FAX to both the Vendors (without any manual intervention).
    How can we achieve this?
    Thanks in Advance
    Venkat

    Hi Rajesh,
    Thanks for your reply.
    as per my understanding, you mean to say that freight vendor has to be maintained as CR partner to the material vendor. If my understanding is correct, then the issue is that my client is not interested in maintaining Freight vendor as partner to the Material Vendor. And one more point to be noted is, most of the Purchase Orders are created automatically by MRP (Reorder point planning) . Freight vendor is maintained in the contract. MRP uses the contract as source and creates release orders.
    is there any way to create new access sequence for message type NEU.so that system access the table KONV and field LIFNR to find the freight vendor.
    As of now i am unable to find this table and field name in the field catalog for creating new condition table.
    looking forward to hear from you soon.
    Regards
    Venkat

  • Output different data based on user select

    Hi everyone,
    Quick question, I would like to output different report columns based on user select, eg., users would be presented with two choices in a radiobutton list, eg., 1 and 2.
    I have query results that contain columns A, B, C, D, E, F, G.
    If user selects 1 then the output should be columns A, B, C, D, E.
    If user selects 2 then the output should be columns A, B, C, F, G.
    I am sure this is possible and easy? If so, what topic should I be reading/searching internet on?
    Please advise.
    Thanks!

    I would say that this is most often something that your user interface should be dealing with (i.e. which columns should be shown).
    There is no way to do that in SQL.
    In PL/SQL it is a simple situation of creating two cursors and simply deciding which one to open.
    <pre>declare
    l_cur sys_refcursor;
    begin
    if :user_selection = 1 then
    open l_cur for select A, B, C, D, E from tbl;
    else
    open l_cur for select A, B, C, F, G from tbl;
    end if;
    -- use the cursor
    close l_cur; -- or return to user interface
    end;
    /</pre>
    Hope this helps.

  • Having in proper cursor movement when view the discoverer output

    Hi all,
    When I try to view the discoverer output in the discovere desktop by using the keyboard tab key to move from one column to another column, the data was not displayed properly. It is just like not enough memory, but if I used the mouse to scroll then it was ok. What is the problem then ??
    I am using discoverer 9i.
    Thanks
    Lim

    Hi,
    This forum is for the Designer tool. You would be better off using the "Business Intelligence" Forum under the "Modules" heading.
    Regards,
    Steve

Maybe you are looking for