cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

EWM RFUI adding fields

mohammadaamir_khan
Participant
0 Likes
5,122

Hi,

I need to add some fields in standard logical transaction INHUOV (HU Query) screen 203.

I need to display 1 batch characteristic.

What is best approach to add fields in standard RF screen.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

0 Likes

Hi Mohammad,

Take a copy of standard screen and create a new custom screen and add to your own function group. Please create an append structure with custom field to standard structure /SCWM/S_RF_INQ_HU. Include the new field on your custom screen and copy standard presentation profile subscreen "0203"

01******A1INHUOVINHUPR******01/SCWM/SAPLRF_INQUIRY203

to custom presentation profile, change the program name and screen number.

Regards

Sunil Mani

mohammadaamir_khan
Participant
0 Likes

Hi Sunil,

Thanks for input. Where should i write logic to populate the field value ?

Should i Copy standard FM /SCWM/RF_INQ_INHUPR_PBO or /SCWM/RF_INQ_INHUPR_PAI ?

Currently there is no logic in these FM.

Thanks

Answers (1)

Answers (1)

sunil_mani
Active Participant
0 Likes

Hi Mohammad,

Create a wrapper FM ZSCWM_RF_INQ_INHUPR_PBO on top of standard FM /SCWM/RF_INQ_INHUPR_PBO. Call the standard FM /SCWM/RF_INQ_INHUPR_PBO first in the wrapper FM and below that add your custom logic to populate the z field. See below -

FUNCTION ZSCWM_RF_INQ_INHUPR_PBO.

CALL FUNCTION /SCWM/RF_INQ_INHUPR_PBO.

*** Populate Z field****

ENDFUNCTION.

Regards

Sunil Mani