Skip to Content
0
Former Member
Nov 03, 2009 at 03:59 PM

Screen field ouput problem

23 Views

Hi Experts,

Is there any way to display for example customer name on the right of a customer code select option in a report? Is just the same like in screen, when we define an input field for customer code and one output field to display the customer name based on what he or she enters.

I am doing this way but got stuck:

SELECTION-SCREEN BEGIN OF BLOCK r01 WITH FRAME TITLE text-003. 
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 1.
SELECTION-SCREEN COMMENT (28) FOR FIELD cust.
SELECT-OPTIONS: cust FOR kna1-kunnr NO INTERVALS NO-EXTENSION.    <--------the customer code
SELECTION-SCREEN POSITION 48.
PARAMETERS: name LIKE kna1-name1.               <--------the customer name
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK r01.

How can i show the customer name field as output only?

I have used screen-output = 1, but the layout is not the same when we choose it from the screen field properties --> output only.

Please advise.

Thanks

Edited by: starry99 on Nov 3, 2009 4:59 PM