Skip to Content
avatar image
Former Member

smartform global setting -> Tables

Hello,

On the tab page for tables, can i declare only table on reference to structure declare on the dictionnary abap?

to declare a table, can i use data type which is declared on the main program ?

Thanks for your help.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 02, 2008 at 01:24 PM

    Hi GLT,

    The Answer to your question is ...

    It's not possible to use directly the declared type which you declared in ur ABAP program as a reference data type while declaring table in Smartforms..

    U will have to create either Structure or TABLE type from SE11 as per the fields u are declaring in your program...

    And then u can use this Sturcture or TABLE type as a ref type in SMARTFORM...

    Or u can use direct ddic datatypes or data element or domain there....

    Hope it will solve your problem..

    Thanks & Regards

    ilesh 24x7

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 01:09 PM

    You can use both , ie reference from se11 structure or table or

    YYYY type XXXX types declared in the main program.

    Thanks,

    Karthik

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 01:13 PM

    Hi,

    You might have heard about "Append Structures" and "Custom Includes".

    http://help.sap.com/erp2005_ehp_03/helpdata/EN/cf/21eb61446011d189700000e8322d00/frameset.htm

    http://help.sap.com/erp2005_ehp_03/helpdata/EN/cf/21eb61446011d189700000e8322d00/frameset.htm

    First build a structure with your program fields. and then you can declare them as "Append Structures" in standard tables.

    This is the only way which you can add your program structure.

    Regards,

    Santosh Kumar M.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 01:15 PM

    When i declare the table type tbl_data.

    And the type tbl_data is declared in th main program.

    The smartform can't active because the type TBL_data is unkonow.

    The type TBL_DATA contains differents fields of diferents tables.

    What can i do ?

    Thanks for your help.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 01:20 PM

    I want to declare a table on the interface form => SMARTFORM but i don't want to use a type declared on the dictionnary .

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 01:21 PM

    Hi,

    Iam not sure. But I think here we have to use standard types only. Because the parameters present in Global settings are same as the parameters present in function module. They are used as interface to interact with other programs.

    Hope thsi will help you.

    Regards,

    Swarna Munukoti.

    Add comment
    10|10000 characters needed characters exceeded