cancel
Showing results for 
Search instead for 
Did you mean: 

how to get print program for smartform?

former_member206396
Active Participant
0 Kudos

Hi SDNs.,

how to get print program for smartform? there is table TNAPR, which stores print program and corresponding smartform. but in my case, it doesn't contails valid values.

Is there any other table to find out driver program and smartform mapping?

Could any one pls help me out..!

Thanking you.,

Rama krishna S

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
raymond_giuseppi
Active Contributor
0 Kudos

Look at FM 'SSF_FUNCTION_MODULE_NAMECALL used to interface smartforms into abap

FUNCTION 'SSF_FUNCTION_MODULE_NAME'
 EXPORTING
  FORMNAME = '<form name>'
 IMPORTING
  FM_NAME = fm_name
 EXCEPTIONS
  NO_FORM = 1
  NO_FUNCTION_MODULE = 2
  OTHERS = 3.
IF SY-SUBRC <> 0.
 <error handling>
ENDIF.

Regards