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

Update VBUK-UVK01

Former Member
0 Likes
1,162

Hi,

I have a question. Has anyone implemented succesfully an update on a VBUK field?

I need to develop a program which updates field UVK01 for a sales order. I searched and searched, and I could not find any bapi. I found the function module RV_SALES_DOCUMENT_UPDATE, but it did not work, or I do not know what parameters I need to pass.

Another way which I tried was using SD_SALES_DOCUMENT_PERFORM which triggers exit RV45PFZA. There i tried to update vbuk-uvk01 in form USEREXIT_STATUS_VBUK. UVK01 is changed here, but not in the database. I used SD_SALES_DOCUMENT_READ, SD_SALES_DOCUMENT_PERFORM and SD_SALES_DOCUMENT_SAVE. I added also commit work, but it did not work.

Can you help me?

Thanks,

Efren

Hi,

I have a question. Has anyone implemented succesfully an update on a VBUK field?

I need to develop a program which updates field UVK01 for a sales order. I searched and searched, and I could not find any bapi. I found the function module RV_SALES_DOCUMENT_UPDATE, but it did not work, or I do not know what parameters I need to pass.

Another way which I tried was using SD_SALES_DOCUMENT_PERFORM which triggers exit RV45PFZA. There i tried to update vbuk-uvk01 in form USEREXIT_STATUS_VBUK. UVK01 is changed here, but not in the database. I used SD_SALES_DOCUMENT_READ, SD_SALES_DOCUMENT_PERFORM and SD_SALES_DOCUMENT_SAVE. I added also commit work, but it did not work.

Can you help me?

Thanks,

Efren

1 REPLY 1
Read only

Former Member
0 Likes
715

Hi,

The description of UVK01 says "Customer reserves 1: Header status". I am thinking of doing an update statement(although the modification of standard fields is not recommended). I have not found the field in programs, so I do not think it would make damage.

What do you think?

Thanks,

Efren