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

how to pass internal table to smartform?

Hi All,

how to pass internal table to smartform?

I created same table type as internal table but it showing

''@8O@ Form Interface Tables using LIKE may only reference flat structures

please suggest?

Thanks and Regards

Steve

Add a comment
10|10000 characters needed characters exceeded

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 27, 2009 at 08:37 AM

    Hi Steve ,

    The best way is to create a STRUCTURE and pass it to smartform instead of internal table.

    In SE11---> DATATYPE ---> enter name -> CREATE -> then a pop up appears ---> select STRUCTURE.

    Insert the data and then pass it to smartform.

    hope it hellps

    Regards,

    Pavan.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 27, 2009 at 08:34 AM

    Hi Steve,

    The best way is to create a structure and pass it to smartform instead of creating internal table.

    In SE11 transaction slect datatype tab enter name and click create you will be getting radio buttons in dat select STRUCTURE and enter values in it and pass it to smartform.

    Regards,

    pavan.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 26, 2009 at 03:56 PM

    I think once you have defined table type in dictionary then you can use that in IMPORT section of form interface.

    Use that table type directly using 'TYPE' in Type Assignemnt columne.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 26, 2009 at 05:08 PM

    where are you passing the table? in import or in tables?

    if you are passing in TABLE then no need of table type,

    if you are passing in import table type will do.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 27, 2009 at 05:46 AM

    Hi Steve,

    Create the table type in se11 and in the form interface of the smartform declare TYPE in the type assignment.

    Regards,

    Sravanthi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 27, 2009 at 08:33 AM

    Hi Steve,

    The best way is to create a structure and pass it to smartform instead of creating internal table.

    In SE11 transaction slect datatype tab enter name and click create you will be getting radio buttons in dat select STRUCTURE and enter values in it and pass it to smartform.

    Regards,

    pavan.

    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.