No output Spool for my Z-program in Background

Hi All,
The custom program which I developed giving the following Error message
(The program getting executed successfully in Background but without the Output Spool ) :
' There is no list
No. BT175 message
diagnosis
Spool No order has been found for the job or job step to choose. Possible causes:
The job has not yet been executed.
The job was terminated without transmitting the print spool system SAP.
The order was created with spool "Delete when editing" and has already been removed.
system activities
No action.
procedure
If you think the job was interrupted before the creation of data editing, see the protocol job. If the job was completed abnormally, you will find a corresponding message in the system log ' .
Please explain me what this Error is all about and also How to correct this error.
Many thanks in Advance.

Hi Burak,
The program has been completely successfully (not Interrupted ),but the output spool is not appearing in the Transaction SM37 and as i said I have given all the Informations regarding that.
I debugged the code and checked the Output file its generating. It has the Records (Entries) in Transaction AL11 which we are looking for.
But the problem is its not generating the Spool Report in Background.
Also, I couldn't debug the entire code ( it takes hours ) since we are fetching 4.5 million entries from DB tables.

Similar Messages

  • Is there a way to change the output type for Email Remittance Program?

    Hello,
    We are trying to implement Separate Remittance Program.The seeded output type is PDF( I have checked the output type for send separate remittance concurrent program) however the
    email which we receive looks like a regular email I mean with a normal text .  Is there a way to get the output in different type like excel,attachment,pdf.
    Any inputs would be highly appreciated.
    Thanks,
    Sushma

    Currently there is a bug raised
    Bug 8208646 : R12 UNABLE TO SEND SEPARATE REMITTANCE ADVICE AS EMAIL ATTACHMENT IN PDF.
    If you want to customize this process you need to create data definition,new rtf template and bursting program to send pdf as attachment.

  • Changing audio output device for currently running program

    I'm not sure where to put this question, but all my searching hasn't seemed to find an answer...
    If I have a program running, iTunes, VLC, a game, whatever, and want to change audio output from say Line Out to Headphones, I have to restart the program for the change to take effect. Is this by design/normal or am I missing something somewhere?

    this is actually a quiet significant issue. There is no way in Flash to select the audio output device.
    Today  people have regular speakers and a separate headset. They all use the  speakers for music and the headset for voice. Skype i.e. has the option  to choose audio output device and its really handy, because
    you dont  have to bother to set the default device to the headset everytime you  want to use it.
    If you set the default device to the headset all other apps will send their audio  output to the headset - which is not what you want either.
    So people  really want to leave the default device set to the speakers and not to  the headset.
    Nokia did this for Java
    JRT 2.1 / Nokia UI API updated to version 1.4:
                AudioOutputControl extension for controlling which audio output device, for example the device loudspeaker or earpiece, is used to play back audio
    This really is an issue.

  • Executing the program in Background

    Hi experts i'm trying to Execute the Program in background.
    Given the Input and output file locations and Press F9 for process the program in background from SE38. cause i want to run my program as a batch(Background)
    but its not accepting. can you please help me how to resolve this issue.
    i'm providing the code can you please verify that.
    Many Thanks
    SELECTION-SCREEN                                                     *
    selection-screen begin of block b1 with frame title text-001.
    *.. Filename
    PARAMETERS: f_name TYPE char100,     "Upload filename
                d_name TYPE char100.     " Download filename
    selection-screen end of block b1 .
    SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS: p_serv radiobutton group RAD1,
                p_frnt radiobutton group RAD1 default 'X'.
    SELECTION-SCREEN: END OF BLOCK b2.
    AT SELECTION-SCREEN ON VALUE-REQUEST  FOR f_name.
    *.. Data Declaration
      DATA: lt_file TYPE filetable,
            lv_file TYPE LINE OF filetable,
            rc_i TYPE i,
            cl_gui TYPE REF TO cl_gui_frontend_services,
            w_path  LIKE dxfields-longpath.
    *.. Check if from server or frontend
      IF p_frnt = 'X'.
    *.. Create objects for method
      CREATE OBJECT cl_gui.
    *.. Clear the filename
      CLEAR f_name.
    *.. Call method to search for file
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          window_title = 'Choose Input File'
        CHANGING
          file_table   = lt_file
          rc           = rc_i
        EXCEPTIONS
          OTHERS       = 4.
    *.. Check if file found
      IF sy-subrc EQ 0.
    *.. Check that file path not empty
        CHECK NOT lt_file[] IS INITIAL.
        LOOP AT lt_file INTO lv_file.
    *..   Set parameter to filename
          f_name = lv_file-filename.
        ENDLOOP.
      ENDIF.
    *.. Free object
      FREE cl_gui.
    *.. Upload from Server
      ELSE.
    Retrieve filename
        CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
          EXPORTING
            i_location_flag       = 'A'
            i_server              = ' '
            i_path                = '/sap_ftp/'
            filemask              = '**'
            fileoperation         = 'R'
          IMPORTING
      O_LOCATION_FLAG       =
      O_SERVER              =
            o_path                = w_path
      ABEND_FLAG            =
          EXCEPTIONS
           rfc_error             = 1
           error_with_gui        = 2
           OTHERS                = 3.
    Set file path
        f_name = w_path.
      ENDIF.
    *.. File selection for output file
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR d_name.
    *.. Only allow search for front-end
      IF p_frnt = 'X'.
    *.. Data Declaration
        DATA: lt_file TYPE filetable,
              lv_file TYPE LINE OF filetable,
              rc_i TYPE i,
              cl_gui TYPE REF TO cl_gui_frontend_services.
    *.. Create objects for method
        CREATE OBJECT cl_gui.
    *.. Clear the filename
        CLEAR d_name.
    *.. Call method to search for file
        CALL METHOD cl_gui_frontend_services=>file_open_dialog
          EXPORTING
            window_title = 'Choose Input File'
          CHANGING
            file_table   = lt_file
            rc           = rc_i
          EXCEPTIONS
            OTHERS       = 4.
    *.. Check if file found
        IF sy-subrc EQ 0.
    *.. Check that file path not empty
          CHECK NOT lt_file[] IS INITIAL.
          LOOP AT lt_file INTO lv_file.
    *..   Set parameter to filename
            d_name = lv_file-filename.
          ENDLOOP.
        ENDIF.
    *.. Free object
        FREE cl_gui.
      ENDIF.
    *.. General Checks for Selection screen
    AT SELECTION-SCREEN.
    *.. Check if program run in batch mode and ping directory
      IF sy-batch = 'X'.
    *.. Move filename to file_name
        file_name = d_name.
    *.. Check if path can be reached
        OPEN DATASET file_name FOR INPUT IN TEXT MODE.
        IF sy-subrc NE 0.
          MESSAGE e082(zsomerfield).
        ENDIF.
      ENDIF.
    NITIALIZATION.
    *.. ALV Variables
      variant_save = 'A'.
      w_repid   = sy-repid.
      w_variant_handle = c_handl.
    START-OF-SELECTION                                                   *
    START-OF-SELECTION.
    *.. Check if batch program running in batch mode or not
      IF sy-batch = 'X'.
    *.. Open file on application server for reading
      OPEN DATASET file_name FOR INPUT IN TEXT MODE.
      DO.
    *.. Upload entries
        READ DATASET file_name INTO zpernr.
    *.. IF end of file reached then exit DO statement
        IF sy-subrc = '4'.
          EXIT.
        ELSE.
    *.. IF entry found then add to employee table
          in_file-empnum = zpernr.
    *..     Add entries to table
          APPEND: in_file.
    *..     Clear header lines
          CLEAR: in_file, zpernr.
        ENDIF.
      ENDDO.
    *.. Close dataset
      CLOSE DATASET file_name.
    *.. Get file from frontend and run in foreground
      ELSE.
    *.. Upload from local machine.
    DATA: file_name TYPE string.  "LIKE rlgrap-filename,
    *.. Set filename to filename from screen
      file_name = f_name.
    *.. Upload the information from the file into the table in_file
      CALL FUNCTION 'GUI_UPLOAD'
           EXPORTING
                filename                = file_name
           TABLES
                data_tab                = in_file
           EXCEPTIONS
                file_open_error         = 1
                file_read_error         = 2
                no_batch                = 3
                gui_refuse_filetransfer = 4
                invalid_type            = 5
                no_authority            = 6
                unknown_error           = 7
                bad_data_format         = 8
                header_not_allowed      = 9
                separator_not_allowed   = 10
                header_too_long         = 11
                unknown_dp_error        = 12
                access_denied           = 13
                dp_out_of_memory        = 14
                disk_full               = 15
                dp_timeout              = 16
                OTHERS                  = 17.
    *..   Make sure file uploaded correctly
      IF sy-subrc <> 0.
       MESSAGE E018(ZHR_MESSAGES).
      ELSE.
      MESSAGE i017(ZHR_MESSAGES).
      ENDIF.
      ENDIF.

    Hi Vamsi,
    <b>First Check in the Foreground your program is working for the application server file or not</b>
    When you will Execute your program in Background internal table "ZPERNR" will be populated from the file that is there on the application server.
    After that what you want to do with the internal table.I think you have not sent the whole code.
    In background FM GUI_UPLOAD willl not work.
    If you want to debug your code put wait for 100 seconds at the place where you want to dubug your code.Go to transaction code SM50 your job will be running there.
    Select Your job
    Go to  Menu Bar Program/Mode - > program - > Debugging.
    In this way you can debug your code.
    First Check in the Foreground your program is working for the application server file or not

  • Unable to generate spool for two tables in report output

    Hi,
    I created report with two custom containers displaying two tables in output. When I execute the report in background spool is created only for one table in top custom container.
    What should be done to generate spool for both the tables in two different custom containers.
    Thanks,
    Abhiram.

    Hi,
    Check the bellow link for your requirement.
    <<link removed>>
    Regards,
    Goutam Kolluru.
    Edited by: kishan P on Feb 2, 2012 1:50 PM

  • Background job for Standard (T-code F.80) and Background Job via Submit (for same standard program) provides separate spool layout

    Hello Experts,
    I am using SUBMIT Program to execute a standard T-code (F.80).
            SUBMIT sapf080 WITH SELECTION-TABLE rspar
                                         AND RETURN.
    When I execute the program in background and compare it with F.80 and execute it in background too, spool layout for both are different.
    For F.80, It is more detailed with every info like doc number, company code and fiscal year with messages, but for my program only messages are displayed in the spool which is getting unconvinient as I don't know for which document number that message was generated.
    Can you please suggest why am I getting 2 different spool layouts for the same program executed in 2 different ways.
    Thanks,
    Ankit Khanna

    Hello,
    Thanks for your replies.
    I have added a list option along with SUBMIT statement to get similar spool layouts.
    Below piece of code will solve the issue.
              DATA list_tab TYPE TABLE OF abaplist.
            SUBMIT sapf080 WITH SELECTION-TABLE rspar EXPORTING LIST TO MEMORY
                          AND RETURN.
            CALL FUNCTION 'LIST_FROM_MEMORY'
              TABLES
                listobject = list_tab
              EXCEPTIONS
                not_found  = 1
                OTHERS     = 2.
            IF sy-subrc = 0.
              CALL FUNCTION 'WRITE_LIST'
                TABLES
                  listobject = list_tab.
            ENDIF.

  • No getting Report Output in OAF for java Concurrent program Method

    I am not getting report output for java Concurrent Program(Concurrent Program Executable Method), for the reports which are of type PL/SQL Stored Procedure getting the output. for some of the reports the executable method is 'java Concurrent Program', so is there any thing i need to modify in my code.
    Thanks
    Babu

    The Concurrent request is not able to generate output
    getting following error in FNDCPREQUESTVIEWPAGE
    The concurrent request 9923758 did not create an output file.
    so what may be reasons for this?
    Thanks
    Babu

  • Program name if no output type for dunning smartform

    Hello Experts,
    I want to know if smart form is not associated with any output type then how can I know which program is calling the smartform. I checked out in TNAPR with the smartform parameter value and system did not returns any hits. It means smartform is not associated with any output message type.
    I am working with a dunning smart form where I need to make some changes, Transaction F150 displays the form print preview(One can also print from the transaction), But I have no idea which program is actually calling the smartform.
    Secondly I made some changes in the text element but when through F150 I again viewed the form display, some thing I deleted from the text element still appearing in the preint preview. Could anyone throw some light on this and guide me.
    secondly how to put breakpoint in the smartform, Normally in abap report you just press ctrl+shift and f12 but in breakpoint it is not applied.
    Thanks,
    Mark

    FI Forms will not save under TNAPR table
    FI Form names and Program Try to use below tables :
    Tables : T001F or TTXFP
    There is no output types for FI Forms,
    Check the below link :
    http://help.sap.com/saphelp_erp2004/helpdata/en/15/8c2239c2af4a04e10000000a11405a/frameset.htm
    Path for see form name and print program - Dunning
    path for configuration is :
    SPRO
    FInancial Accounting->Contract Accounts Receivable and Payable->Business Transactions->Dunning Notices.
    Just goto SMARTFORMS Transaction -> use smartform name -> execute smartform -> it will go SE37 -> click on display -> here you can set up break point.
    or you can use print program to setup debugging.
    Now run F150 Transaction -> here you are able to see debugging mode
    Thanks
    Seshu

  • This program was created to automate the download of joblogs and spools for

    Hi All,
    please suggest me the ways through which i can create a  program  to automate the download of joblogs and spools for the ARCHIVE process.
    thanks
    Ankit

    Please select all open PO according to the following conditions - select if the PO satisfies any one of the below conditions:
    1) Open Quantity is less than 10% of total quantity
    2) Delivery date is more than 3 months in the past
    3) Delivery completed indicator is set and delivery date is more than 6 months in the past.
    Then a manual decision is required. Best is to develop a report which will display the list and user can select and block from the report itself.
    Also, the 10%, 3 months, etc values are depending on the customer. You may want to modify these as suitable.
    Regards,
    Lakshman

  • New Output Type for E-MAIL - What Programs to use

    Hi ,
    I am Configuring a new Output Type for E-mail Invoices. Based on the Billing Indicator on the Customer Master the New output type for E-mail should be determined and send an e-mail. To test this i have setup a new output type and used the below parameters:
    Program : RSNASTSO
    Form Routine: SAPOFFICE_AUFRUF
    PDF/SmartForm Form: SAPOFFICE_AUFRUF_VX
    Form Type: PDF
    I have the e-mail address in the general data of both Bill to and Sold TO. The partner Function for this output type is BP.
    When i created an Invoice i got the below error, I have highlighted the line with astericks which are showing up as error.
    Processing log for program RSNASTSO routine SAPOFFICE_AUFRUF   
    Function module SO_NAME_CONVERT with return code    
    Text 220V30900018667                    ZRD3E0500000425 ID STAM language E not found
    **No address exists     - Error**
    **Error while copying recipient object    - Error**
    **Specify at least one recipient        - Error**    
    Message object FOL29000000000004SCR33000000000044 created or sent        
    At this point i just want to be able to send an invoice via e-mail using standard program. I am looking to confirm if i am using the correct parameters. Any help will be greatly appreciated.
    Thanks,
    Irfan.

    Hi ,
    You can ty using the function module SO_NEW_DOCUMENT_ATT_SEND_API1
    here you will to also pass the logic that the PDF should be sent to a email recipient as per mentione din the bill to party function module
    Thanks
    Prashant

  • ME22 Transaction Generating more than one spool for an OUTPUT

    Hello,
    It has been noticed that in some company codes PO is printed (via ME22) in more than one copy I noticed that for one PO - three or four spool requests are generated.
    When i changed PO in ME22 and triggered for output it is generating 4 r more spools.Since it is the standard transaction i think Configuration should be changed.
    Where can i get those settings. I need only 1 spool for one output.
    Please advice any change in set up / configuration to be done, so that only one copy of PO is printed.
    Please help.

    Hi,
    Please check the output condition record (NACR) for application EF (Purchase Order). Select the key combination for the corresponding purchasing output determinatino. Then go to the communication area and check number of messages perhaps it was setup more than 1.
    Regards,
    Ferry Lianto

  • Processing of Sales order output type BA00 processes another Z output type for acknowledgement.

    Hi Friends,
    I am facing below mentioned issue and request your suggestion to solve it
    Via processing of sales order output type BA00 another Z output type is processed and acknowledgment is sent to SAP inbox( sost).
    This is working incase of manual addition of BA00 output type and via standard program " sd70av1a", but this functionality is not working when i am calling this standard program in a Z report via batch job.     
    with the below code-
    DATA: name TYPE tbtcjob-jobname.
             DATA: number  TYPE tbtcjob-jobcount.
             DATA: print_parameters TYPE pri_params.
             name = 'ORDER_PRINTING'.
             CLEAR: range1.
    *REFRESH: range.
             range1-sign = 'I'.
             range1-option = 'EQ'.
             range1-low = 'BA00'.
    *        range1-high = 'ZBA1'.
             APPEND range1 TO range.
             CALL FUNCTION 'JOB_OPEN'
               EXPORTING
                 jobname          = name
               IMPORTING
                 jobcount         = number
               EXCEPTIONS
                 cant_create_job  = 1
                 invalid_job_data = 2
                 jobname_missing  = 3
                 OTHERS           = 4.
             IF sy-subrc = 0.
               SUBMIT sd70av1a WITH  rg_kschl IN range
                               WITH  rg_vbeln IN order_tab
                               TO SAP-SPOOL
                               SPOOL PARAMETERS print_parameters
                               WITHOUT SPOOL DYNPRO
                               VIA JOB name NUMBER number
                               AND RETURN.
               IF sy-subrc = 0.
                 CALL FUNCTION 'JOB_CLOSE'
                   EXPORTING
                     jobcount             = number
                     jobname              = name
                     strtimmed            = 'X'
                   EXCEPTIONS
                     cant_start_immediate = 1
                     invalid_startdate    = 2
                     jobname_missing      = 3
                     job_close_failed     = 4
                     job_nosteps          = 5
                     job_notex            = 6
                     lock_failed          = 7
                     OTHERS               = 8.
                 IF sy-subrc <> 0.
                 ENDIF.
               ENDIF.
             ENDIF.
           ENDIF.
    In this case only BA00 is getting processed but Z output type created for sending acknowledgment is not triggered.
    Please suggest how can i achieve the required functionality.
    Thanks,
    Surya

    Solved myself..
    Thanks.
    Br,
    Surya

  • How to spool for a file inside a procedure

    Hi,
    I have a Procedure. Now that procedure writes some values into a file in /tmp directory (in Unix). Now there is a server program that reads this file does some manipulations and writest the output to a particular fiel(this file not the same as input file) in the same directory. My PL/SQL code or procedure has to keep looking for this file (output file generated by server program). How can I spool for a file in PL/SQL? Is it possible? Could you please put some light on this as of how to do it?
    Thanks in advance

    Hi,
    I didnt get any exact way of spooling for the file. I tried to do this program for reading lines from a file using GET_LINE
    create or replace procedure film as
    log varchar2(300);
    logfile UTL_FILE.FILE_TYPE;
    begin
    log := 'check_log';
    logfile := utl_file.fopen('/tmp','check_log','R');
    utl_file.get_line(logfile,log);
    utl_file.fclose(logfile);
    end;
    show errors;
    It gives me this error.BEGIN film; END;
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "SYS.UTL_FILE", line 101
    ORA-06512: at "SYS.UTL_FILE", line 157
    ORA-06512: at "DACSCAN.FILM", line 6
    ORA-06512: at line 1
    Could you please tell me where I am going wrong.
    Thanks in advance

  • Problem in creating output device for RICOH Aficio MP 2000 PCL 5e printer

    HI,
    i have problem in creating a output device for the RICOH Aficio MP 2000 PCL 5e as i am unable make out which device type should be assigned and what should be given in spool server tab.
    i have pinged the printer in lan and it is connecting.
    when i am giving the print from new ricoh printer its going to some other old printer in network.
    we are unable to get the logo of our company when we are taking print from this printer from sap level.
    kindly suggest what other things has to be taken care.
    regards
    anil

    Hi,
    shall i do in development and then import the same to quality and production.
    also tell me what shd i put in these tabs
    version-sapsripthandling-driver
    list handling-printer driver
    printer character set-character set-syt character set
    we can find this tab in create option of device type.
    when i am trying to save its showing it has to be done on program level.
    kindly reply back as it will resolve the big issue for me.
    thanks
    anil

  • Output Issue for order confirmation

    We have a sales order contains 3 line items 10,20 & 30.
    We have found the line item 30 has been created in the sales order change log,. after the line items 10 and 20 has created. 
    The print output copy is having 4 pages.
    In that print preview the header data was appearing for item 10 on page 1 and the same header data was re-appearing for item 30 on page 3.
    For better understanding we have taken the generated spool files of the sales order and compared with the print output copies which was sent by the user.
    Also we found that all the header details ( sold-t0 & ship-to addresses ) are generating in the SAP spool file for all the 3 line items 10,20 & 30. Here the output is z output type.
    But the header details are printing in the PDF ( print output ) for line item 10 and 30 only. ( Not printing for item 20 ). 
    As per the SAP print program, whatever layout is generated in SAP, same thing should print in PDF
    So as we assume that there is some mismatch in the layout mapping. ( here the layout is JETFORM Server )
    But we are not sure about the problem ?
    Please help me on this ...

    Hi,
    This can be due to various problems,
    First check if there is any bug in the program itself. have a walkthrough. Once this is ensured, process one document in debugging mode for similar scenario and then check the spool.
    You can convert the spool into PDF using your own program and then use the same spool for PDF conversion using some SAP programs like RSTXPDF4 etc. If there is an issue with your program, you can find out using these cases.
    Also, there can also be problems which are printer specific. I would suggest you to test in different printers. Then only you can decide if ABAPer needs to fix it or you need a BASIS guy.

Maybe you are looking for