Skip to Content
0
Former Member
Apr 21, 2008 at 03:27 PM

How to pass the internal table data to smartforms

8 Views

Hi Gurus,

I have a problem in passing the internal table data to the smartforms. In the print program

I get the data into one internal table "LT_PRDLBL1". I am passing this internal table to the other in print program by calling the FM_NAME.

CALL FUNCTION fm_name

EXPORTING

  • ARCHIVE_INDEX =

  • ARCHIVE_INDEX_TAB =

  • ARCHIVE_PARAMETERS =

CONTROL_PARAMETERS = T_SSFCTRLOP

  • MAIL_APPL_OBJ =

  • MAIL_RECIPIENT =

  • MAIL_SENDER =

OUTPUT_OPTIONS = T_SSFCOMPOP

USER_SETTINGS = ' '

  • IMPORTING

  • DOCUMENT_OUTPUT_INFO =

  • JOB_OUTPUT_INFO =

  • JOB_OUTPUT_OPTIONS =

TABLES

LT_PRDLBL = LT_PRDLBL1

EXCEPTIONS

FORMATTING_ERROR = 1

INTERNAL_ERROR = 2

SEND_ERROR = 3

USER_CANCELED = 4

OTHERS = 5

.

In the print program I had defined the internal tables like

Data: lt_prdlbl type standard table of zprdlbl.

Data: Begin of lt_prdlbl1 occurs 0.

include structure zprdlbl.

Data: End of lt_prdlbl1.

How do I define the internal table in the smartform to get the values printed in the smartform?.

<REMOVED BY MODERATOR>

Thanks,

Edited by: Alvaro Tejada Galindo on Apr 21, 2008 1:01 PM