Application Development 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: 

How to display texts automatic. besides entered value for a field in Trans.

Former Member
0 Kudos
252

How to display texts automatically besides the entered value for a field in a standard transaction screen. For example you have a value table and a text table associated to it. Then on entering the value field and pressing enter the text associated should get displayed immediately besides the value. Like if you have 'LOC' as the value and 'Location' as the text associated to it, on entering this value 'LOC', you automatically get the text 'Location' printed besides it automatically in a transaction screen ?

Message was edited by: Sarika Kedia

2 REPLIES 2

Former Member
0 Kudos
88

Hi sarika,

Welcome to SDN.

1. first of all, such display of text,

is not automatic.

(it appears to be automatic)

2. At design time,

a) take one extra field for text

and mark it as OUTPUT ONLY

3. Then in PBO coding,

call some module, and in that module

write code

4. The code should be to

select from TEXT Table

into the work area.

EG. THE SCREEN TEXT FIELD NAME IS

T510A-FIELDNAME.

CLEAR t510a.

SELECT SINGLE * FROM t510a INTO t510a

WHERE trfar = FIELVALUE.

5. This will take care of

displaying the text value of that field.

regards,

amit m.

Former Member
0 Kudos
88

You cannot do it for standard transaction without a user exit, or modifying the standard or some other way. If it is your own transaction, then you can achieve it.