02-10-2012 10:15 AM
Hi,
Is it possible to update BKPF-XREF1_HD for an RV accounting document? I have gone through the forum, but could not get any conclusive answer.
I tried using FI_DOCUMENT_CHANGE but it threw an error saying you are not authorized to modify BKPF-XREF1_HD. Is it because its an internal field?
Thank you,
Manish
02-10-2012 10:26 AM
Hi,
In T code level , do you have authorisation for create/change RV doc ?? just check the SU53 after u got the error .
02-10-2012 10:29 AM
Yep, I do have the required authorizations. I even tried changing few other fields and it worked, but this one did not.
Is there any other FM that I could make use of?
02-10-2012 10:38 AM
Hi,
We cannot make direct data entry into this field (BKPF-XREF1_HD). Only modification is possible based on the configuration done in OB32. Can enable this field using OB32. We can only enter reference to this field, using FB02 (change document), after the OB32 settings.
Also after creating the accounting document, you can run a Z program with FB02 BDC for updating this field.
02-10-2012 11:02 AM
Hi,
You can use user exit EXIT_SAPLV60B_001 to update this field.
Regards,
Mohit
02-11-2012 5:07 PM
As rightly mentioned by harishkumar.d , fields to be maintained in tcode OB32. Once the BKPF-XREF1_HD is maintained in the tcode, then only this can be updated. Also, you can go through the SPRO path Financial Accounting->Financial Accounting Global Setting->Rules for changing documents.