Skip to Content
Former Member
Apr 21, 2008 at 10:44 AM

Doubt on selection-screen


Hi gurus,

I done one report to get the Purchase order details. At the time of creating purchase order the users enters a One text field in the Purchase order header text of ME21N transaction. I need to fetch that field into Report. Upto this its fine. I also done this report by using the function module "READ_TEXT". The o/p is also generated successfully.

But now our client is asking, Please put that text field in selection-screen. Once he presses F4 in that field he needs to display all the values in text field. I know how to do if it is a table field. But it is a purchase order header text. Client enters different text when he creates diferent purchase orders.

Based on that text field only the report o/p will needs to display.

For example:

The User1 creats a Purchase order using ME21N. In that he enters Purchase order header text as ABC.

when ever he creats a purchase order he enters only ABC.In this way he creats 100 Purchase orders.

if the user execute the report and in selection screen of that text field , suppose he gives a ABC, only those 100 purchase orders only needs to appear.

Like this so many users enters no.of text items. Suppose there are 100 users. totally 100 text values will be there.

once he presses F4 help on the selecton screen all 100 values need to display. And this is dynamic, the no may increase in future also. thats totally depends on Purcase orders.

Please guide me how to do this.

Thanks in Advance...

Thanks and Regards