Number of documents per print.

Hi all!
i have two questions:
1. If i want change standard form and attach it to the standard transaction what are the processes i have to follow? What is the role of NAST table and NACE transaction? What is form routine?
2. How can i print multiple documents?
   e.g. I wud like to print sales orders one after other how can i do that?

hi,
chk this sample code.
DATA: p_output_options TYPE ssfcompop, "occurs 0 with header line
p_control_parameters TYPE ssfctrlop. "occurs 0 with header line
p_output_options-TDCOPIES = 3. "number of copies.
p_output_options-tddest = 'LP01'. "def
p_control_parameters-no_dialog = 'X'. "no dilog box
p_control_parameters-preview = 'X'. "no preview
DATA : v_form_name TYPE rs38l_fnam.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'Z_PETS_CIL_DOCUMENT_DETAILS'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = v_form_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3
CALL FUNCTION v_form_name
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_PARAMETERS =
control_parameters = p_control_parameters
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = p_output_options
user_settings = ' '
ARCHIVE_INDEX_TAB =
in_cashinlieu = int_cil-cashinlieu
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 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.
rgds
anver
if helpful pls mark points

Similar Messages

  • Invoice number and document number not printed in payment advice

    Hello Gurus,
           I am executing reprint check through transaction fch7, In that Invoice number and document number not printed in payment advice. I have created zscript for that and also assinged regup-belnr and regup-xblnr and used standard program RFFOUS_C.
    other fields from regup table are displayed but above two mentioned fields are not displayed.
          I even tried debugging standard RFFOUS_C prog, in that regup-belnr and regup-xblnr are coming but it is not printed on form.
    With regards,
    Vikram

    Hi,
    Debug you Zscript and check the invoice no and document no. Have assigned that script in FBZP..? check the which form is calling FCH7 in debugger mode..?
    Rgds
    Aeda.

  • How the Number of Document to be print is pass to SAP script program

    Hi,
      We are using std. program and form  for printing of  Invoices , sales order PO etc.  as in case while taking print out of biiling document  after entring proper message  type to the billing doucment we take print out , on VF02 screen  we have to give just accounting document number  then from top menu Billing document issued to output  then automatically the document get printed  for the h no. we have place on selection screen of VF02  I want to know How this number which we have enter on vf02 screen is pass to the program  in which block   sililarly in case of PO print with ME9F  we give the PO number then we select the check BOX  then when we click on print that Po is getting printed so by which field that PO number are pass to print program  acutally I want to make a Sapscript print program and from and i want to assign that to std. output type.
    regards,
      zafar

    Hi,
      Thanks for your reply  I have check the print program of and this include program INCLUDE RVADTABL. is common for most of the print profgrams this is declaration of nast and other tables in further processing is done whateverdat is ther is *NAST structure , can you plz give the e.g of only first part like  How to pass the value into this so that remaning all coding I can do ref. to the number which i will get in NAST  just wan to know  How to pass the PO number or SO number to NAST for further processing.
    regards,
    zafar

  • F110 - How to limit number of payments per document

    Dear All,
    Our client wants to limit the number of payments per account document for Russia.
    Does somebody knows a method to limit to "3"  this number for each payment document when execution of transaction F110 ?
    So if a supplier has 10 invoices payable, this creates 4 payments (3 + 3 + 3 + 1)
    Thanks in advance
    Regards
    Daniel.

    Hello,
    I do not think this requirement is possible in standard SAP.
    You have to decide whether you want to group payment document for single invoice or all invoices.
    There is no configuration to divide payment documents for 3 invoices.
    Regards,
    Ravi

  • Is there a max number of Apple pro prints allowed per order? I tried 300, then 65 and neither worked. At $2.99 per for shipping, it is expensive to order 20 sets when I used to do just one for all.

    Is there a max. number of Apple pro prints allowed per order with the updated iPhoto/Mountain Lion?
    I have been using the system for years and have had no issues, but this first try under Mountain Lion I was told the max was 300 prints per order.
    It order did not go through, nor did one with 65 photos.  When I tried 2, it was fine, but at $2.99 shipping, plus tax,
    paying $60 to get all 300 of my photos shipped is unreasonable.
    Is this a glitch in the new OS?  Hopefully it will be fixed.

    Hi blabla12345,
    (untested and without warranty)
    replace this line:
    const sSaveCUBE = "CUBE";
    with this:
    const sSaveCUBE = "cube";
    Have fun

  • Po number range as per document type

    Hi All,
    How to configure PO number range as per document type? Like i want my service POs (doc type FO) with different number range than with document type NB.
    Regards,
    Shailendra

    Define document types.  Method
    Transaction: SPRO
    Menupath -> Materials Management -> Purchasing -> Purchase Order -> Define document types
    Select document types:
    Enter - Document type (NB) , Type description (Std PO with delivery) , Item interval (1) , NR rng as. (Number range assignment) as 01, Field selection (NB).
    Save the details entered.
    Then go to Define Number range (OMH6) or menu path Materials Management -> Purchasing -> Purchase Order -> Define number range
    Select Interval
    Define NO as 01 (Number range assignment already maintained in document types), then give from range, to range.  Current number is 0
    Hope you have understood and now you can link with number range with document types.
    Any clarifications, please revert back.
    Thanks,
    Ravi

  • Purchasing document per tracking number

    hi gurus
    Please give me the T-code for the PO no with tracking NO

    Hi,
         Use <b>MELB</b> -- transaccction code-purchasing documents per req.tracking number

  • Document number, reference, document header text

    my name is venkat in f-02 there are 3 fields. 1) document number 2) reference 3) document header text what purpose we use with example

    HI,
    1. Accounting Document Number
    The document number is the key the system uses to access the accounting document.
    The document number is unique per company code and fiscal year. When entering an accounting document, you can specify the number manually or it can be determined by the system from a pre-defined area (number range).
    The relevant area of the document numbers (number range) is determined in each company code per document type.
    2. Reference Document Number
    Definition
    The reference document number can contain the document number of the customer/vendor. However it may contain a different value.
    Use
    The reference document number is used as a search criterion when displaying or changing documents. In correspondence, the reference document number is sometimes printed in place of the document number.
    Procedure
    Enter the number specified by the business partner. If the document was created in-house and you do not know the business partner document number, you can copy the document number into the reference number field by entering "*".
    3. Document Header Text
    The document header text contains explanations or notes which apply to the document as a whole, that is, not only for certain line items.
    reg
    Madhu M

  • How to configure number of copy to print for MB01

    hi all,
    In transaction MB01, we'll get the GR slip automatically print out once the user create and save the GR document.
    It's coming for one copy per printing.
    please kindly advise how to configure number of copy to print the GR slip from there.
    thanks.

    hi,
    they might have used any exit to trigger print automatically whenevr u save GR so change the print parameters there.

  • How do I get my documents to print on the entire page?

    I have an hp 6600 office jet ....
    How do I get it to print a full page...every tie I email anything it appears in the top left corner using only a quarter of the page?
    Thanks.

    Hi Hearingaids;
    I'm sorry to hear you are having problems printing.
    To further assist you would you please provide some further information:
    1) What type of HP printer do you have?
    2) What is the model/product number of your HP printer?
    3) What program are you trying to print from?
    4) What steps are you taking to send your print job to the printer?
    I have included a link for you on how to find your model/product information.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=bph07555&cc=us&dlc=en&lc=en
    Happytohelp01
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • The number of rows per page is greyed out when running in background?

    Hi,
    For a customized transaction the number of rows per page cannot be set when running in background.
    While a background job is created in SM36 after entering the report name and the selection variant name in the properties of Format the rows and columns field is greyed out.It was not editable.
    Is there any settings to be done or in the custom program any code change needs to be done?
    Thanks in advance.
    Regards,
    Sharon.

    Hi Gabriel,
    After double clicking the format only the rows field is not set to edit.It was greyed out.Is it anything related to the printer settings that will be maintained for a user?
    Regards,
    Sharon.

  • How do I get my documents to print correctly?

    My MacBook Air is not printing to my canon printer correctly. Prints blank or with lines across page. I have installed printer drivers and did not help. Apple support has not been able to help with problem yet.

    Hi Hearingaids;
    I'm sorry to hear you are having problems printing.
    To further assist you would you please provide some further information:
    1) What type of HP printer do you have?
    2) What is the model/product number of your HP printer?
    3) What program are you trying to print from?
    4) What steps are you taking to send your print job to the printer?
    I have included a link for you on how to find your model/product information.
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=bph07555&cc=us&dlc=en&lc=en
    Happytohelp01
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Optimum number of images per sheet for contact sheet?

    what is the optimum number of images per sheet (like 5x5, 10x10 etc) for a contact sheet on the latest photoshop. optimum meaning the largest number of images per page so that you can still see what the image is of and the image number.
    thanks

    How are you going to use the Contact Sheet?  If you are not printing, but using your screen or website, you can use your file browser to simulate the Contact Sheet.  In Windows > File Explorer, choose large icons, and zoom in or out with Ctrl Mouse Wheel.

  • How to limit number of logins per day?

    We have a custom web application (WebAS 6.20) used by people and automated systems. Each user has his own login, and some of these automated systems sometimes produce heavy load because they log into system too often.
    Is there an easy way to:
    1) limit number of logins to, say, 1000 per day and when this limit is reached - do not allow this user to login till midnight
    OR
    2) dedicate one of the processes to the specific user
    thanks in advance

    extend PlainDocument class to restrict the number of characters per line.
    Set this class as model to TextArea.
    Below is a class which does this. May be its useful
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    public class FixedNumericDocument extends PlainDocument {
    private int maxLength = 9999;
    private String max="";
    public FixedNumericDocument(int maxLength) {
    super();
    this.maxLength = maxLength;
    //this is where we'll control all input to our document.
    //If the text that is being entered passes our criteria, then we'll just call
    //super.insertString(...)
    public void insertString(int offset, String str, AttributeSet attr)
    throws BadLocationException {
    if (getLength() + str.length() > maxLength) {
    return;
    else {
    try {
    //check if str is numeric only
    int value = Integer.parseInt(str);
    //if we get here then str contains only numbers
    //chk if it is less than 65535 so that it can be inserted
    super.insertString(offset, str, attr);
    catch(NumberFormatException exp) {
    return;
    return;

  • How to creat pdf documents with printing restrictions in Aperture

    Hi,
    I wondered if it is possible to create a pdf document made up of 9-12 image per page contact sheets, to send to clients that restricts the client to open and view only i.e no printing allowed.
    Photoshop allows this, however i would like to create /correct versions in aperture and then create a pdf [with the above printing restrictions applied, simply to save time.
    the way i work in photoshop is to export approx a 500 to 1000 jpegs [ per client] in aperture to a folder which I then open with Bridge- create the contact sheets and then create the pdf document with printing restrictions applied.
    is there any way for me to make this simpler, especially just using Aperture?

    just been reading about terminal on another thread.... Spinning beach ball,,[page 2 of Aperture discussions].Apparently there is a command line explained there that can help speed up Aperture. I tried it but Had a problem when trying to type in my Password... It would not let me type anything....So I canceled the proceedure. [ knowing my luck I would cause some irrepairable damage to the machine].
    Think I need to do a lot of reading up to get up to scratch with folk using this discussion Board!!!
    With regards to the pdfauxinfo- is it complicated to get running, or does it run straiaght away in automator?

Maybe you are looking for

  • Simple questions about multiple ipods on one computer.

    i would like to share my music with my girlfriends ipod. how do i do that? she also has a g3. if i copy the music to her computer, is there a way to make it appear on her itunes without having to manually open every song AND without erasing what is a

  • How to add function key to a menu exit in a standard transaction

    Hi all, I have a requirement to add a function key for a menu item in a standard transaction. In Menu bar we have an option Extras->Other->Repricing . Now my requirement is if i click a function key (ex. F9) the code under the menu exit (Repricing) s

  • How to add an event to my calendar?

    How to add an event to my calendar?  I tried several times and the events are not there.

  • Help in my Logic

    See I have this code. with parameters PARAMETERS: pdate(6)    TYPE n OBLIGATORY,             tble1(20)   TYPE C OBLIGATORY,             tble2(20)   TYPE C OBLIGATORY,             ccode(20)   TYPE C. My job is to output a  Report should show all BUKRS

  • Service Bus extention for JDeveloper

    Hi, how can i add an Extention to my JDeveloper , in order to create and edit OSB projects in Jdeveloper? now there is nothing to define OSB/ESB projects... tnx,