Skip to Content
author's profile photo
Former Member

smart form

Hi friends,

I have smart form name(Z..) I want to find out the print program corresponding to that form. Please tell me how to find out the print program. In the table TNAPR I am not able to see any print program name corresponding to the smart form which I am checking.

Thanks to all.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • Posted on Aug 22, 2007 at 09:02 AM

    HI Babji,

    If it is a custom smart form, u need to write the driver pgm yourself. If its a standard form and u copied to Z, u'll find the pgm in nace.

    Close this thread.. when your problem is solved

    Reward if Helpful

    Regards

    Karthik

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 22, 2007 at 11:48 AM

    Just tell please a little bit more. At least in which module this form is used?

    Maybe it's a customer form and it's printed in some Z-program or maybe it's printed in some business transaction?

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 22, 2007 at 11:59 AM

    Hi,

    TNAPR table contains program names for the smartforms which has defined condition type. Bcoz., condition type field is the keyfield in that table. For normal smartforms this table doesn't contain program name.

    Reward if found useful.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 23, 2007 at 05:34 AM

    hi babji ,

    first let me know u r form belongs to which of these things sales, purchase order,shipping,billing,invoice........................

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 23, 2007 at 06:51 AM

    consider a scenario

    u hve developed a smart form in 'SMARTFORMS' transaction as 'zpurchaseorder'.

    if u want to assign it to standard printprogram .....

    oneway of doing this is .....

    goto nace

    select EF ( application type)

    click on output type ...select outtype NEU( new po printout) and click on processing routines ... in the screen u will find

    MEDIUM : 1

    SHORTTEXT : Print output

    PROGRAM : sapfm06p

    FORMROUTINE :entry_neu

    FORM :

    SMARTFORM : zpurchaseorder

    give it and save it ..it will ask for request number give u r own request number and save it .....then u r smartform n program name in TNAPR table it would be there ....then go to me22n n check with print preview

    another way of doing this is

    goto SE38

    give 'RSNAST00' ( Selection Program for Issuing Output )

    in this program search the fields sform ,pgnam,ronam(these r the fields for formname,programname,routine name) ........

    search for sform in program rsnast00 u will find in line no: 816

    859 tnapr-sform = nast-pfld3.

    keep a break point here.

    when u hit on printpreview in me22n it will take u into debugger editor with rsnast00 program ....where u can assign u r program name,smartform name,routine name .............(remember u need assign u r smartform name)

    ok

    like this u can assign u r zsmartform to u r printprogram .

    unless and untill u give it nace or rsnast00(runtime) u wont find the zsmartform entry in tnapr table ....

    i hope u r clear now

    rewards would be helpful

    bye

    Add comment
    10|10000 characters needed characters exceeded