Application Development and Automation 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: 
Read only

Whether exists a BAPI to update table VBUK?

Former Member
0 Likes
3,216

Hi Experts,

Due to a configuration issue, the status of SO always 'Being processed', not became 'Completed'. So I want to update table VBUK, whether exists a BAPI to update table VBUK? Thanks in advanced!

Regards,

Kelvin

9 REPLIES 9
Read only

yogendra_bhaskar
Contributor
0 Likes
2,129

hi kelvin ,

Did you check FM RV_SALES_DOCUMENT_UPDATE.

regards ,

Yogendra Bhaskar

Read only

0 Likes
2,129

Bhaskar, thanks for reply. But this FM seems can't update VBUK directly.

Read only

0 Likes
2,129

hi Kevin ,

If you want to directly update the table VBUK , then you can use the FM DB_UPDATE_TABLE .

regards ,

Yogendra Bhaskar

Read only

0 Likes
2,129

Yes, directly update table is a way, but is not a good way. I prefer to use BAPI to update.

Read only

Former Member
0 Likes
2,129

Hi Kelvin,

This might be helpful to you:

BAPI_OUTB_DELIVERY_CHANGE

Moreover you can check the below url for more clarifications:

http://www.benxbrain.com/benx(bD1lbiZjPTAwMQ==)/de/index.do?onInputProcessing(brai_thread)&001_threa...

If this helps, please reward.

Regards,

Nitin.

Read only

0 Likes
2,129

Thanks, this is SO status update, not delivery.

Read only

Former Member
0 Likes
2,129

Hi Kelvin

I will not advise you to attempt to change a standard database table yourself. Let that be done by SAP since a number of consideartions have to be taken care of such as ENQ DQ etc before a standard table is updated/changed.

Instead if you want to change the header status of a sales order you can search for a relevant BAPI or FM, I am sure you will find something if you look for it. Probably BAPI_ORDER_CHANGE_STATUS_GET might help. Just put *BAPI*SALES*STATUS in SE37 and search.

Thanks

Sameer

Read only

0 Likes
2,129

Hi Sameer,

Thanks for you reply. I have search related BAPI in SE37. like you said BAPI*SALES*STATUS*. But still can't found a useful BAPI. you mentioned 'BAPI_ORDER_CHANGE_STATUS_GET' is get the status, not update status. It's seems impossible to update VBUK by BAPI...

Read only

0 Likes
2,129

Hi Yu,

I am facing similar issue of Adding Z field to VBUK and updtae through BAPI.Any Clues?

How did you resolve issue?

Thanks,

Vish.