Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

A table as selection criteria.

Former Member
0 Likes
933

Hi!

How would you create a report, which requires not a parameter, not a range (select-options) but a table.

I mean, the user should be able to select:

Article A in Plant B and

Article C in Plant D and

...so on...

Using select-options will retrieve 4 entries: (2 articles x 2 plants).

Regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
744

Hi Ivan,

Create an Internal table with Plant and Material as 2 Fields

Display this table in a Table control on screen.

Get the values from the user via this table control.

Use this table in PAI to write your query with for all entries on the second table and process it

Regards

4 REPLIES 4
Read only

Former Member
0 Likes
744

Hi,

Once I needed to do something like that. What I did was:

- Create a Z-table with maintainance view

- Create the report, which first reads the Z-table and can use the data for other selections, through FOR ALL ENTRIES.

Martin

Read only

Former Member
0 Likes
744

Hello,

My suggestion, use Dialog programming. Create a screen with the table as input then depending on that process further to display next screens.

Best Regards,

swanand

Read only

Former Member
0 Likes
745

Hi Ivan,

Create an Internal table with Plant and Material as 2 Fields

Display this table in a Table control on screen.

Get the values from the user via this table control.

Use this table in PAI to write your query with for all entries on the second table and process it

Regards

Read only

Former Member
0 Likes
744

Hi!

Thanks,

I will explore the dialog programming.

I want to avoid creating new tables.