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

Smartform Template - Header and Items itab

All,

I wanna use template node in smartform as the number of rows should be fixed.

I have two internal tables one each for header and items.

I'm not sure how to proceed.

Help is highly appreciated and rewarded 😊

Regards,

Younus

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 04:17 AM

    Younus,

    As per your query you know that no. of header and line items are fixed(total records ).

    Ex : you have 3 header and 6 item

    Make template with 9 rows and 1 for heading(column names).

    sales order no Sales document item material

    -


    1 A K

    B L

    2 C M

    D N

    3 E O

    F P

    while passing data to templat

    when new sales order then only write the orderno else

    item values.

    Don't forget to reward if useful...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 04:55 AM

    Hi ,

    Only one template is enough.

    then in Program line node..

    get the the correspoding header from the header internal table

    using key feilds of those 2 internal table.

    Create ur Template under a loop node. give line item internal table.

    apprch like this .. i can solve ur req,

    regards.

    bgan.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 01, 2008 at 08:06 AM

    All,

    I wanna use template node in smartform as the number of rows should be fixed.

    I have two internal tables one each for header and items.

    I'm not sure how to proceed.

    Help is highly appreciated and rewarded 😊

    Regards,

    Younus.

    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.