Skip to Content
author's profile photo Former Member
Former Member

Code for Print Program

Dear Friend,

I want the print program code for Smartform, Is there any sample code of print program call the smart form.If u have the code please send it to me as soon as possible.

Expecting UR Replay

Regards,

Dhanush.S.T

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 08:31 AM

    Hi,

    if you want to find smart form print program then goto se37 and use smartform function module and look at where used list ,it will show corresponing print program.

    other way - Use nace transaction ->select v2 -> click on output type.

    now select LD00(Delivery Output Type) and click on processing routine.

    here you can able to see program and layout

    There are diffrent ways to find out Print programs :

    FI Module :

    Use T001F Table -> here enter form name -> you get corresponding print program

    SD,MM Module :

    use NACE Transaction or TNAPR Table

    PP and PM Modules :

    OMD1 and OPK8 Transactions

    Reward Points if found helpfull..

    Cheers,

    Chandra Sekhar.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 12:45 PM

    Hi Dhanush,

    Just create 1 window and enter some data in Text in that window.Save the smartform,activate and press execute.

    save the name which u find in the function module input field.

    Open se38 and press "ctrl+F6" paste it in "call function module" and press enter.

    simply save,activate and execute the print program.

    Bcaz smartform generates a function module.we can use directly from se38 editor.

    reward points,if it i useful,

    Thanks,

    chandu.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 02:34 PM

    hai ,

    DATA: FM_NAME TYPE RS38L_FMNAME.

    CALL FUNCTION 'SSF_FUNCTION_MODULE'

    EXPORTING

    FORMNAME = Z_SMARTFORM_NAME

    IMPORTING

    FM_NAME = FM_NAME.

    CALL FUNCTION MODULE THAT IS GENERATED AND AFTER THAT

    REPLACE THE FUNCTION MODULE NAME WITH FM_NAME.

    SUPPOSE.

    CALL FUNCTION '\D1243536464758'.

    THEN AFTER GETTING THE ENTIRE FUNCTION MODULE.

    JUST DO THE FOLLOWING.

    CALL FUNCTION FM_NAME. " '\D1243536464758'.

    plz see the example program SFEX_01.

    YOU CAN GET GOOD IDEA ON HOW TO WRITE PRINT PROGRAM FOR SMART FORMS.

    IF HELP FULL MEANS PLZ REWARD

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.