Contents of a custom print program for a custom smartform

Hi...
Can you please tell me if we are writing a custom print program from scratch for a custom smartform for which there is no standard form available what are all the things that need to be coded in the print program..
My doubts on this are if we are configuring this form for output types of PO purchase order for mediums 1,2, 5 and 6 does any extra coding need to be done in the print program that is related to these mediums or is it just a configuration issue..
Apart from data retrieval part and call the function modules to send the data to smartforms what are the other things that we need to code in a custom smartform..  Anything that we need to code related to printing issues..
It would be great if someone can post a custom print program for any output type valid for mediums 1, 2, 5 and 6.
Also my last doubt is do we need to do anything in SE11 in designing a smartform and in what context do we need it...
Thanks and appreciate your help... Surely will reward for all the helpful answers..
Thanks again..
Kanthi..

Hi,
yes you need to create your own print program. You need to catch printing information and to send data to your smartforms.
To send data to your smartforms you need to use structure describe in the data dictionnary.
This is a peace of code for sending information to a smartform that will be print used an external program (Esker)
  DATA: it_data       LIKE TABLE OF zssf_bl WITH HEADER LINE,
        w_formname TYPE tdsfname ,
        w_fm_name  TYPE rs38l_fnam ,
        is_output  TYPE ssfcompop ,
        is_control TYPE ssfctrlop ,
        is_job_out TYPE ssfcresop .
*  Récupère le nom du module fonction.
  MOVE 'Z_BL_STT' TO w_formname.
  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname                 = w_formname
    IMPORTING
      fm_name                  = w_fm_name
    EXCEPTIONS
      OTHERS                   = 3.
* Prépare les paramètres d'impression.
  is_output-xsfcmode   = 'X'.
  is_output-xsf        = 'X'.
  is_output-xsfoutmode = 'S'.
  is_output-xsfoutdev  = 'DOCL'.
  is_output-xsfformat  = 'X'.
  is_output-tdnoprev   = 'X'.
  is_output-tdnoprint  = ' '.
  is_output-tddest     = 'DOCL'.
  is_output-tdprinter  = 'PLAIN'.
  is_output-tdnewid    = 'X'.
  is_output-tdimmed    = 'X'.
  is_output-tddelete   = 'X'.
  is_control-no_dialog = 'X'.
  is_control-preview   = ' '.
  is_control-no_open   = 'X'.
  is_control-no_close  = ' '.
* Prepare le formulaire
  CALL FUNCTION 'SSF_OPEN'
    EXPORTING
      user_settings      = ' '
      output_options     = is_output
      control_parameters = is_control
    IMPORTING
      job_output_options = is_job_out
    EXCEPTIONS
      OTHERS             = 5.
* Appels du formulaire.
  CALL FUNCTION w_fm_name
    EXPORTING
      control_parameters = is_control
      output_options     = is_output
      is_bl              = zbl_soustrait
    TABLES
      it_data            = it_data
    EXCEPTIONS
      OTHERS             = 5.
You need to catch information from the NAST table maybe
Rgd
Frédéric

Similar Messages

  • Standard print program for fi invoice smartform printing

    Hi friend,
    Is there any standard print program available for printing FI related invoice .
    I want print program for printing smartforms.
    I want to know any method for searching the standard print program for printing smartform in Fi module.
    Thanks & Regards,
    Sathish

    Hi,
    FI related Forms will be configure in SPRO.
    Goto SPRO and FI related applivcation.
    There you will find the related forms and programs.

  • Standard print program for PO (ME23N) Smartforms

    Hi Experts,
    I am create one smartform its working fine but i need to map this one with ME23N Tcode from there they take output.
    But i dnt knoe the standard print program.
    Pls help me
    Thanks in Advance
    purnaneelu

    Go to transaction NACE.
    There select application EF->Puchase Order
    Click on output type button.
    select
    NEU    Purchase order 
    right click on processing rountine.
    there you can see the  form name.
    double click on that.
    there you can see the place where you can give the smartform name

  • Using standard PO Printing Program for Smartforms

    Hi Experts,
    I am some hiccups coding my print program for a PO Smartform that am currently working on.The requirement was to use the standard print program to trigger my Smartform PO. I have read alot of threads on this, but am still clueless.
    Some says to comment out the functions like "OPEN_FORM" ,"WRITE_FORM" and having your block of codes inside the "NEU_" routine.
    But I noticed, there are even some conditions and logic checking before the "write_form" is called and sometimes the table entries are also cleared. In this kind of situation, how should I be passing the table data to the Smartform function module?By copying the contents to an internal table? And there are many include programs which currently the standard program has, should I be using all that too?
    Appreciate your input and advice on this.
    Thanks very much.

    Hi Neesha,
    Can you check this once
    [Migrating Forms|http://help.sap.com/saphelp_nw04/helpdata/en/9d/9599386185c064e10000009b38f8cf/content.htm]
    Regards,
    Madhu.
    Edited by: madhurao123 on Dec 21, 2011 9:18 AM

  • Print program for delivery output printing

    Hi,
    I need help with creating a custom smart form and print program for outbound delivery.
    1. i want to know how to select data in my print program ? i mean how to i get the delivery number when the output type is executed.
    2. What parameters are to be passed so that delivery opens as soon as the output type is processed.
    Thank you.
    Usha

    Details of output triggered can be obtained from nast. By default structure nast is populated with the values when the print program is being processed. Field OBJKY is used for the delivery number; Application : V2
    It could be enough to pass an internal table with item level details and an header structure. This more or less is dependent on the output desired.
    Rgds,
    Karthik

  • Standard print program for Adobe Forms

    Hi all -
    Does anyone know if there was a standard print program delivered for the predelivered Adobe form F110_AVIS_INT?  And if there is - what is it?  Is there any document anywhere to determine predelivered print programs for Adobe forms?
    Your help is much appreciated!
    Thanks
    Abby

    Hi
    In SAP you can check for the Print Programs in Tcode <b>OB96</b>
    which gives assignment of programs to script layouts
    see the links related to Adobe forms
    look at the Adobe page here in SDN:
    https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=AdobeForms.htm
    Check these links on Adobe forms
    http://help.sap.com/saphelp_nw04/helpdata/en/1e/05853ff8ec2c17e10000000a114084/content.htm
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    http://www.sap.com/solutions/solutionextensions/pdf/BWP_Interactive_Forms_Adobe.pdf
    It contains lots of useful information, documentation, and e-learning materials teaching you the basics.
    Reward points for useful Answers
    Regards
    Anji

  • F.62 custom print program

    Hello Experts,
    I need to modify the data and the layout of transaction F.62 (Print Journal Voucher).  I have searched information from the web that it is possible to add a custom print program to modify the logic.  I would like to ask what is the transaction code in FI for configuring this Tcode F.62 to use this customize print program. (Like NACE for SD and MM modules). 
    Many Thanks.

    Hi
    check this
    Correspondance SAP09..
    and its program like below
    RFKORD30 Print Program:and F140_INT_DOCU_01 script
    check this path in SPRO Path
    FINANCIAL ACCOUNTING -> ACCOUNTS RECEIVABLE AND ACCOUNTS PAYABLE -> LINE ITEMS -> CORRESPONDENCE -> CARRT OUT AND CHECK SETTINGS FOR CORESPONDENCE -> CREATE REPORT VARIANT FOR CORESPONDENCE
    surya

  • How to find the print program for a sap script

    Hey Experts,
    How to find the print program for a sap script (espicially when it is a custom script(Z*))?
    Thanks a ton,

    Thanx Vijay,
    Actually when I searched for the program in both the tables it didnt show up ther.
    But when I did check in the texts of script, I found it.
    Good job.
    Thanks all.
    Vijay, a small doubt.
    But why didn't it show up in those 2 tables when all the print programs for standard scripts show up usually?
    thnx once again.
    Message was edited by: dev a

  • What is the name of the Std Print Program for a Delivery Form (VL01)

    How can I find the standard pront programs for SAP executables? I cannot tell by looking at TNAPR alone.
            Thanks.

    Hello Ravi,
    We are currently seeing an issue and we use a custom print program, and a related custom SAPSCRIPT program. SAP suggests I use a standard print program in trx V/38. We are upgrading to 6.0.
    I assume I can just add your SMARTFORM name in V/38 config and this should give me standard output for EK00?
         Thank-You.

  • Where do I find the form & print program for Trip Results printout at PR05?

    where can I find the form and print program for Trip Results printout at PR05?
    Thanks,
    Ven

    First design your custom form and configure that form(assign to appropriate node in SPRO) in SPRO under following path: Travel Management->Travel Expense->Dialog and travel Expense Control->Forms->PDF-Based Forms->Set up feature TRVFE for settlement form (Execute).
    Give the custom form name in that node.
    Regards
    Deepak.

  • Ho to find script and the related print program for print preview of PO

    Hi All,
    We are getting some text output on the print preview of a purchase order.
    How can we determine the driver script and the corresponding print program for this.
    Can you please guide on this.
    Thanks in advance.
    Regards,
    Sanjeet

    U Can check Driver program and form related to that program table is TNAPPR
    Goto NACE t.code
    Selct Application ---> click on output types
    then u wil get one window there select proper output type and
    double click on  processing  routines u wil get form name and related driver program name also
    Plz try this....
    Edited by: Upender Verma on Feb 9, 2009 1:33 PM
    Edited by: Upender Verma on Feb 9, 2009 1:37 PM

  • Print program for PO

    Hi..
    I'm trying to find the print program for MEDRUCK(Purchase Order). In NACE I found a program called 'SAPFM06P' for print output medium.. But it is a subroutine pool.. How to execute this program?
    Regards,
    Nithy

    Yes, the printing program is called by the form
    ENTRY_NEU in 'SAPFM06P'

  • Print program for the smartform for selecting the output type (email/fax)

    Hi All,
    Requirement :I have to create a print program for the smartform where the output type may be print out,email or fax ,so i need to put the condition for selecting the output type (like printout,email,fax).
    can any body please let me know how  to put the condition for selecting the desired  output type ?
    Thanks in advance
    Rahul

    Hi
    It is not the output type that has to be changed
    it is the MEDIUM which you have to change and configure
    for printout medium is 1
    for FAX medium is 2
    for MAIL it is 7.
    so instead of printout change the medium to 2 or 7 for the same output type and attach to the same driver program and smartform/form.
    Reward points for useful Answers
    Regards
    Anji

  • How to find standard print programs for ADOBE forms

    Hi All,
    My question is how to find the standard SAP print program for a SAP provided ADOBE form. For example - how to find what is the satndard SAP provided print program for the ADOBE form for payment advice 'F110_AVIS_INT'.
    As by default in the transaction F110 (where the payment advice form configuration is done), a SAP Script form is attached and the print program assigned is an SAP Script (as it contains call to function module like open_form, write_form... ) program and not an ADOBE print program.

    Hi Renu,
    I have gone through the link provided by you but it only shows a list of standard PDF forms.
    My question was how to find the standard SAP provided print program (or driver program which contains the data fetch logic and passing of the data to the interface of the ADOBE form) for these SAP provided ADOBE form.
    If SAP has provided standard ADOBE form then definitely they would also have provided the standard print program too ?
    @Srihari,
    The path system --> Status --> program SAPLFPUIFB is the standard program for the SFP transaction and not for the payment advice form F110_AVIS_INT.
    It will be same for all the ADOBE forms if we check in System --> Status --> Program.

  • SAPscript print program for multiple pages

    Hello friends,
    How to write SAPscript print program for multiple pages? please help me.
    Thanks and regards,
    Shivanand.

    I believe you have posted this question in the wrong forum.  There is an ABAP Forms Printing Forum.

Maybe you are looking for

  • OC4J 9.0.3 on 9iAS

    Hi, a simple question (i hope): Is it possible to run OC4J 9.0.3 "standalone" on a Oracle9i Application Server, Release 1 (v1.0.2.2.1)? Thanks in advance Markus

  • Jerky Ken Burns when burning to DVD

    Hi all - tried finding an answer to this but not much luck - anyway the problem is I made a simple movie in imovie 08 using only photos, music and Ken Burns effect on some pics. the presentation runs smooth as silk on my iMac 24" - so then I try burn

  • User Defined Activity "hangs" Process Flow if it runs for more than 10mins

    I have been using OWB (10g r2) for a while and have used "User Defined" activities in production process flows successfully before. However my problem now is that the activity (shell command) I want to perform, takes more than 10 minutes to complete.

  • Why do I only get the audio when I play video files?

    I only receive the audio portions when I play video files.  The video is blank/black.  This is happening with mpg., avchd and the videos posted to websites; YouTube, Facebook etc.  The only video files I can play are windows media files.  Windows med

  • Displaying chinese character through Forms

    Database 10.2.0.2.0 10g Application sever Jinitiator 1.3.1.22 Server is UNIX AIX version 5.3 Client is XP I've got a requirement to enable Chinese characters to be displayed through an Oracle form and most likely entered. The Characterset sets for th