Skip to Content
0
Former Member
May 13, 2010 at 10:39 AM

How to Enter Multipe Orders & Lines on a Selection Screen?

70 Views

Hi,

I have a situation where the user wants a report on sales order items.

However to choose the specific order lines via the selection screen and run the report for that selection of orders and lines e.g.

On the selection screen the following are entered:

Order 1 and Line 3

Order 1 and Line 4

Order 2 and Line 3

Order 3 and Line 4

etc.

And the report then shows only these order items.

I though of coding something like this for the selection screen:

SELECT-OPTIONS: s_vbeln FOR vbak-vbeln,
                s_posnr FOR vbap-posnr.

And unfortunately it doesn't work...

😔

Using normal select-option and parameters, I don't think you can do this as there is no way for the program of knowing which order is linked to which line item.

Does anyone have any iodeas on how to do this?

Many thanks!