Goods Recipient on Reservation Header via BAPI (RKPF-WEMPF)
I've created a program to create reservations using BAPI_RESERVATION_CREATE1.
The reservation gets created with all the items specified in the parameters but there's one field that doesn't gets filled - RKPF-WEMPF (Goods Recipient at header level).
Checking the BAPI, the GR is created at item level (RESB-WEMPF) but not at header. If I go to MB22 the GR is blank.
It seems that it can't be done through BAPI_RESERVATION_CREATE1 nor can I change it using BAPI_RESERVATION_CHANGE (can only change items).
When creating a reservation (MB21) I can fill the GR and see it in RKPF table.
My question is, how can I fill the GR at header?
If not on creation (which I find it strange not to be possible on the BAPI I've mentioned) is there a BAPI that can change the header of the reservation?