2012 Aug 17 1:16 PM
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
2012 Aug 17 2:02 PM
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