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

How to use internal table parameters as export parameters in creating function module?

Hello experts,

I am working on assignment in which i have to use parameters of internal table as export parameters to create function module. The parameters of internal table are defined as radiobutton group on standard selection screen. I didn't understand how to define those parameters in function module.


Export parameters can be 4 different tables decided by these radio buttons:


p_venju, p_samand, p_starfs, p_staski


The tables are named in the program:

  • it_t353i_t for parameter p_samand
  • it_pa_timar for parameter p_starfs
  • it_pa_t353i for parameter p_staski
  • itafla for parameter p_venju

If anybody have any idea regarding this issue please share it with me.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jan 10, 2014 at 09:57 AM

    Hello Mulay,

    you have to create a Table Type in DDIC and use this for typing the export parameter.

    That´s it.

    Greets

    Stefan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2014 at 10:16 AM

    Hi Avadhut -

    Go to SE11, click on data type, create

    select radio button 'Structure' and create a structure .

    Then

    Go to SE11, click on data type, create

    select radio button 'TAble type' and create a table type by specifying the line type as structure above step.

    As per your requirement you can create the table types and create function module according passing them to the FM

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2014 at 10:17 AM

    Go to Se11, Select the Table type and create using your DB table or structure and use those in your exporting parameter section.

    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.