Skip to Content
author's profile photo
Former Member

Smart forms

Hi experts,

I have an internal table i_kna1 in which I collect the customer data (address, country, postal code... etc)

How can I display the data in my form?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 11:42 AM

    Hi,

    The internal table shud be declared in the interface tab of your smartform.

    so when you call the smartform function module u will see this as table parameter

    and there you can pass your internal table.

    To do so :-

    1. Go to your smrtform, there is node call FORM INTERFACE, here declare your internal table in tables tab.

    2. Generate your smartform.

    3. then in your driver program re-insert your smartform's function module.

    now you will see table paramter where you can pass your internal table.

    Check out this link,

    http://www.erpgenie.com/abap/smartforms.htm

    and also refer these threads,

    Passing table to smartform

    PASSING INTERNAL TABLE IN SMARTFORM

    Thanks,

    Reward If Helpful.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 11:41 AM

    Hi,

    Check the following link:

    http://sap-img.com/smartforms/internal-table-in-smartform.htm

    Regards,

    Bhaskar

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 11:42 AM

    create a table in smartform.

    in the tab : loop of the newly created table. insert ut internal table and work area...

    now insert the text elements in table and put the work area with fields in it,.

    it will print...

    reward points if useful.....

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 11:43 AM

    Pls check out transactions SADR, SOAD....

    Pls reward if helpful.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 11:45 AM

    Hi,

    If you are sure of the no.of.lines in the internal table, then create a template and divide the template into no.of.cells required say 4, and in each cell you can display in the fields.

    But if you are unsure of the no.of.lines that will get printed, then create a table control and divide this into each rows and columns and you can display the internal table data.

    It would be better if you can create this under main window.

    Regards,

    JLN

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 07:41 AM

    Thanks a lot

    Add comment
    10|10000 characters needed characters exceeded