Skip to Content

Smartforms with 1 to N relationship

Hello guys,
I have a requirement which I need to generate smartforms from some orders within an alv, each order have N groups and each group have N items.
Basically in the main area I need the data to be presented somewhat like this:


Group: 10 group10_description Concept: Num
Item Description %Calc
10 test n
20 test n

%total: n
Group: 20 group20_description Concept: Num
Item Description %Calc
10 test n
%total: n

Obs.: Bold are static text, Italic are data

First time creating a form not so simple like this, so I created only one structure with all the data I need and put only one table within the main area with 3 line layouts, but I'm conserned if it's right, like if this way the lines will not repeat. Sadly I cannot test while i'm depending on another abaper at the moment.

Any online smartforms material/tutorial will be appreciated tho.

Best regards.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Oct 17, 2019 at 03:35 AM

    Hello Lucas Seixas,

    You have print the smart form in loop, if you can prepare the data printing the smart form in loop can be achieved. You can follow the below link for details:

    SMARTFORM

    Regards!

    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.