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: 

Update LIKP-PODAT

0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

The FM WS_DELIVERY_UPDATE_2 should work. Pass the date to the structure VBKOK-PODAT.

Thanks,

Vikram.M

5 REPLIES 5

Former Member
0 Kudos

The FM WS_DELIVERY_UPDATE_2 should work. Pass the date to the structure VBKOK-PODAT.

Thanks,

Vikram.M

0 Kudos

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

0 Kudos

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

0 Kudos

Sorry: I mean field not structure

0 Kudos

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