Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ABAP for Super Dumps: Import- & Export-Parameter for a Table in a FM

Hello ABAP Profs,

sorry I am BW.

<b>Import- & Export-Parameter for a Table in and out of an Function Modul.</b>

I want to import a table into a Function Module, change it and export it again.

How do I have to define the Import- and Export- Parameters in the FM ?

The table looks looks this:

DATA: zvpshub_tab TYPE SORTED TABLE OF /bic/pzvpshub WITH UNIQUE KEY

/bic/zvpshub objvers /bic/zvpsoursy INITIAL SIZE 0.

Thanks a lot

Martin Sautter

Tags:
Former Member
Former Member replied

Hi Martin,

go to dictionary and define a table type: In SE11, enter name in Data type field, use Create button. You will be offered choice of data element, structure or table type. Use table type.In key tab define as in DATA statement.

Then use it as type for CHANGING parameter in your function.

Regards,

Clemens

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question