cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Is it possible to change the Date in field BKPF-BLDAT in Accounting Document.

Paankhuri_gupta
Newcomer
0 Likes
248

I want to change the date in Document Date Field BKPF-BLDAT.  ACCHD Structure is used to pass data to BKPF But in ACCHD structure the BLDAT is not present. So, is it possible to modify the date using some exit or enhancement?
Tcode: VF01/VF02/VF03.

 

Paankhuri_gupta_1-1765053780570.png

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Divyesh_Mistry
Contributor
0 Likes

Hello @Paankhuri_gupta ,

Try below user exit and badi.

Enhancement MethodTechnical Object / LocationKey FunctionalityMechanism / How to UseAdvantages
User Exit (Classic)RV60AFZC → USEREXIT_NUMBER_RANGE_INV_DATEIntercepts default billing date derivationInsert custom logic here to override the date before it populates SD billing date (VBRK-FKDAT) and is transferred to FI structures (ACCHD)Simple, early intervention; ensures clean override of document date
Function ExitSDVFX008 → EXIT_SAPLV60B_008Provides access to prepared accounting line itemsModify XACCIT-BLDAT (usually first header line) and/or XACCHD just before posting to FI via accounting interfaceModifies data closest to final posting; full visibility of accounting document lines
BAdI (Modern / Best Practice)BADI_SD_VOFM_BILLINGHeader data manipulation for billing documentsImplement BAdI method; inspect billing data and set desired document date in structures before FI postingRecommended for S/4HANA; modern, upgrade-stable approach; cleaner than modifying includes

If you find my response helpful, kindly accept the answer and award a Kudos. This motivates me to serve you better.
Appreciate your feedback.
Thanks,
Divyesh