2009 Mar 25 2:04 PM
Hello,
I Have created a custom PA infotype which has one field contained in it.
There is another field defined on the screen only which holds a desciption.
This screen field is populated from a custom look up table.
On certain SAP standard screens whenever a lookup table appears and an
option is chosen the description is automactically populated after the green
tick is pressed.
On my screen I have to press the return key as well.
Does any body have any idea how I get the desciption to be populated
automatically without having to press the return key as well.
Hello,
I Have created a custom PA infotype which has one field contained in it.
There is another field defined on the screen only which holds a desciption.
This screen field is populated from a custom look up table.
On certain SAP standard screens whenever a lookup table appears and an
option is chosen the description is automactically populated after the green
tick is pressed.
On my screen I have to press the return key as well.
Does any body have any idea how I get the desciption to be populated
automatically without having to press the return key as well.
2009 Mar 25 2:10 PM
This is how we do in custom code:
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-002.
PARAMETER: p_mat TYPE mara-matnr.
SELECTION-SCREEN COMMENT 55(40) des.
SELECTION-SCREEN END OF LINE.
AT SELECTION-SCREEN.
SELECT SINGLE maktx
FROM makt
INTO des
WHERE matnr = p_mat
AND spras = sy-langu.
IF p_mat IS INITIAL.
CLEAR: des.
ENDIF.
2009 Mar 25 2:12 PM
Thanks J@y,
but I am looking at this from screen PA30 and not a selection screen.
2009 Mar 25 2:14 PM
you will be needed to find a user exit where you can do as I did for selection screen
Enhancements for PA30:
EXIT_SAPFP50M_001 PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
EXIT_SAPFP50M_002 PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
EXIT_SAPMP50A_001 PBAS0002 PA: Enhancements for Personnel Administration - Menu
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |