on 09-26-2013 8:39 AM
Hi wisers,
I am wondering if anyone know how to clear the content of VBRK-KIDNO during SD-Billing in VF02.
I have found that there is function module COMPUTE_CHECKNUM_NO_001 which compute the KIDNO.
not sure which user exit can be used to clearout the content of KIDNO.
Note: this VBRK-KIDNO is used when posted to FI doc in table BSEG-KIDNO.
thanks
Hi
The best way to fill the field is with a custom ITEM data transfer routine that is assigned in the TVCPF table (copy control). You can set the value you require and it will be saved to the database
form VF01.
You have to consider also that there is a special handling of the field after you save the billing document. See below after you press save.
RV_INVOICE_DOCUMENT_ADD
...
IF xvbrk-kidno IS INITIAL. " kein Stornofall
IF xvbrk-vbtyp NE vbtyp_guts. " keine Gutschrift
xvbrk-kidno = xvbrk-vbeln.
ENDIF.
PERFORM xvbrk_kidno_fill. >>>>
So if the field is not filled and it is a credit memo the logic in 'xvbrk_kidno_fill' applies.
If you have already filled the field in your custom data transfer routine this cose will have
no effect.
I hope this helps
Kind regards
brian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check in Delivery to Billing copy control remove the "Reference Number" save it then try to create Billing document
observe in accounting document will get only current billing document number as Reference number also Reference filed with empty in Billing Header
Try and update your feedback.
Regards,
Krishna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Please check below thread. Transfer fields from billing to FI document using Exits.
Hope this helps...
Hi
You can write a code to clear VBRK-KIDNO in exit RV60AFZC under
FORM USEREXIT_FILL_VBRK_VBRP.
Please check if it works for you.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One more thing I like to add,
there is a FM COMPUTE_CHECKNUM_NO_001 which compute the KIDNO.
this FM is called after the exit RV60AFZC under FORM USEREXIT_FILL_VBRK_VBRP.
so anything will be over written by the FM.
Any user exit or enhancement after this user exit would probably solve the issue.
thanks
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.