on 03-18-2019 8:24 AM
Hello Gurus,
We have placed a Custom Code which executes during Delivery Creation ( VL01N ) and during Delivery Creation it updates VKDFS-SORTKRI field with a desired value.
And thereafter Billing Document gets created as expected, taking the values from VKDFS.
And as a standard Process once a Billing Document is created then corresponding entries from Table VKDFS is removed. VKDFS holds the Documents which are open for Billing hence it gets cleared once Delivery Document is Billed.
Now the issue is when a user cancels a Billing Document ( VF11 ), at this point again a fresh entry gets maintained in VKDFS against the Delivery Document, but this time VKDFS-SORTKRI would be blank.
I need to find a place where I can write code which fills VKDFS-SORTKRI during VF11 so that the desired functionality is even achieved in case of Billing Cancel scenario.
Searched for EXITs but with no success.
Checked with Below EXITs:
V60P0001
V05I0001
-----Update----------------------------
Even tried with V05IEXI2 which says, even this is not working. If it works as it says in Description then this could have done the purpose.
*---------------------------------------------------------------------*
* FORM USEREXIT_VKDFS_SORTKRI_BILLING *
*---------------------------------------------------------------------*
* Userexit to fill the field VKDFS-SORTKRI in the *
* BILLING transactions
* INPUT: LVBRK BILLING note: header
* OUTPUT: VKDFS-SORTKRI
Thanks,
Sijin
We raised an SAP Incident and they have asked to run Program RVV05IVB for regenerating the SD Document Indices ( VKDFS ).
After running this VKDFS~SORTRKI is populated after Cancelling a Billing Document as well.
But still I feel like an EXIT like V05IEXIT should also be available when Billing Indexes are generated while cancelling a Billing Document. And must say description of V05IEXI2 really made me feel that it is the EXIT which we were looking for. But alas 😞
Thanks,
Sijin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
While posting such queries, please also add in which version your system is running. There is an OSS note 331771 for older version which you can have a look at it. If that is not helping, then, you can try with BADI BADI_SD_BILLING or BADI_SD_BILLING_ITEM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi both of the BADIs which you have shared is for Internal Usage of SAP only. So customer cannot implement them.
Moreover I got some hint while debugging :
We implemented V05IEXIT for filling VKDFS-SORTKRI while creating Delivery Document.
and likewise there is a EXIT V05IEXI2 in which its clearly mentioned EXIT for filling VKDFS-SORTKRI during Billing Transactions.
As per its description its seems to be correct one, but its not getting triggered in VF11.
If nothing fruitful comes here am thinking to raise SAP Incident.
User | Count |
---|---|
102 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.