2022 Jan 03 3:23 PM
Hi All,
I have appended two zz fields in VBRK table now I need to know which function module I can use to update these custom fields of VBRK table.
Hi All,
I have appended two zz fields in VBRK table now I need to know which function module I can use to update these custom fields of VBRK table.
2022 Jan 03 3:40 PM
Do you mean something like a BAPI or do you want to fill the fields while processing a billing document (e.g. in transaction VF02)?
2022 Jan 03 3:47 PM
dalzio like a BAPI, So custom fields can be updated during runtime. Two custom fields are ZPDF and ZPDFDT. ZPDF will capture the check box if a particular invoice is generated IDOC and PDF file...So I need to check if this field is activate(X) or not. And ZPDFDT will update the date of PDF file placed in AL11 repository.
2022 Jan 03 3:57 PM
2022 Jan 03 4:12 PM
Hello,
You may check the Billing User Exit RV60AFZC -> USEREXIT_FILL_VBRK_VBRP to fill details in Custom fields during Invoice creation.. there are other includes that you can find with RV60AFZ* if the above doesn't satisfy your requirement..
All the Best!
Regards,
Vijay
2022 Jan 04 7:34 AM
vijay.hariharan Isn't there any function module to change the custom field value from old value to new value like we have for BKPF table which is 'FI_DOCUMENT_CHANGE'.
2022 Jan 04 12:15 PM
Well you can check RV_INVOICE_DOCUMENT_UPDATE but i have my doubts if you can update your Custom fields here.. The BAPI_BILLINGDOC_EDIT for Invoice Update calls VF02 directly so it isn't actually updating anything directly..
2022 Jan 04 3:58 PM