Several smartform outputs are included in an output request

In SAP help there is an example :
SF_EXAMPLE_03 whereby several customers are selected in the application program; the  form is called for each customer and all form outputs are included in an output request. But there is no print-program given. 
Wrt the above eg. I am facing the same problem to print the payslips for all the employees under single print request.
The smartform made is in a loop called for each employee, but it is required that the print button once pressed shall print the O/P of all the forms for all the selected employees (in the loop).
The control_parameters and output_options in the stmnt:
CALL FUNCTION /1BCDWB/SF00000233 is concerned with the O/P criteria of the smartform being called in that loop pass; whereas I want to bunch all of the smartforms called in the loop in one print command.
Can u pl provide the help as to how to proceed in my case to print for all the employees.

There is a parameter TDNEWID (OUTPUT_OPTIONS I think), if this is set to X, it will trigger a new spool request for every time you are executing the smart form. Else, it will bundle all the request coming out of one program in to one spool id.
So, just set that to X and your problem should be solved.
Regards,
Ravi
Note - Please mark all the helpful answers

Similar Messages

  • EDI billing outputs are capturing credit memos as well as invoices

    I am a newcomer to the company I am currently with, and to this forum, and I have 6 years of experience in EDI and SAP SD.
    I am working on a project to determine why our EDI billing outputs are capturing credit memos as well as invoices, and attempting to send them by EDI, causing failures in our Seeburger translator.  Most customers donu2019t want credit memos by EDI. My goal is to track backwards and determine what portion of the EDI process in SAP is pulling credit memos rather than just invoices.  I suspect that someone intentionally made changes in the past to put this in place, but we need to have a message type that includes invoices and credit memos, to be attached to specific partners that want this, and another more standard message type that sends only invoices. 
    The message control for the example partner specifies Message Type ZURH (customized by this company for some reason), Application V3 (which seems standard), and process code SD09 (which seems standard).  Could someone help me to navigate to an area where I may be able to find out what parameters are used to determine what transaction types are pulled to be sent out by EDI for billing?  I suspect that the issue may be in Application V3, but I am unable to find any help to view u2018Applicationsu2019, because application is such a widely used word. 
    How can I display/change Application V3, in order to check itu2019s contents?
    Any other ideas why credit memos may be included would be appreciated, and I always appreciate having the transaction codes mentioned as well.
    Thank you in advance for your assistance. 
    Application V3 (what specifies what transaction type this pulls?)
    Message Type ZURH,
    Process Code SD09.
    Access Sequence used is ZSD1 Billing Documents (Access Sequence ZSD1 does not appear in transaction V/48 (?))
    Transmission Medium is 6 EDI.
    The program is RSNASTED, and the FORM Routine is EDI_PROCESSING.

    Satish,
    Thanks for the suggestions.
    I checked transaction VV33 u201CDisplay Output Condition Records: Billingu201D for Output Type ZURH, Key Combination Sales Org/Payer, and I find the example customer  linked to ZURH, as I would expect (5010013645     BEST BUY CANADA  Vendor #41448     PY          6     1). 
    I donu2019t see any data about specific transaction types such as credit memos or invoices, so I may not be looking in the right place.  I donu2019t find entries under any other key combination.  How would I check if Output Condition records are maintained for credit memos?
    In regards to the output type being assigned to the credit memo billing type (ZG2U), Iu2019m afraid I donu2019t know how to check that either. 
    In NACE, I see that u2018Proceduresu2019 list the CTyp (?), and procedure US0001 is the only one that includes credits and debits. I donu2019t recognize the Ctyps ZDN0 and ZCN0. The billing type is ZG2U, which I don't see in any of the Procedures:
    10     1     RD00     Invoice
    20     2     ZPRO     Proforma Invoice
    30     1     ZCAN     Canadian Cust. Inv
    40     1     ZCOM     Commercial Invoice
    50     1     ZDN0     Debit Note
    60     1     ZCN0     Credit Note
    How would I be able tell which u2018Procedureu2019 is being used for Application V3, and how would I change that to another Procedure for testing?

  • Is there some kind of text output area in forms ??

    OK - I am not talking about a text item field.
    I have a form containing project and allocated staff information via a project_staff table. I need to include a section on the form that summarises how many staff of a particular type are involved in that project.
    I want it to look like this:
    3 x programmer
    2 x Manager
    1 x Datacomms expert
    1 x analyst
    etc etc.
    Forum members kindly showed me the SQL I need to get this output but I am having trouble outputting the results in Forms (in SQL+ its fine).
    I want an overall summary not individual text item fields which prevent the COUNT function from working how I need it to. Is there such an item in Forms, an area that I can output results of an SQL query to ??
    Thanks
    Kevin.

    A multi record form block ?? Is that a "tabular" type form ?? I tried that but I couldn't get it to work.
    Here is the SQL :
    SELECT a.staff_type, b.proj_number,COUNT(a.staff_id)
    FROM staff a, project_staff b
    WHERE a.staff_id = b.staff_id
    GROUP BY a.staff_type, b.proj_number.
    This works perfectly in SQL+. I amended it because I did not want the project number being displayed:
    SELECT a.staff_type, COUNT(a.staff_id)
    FROM staff a, project_staff b
    WHERE a.staff_id = b.staff_id
    GROUP BY a.staff_type
    This is perfect in SQL+. I have 2 "5 row tabular" text items, one called "qty" the other called "description". The form is a Master Detail where the Master provides the Project number, the Detail I need to display the results of this SQL code.
    I tried amending the code using references to block and text item fields but at best I was able to get it to work but the count for each row returned was always 1 (returned to the "qty" text item).
    I know the code the code below is wrong for the Post Query trigger:
    begin
    select COUNT(staff_id)
    into :proj_staff.qty
    from proj_staff
    where staff.id = *** I forgot what I put in here now !!****
    and proj_number = :project.proj_num
    end;
    I had a 2nd piece of code in the Post Query trigger to populate the "description" text item which worked:
    begin
    select staff_type
    into :proj_staff.description
    from staff
    where staff.id = :proj_staff.staff_id
    end;
    Any idea how I can make the COUNT function work ???
    Cheers.
    PS - I take it I can't use the natural join code cos it kept coming up with errors when I tried to compile it ?!!!
    Message was edited by:
    MrVen

  • For getting purchase order details what are the inputs and outputs

    I need to display purchase order details in EP portal by using integration EP, XI and R/3.
    I dont know what are the Inputs and what are the Outputs.
    Reward points for helpers.
    Cheers,
    Preethika

    Hi Preethika,
    for displaying PO use BAPI : BAPI_PO_GETDETAIL
    Its input is PO number
    Its output are tables PO_HEADER_TEXTS - for PO header data
    PO_ITEMS - for PO line items
    Thanks,
    Rajeev Gupta

  • Purchase order print priview and spool print output are different.

    Hi Friends,
    there is problem with purchase order print priview and spool print output are different.
    mean : in me23n .. for a perticular po .. in po priview the TAX VALUES value is 120 coming..
    when i am giving print with spool.. the amount value is showing  TAX VALUE
    is 443..why it is showing wrong..
    this is for perticular output type.
    why TAX VALUES are showing different in print view and
    spool print.
    help me.
    regards,

    Hi Neil,
    thanks for your reply.
    but the valiadtions are happening in standard functional module PRICING.
    it is realted script(medruck)...but there is no code point for spool or printer side..
    and the issue is realted one PO OUTPUT TYPE..
    it is sap standard debugging... when i am debugging the functional module PRICING.
    the values are coming dynammically.
    help me.
    regards,

  • Invoice outputs are not printing after saving the document..!

    Invoice outputs are not printing after saving the document. Eventhough we maintain all condition records not only that Processing log also it showed that it has been processed on some date. but customer not received the printout
    Amar

    hI,
    GO TO IMG, SD, BF, OUTPUT CONTROL, OUTPUT TYPES, SELECT UR OUTPUT TYPE, GO TO DETAILS ICON AND ASSIGN THE VALUE "ISSUE OUTPUT IMMEDIATELY SAVING THE APPLICATION" FROM DROP DOWN DOWN LIST IN THE DEFAULT VALUES
    AND ASSIGN THE RELEVENT PRINTER TO USER ID IN SU01 AND IN CONDITION RECORDS
    REGARDS,
    SK
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:07 PM
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:08 PM
    Edited by: Sadanandam Kasarla on Mar 16, 2009 12:10 PM

  • Screen Output area too small

    Hi All,
    When I am going to MIRO system is showing the Message (#00118) Screen output area too small.
    and the screen will become blank.
    Please guide me.
    Thanks in advance.
    Pavan H S

    hi
    take help of abaper and try activating the screen program for MIRO in se51
    regards
    kunal

  • Print priview and spool print output are different

    Hi Friends,
    there is problem with purchase order print priview and spool print output are different.
    mean : in me23n .. for a perticular po .. in po priview one amount value is 120 coming..
    when i am giving print with spool.. the amount value is showing
    is  443..why it is showing wrong..
    this is for perticular output type.
    why perticular values are showing different in print view and
    spool print.
    regards,

    make this setting change:
    in SPAD > In the menu Settings -> Spool System
    In the others tab check the first check box in the Output Controller block, SAVE and exit

  • Using field-symbols giving dump " the output area is too small.  "

    Hi All,
    Good Afternoon.
    I  am creating a report using field-symbols. The purpose is :
    "This development involves extracting all the fields and the entire data, of any SAP table, and download it as a ‘;’ seperator file."
    For this I wrote following code:
    *& Report  ZTOOL
    REPORT  ztool1.
    Tables***************************************
    DATA : i_tab TYPE TABLE OF dfies WITH HEADER LINE.
    Variables***************************************
    DATA dref TYPE REF TO data.
    FIELD-SYMBOLS <ft> TYPE ANY TABLE." with header line.
    FIELD-SYMBOLS <fs> TYPE ANY .
    DATA: w_heading(5000),
         w_line(5000).
    CONSTANTS  sep TYPE c VALUE ';'.
    Selection Screen*********************************
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS : p_tab LIKE dfies-tabname OBLIGATORY.
    PARAMETERS : p_file(100) TYPE c .
    PARAMETERS : p_lfile(100) TYPE c .
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
      CALL FUNCTION 'GET_FIELDTAB'
       EXPORTING
         langu                     = sy-langu
      ONLY                      = ' '
         tabname                   = p_tab
      WITHTEXT                  = 'X'
    IMPORTING
      HEADER                    =
      RC                        =
        TABLES
          fieldtab                  = i_tab
    EXCEPTIONS
       internal_error            = 1
       no_texts_found            = 2
       table_has_no_fields       = 3
       table_not_activ           = 4
       OTHERS                    = 5
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
         SELECT * FROM (p_tab) INTO <fs> .       
         endselect.
         CREATE DATA dref TYPE STANDARD TABLE OF (p_tab).
           ENDSELECT.
          assign dref to <fs> casting.
         ASSIGN dref->* TO <ft>.
         SELECT & FROM (p_tab) INTO table <ft>.
         OPEN DATASET p_lfile FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    LOOP AT i_tab.
      IF sy-index = 1.
        w_heading = i_tab-fieldname.
      ELSE.
      CONCATENATE w_heading i_tab-fieldname INTO w_heading SEPARATED BY sep.
      ENDIF.
    ENDLOOP.
    TRANSFER w_heading TO p_lfile.
    LOOP AT <ft> into <ft>.
    clear w_line.
      LOOP AT i_tab.
             ASSIGN COMPONENT i_tab-fieldname OF STRUCTURE <ft> TO <fs>.
             IF sy-index = 1.
                  w_line = <fs> .
             ELSE.
                  CONCATENATE w_line <fs> into w_line SEPARATED BY sep.
             ENDIF.
      ENDLOOP.
      TRANSFER w_line TO p_file.
    ENDLOOP.
    The program is executed well till the statement :
    SELECT * FROM (p_tab) INTO <fs> .       
         endselect.
    But here it gives the following dump : 
    "Error analysis
        In an Open SQL select, the output area used t
        records must be at least as wide as the datab
        records are being read.
        In this particular case, the database table i
        but the output area is only 2 bytes wide."
    Can you please help me solve this problem.
    Thanks in advance.

    Hi Abhii,
    Both are having the same number of fields.
    The only problem is with the data and time (in my scenario). Here, actual length of date is 8 and maximum length is 10. and for time the actual length is 6 and maximum length is 8.
    So, my work area it is taking only the actual length but not the maximum length because of this it is going to dump.
    Can i have any thing which also considers the maximum length of any field at a domain level so that by work area bytes should match according to the db table byte length.
    Thanks
    rohith

  • I just found All the Hyperlink in the Safari Print Output are gone !

    Hi Everyone,
    My Macbook Air is Mac OS X Version 10.6.8 and Safari is 5.1 (6534.50).
    In previous, I could find and use the Hyperlink in the Safari Print Output (after I printed the Web Page to PDF). Hours ago, I found All the Hyperlink in the Safari Print Output are gone!
    Please help me to fix it.
    Thanks & regards,
    Joseph Lee

    Got the exact same problem after updating! I tried it with Lion, too, and it does not work either. Seems like Apple removed it from either Safari or the PDF Maker. That was ONE big advantage over Windows users and now it's gone????????

  • Err. E:"TRANSPORTING NO FIELDS" will not fill the output area.

    Dear all,
    Below are my codes and i keep getting this error
    E:"TRANSPORTING NO FIELDS" will not fill the output area. The addition does not make sense here.
    Any idea how to fix this?
    The first bit...
    TABLES: /BI0/MWBS_ELEMT.
      DATA:   I_MWBS_ELEMT LIKE /BI0/MWBS_ELEMT OCCURS 0 WITH HEADER LINE.
      DATA:   W_MWBS_ELEMT LIKE LINE OF I_MWBS_ELEMT.
    Then second bit...
      READ TABLE I_MWBS_ELEMT WITH KEY WBS_ELEMT = SOURCE_FIELDS-POSID TRANSPORTING NO FIELDS INTO W_MWBS_ELEMT.
      IF SY-SUBRC IS INITIAL.
        RESULT = W_MWBS_ELEMT-RESP_CCTR.
        RETURNCODE = 0.
      ELSE.
        SELECT SINGLE * FROM /BI0/MWBS_ELEMT INTO W_MWBS_ELEMT
                        WHERE WBS_ELEMT = SOURCE_FIELDS-POSID
                        AND OBJVERS = 'A'.
        IF SY-SUBRC IS INITIAL.
          APPEND W_MWBS_ELEMT TO W_MWBS_ELEMT SORTED BY RESP_CCTR.
         RESULT = W_MWBS_ELEMT-RESP_CCTR.
        ELSE.
          CLEAR RESULT.
        ENDIF.
      ENDIF.

    Hi
    The error is here
    READ TABLE I_MWBS_ELEMT WITH KEY WBS_ELEMT = SOURCE_FIELDS-POSID TRANSPORTING NO FIELDS INTO W_MWBS_ELEMT.
    The addtion TRANSPORTING NO FIELDS is in conflit with addition INTO:
    TRANSPORTING NO FIELDS means not to fill the work are
    INTO mean fill a work area
    So or u need to fill a work area or u don't need to fill a work area, but (from the code you've pasted) it seems u need to fill the work area W_MWBS_ELEMT, so your code should be:
    READ TABLE I_MWBS_ELEMT INTO W_MWBS_ELEMT WITH KEY WBS_ELEMT = SOURCE_FIELDS-POSID.
      IF SY-SUBRC IS INITIAL.
        RESULT = W_MWBS_ELEMT-RESP_CCTR.
        RETURNCODE = 0.
      ELSE.
        SELECT SINGLE * FROM /BI0/MWBS_ELEMT INTO W_MWBS_ELEMT
                        WHERE WBS_ELEMT = SOURCE_FIELDS-POSID
                        AND OBJVERS = 'A'.
        IF SY-SUBRC IS INITIAL.
          APPEND W_MWBS_ELEMT TO W_MWBS_ELEMT SORTED BY RESP_CCTR.
         RESULT = W_MWBS_ELEMT-RESP_CCTR.
        ELSE.
          CLEAR RESULT.
        ENDIF.
      ENDIF.
    Max

  • Japanies characters are converting to # in output file in open dataset

    Hi Experts,
    I am trying to transfer data from my internal table to application server. When i use
    Open Dataset e_file for output in text mode encoding NON-UNICODE ignoring convertion errors.
    All Japanies and chines characters(double byte characters) are converting to "#" in output file. I have used set locale language commend also.Still same problem is there.
    Could you please any one help me on this.
    Thanks
    Srinivas

    hi
    problem exporting text in hebrew
    Similar kind of problem has been solved here.. check that link first
    Use the class CL_ABAP_CONV_OUT_CE and use it to convert file from unicode to ascii.
    After that you should call OPEN DATASET IN LEGACY MODE and write the file.
    you have to find the Code Page format for japanese here..
    Is your system Unicode enables, if not please check whether you have japanese installed on your system.
    Run the program RSCINST in SE38 which throws a pop up if u work on a Unicode system and also shows what are the language packs currently installed on ur system.... if u dont have Japanese installed then u need to contact Basis People for installion of that language pack

  • FP-CTR-500 outputs are failed?..

    We are working with a tandem FP-1600/FP-CTR-500, and we have set the 4 outputs of the counter module in toggle mode, using 2 counter channel to generate square-waves. All 4 output LEDs are blinking OK, but there are no change in the voltages of physical outputs (position 13, 14, 15 y 16 of terminal block). 24 VDC/ground of power supply is connected to pin V and C, and each different output has a fixed voltage level of 0.65 to 0.85 Volts aprox., even after power-up or general reset. By this way, there are no loads connected to those outputs. Can anybody help me?.

    I really do not recommend the self-repair option.
    I must point out that opening the module and making any changes to the circuit board voids all warranties on the device. Additionally, whereas I have a fairly good idea of what components need to be replaced, there is no guarentee that what we believe are the damaged components are actually the components at fault. Furthermore, for the components that I would suggest as the likeliest possible cause, your electronic maintenance department may or may not have industrial rated components available to replace the components and would not be set up to fully test the module after it is repaired. The test fixtures at National Instruments for the FP-CTR-500 are set up to test the cou
    nt inputs, internal clocks, frequency rejection filters, outputs, gates, input bandwidth and output bandwith.
    However, if you feel that your department is up to it, and are willing to void the warranty, then I can tell you which of the components (by the way, these are surface mount IC's) are the likeliest to have been damaged.
    Regards,
    Aaron

  • Error "Screen output are too small" when looping through internal table!

    Hello All:
         I have a huge internal table with some 79000 records and while looping through them and doing some other processing inside the loop, I am getting an error "Screen output are too small"! Could someone please help mw how to fix this issue? I can send the all the code if anyone wants to look at the code. Thanks in advance and rewards are assured.
    Mithun

    Hi,
    Check this
    new-page print off.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING
    destination = v_dest
    IMPORTING
    out_parameters = params
    valid = valid.
    * params-linct = '58'.
    * params-linsz = '170'.
    * params-paart = 'X_58_170'.
    * params-prtxt = v_spool_text.
    * params-primm = 'X'.
    * params-prrel = 'X'.
    NEW-PAGE PRINT ON PARAMETERS params NO DIALOG.
    After the call fm GET_PRINT_PARAMETERS params internal table contains all the values for generating spool.
    aRs

  • Getting error "Screen output area too small"! Please help!

    I am getting an error "Screen output area too small" when looping through some huge internal table and sending to spool "on change of some value" in my internal table. Could someone please help me in correcting this? Rewards assured.
    Thanks.
    Mithun

    Check the simple program and have tested ,it works great( IN ECC 6 Version)
    REPORT  ztestspool.
    DATA : arc_params TYPE arc_params,
    v_print_parms TYPE pri_params,
    w_valid TYPE char1,
    w_valid_spool TYPE char1.
    CONSTANTS : lc_paart LIKE sy-paart VALUE 'X_65_132', " Paper Format
    lc_locl TYPE sypdest VALUE 'LOCL', " Destination
    c_x TYPE char1 VALUE 'X'.
    Setup the Print Parmaters
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        authority              = space
        immediately            = space
        new_list_id            = c_x
        no_dialog              = c_x
        user                   = sy-uname
      IMPORTING
        out_parameters         = v_print_parms
      EXCEPTIONS
        archive_info_not_found = 1
        invalid_print_params   = 2
        invalid_archive_params = 3
        OTHERS                 = 4.
    IF sy-subrc NE 0.
      CLEAR : v_print_parms.
    ENDIF.
    The printer destination has to be set up
    IF v_print_parms-pdest = space.
      v_print_parms-pdest = lc_locl.
    ENDIF.
    Explicitly set line width, and output format so that
    the PDF conversion comes out OK
    *v_print_parms-linsz = c_linsz.
    v_print_parms-paart = lc_paart.
    NEW-PAGE PRINT ON PARAMETERS v_print_parms NO DIALOG.
    *PERFORM display_output.
    write :/ 'This is test for spool generation'.
    NEW-PAGE PRINT OFF.
    Thanks
    Seshu

Maybe you are looking for

  • Junk Mail colour changing, but not being flagged

    I installed Tiger a couple of days ago and updated to 10.4.4. I'm noticing that particularly when I recieve several junk emails together the colour of them is changed as per my junk mail preferences, however, they are not always actually flagged as j

  • Number of elements

    Hi, How can I change the number of visible elements on the forms in the "on page" section? In this image I can only see 10 each time. http://postimage.org/image/yaxgdpok/ Thanks, Ruben

  • Iphone 5s contacts deleting automatically

    Dear Support, I have huge contact in my iphone5s, but it is deleting contacts automatically even i turned off iclould sync. so, please provide me a solution in this subject. Thanking you

  • 3.2 Photoshop access

    Hi, How I unlock Photoshop 3.2? Wife has just sent heap of photos and cannot access? Many thanks for any help?

  • Capacity planning and hardware sizing

    Hi, I would like to know in detail about capacity planning and hardware sizing while deploying oracle database products. I need to know about properly planning the infrastructure and configuring and deploying the products. Moreover, when should we us