07-15-2015 1:47 PM
Hi all,
I need to create a FM that updates the LIKP-PODAT field, based on VBELN.
I didn't find a BAPI that allows to update this field... I wouldn't like to use batch input....
Any help?
Thanks in advance,
Francesca
07-15-2015 1:57 PM
The FM WS_DELIVERY_UPDATE_2 should work. Pass the date to the structure VBKOK-PODAT.
Thanks,
Vikram.M
07-15-2015 1:57 PM
The FM WS_DELIVERY_UPDATE_2 should work. Pass the date to the structure VBKOK-PODAT.
Thanks,
Vikram.M
07-15-2015 2:23 PM
Hi Vikram,
thanks for your response, that's great!
I called the FM WS_DELIVERY_UPDATE_2 with DELIVERY, VBKOK-PODAT and COMMIT flag populated and it worked fine!
Thanks so much.
Best regards,
Francesca
07-15-2015 2:38 PM
Just only question yet: In case of error, which structure I must verify?
I seen there are many structures:
*" VALUE(EF_ERROR_ANY) TYPE XFELD
*" VALUE(EF_ERROR_IN_ITEM_DELETION) TYPE XFELD
*" VALUE(EF_ERROR_IN_POD_UPDATE) TYPE XFELD
*" VALUE(EF_ERROR_IN_INTERFACE) TYPE XFELD
*" VALUE(EF_ERROR_IN_GOODS_ISSUE) TYPE XFELD
*" VALUE(EF_ERROR_IN_FINAL_CHECK) TYPE XFELD
*" VALUE(EF_ERROR_PARTNER_UPDATE) TYPE XFELD
*" VALUE(EF_ERROR_SERNR_UPDATE) TYPE XFELD
Thanks,
Francesca
07-15-2015 2:43 PM
07-15-2015 2:50 PM
I normally prefer to check the following (just in case):
1. sy-subrc is INITIAL.
2. the table PROT
3.
EF_ERROR_ANY
EF_ERROR_IN_ITEM_DELETION
EF_ERROR_IN_POD_UPDATE)
EF_ERROR_IN_INTERFACE)
EF_ERROR_IN_GOODS_ISSUE
(EF_ERROR_IN_FINAL_CHECK
(EF_ERROR_PARTNER_UPDATE
(EF_ERROR_SERNR_UPDATE