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

Help needed in smart forms structures

Hi,

I am working in smartforms- mm , I need to define stuctures for the standard table like adrp,adr2,adr3.and i want to populate the data into that stuctues.Can any one help me how to define stuctures in SMARTFORMS.

Thanks in advance

Regards

Uday

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 30, 2006 at 06:22 AM

    hi ,

    U need to type declartion in the Global setting->global definition->types

    and then define variable name with this type assignment.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 30, 2006 at 06:27 AM

    Hi

    Try This

    a) go to Global Definitions: types and trite this code

    types: begin of type_adrp.
           include structure adrp.
    types: end of type_ADRP,
           type_tab_adrp type table of type_adrp

    .

    In the data portion define

    T_ADRP TYPE TYPE_TAB_ADRP

    .

    This way you get a table of ADRP in the SF. Now use the select logic on this table inside your program line.

    Hope This Helps

    Anirban

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 30, 2006 at 06:27 AM

    Hi Uday,

    Please create your structures in the globlal data of the smartforms. If you want to pass the data to the structures from the driver program, then you must define them in the Form Interface.

    You can pass the data to the structures in the data tab of the node 'Table' if you have an internal table of that type. Or else you can use the node 'Program Lines' to populate data in the structures. If you want to fetch data from the tables, then also you can use the node 'Program Lines'.

    Ask if more clarifications are required.

    Please assign points if helpful.

    Regards,

    Prabhas.

    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.