Splitting the Spool Request for Form Printing

Hello,
I have a requirement where I need to print data for 1500 employees (1 Page per employee) which makes 1500 pages per spool request. Now, there is a change in the printer due to which the printer only accepts only 300 pages in the buffer. So, after printing 300 pages, it stops. Is there any way I can split the spool request and generate 5 spool requests (1 request for every 300 pages) so that all the pages are printed at once? Please let me know.
Regards,
Venkata Phani Prasad Konduri

i have created a program using which you can create multiple pdf from a single spool number
first in the code below i have taken a spool number which has 2 pages in it.
second you must use the FM : RSPO_RETURN_SPOOLJOB  in the program to get the content of the spool .  while to perform analysis on how to build logic to split the spool otf/pdf user the FM RSPO_DISPLAY_SPOOLJOB, here by passing the spool number you will get the content in display mode and then based on the keyword you will build logic for e.g in my case i have to perform segregation based on material number so it can be used to decide how many pages are reserved by a specific material number.
another important point to kept in mind is that otf begins with "//"  and a page ends with "EP" and last page ends with  "//" along with "EP". It can be used to remove the number of lines to keep specific pages .
program layout as with proper documentation has been provided.
REPORT  zdk_spool_split.
* DATA DECLARATION.
TYPES : tbuf LIKE tline OCCURS 1.
FIELD-SYMBOLS: <buf> TYPE tbuf.
FIELD-SYMBOLS : <lit_otf> TYPE ANY TABLE.
DATA : lit_otf TYPE STANDARD TABLE OF itcoo.
DATA : objcont LIKE soli  OCCURS 0 WITH HEADER LINE.
DATA : format(5) TYPE c, dummy TYPE i.
DATA : buffer_pdf TYPE STANDARD TABLE OF tline.
DATA : p_file LIKE rlgrap-filename VALUE 'C:\temp\file1.pdf'. "#EC NOTEXT
DATA : numbytes TYPE i VALUE 255.
DATA : cancel.
DATA : otfcmd LIKE itcoo VALUE '//'.
DATA : pdfcnv_archive_index LIKE toa_dara.
DATA : bin_file TYPE xstring,
        pdf_username TYPE c.
* GET THE SPOOL NUMBER FROM THE USER.
PARAMETERS : p_sid TYPE tsp01-rqident OBLIGATORY.
* GET THE CONTENT OF THE SPOOL NUMBER
CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
   EXPORTING
     rqident              = p_sid
   TABLES
     buffer               = objcont
   EXCEPTIONS
     no_such_job          = 1
     job_contains_no_data = 2
     selection_empty      = 3
     no_permission        = 4
     can_not_access       = 5
     read_error           = 6
     type_no_match        = 7
     OTHERS               = 8.
IF sy-subrc <> 0.
   MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
           WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
* INCORPORATE YOUR LOGIC TO DELETE LINES WHICH ARE NOT REQUIRED.
* IN MY CASE I HAVE REMOVED LINES FROM 351 TO 715 TO REMOVE THE SECOND PAGE FROM MY SPOOL
* MY OBJCONT AFTER DELTED BEGINS WITH "//" AND ENDS WITH "EP" AND "//"
DELETE objcont[] FROM 351 TO 715.
* IT ONLY CONTAINS ONE PAGE OUT OF 2 PAGES FROM THE SPOOL NUMBER I HAVE PROVIDED.
* CONVERT OTF TO PDF
lit_otf = objcont[]. " GET THE OTF IN CORRECT OTF FORMAT
ASSIGN buffer_pdf TO <buf>.
format = 'PDF'. " CHOOSE THE CORRECT FORMAT IE PDF MUST FOR CONVERSION
CALL FUNCTION 'CONVERT_OTF'
   EXPORTING
     format                = format
   IMPORTING
     bin_filesize          = dummy
   TABLES
     otf                   = lit_otf
     lines                 = <buf>
   EXCEPTIONS
     err_max_linewidth     = 1
     err_format            = 2
     err_conv_not_possible = 3
     OTHERS                = 4.
IF sy-subrc IS NOT INITIAL.
   MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
           WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
* GET THE NUMBYTES OF THE PDF CONTENT OBTAINED AFTER THE CONVERSION
* CORRECT NUMBYTE IS VERY IMPORTANT OTHERWISE IT WILL NOT GENERATE
* PDF IN CORRECT FORMAT.
PERFORM convert_otf2pdf_end(rstxcpdf) TABLES <buf>
                                       USING otfcmd
                                             numbytes
                                             pdfcnv_archive_index
                                             bin_file
                                             pdf_username.
* NOW DOWNLOAD THE PDF TO VIEW IN ACTUAL PDF AT DESIRED PATH
PERFORM download_w_ext(rstxpdft) TABLES <buf>
                                  USING p_file
                                        '.pdf'
                                        'BIN'
                                        numbytes
                                        cancel.

Similar Messages

  • FM to release the spool  request for printing

    I have requirement one of my program generate the spool request.
    now i need to schedule the print job in background.
    can any one help in specifing the Funtion modulde that can be used to releasing the spool request for printing

    Hi ,
    Please can one specify what are the parameters to be populated to make it run in the back ground
    right know i'm populating these fields.
    In SP01 it showing status as "Frontend Unavaliable".
    if i schedule the program in back ground.
    CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'
      EXPORTING
       COPIES                         = 1
       DEVICE                         = 'LOCL'
      DIVISION                       = '*'
       ENDPAGE                        = 0
       PRIO                           = 1
      RECEIVER                       = '*'
      REQEST_TITLE                   = '*'
        spool_request_id               = '9817'
      STARTPAGE                      = 0
      TELELAN                        = '*'
      TELENUM                        = '*'
      POSNAME                        =
      ACTTIME                        =
    TABLES
      ATTRIBUTES                     =
    EXCEPTIONS
       ARCHIVE_DEST_INVALID           = 1
       ARCHIVE_DEST_NOT_FOUND         = 2
       ARCHIVE_DEST_NO_RIGHT          = 3
       CANNOT_ARCHIVE                 = 4
       CHANGE_ARCHDEST_NO_RIGHT       = 5
       CHANGE_COPIES_NO_RIGHT         = 6
       CHANGE_DEST_NO_RIGHT           = 7
       CHANGE_DEVTYPE_NO_RIGHT        = 8
       CHANGE_PRIO_NO_RIGHT           = 9
       CHANGE_TELENUM_NO_RIGHT        = 10
       CHANGE_TITLE_NO_RIGHT          = 11
       DEST_INVALID                   = 12
       DEST_NOT_FOUND                 = 13
       DEST_NO_RIGHT                  = 14
       INTERNAL_PROBLEM               = 15
       INVALID_FAX_ATTRIBUTE          = 16
       INVALID_PARAMETERS             = 17
       NON_OWNER_NO_RIGHT             = 18
       NO_LAYOUT                      = 19
       NO_SPOOL_REQUEST               = 20
       OUT_AGAIN_NO_RIGHT             = 21
       SPOOLER_PROBLEM                = 22
       OTHERS                         = 23

  • How to genrate the spool request for the smart form.

    Hi Friends,
    I have a page to FAX to vendor for which i have made a smartform for the page to be send. For this purpose i have to genrate the spool request without displaying the output of the smartform. The program should give the spool number genrated.
    can you please suggest somthing.
    Regards,
    Vidya.

    hi
    for this when u r callin the form write some code in u r program
    IF RADIOBUTTON = 'X' .     "GET THE SPOOL
    CONTROL_PARAMETERS-NO_DIALOG = 'X'.
    ELSE.
    CONTROL_PARAMETERS-NO_DIALOG = ' '.
    ENDIF.
    and pass this to the calling form.
    Please Close this thread.. when u r problem is solved. Reward if Helpful
    Regards
    Naresh Reddy K

  • How to print Spool requests for cheque printing sequentially

    Dear All,
    I am making vendor payments and printing cheques using F-58. It automatically creates a spool requests at the end of the transaction. When i complete all my payments and go to SP01 for viewing spool requests, the last request appears at the top of the list.
    If i select 3 consecutive requests and print them at a time, the last request gets printed first on the first cheque number and the first request gets printed on the last cheque number.
    This results in anomaly in the cheque number assigned in the system and the printed cheque as the last payment is printed on the first cheque.
    I am using dot matrix printer with  page format fixed for cheque specifications. The cheques are printed properly as per the format except the order of printing.
    Kindly let me know how to print multiple requests sequentially from the spool requests list such that the spool request number printed matches with the serial cheque numbers.
    Regards,
    SAP_2009

    Hi,
    I understod your issue.
    Whenever you posted multiple payment documents, and after that if you want to take cheque printouts sequentially by using more spool requests.........there is a way to sort out this issue.
    1) Select all of your spool requests and click on Sort in ascending Order (CtrlShiftF5) and click on Print directly (CtrlShiftF8). By doing this you will get the cheque printouts sequentially according to your payment document sequence.
    Hope this will help you
    Assign ********, if it solved your problem.
    Thanks,
    Srinu

  • Creating the spool request for the internal table data

    Hi..
    I am little confused with the function module used for creating the spool request.
    well...I am practicing the ALV report and sending the that report to the spool.
    I  ve used the FM SLVC_TABLE_PS_TO_SPOOL.
    this is the way i defined the internal table.
    Data:
    begin of imat occurs 0,
    matnr like marav-matnr,
    maktx like marav-maktx,
    matkl like marav-matkl,                     
    ntgew like marav-ntgew,
    gewei like marav-gewei,
    end of imat.
    data i_lines type sy-tfill
    and i declared..
    describe table imat lines i_lines.
    then i given the value for i_file_length as i_lines in the export paramet of the FM SLVC_TABLE_PS_TO_SPOOL.
    CALL FUNCTION 'SLVC_TABLE_PS_TO_SPOOL'
        EXPORTING
          i_file_length            = i_lines
       IMPORTING
         E_SPOOLID                = spoolid
        tables
          it_textdata              = imat
    when i executed it shows the list and wen going back it shows the runtime error as
    CALL_FUNCTION_CONFLICT_LENG  - Type conflict when calling a function module (field length).
    please provide me some solutions.
    thanks in advance.
    etienne.

    Hi satyajit,
    Thanks for your response....but the fields in my internal table "IMAT" is not compatible with the structure LVC_S_1022 as it has it componenrt - LINE.
    so how can i define my internal table IMAT as type lvc_s_1022 as you suggested.
    thanks in advance.
    etienne.

  • Print preview for the spool request without actual printer hooked u to SAP

    Hi,
    We do not have any printer connected to SAP system. But the business team just wants to do print preview of a document using the SAP local printer settings thorough SP01. They do not want to print it.
    They say that SAP has many printer drivers in its setting. So even if the printer is not attached they should be at least able to do a print preview ?
    Is this possible ? What do I need to do ?
    Regards,
    Rajesh.

    Rajesh Thomas,
    the preview function needs a printer - for whatever reason.
    If NO printer is defined in the system, someone should be able to set up a printer, i.e. locl with driver SAPWIN. Try.
    Regards,
    Clemens

  • Spliting Spool Request for Dunning in background.

    Hi Experts,
    I'm having a requirement to split the spool request for every 1000 pages,as for more then 1000 pages for Dunning executed in background.
    the job is automaticaly canceled after 30 mn of execution
    => in F150, status of the printout is "Printout has terminated" .
    My requirement is to split the spool request using enhancement in print program.
    How can i split the spool request after 1000 pages and again print from 1001 to last.
    print program for F150 - SAPF150D2
    Thanks in advance.

    Hi Yusuf,
    There is no otherway to delete the spool request except giving the option delete in the authorization object S_SPO_ACT.Make sure that you havenot given the values SP01, SP0R under the authoriztion object S_ADMI_FCD. If you have given both  the authorization objects with the above mentioned values than that user will get the authorization to delete the spool requests created by the other users also. So if you want to restrict the user not to delete the spool requests created by the other users make sure , not to give him the values SP01, SP0R under the authoriztion object S_ADMI_FCD.
    Regards,
    Bharath.

  • Trying to figure out how to clear out the spool area for my HP printer on my 2009 IMac?

    HP advised that I should clear out the spool area for my printer.  How do I do this?

    Hi patricia m.
    I'm sorry to hear that you are encountering difficulties in clearing the spool area for your printer. It is rather "windows-centric" language as Mike indicated.  I believe that HP Support would have been referring to resetting your printing system and I have included a document on how to do that.
    If you find after resetting your printing system that issue hasn't been corrected, please post some additional information and I would enjoy helping you resolve things.  I would need to know what model/product number of HP Printer you have, the version of Mac you are running, how the printer is connected (wireless, USB) and the issue you have encountered.
    Macintosh: Resetting the Printing System in Mac OS X
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c01371980
    Happytohelp01
    I work on behalf of HP

  • SPOOL REQUEST FOR SMARTFORM

    HI experts,
    how to create the spool request for smartform. can anyone help me. give me the complete procedure.
    thanks in advance for ur responce.

    The user which send the smartform to the spool (probably wf-batch) needs an output device. You can maintain this in SU01.
    Just look at sample code:
    1.Send Smart Form output to spool using the FM <ws_formname> (FM name derived from the export parameters of SSF_FUNCTION_MODULE_NAME).
    //Start of Code Sample
    DATA : ws_formname TYPE rs38l_fnam.
    TYPES: BEGIN OF ty_script,
    trans_ref LIKE eanl-anlage,
    cont_ref TYPE e_edmideservprovcontractid,
    trans_code TYPE char05,
    trans_reason TYPE char05,
    market_sect LIKE eanl-zzmktscode,
    efffrm_date LIKE sy-datum,
    mprn LIKE iflot-zzmprn,
    mlc TYPE char01,
    subbuild_no(40) TYPE c,
    build_no LIKE adrc-str_suppl1,
    dep_fare LIKE adrc-str_suppl3,
    post_town LIKE adrc-city1,
    post_code LIKE adrc-post_code1,
    asset_code LIKE egerh-kombinat,
    paymnt_code(2) TYPE c,
    model_code LIKE equi-typbz,
    manuf_code LIKE equi-herst,
    year_manuf LIKE equi-baujj,
    serial_no LIKE equi-sernr,
    meter_code TYPE char01,
    meter_mech(2) TYPE c,
    meas_cap TYPE zmeasur_cap,
    role_code TYPE char03,
    market_name LIKE eservice-serviceid,
    status TYPE char01,
    END OF ty_script.
    DATA: i_scriptdata TYPE STANDARD TABLE OF ty_script
    WITH HEADER LINE.
    DATA: wa_output_options TYPE ssfcompop,
    wa_control_params TYPE ssfctrlop,
    wa_spoolnum TYPE rspoid,
    wa_printdata TYPE efg_strn_printdata.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'Your Form Name'
    IMPORTING
    fm_name = ws_formname
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3.
    CALL FUNCTION ws_formname
    EXPORTING
    control_parameters = wa_control_params
    c = wa_printdata
    IMPORTING
    job_output_info = wa_job_output_info
    TABLES
    i_scriptdata_input = i_scriptdata(Your Script Data)
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    MOVE wa_job_output_info-spoolids] TO wa_spoolids[.
    READ TABLE wa_spoolids INTO wa_spoolnum INDEX 1.
    IF sy-subrc = 0.
    DATA :id LIKE tsp01-rqident.
    MOVE wa_spoolnum TO id.
    ENDIF. .
    Comments-Id Contains the Spool Request for the given smart form
    //End of Code Sample
    Convert Smart Form Output to Raw
    Format
    2.Convert the Spool Output to OTF using the FM RSPO_RETURN_SPOOLJOB.
    //Start of Code Sample
    data i_soli LIKE soli occurs 0 with header line.
    CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
    EXPORTING
    rqident = id
    desired_type = 'OTF'
    TABLES
    buffer = i_soli
    EXCEPTIONS
    no_such_job = 1
    job_contains_no_data = 2
    selection_empty = 3
    no_permission = 4
    can_not_access = 5
    read_error = 6
    type_no_match = 7
    OTHERS = 8.
    Comments- i_soli contains the OTF data
    //End of Code Sample
    3.Convert the OTF using FM
    SX_OBJECT_CONVERT_OTF_RAW.
    DATA content_bin TYPE solix_tab.
    DATA objhead TYPE soli_tab.
    DATA i_soli_tab TYPE soli_tab.
    DATA boolean TYPE sx_boolean.
    DATA length TYPE so_obj_len.
    LOOP AT i_soli.
    APPEND i_soli TO i_soli_tab[].
    ENDLOOP.
    CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_RAW'
    EXPORTING
    format_src = 'OTF'
    format_dst = 'RAW'
    CHANGING
    transfer_bin = boolean
    content_txt = i_soli_tab
    content_bin = content_bin
    objhead = objhead
    len = length
    Convert Smart Form Output to Raw
    Format
    EXCEPTIONS
    err_conv_failed = 1
    OTHERS = 2.
    REward points if useful.

  • Spool Request for 365 days?

    Hi Gurus,
    1.     One of my client wants the Spool request to be stored for 365 days
    So please let me know how can I store Spool request for 365 days?
    2.     By default how many days Spool Request is stored?
    3.     Any Spool related Parameter to hold the spool request for days?
    Your response highly appreciated
    Regards
    Ricky Smith
    Message was edited by:
            Ricky smith

    go into SM37 and cancel scheduling of SAP_REORG_SPOOL
    then, you can schedule program RSPO1041,
    check option at the bottom, you can specify usernames (creator).
    click on the arrow on the right, click on exclude single value and put your username
    adapt other parameters in this screen accordingly. call it SAP_REORG_SPOOL
    shchedule the same program and put parameters for 365 days four your special username only. call it SAP_REORG_SPOOL_SPC
    Result: you have 2 scheduled jobs:
    1. job that delete every old spool except for your special user
    2. job that delete 365 days old spool for your special users.
    Please award points if useful.
    Thaks.

  • Creating single spool request for printing all shop floor papers

    Hello PP Gurus,
    We are printing shop floor papers at the time of releasing production order using txn CO02. It creates individual spool request for printing different shop floor papers in the same orders . eg Pick list, goods receipt list etc.
    Is it possible to do the cofiguration setting to create only one spool request for all the different SF papers belong to same order.? If yes, please let me know the steps for customising this.
    Thanks for your help in advance.
    Regards & Thanks
    Rajesh D.

    In transaction OPK8, in forms uncheck the 'New List' check box for the List.
    Regards
    Ramanujan

  • REQUIRE One spool request for n copies in one print command in smartform

    Hii Friends,
              I created a smartform..I require 5 copies of that form..There is a text which needs to be changed in evry copies...eg Original in first copy
                            Duplicate in second copy
                            Triplicate in third copy....n so on
    So i used a loop n i am calling smartform 5 times....The problem is i need one spool request to be created..
    Note: By default sometimes it create one spool request and sometimes 3 spool request...
    Pls share your inputs ............
    Thanks,
    Regards,
    Sujit.

    hi,
    this is more complicated see below description from help
    regards,darek
    Printing Several Forms in One Print Request
    Use
    You want to bundle several forms into one print job.
    Print Request vs. Spool Request
    SAP Smart Forms allows you to bundle several forms to form one output unit. This output unit is called a print request. A print request is different from a spool request:
    Whether a new spool job is created in the spool depends on the settings in the spool dialog.
    Whether a new print request starts depends on the standard parameters of the generated function module you set in SAP Smart Forms. For each print request, the spool dialog is called only once. If you suppress the dialog, you can pass parameters for spool processing only at the beginning of the print request.
    This means that a print request gathers several forms before submitting them to spool processing. Thus they cannot be spread over several spool requests. Vice versa however, you can include several print requests into one spool request.
    Procedure
    Use function module SSF_FUNCTION_MODULE_NAME to retrieve the name of the function module generated from the Smart Form (see also: Integrating the Smart Form Into the Application).
    Call the Smart Form for the first time and set the NO_CLOSE parameter of the control structure. This prevents the print request from being closed after accepting the output of the Smart Form and allows you to include all other form output into this print request as well. Leave the NO_OPEN parameter empty.
    Instead of calling the Smart Form for the first time you can also call function module SSF_OPEN .
    If you want to start a new spool request for the print request, set the TDNEWID field of the Output Options in this first call.
    For all other form output of the application program that you want to include into the print request, use a loop to set both the NO_OPEN field and the NO_CLOSE field of the control structure.
    To close the print request, in the call of the last Smart Form set the NO_OPEN parameter and unmark the NO_CLOSE parameter.
    Instead of calling the Smart Form for the last time, you can also call function module SSF_CLOSE .
    Result
    The forms you called in the steps described above are included into one print request. If in the first step you started a new spool request, you can now view its status in the spool request overview (transaction SP01 ).

  • How To Generate Spool request for a SAP-Script form

    How To Generate Spool request for a SAP-Script form

    Hai   Rahaman,
    After getting the print preview of the SCRIPT.
    Click On  PRINT.
    Buttom of the page one spool request will be generated by system.
    Go to  SP01.
    You Can Find  SPOOL Reqest Number.
    Regards.
    Eshwar.

  • How to create the multiple spool requests for a single report.

    Hi gurus,
                     I have one requirement to be completed , i need to send the out put of the report via mail in pdf format. for that what i did was, iam executing report in background and creating spool request and converting it to pdf and sending the file.
    now the problem is, its a customer ledger report, for each customer i need to create a new spool request and send mail to that particular customer, now my dought is how to create multiple spool requests for a single pro and how i need to go about it.
    And one more question is can we create a spool request for a report which is running in online.
    waiting for inputs frm gurus.

    Hello,
    As per my knowledge for creating new spool id you will have to set
    output_options-tdnewid = 'X'.
    and then using
    job_output_info-spoolids
    create a pdf using
    call function 'CONVERT_OTFSPOOLJOB_2_PDF'
    Rachana.

  • How to see the spool request number

    hi experts,
    how to see the spool request number of any object......
    may be form or report........

    U can go to SP01/SP02.
    For generating spool u can look into this code.
    FORM write_to_spool.
      DATA : l_f_list_name LIKE pri_params-plist,
             l_f_destination LIKE pri_params-pdest,
             l_f_spld LIKE usr01-spld,
             l_f_layout LIKE pri_params-paart,
             l_f_line_count LIKE pri_params-linct,
             l_f_line_size LIKE pri_params-linsz,
             l_f_out_parameters LIKE pri_params,
             l_f_valid.
      l_f_line_size = 255.
      l_f_line_count = 65.
      l_f_layout = 'X_65_255'.
      l_f_list_name = sy-repid.
    to get defult spool device for the user
      SELECT SINGLE spld INTO l_f_spld FROM usr01 WHERE bname = sy-uname.
      IF sy-subrc = 0.
        MOVE l_f_spld TO l_f_destination.
      ENDIF.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
          EXPORTING
            ARCHIVE_ID             = C_CHAR_UNKNOWN
            ARCHIVE_INFO           = C_CHAR_UNKNOWN
            ARCHIVE_MODE           = C_CHAR_UNKNOWN
            ARCHIVE_TEXT           = C_CHAR_UNKNOWN
            AR_OBJECT              = C_CHAR_UNKNOWN
            ARCHIVE_REPORT         = C_CHAR_UNKNOWN
            AUTHORITY              = C_CHAR_UNKNOWN
            COPIES                 = C_NUM3_UNKNOWN
            COVER_PAGE             = C_CHAR_UNKNOWN
            DATA_SET               = C_CHAR_UNKNOWN
            DEPARTMENT             = C_CHAR_UNKNOWN
               destination            = l_f_destination
            EXPIRATION             = C_NUM1_UNKNOWN
               immediately            = 'X'
            IN_ARCHIVE_PARAMETERS  = ' '
            IN_PARAMETERS          = ' '
               layout                 = l_f_layout
               line_count             = l_f_line_count
               line_size              = l_f_line_size
               list_name              = l_f_list_name
            LIST_TEXT              = C_CHAR_UNKNOWN
            MODE                   = ' '
            NEW_LIST_ID            = C_CHAR_UNKNOWN
            NO_DIALOG              = C_FALSE
            RECEIVER               = C_CHAR_UNKNOWN
            RELEASE                = C_CHAR_UNKNOWN
            REPORT                 = C_CHAR_UNKNOWN
            SAP_COVER_PAGE         = C_CHAR_UNKNOWN
            HOST_COVER_PAGE        = C_CHAR_UNKNOWN
            PRIORITY               = C_NUM1_UNKNOWN
            SAP_OBJECT             = C_CHAR_UNKNOWN
            TYPE                   = C_CHAR_UNKNOWN
            USER                   = SY-UNAME
          IMPORTING
            OUT_ARCHIVE_PARAMETERS =
               out_parameters         = l_f_out_parameters
               valid                  = l_f_valid
          EXCEPTIONS
               archive_info_not_found = 1
               invalid_print_params   = 2
               invalid_archive_params = 3
               OTHERS                 = 4
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      IF l_f_valid NE space.
        NEW-PAGE PRINT ON PARAMETERS l_f_out_parameters.
        WRITE : /5 'Material No.',
                 25 'Message Type',
                 40 'Message Issued'.
        ULINE.
        LOOP AT g_t_message_table WHERE type = 'E'.
          WRITE : / g_t_message_table-matnr UNDER 'Material No.',
                    g_t_message_table-type UNDER 'Message Type',
                    g_t_message_table-message UNDER 'Message Issued'.
        ENDLOOP.
        NEW-PAGE PRINT OFF.
      ENDIF.
    ENDFORM.                    " WRITE_TO_SPOOL
    Regards

Maybe you are looking for

  • Error in replicat when updating a row

    Oracle 11gR2 OGG 11.1.1.1.5 I am getting the following error when updating a row that exists in both the target and source db: OCI Error ORA-01403: no data found, SQL <UPDATE....The following is in the discard file: Record not found Mapping problem w

  • Iphone 4s is not recognized by my powerbook

    I have updated all software, but iphone and powerbook will not sync as phone is not recognized by powerbook.  What do I do to correct situition?

  • USB connections: iMac mid 2011.

    Question about the USB connections: the cable fit is not seated as tight as usual. Any other experience with loose USB connections on the USB ports (4 at the back of computer)

  • Mass change to activate the old line item display

    hi I want to know that is there any program like RFSEPA01 to activate the old line items display. There is no mass change option in this program. I am searching for a program which can change on mass level as i am working on many company codes. Thank

  • Java3D game problem(about wall)?(urgent " )

    I am developing a 3D shoot game which contain a 3D mase,but...why the wall is transparent when I run towards the wall??how can solve this problem?? Moreover,I wonder how to run smoothiy in 3D game??