cancel
Showing results for 
Search instead for 
Did you mean: 

Smart forms

Former Member
0 Kudos

In the Smartform, I have Ship To party, Sold To Party, Bill To Party in the Header Level and in the Main Window I have some Items to be displayed at the Item Level the way we do it in Purchase Orders.

Now, Suppose for one billing document number, I have 4 Items.

Two items are shipped to Ship To party A, the 3rd Item is shipped to Ship To party B and the 4th item is shipped to Ship To party C.

For each change in Ship to Party I need to display the Items in Different Pages.

For Ex: The Ship To party A with the Items 1 and 2 should come in the 1st Page.

The Ship To party B with the Item 3 should come in the 2nd Page.

The Ship To party C with the Item 4 should come in the 3rd Page.

The Ship To Party should be in the Header level and the Items in the Main Window.

Thnaxs in advance

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi aman

U can declare condition in each page according to ur requirement

just follow these steps

here u can declare conditionin two ways

1) In the page it self on the tab u ca find a tab conditions

there u have to declare the conditions as 'bkpf-bukrs' = 'TCS' or anything bye declaring here u can do

2) by right click on the text u can get a option

Create-> flow logic->command

3) u can declare directly in program itself

Rewards if helpfull

Regards

Pavan

Former Member
0 Kudos

Hi Arman,

You can use the command node in Main table and check the go to new page box.

For each item check the Ship to part. And if it changes then mark a flag.

Then in the condition tab of this Command Node u can check the condition if the flag is set.

Reward helpful answers.

Thanks.

Former Member
0 Kudos

Hi

U should create an internal table in your smartform where u append all Ship To party codes, so u can group and print the data for every ship to party and while it's changing to force a new-page.

Max