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: 

fill good recipient in mb21

former_member210823
Participant
0 Kudos

hello

I mandatory field good recipt in mb21 but I want to fill this field with list of person in HR,

it has F4 help in this buton , how to this it?

1 ACCEPTED SOLUTION

former_member210823
Participant
0 Kudos

I define check table in RKPF in field WEMPF , and it's ok and solve.

11 REPLIES 11

Former Member
0 Kudos

Hi

Check the below Implement the BADI below Use Method data_modify.

MB_RESERVATION_BADI

Sample code:

METHOD if_ex_mb_reservation_badi~data_modify.

Read from pa0001/pa0002 in HR then polulate the field WEMPF then modify the screen as i did below.

loop at SCREEN.
case screen-name.
when 'RKPF-WEMPF'.

screen-active = 1.
screen-input = 0.
modify screen.
endcase.
endloop.

ENDMETHOD.

I have something like this before.

Please let me know if you still struggle.

Regards,

Trevor

0 Kudos

this method after save in mb21 is run and just for check something,but I want to F4 in good recipt in mb21.

former_member210823
Participant

I found this BADI in se18 and found DATA_MODIFY, but how to change this BADI?

Idon't know how to change BADI?

Hi Masoumeh,

I will do it on the system and will send the code to you as soon as i'm done.

Regards,

Trevor

0 Kudos

I could change it but when don't change anything!!!!!!!

former_member210823
Participant
0 Kudos

I could change it but when don't change anything!!!!!!!

0 Kudos

I think i misunderstood the requirements is that users should be able to select employee name using F4 on the good receipt field?

0 Kudos

hello

yes, It is my requirement, plz help me..

0 Kudos

this source in picture is just sample,I set breakpoint just for sample ,but when run program ,donot call it.

0 Kudos

Hi

Did you resolve it.i have been away for sometime.

Regards,

Trevor

former_member210823
Participant
0 Kudos

I define check table in RKPF in field WEMPF , and it's ok and solve.