Output Cannot Be Issued.

when i give an outbound delivery in VL02N trasaction and tried to issue delivery output and select the messagetype-->printpreview. the information message is displayed saying OUTPUT CANNOT BE ISSUED.
Can anyone tell me where to make the changes so that i can see the preview of the form?

Hello,
This is something to do with the settings.
However, if you want to check the Print Preview then simply use this T-code SP02 and in the Type...you can find a Document...try to DOuble click on It.
You can access your print Privew.
This will fix the issue....
If you still have any issues to access yoru Print Preview then please let me know.
Reward points if is very helpful
Regards,
Kittu
Edited by: Kittu on Jul 4, 2008 8:10 AM

Similar Messages

  • SMARTFORMS: 'OUTPUT CANNOT BE ISSUED error

    Hi,
    I have designed a smartform for Delivery document. One of the delivery has 700 lines of Packing for 1 single line item. When I execute this delivery, the output is not displayed The error message is "the output could not be issued".
    In debug mode I find that it is giving error in function module SSFCOMP_WRITE_TEXT for the 518th line of the packing list. The data in this line is similar to previous lines and there does not seem to be anything different in this line. The function module is returning sy-subrc = 2.
    if i reduce the packings to 517lines, then the document gets printed correctly. Otherwise it gives an error.
    I need to display the line item alongwith the entire packing lines.
    Please help.
    Thanks and Regards,
    shilpa

    Hi Shilpa,
    First don't run thro the program.
    u just activate the smartform and then execute the Smartform. then u see the exception. the error belongs to window size is not enough space to write the text. Maybe it is overlapping the other windows.
    So correct the window size then u run thro the program.
    Otherwise it is related to Alignment problem.  That means check margins and positions.
    - Selvapandian Arunachalam

  • Robohelp 8 Webhelp Output cannot be viewed in IE 10

    Hi,
        I have used Robohelp 8 to create help file. The webhelp output can be perfectly seen in IE 7 OR 8. However, in IE 10,  when the start page in the webhelp folder is cliked, the TOC is opening but the topics are not getting displayed in the right pane. When we click a topic from the TOC pane, no topic gets displayed. Please suggest a solution ASAP, as we have sent the help to a client. They are are facing an issue with the help. We have to fast fix this problem to avoid an escalation. Please respond with a fix to this problem. Please note we have used Robohelp 8 and viewing the webhelp output in IE 10.

    I have come acoss issues being reported in adobe forums that webhelp output cannot be viewed in IE 10. Fixes are provided for Robohelp 10  @http://forums.adobe.com/community/robohelp/robohelp_webhelp?view=discussions where we are given a link with the fixes @.http://helpx.adobe.com/robohelp/kb/help-visible-using-win-8-ie.html but no fixes are available for robohelp 8. Please provide a similar fix for robohelp 8
    Request the adobe development team to get back ASAP as we do not have the timeframe to upgrade to robohelp 10.

  • Output cannot be placed in desired area-ERROR

    SELECT bukrs belnr gjahr bldat cpudt aedat cputm usnam xblnr bktxt waers
                      FROM bkpf INTO TABLE bkpf_tbl
                      WHERE bukrs IN s_bukrs AND blart = 'RE' OR  blart = 'ZL'
                      AND ( ( cpudt > prv_date )
                      OR    ( cpudt = prv_date AND cputm >= prv_time ) )
                      AND ( ( AEDAT > PRV_DATE )
                      OR    ( AEDAT = PRV_DATE AND CPUTM >= PRV_TIME ) )
                      AND gjahr IN s_gjahr
                      AND monat IN s_monat
                      AND belnr IN s_belnr
    I am facing the error : Output cannot be placed in desired area in the select query. But it is syntactically correct.
    What is the issue here?

    Hi,
    Can you give the declaration for internal table used in SELECT query.or
    Use 'into corresponding fields of table' in SELECT query.
    Thanks.
    Ramya.

  • Error Getting while opening an adobe attachment "Output cannot be displayed because an error occured "

    Hello Experts,
    In our project where CRM Web ui is UI technology used, i am displaying list of attachments in one block.
    WHen i am clicking on these adobe form outputs which are in the form of links, i am getting an error "Output cannot be displayed because an error occured".
    Can anyone please tell me what is missing which is leading to this error ?
    Thanks and Best Regards,
    Nikhil Kulkarni

    Generally this kind of error messages occur when there is a gap b/w the PDF rendering and the layout ..
    The only way to find out the error is debugging, where you have caught the exception from the driver program.
    Naveen

  • Creating output type for issuing print

    hello friends
                           can anybody tell me the process or steps to create output type to issue print

    HI.
    Goto NACE transaction.
    Select the application for whch you want to create the output type. For ex. select v3 for invoice.
    Click on 'Output Types' button on application toolbar.
    Click on 'New Entries'.
    Click on Processing Routines on the left-side to enter the driver program and SAPscript/Smartform name.
    Regards.
    Jay

  • I cannot download issues of New Yorker and Smithsonian Air

    I cannot download issues of New Yorker and Smithsonian Air & Space since I in installed ios8.  Where can I get assistance?

    Tara which Adobe software specifically are you trying to install?

  • AirPlay Output Cannot Select

    Hi,
    I purchased a Bose wifi speaker. When I leave work and come back I cannot select my speaker using AirPlay. I see my speaker name available for AirPlay output, however, every time I select the speaker it automatically goes back to my built-in speakers.  I have to restart my system in order to select the external speaker for AirPlay.

    Hello redbush,
    The article linked below details some useful troubleshooting steps that can help resolve issues with AirPlay on your Mac.
    iTunes: Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/TS5209
    Cheers,
    Allen

  • EDI/ALE output Post Goods Issue from ME2O

    Dear experts,
    I have to create an outbound IDoc (I assume MBGMCR03) of a Goods issue done with ME2O (mvt type 541).
    So far I have read through:
    http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=88113280
    http://scn.sap.com/thread/3146742
    http://scn.sap.com/thread/2056081
    but they all talk about printing the message - I need to create an IDoc.
    In NACE:
    - Application "ME"
    - but which condition record can I choose?
    - output types are all set up with print parameters - no EDI/ALE as far as I can see. Do I have to create new ones?
    Can you please help on how to set this up in NACE?
    Next step would be MN21 for the output condition record I assume,
    WE20 to define output for logical system.
    Thank you for your help.
    Best regards,
    Peter

    Dear experts,
    I am a little further now.
    I used output condition WA01 which is already set up in NACE and in MN23 I set up:
    In SP01 I can see the created Spool entries after creating the Good issue with ME2O. So the print out would work. But I need an EDI output....
    I created a new output condition ZWA1 in NACE and set "Processing routines" to EDI.
    I set "Partner functions" to EDI and LS - logical system.
    In MN23 I have:
    I set Event Type to "WA" because when I look at a material document in MB03 it also shows WA:
    In WE20 I have my LS - logicals system and set up the output for MBGMCR03:
    What confuses me is: I have to send the EDI output to a LS - logical system. But in MN23 I can't set the LS - it gives error: "You cannot enter a partner function for output ZWA1"
    No IDoc is created so far - please help. Thank you.
    Best regarsd,
    Peter

  • Media Encoder "Could not write XMP data in output file." issue

    Greetings,
         We have invested a great deal of money and time into a brand new editting system and we need some help with adobe media encoder. We are trying to export some of our projects and we keep getting the same error. Here is the entire log of errors:
    Could not write XMP data in output file.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_6.prproj
    - Output File: M:\acura_rooftop_43_draft_1.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:17:23
    2/4/2010 1:42:28 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_7.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_rooftop_43draft_1.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:02:09
    2/4/2010 1:54:21 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_9.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_rooftop_43draft_1.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:16:04
    2/4/2010 2:19:49 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_10.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_rooftop_HD_draft_1.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:01:38
    2/4/2010 2:30:31 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_11.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_HD.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:00:38
    2/4/2010 3:19:31 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_12.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_HD.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:01:08
    2/4/2010 3:31:37 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_17.prproj
    - Output File: C:\Users\Ramius\Desktop\acura_HD.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:15:31
    2/4/2010 4:21:06 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\Acura Spot 011410_CS4_1_19.prproj
    - Output File: M:\GRAPHICS\cow_graphics\acura_HD.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:00:24
    2/4/2010 5:16:54 PM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_16.prproj
    - Output File: C:\Users\Ramius\Desktop\mxf.mpg
    - Preset Used: 1440 x 1080i 29.97 High Quality
    - Video: NTSC, 1440x1080, 29.97 drop frame [fps], Upper, Quality 4.0
    - Audio: 384 [kbps], 48 kHz, 16 bit, Stereo, MPEG
    - Bitrate: VBR, 1 Pass, Min 4.00, Target 15.00, Max 18.50 [Mbps]
    - Encoding Time: 00:05:08
    2/23/2010 12:12:40 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_18.prproj
    - Output File: M:\AVI\ihigh_avi\GAR\Marines\marinespromo_2009.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:04:00
    2/23/2010 12:26:54 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_19.prproj
    - Output File: M:\AVI\ihigh_avi\GAR\Marines\marinespromo_2009.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:05:08
    2/23/2010 12:51:01 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_23.prproj
    - Output File: C:\Users\Ramius\Desktop\allhdtest2.mpg
    - Preset Used: 1440 x 1080i 29.97 High Quality
    - Video: NTSC, 1440x1080, 29.97 drop frame [fps], Upper, Quality 4.0
    - Audio: 384 [kbps], 48 kHz, 16 bit, Stereo, MPEG
    - Bitrate: VBR, 1 Pass, Min 4.00, Target 15.00, Max 18.50 [Mbps]
    - Encoding Time: 00:04:20
    2/23/2010 4:23:46 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_27.prproj
    - Output File: C:\Users\Ramius\Desktop\Sequence 07.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:09:11
    3/2/2010 3:21:19 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_28.prproj
    - Output File: C:\Users\Ramius\Desktop\Sequence 07_1.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:09:00
    3/2/2010 3:34:47 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Ramius\AppData\Local\Temp\ihigh_CS4_HD_29.prproj
    - Output File: C:\Users\Ramius\Desktop\Sequence 07_2.mp4
    - Preset Used: HDTV 1080p 29.97 High Quality
    - Video: NTSC, 1920x1080, 29.97 [fps], Progressive
    - Audio: AAC, 160 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 32.00, Max 40.00 [Mbps]
    - Encoding Time: 00:10:22
    3/2/2010 4:41:03 PM : Encoding Failed
    Error compiling movie.
    Unknown error.
    We absolutely need to fix this issue ASAP, we are in a major bind until we can resolve this issue. Thanks a bunch.

    We are using Windows 7
    dual quadcore intel xeon processors 8gb ram
    10000rpm internal drives. quadroefx 1800 video card
    The drive is 4tb
    We have tried exporting to many different locations with no luck
    Its a very nice video editting system. We just need to figure out this exporter

  • Apple Mail cannot encoding issues (Chinese Asian Language)

    I've abandon Mail for almost 2 years, 2 issues I had before is the 'disappearing mail' and the encoding problem.
    Now with my new MBP 17" I decided to use Mail again. I am getting the encoding problem again.
    Things I tried already:
    1. set the default encoding using Terminal to "BIG5"
    2. check under 'Composing' preference for 'Plain Text', uncheck 'use the same message format as the original message'
    3. Tried manually setting the encoding before sending. But in few instance Apple Mail tells me that there is an Error and cannot change the encoding. Even I succeeded in changing the encoding, there is no guarantee that the other side can read it properly.
    This usually happens when I 'reply' or 'forward' a Chinese email to someone. So far it happens to the HTML type email.
    Still I am getting problem sending mail that Outlook can properly decode by itself. To fix this from the Oulook side, they need to open the message by double click, select encoding for the message, and pick either UTF-8 or BIG5 (if the message is BIG5, select UTF-8 and vise versa) then the message will display properly.
    I know this could be an Outlook problem (probably is) but I cannot tell my customer to change encoding each time. I really need a way to do this from the Apple Mail side.
    The following is just one example of HTML email I replied and turns out to be BIG-5 under Outlook, but user need to select UTF-8 to view it.
    In-Reply-To: <050201c7154d$3fa791c0$bcdd123d@SN012345678912>
    References: <[email protected]> <050201c7154d$3fa791c0$bcdd123d@SN012345678912>
    Mime-Version: 1.0 (Apple Message framework v752.3)
    X-Priority: 3
    Content-Type: multipart/alternative;
    boundary=Apple-Mail-1--121729776
    Message-Id: <[email protected]>
    Cc: =?BIG5?B?RXZhSG/EX7XY?= <[email protected]>,
    =?BIG5?B?SG9sbHlfUG9sYXLEX7XYs6Ks9cRS?= <[email protected]>,
    =?BIG5?B?U3VzYW5hU29vxF+12A==?= <[email protected]>,
    =?BIG5?B?UGh5bGxpc8Rftdg=?= <[email protected]>,
    =?BIG5?B?S0VOLkpJQbjrvuWoyA==?= <[email protected]>,
    "Viv Lee" <[email protected]>,
    =?BIG5?B?SmFuZUNoZW6zr6Tlr3U=?= <[email protected]>,
    =?BIG5?B?RWR3aW5ZYW+rwKWuxe8=?= <[email protected]>,
    =?BIG5?B?MDA3NDalVMBzrvw=?= <[email protected]>
    From: James Yao <[email protected]>
    Subject: =?BIG5?B?UmU6IMRftdizbqT7pdarfr3osN3DRA==?=
    Date: Sat, 2 Dec 2006 07:42:27 +0800
    To: =?BIG5?B?vki0ZqzCIEpvYW4gVGFuZw==?= <[email protected]>
    --Apple-Mail-1--121729776
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/plain;
    charset=BIG5;
    delsp=yes;
    format=flowed
    Hi xxxx...... (body of the message)
    I need help here, I still like the operation in Apple Mail but this is killing me. Please help.

    Thanks but I tried these already. Didn't seem to work.
    I switched to Thunderbird. Took a while to convert my mailboxes (30+ of them) from emlx to mbox and loaded into Thunderbird.
    Thunderbird is ok, address book really ***** since it doesn't work with the OSX Address book at all. I had to use vcf2ldif to convert address book but the Chinese character in the Address Book all became ??? in Thunderbird. And the time it takes to convert 400+ address is long (I already filtered the address book from my 1000+ contact)
    Font setting in Thunderbird is not good as well. Emails in my folders are in different fonts all the time due to the difference in encoding. I just need to get used to it.
    If Apple Mail can just handle encoding better, I will never switch. Both my customer and my family are having same problem, (because we all read/send Chinese Traditional email) Apple should do something. Already send email regarding this to Apple, and if there are other people with the same problem as me, pleas let Apple know about this.

  • UTL FILE OUTPUT FILE FORMAT ISSUE ON ORACLE 11G

    how to format util file output align with column value with proper format.
    set serveroutput on
    DECLARE
       CURSOR h1
       IS
       select  'TOTAL_ACCOUNT_REJECTS' as TOTAL_ACCOUNT_REJECTS   ,
         'PC' as  PC ,
          'RT' as  RT,
          'SERIAL' as  SERIAL
          from dual;
       --    l_app_nm              := RTRIM( TRIM( l_line ), CHR(13) );
       CURSOR c1
       IS
      SELECT
      company  ,
    user,
    app,
    account
            FROM account_auth
           WHERE ROWNUM < = 5;
       lc_file_handle        UTL_FILE.file_type;
       lc_file_dir           VARCHAR2 (100);
       lc_file_name          VARCHAR2 (50);
       gov_005_payment_rec   VARCHAR2 (1000);
    BEGIN
       lc_file_dir := 'OUTB';
       lc_file_name := 'test.txt';
       lc_file_handle := UTL_FILE.fopen (lc_file_dir, lc_file_name, 'W',1024);
      FOR i IN h1
       LOOP
          gov_005_payment_rec :=
                i.TOTAL_ACCOUNT_REJECTS
             ||' '
             || i.PC
             || ' '
             || i.RT
             || ' '
             || i.SERIAL;
          UTL_FILE.put_line (lc_file_handle, gov_005_payment_rec);
       END LOOP;
       FOR i IN c1
       LOOP
          gov_005_payment_rec :=
                 i.company
             ||' '
             || i.user
             ||' '
             || i.app
             ||' '
             || i.account;
          UTL_FILE.put_line (lc_file_handle, gov_005_payment_rec);
       END LOOP;
    EXCEPTION
    WHEN UTL_FILE.INVALID_PATH        THEN DBMS_OUTPUT.PUT_LINE('Invalid
    path!');
      WHEN UTL_FILE.INVALID_MODE        THEN DBMS_OUTPUT.PUT_LINE('Invalid
    mode!');
      WHEN UTL_FILE.INVALID_OPERATION   THEN DBMS_OUTPUT.PUT_LINE('Invalid
    operation!');
      WHEN OTHERS
    RAISE;
    END ;
    OUTPUT :  issue with file format
    TOTAL_ACCOUNT_REJECTS PC RT SERIAL
    &&&&&846  000000000000 APPLICATION123 20570
    &&&&284  000000000000 APPLICATION133 20570
    &&&2&&846  000000000000 APPLICATION163 20570
    EXPECTED output   ==> please advise me , how to create proper formatted output file using utl_file?  thanks in advance.
    TOTAL_ACCOUNT_REJECTS      PC                         RT                            SERIAL
    &&&&&846                                 000000000000        APPLICATION123       20570
    &&&&284                                  000000000000         APPLICATION133       20570
    &&&2&&846                              000000000000         APPLICATION163       20570

    Example of creating a fixed width format file for a dynamically provided query, using the DBMS_SQL package...
    As SYS user:
    CREATE OR REPLACE DIRECTORY TEST_DIR AS '\tmp\myfiles'
    GRANT READ, WRITE ON DIRECTORY TEST_DIR TO myuser
    As myuser:
    CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2
                                         ,p_dir IN VARCHAR2
                                         ,p_header_file IN VARCHAR2
                                         ,p_data_file IN VARCHAR2 := NULL) IS
      v_finaltxt  VARCHAR2(4000);
      v_v_val     VARCHAR2(4000);
      v_n_val     NUMBER;
      v_d_val     DATE;
      v_ret       NUMBER;
      c           NUMBER;
      d           NUMBER;
      col_cnt     INTEGER;
      f           BOOLEAN;
      rec_tab     DBMS_SQL.DESC_TAB;
      col_num     NUMBER;
      v_fh        UTL_FILE.FILE_TYPE;
      v_samefile  BOOLEAN := (NVL(p_data_file,p_header_file) = p_header_file);
    BEGIN
      c := DBMS_SQL.OPEN_CURSOR;
      DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
      d := DBMS_SQL.EXECUTE(c);
      DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
      FOR j in 1..col_cnt
      LOOP
        CASE rec_tab(j).col_type
          WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
          WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);
          WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);
        ELSE
          DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
        END CASE;
      END LOOP;
      -- This part outputs the HEADER
      v_fh := UTL_FILE.FOPEN(upper(p_dir),p_header_file,'w',32767);
      FOR j in 1..col_cnt
      LOOP
        CASE rec_tab(j).col_type
          WHEN 1 THEN v_finaltxt := v_finaltxt||rpad(lower(rec_tab(j).col_name),rec_tab(j).col_max_len,' ');
          WHEN 2 THEN v_finaltxt := v_finaltxt||rpad(lower(rec_tab(j).col_name),rec_tab(j).col_max_len,' ');
          WHEN 12 THEN v_finaltxt := v_finaltxt||rpad(lower(rec_tab(j).col_name),greatest(19,length(rec_tab(j).col_name)),' ');
        END CASE;
      END LOOP;
      UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
      IF NOT v_samefile THEN
        UTL_FILE.FCLOSE(v_fh);
      END IF;
      -- This part outputs the DATA
      IF NOT v_samefile THEN
        v_fh := UTL_FILE.FOPEN(upper(p_dir),p_data_file,'w',32767);
      END IF;
      LOOP
        v_ret := DBMS_SQL.FETCH_ROWS(c);
        EXIT WHEN v_ret = 0;
        v_finaltxt := NULL;
        FOR j in 1..col_cnt
        LOOP
          CASE rec_tab(j).col_type
            WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
                        v_finaltxt := v_finaltxt||rpad(nvl(v_v_val,' '),rec_tab(j).col_max_len,' ');
            WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val);
                        v_finaltxt := v_finaltxt||rpad(nvl(to_char(v_n_val,'fm99999999999999999999999999999999999999'),' '),rec_tab(j).col_max_len,' ');
            WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val);
                        v_finaltxt := v_finaltxt||rpad(nvl(to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'),' '),greatest(19,length(rec_tab(j).col_name)),' ');
          END CASE;
        END LOOP;
        UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
      END LOOP;
      UTL_FILE.FCLOSE(v_fh);
      DBMS_SQL.CLOSE_CURSOR(c);
    END;
    This allows for the header row and the data to be written to seperate files if required.
    e.g.
    SQL> exec run_query('select * from emp','TEST_DIR','output.txt');
    PL/SQL procedure successfully completed.
    Output.csv file contains:
    empno                 ename     job      mgr                   hiredate           sal                   comm                  deptno               
    7369                  SMITH     CLERK    7902                  17/12/1980 00:00:00800                                         20                   
    7499                  ALLEN     SALESMAN 7698                  20/02/1981 00:00:001600                  300                   30                   
    7521                  WARD      SALESMAN 7698                  22/02/1981 00:00:001250                  500                   30                   
    7566                  JONES     MANAGER  7839                  02/04/1981 00:00:002975                                        20                   
    7654                  MARTIN    SALESMAN 7698                  28/09/1981 00:00:001250                  1400                  30                   
    7698                  BLAKE     MANAGER  7839                  01/05/1981 00:00:002850                                        30                   
    7782                  CLARK     MANAGER  7839                  09/06/1981 00:00:002450                                        10                   
    7788                  SCOTT     ANALYST  7566                  19/04/1987 00:00:003000                                        20                   
    7839                  KING      PRESIDENT                      17/11/1981 00:00:005000                                        10                   
    7844                  TURNER    SALESMAN 7698                  08/09/1981 00:00:001500                  0                     30                   
    7876                  ADAMS     CLERK    7788                  23/05/1987 00:00:001100                                        20                   
    7900                  JAMES     CLERK    7698                  03/12/1981 00:00:00950                                         30                   
    7902                  FORD      ANALYST  7566                  03/12/1981 00:00:003000                                        20                   
    7934                  MILLER    CLERK    7782                  23/01/1982 00:00:001300                                        10                   
    The procedure allows for the header and data to go to seperate files if required.  Just specifying the "header" filename will put the header and data in the one file.
    Adapt to output different datatypes and styles are required (this is currently coded for VARCHAR2, NUMBER and DATE)

  • Email Output - Subject Line issue.

    Hi,
    I have an issue in changing the subject line of the billing output which goes as an email whenever newly created. I want to incorporate the subject line of the email as "ABCD Invoice for SO number '12345678' for Customer 'Customer Name' ". Here the SO number & Customer Name varies for diffenrent Billing document.
    I can do this change to some extend in NACE  Transaction but unable to bring the Customer Name in the subject line.
    Can anyone please tell how this can be done?
    Regards,
    Banu.

    I don't believe this is feasible with the standard output program, but you should be able to do this if you create a custom (Z) version and make that modification there. Not sure if it's worth it, but that's for your business users to decide.

  • RoboHelp 9 Crashing on Generating Output (hyperlinked pdf issue?)

    I have had RoboHelp 9 consistently crash (without warning) when trying to generate ANY type of output. I was evaluating a trial version (which has since expired). I could consistently and successfully generate the exact same content without any issue when using RoboHelp 8 on another computer and it would appear that the crashes related to updating hyperlinked pdf's. None of the suggested fixes solved this issue on my system (i.e.http://forums.adobe.com/thread/796237?tstart=0)
    While Adobe contacted me twice by telephone during the evaluation phase to gauge my interest in purchasing TCS 3 I received no response whatsoever to my request for assistance in resolving this issue. The person with whom I spoke has not responded to my queries. Now my trial is expired so I can't do anything further but I would like to hear if any other people have had this issue and what they had to do to resolve it.
    The ability to update hyperlinked pdf's is essential for my project and I would like to upgrade (I really am a proponent of the TCS workflow) but, in its current state, TCS 3 is unuseable for me.
    Thanks in advance

    ...ta-da! And here I am, at Peter's behest.
    You situation with the PDFs is exactly what happened with me, although I had the advantage of Adobe tech support to actually be able to isolate the specific ogre PDF files. They suggested I rename/delete them and I did and everything compiled smoothly. Like you, these PDFs worked just fine in RH8, but choked RH9.
    I then tried a different tact and went back to the source files and reprinted them with Acrobat 9 (I think they'd originally been printed with Acrobat 6 or so), and the project compiled just fine.
    I understand you don't have the source files, but here is a suggestion that mightwork: open your PDFs with Acrobat 9 or X and either "Save as..." a new file or go to the Advanced menu and click PDF Optimizer... (maybe try both methods). I think either would have a similar effect to reprinting the source files and would "fix" whatever it was that's choking your project.
    Let us know if that works.

  • Help required: Configure output for goods issue

    Dear All,
    My requirement is to trigger an output type for a goods issue only when the goods movement
    scenario involves cross company accounting. What is the TCode for doing the requirement setting
    for goods issue output.
    Thanks.

    Hi,
    Please check it out,is there any standard requirement is there for your scenario,if it is not there as ABAP people to write one requirement in VOFM and assign to this condition type.

Maybe you are looking for

  • How to select my country's app store on iPad when abroad?

    I have an account in the Dutch app store, but am currently in Sinagpore. When I try to buy a Dutch newspaper using Newsstand on my iPad, I get the message: 'This article is not available from the Singapore store, please use the Dutch store'. I do not

  • Weblogic startup issue...

    Hi, Whenever we are starting managed server, I am getting below error in managed.out : <05-May-2010 11:53:30 o'clock BST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool> Failed to load servlet Class: FileOutputServletIgnoring

  • [svn:cairngorm3:] 16817: Migration to Flex 4.1 SDK.

    Revision: 16817 Revision: 16817 Author:   [email protected] Date:     2010-07-05 14:05:28 -0700 (Mon, 05 Jul 2010) Log Message: Migration to Flex 4.1 SDK. Modified Paths:     cairngorm3/trunk/libraries/ContractTest/.actionScriptProperties Added Paths

  • Adf master/detail-master/details

    In my jspx page i have to use 3 adf table....(the relationship like first one is master and second is detail and third one should be act as a detail for 2nd table (master) ) like College id (1 st table) dept id (second table ) students_id (third tabl

  • Pb with the function "CWMatrix1​.GenEigenV​alueVector​"

    hello. First I want to thanks all the peopole who have help me for my problem. But today there is a new problem. I can use the function "CWMatrix1.GenEigenValueVector", but it donsen't work correctly (I suppose) my code is Dim varD As Variant Dim var