cancel
Showing results for 
Search instead for 
Did you mean: 

Fields with automatically showed details for input

Former Member
0 Kudos

Hey,

We have again met the need to figure out how to configure fields in which automated details would show up after user inputs some value in the nearby field. Like there are already preset configuration in many transactions, e.g. VA41 where you input or choose a value from search help for a ship-to and sold-to parties and then after clicking in other place or pressing 'Enter' - in the fields beside those field the detailed information comes up - like name / address/ postal code/ city

We need to replicate this action for custom fields.

Your suggestions how to do that are very very welcomed?

Diana

Accepted Solutions (0)

Answers (2)

Answers (2)

thanga_prakash
Active Contributor
0 Kudos

Hi Diana,

Here I have taken reference to transaction VA01, field order type.

After entering Order type, it shows up the text.

To do this, u have to design a text field next to it with the below field attributes.

After designing the screen, then find a place in screen flow logic to fetch the text from its respective text table.

0 Kudos

You can use screen events like onLoad/onBeforeRefresh..

Former Member
0 Kudos

Sushant, I know I can get this onLoad or with script button, but what I mean is - how to get this info, you now, from where, what should be in the script, how to add up in one field all that info "name, address, code, city"

0 Kudos

ok i am a bit confused on this.

tell me from beginning. You gave an example of VA01.

Have you figured out from where you want your name,address,code,city?

Former Member
0 Kudos

Morning, Sushant!

No, I don't know how to find that info, because that hidden field that holds the place for information after input cannot be selected, so I cannot look up from where the date comes. (but this of course is not only a case of VA41 or VA01, there are a bunch of other transactions,this is just an example) Probably the data is stored in table KNA1, but then the question is how to replicate this behavior?

Thanks

0 Kudos

well you need to write your own remote enabled FM to get these values OR find out whether some BAPI is already present.

Then you need a way to trigger your script of which the screen events you already know.

-Sushant

Former Member
0 Kudos

Dear Sushant,

the reason I asked this question is because I was wondering if someone has done this before and could give some example how to replicate this automatic appearance of details, because I'm stuck on this.

Diana