Dear all,
I have implemented BAdI LE_SHP_DELIVERY_PROC method fill_delivery_item:
METHOD if_ex_le_shp_delivery_proc~fill_delivery_item.
DATA:
lips_item TYPE lipsvb,
log TYPE shp_badi_error_log.
MOVE-CORRESPONDING cs_lips TO lips_item.
TRY.
BREAK plr.
delivery->check_best_before_date( lips_item ).
CATCH zcx_delivery INTO DATA(msg).
log-msgid = 'VL'.
log-msgno = '203'.
log-msgty = msg->warning.
log-msgv1 = lips_item-charg.
DATA(batch) = NEW zcl_gt_batch( matnr = lips_item-matnr charg = lips_item-charg ).
log-msgv2 = batch->read_vfdat( ).
log-posnr = lips_item-posnr.
log-vbeln = lips_item-vbeln.
APPEND log TO ct_log.
ENDTRY.
ENDMETHOD.
When I create the outbound delivery I do not have a value for lips_item-vbeln yet.
This is the content of ct_log:

But it doesn't get displayed in the protocol of the transaction.
What am I missing?
Thank you for your help in advance,
Peter