Billing Document cancelled in previous period
Hi Experts,
There is an issue that an invoice was created in the month of Jan. 2010, it got cancelled due to some reason and while cancelling it user has manually put date of Dec.2009. It has impacted the customer ledger. Here the previous period is opened as client's requirement.
Kindly suggest the solution.
Thanks & Regards
Girish
Pass a manual accounting entry for reversing the effect of cancellation in Dec09 month. Pass another entry in Jan10 month too.
I am sorry but since the document is totally closed and cancellation sets itself off against the invoice document, you can't do much. You cannot cancel a cancellation document to reset its effect.
Thanks
Kapil Sharma
Similar Messages
-
Prevent to create billing document in a closed period
hello
i want to know what is the best way to use transaction VF01 in SD for a billing date which is in an open period in Finance
today i have many users which are creating billing documents for closed periods and this is stuck in VFX3
is there any way to prevent users to do it and create billing documents in a previous period?
thanks
StephaneHi
Welcome to SDN! I Hope your 1st experience here is good
The intention of not posting the document and throwing it into VFX3 is exactly what you are looking for.. You need to cancel your document from VF02 and re-create it again...
If you want to put an ABAP check, to that saving in VF01 should not be allowed, use exit RV60AFZZ or RV60AFZB... But, I would say discipline is the apt solution to such issues
you can write logic in this exit with the help of ABAP consultant...
Regards
Ajay M -
Block cancellation/creation of billing document on CLOSED posting period
Hi Experts,
Currently, user is allowed to cancel/create backdated billing document where period already closed, but it does not release to accounting automatically, due to the period has been closed.
When account user found out that the accounting document is missing for the billing document, they have to re-open the period and manual release it to accounting, in order to generate the accounting document.
Therefore, we need the billing document to be blocked for cancellation/creation on CLOSED posting period.
Is there any settings in stardard SAP to block cancellation/creation of billing document on CLOSED posting period?
would appreciate your inputs.
Thanks and Regards,
N.C.ReddyHi ,
We have blocked cancellation/ creation of billing document through below user exit. Below is the progran code also.
***INCLUDE RV60AFZC.
FORM USEREXIT_NUMBER_RANGE_INV_DATE USING US_RANGE_INTERN.
Example: Number range from TVFK like in standard
US_RANGE_INTERN = TVFK-NUMKI.
*{ INSERT KPDK904773 1
*Block creation or cancellation of billing doc in closed period
DATA : gv_gjahr TYPE bkpf-gjahr,
gv_monat TYPE bkpf-monat,
gv_poper TYPE t009b-poper,
gv_bukrs TYPE t001-bukrs,
lv_gjahr TYPE t001b-frye1,
lv_monat TYPE t001b-frpe1,
gv_oper TYPE t001b-frpe1.
CLEAR : gv_gjahr, gv_monat, gv_poper, gv_bukrs.
gv_bukrs = vbrk-bukrs.
IF NOT likp-wadat_ist IS INITIAL.
*- First determine the Period of the Actual GI date.
CALL FUNCTION 'FI_PERIOD_DETERMINE'
EXPORTING
i_budat = likp-wadat_ist
i_bukrs = gv_bukrs
IMPORTING
E_GJAHR = gv_gjahr
E_MONAT = gv_monat
E_POPER = gv_poper
EXCEPTIONS
FISCAL_YEAR = 1
PERIOD = 2
PERIOD_VERSION = 3
POSTING_PERIOD = 4
SPECIAL_PERIOD = 5
VERSION = 6
POSTING_DATE = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
CLEAR : lv_gjahr, lv_monat.
lv_gjahr = gv_gjahr.
lv_monat = gv_monat.
*- Once period is determine check whether Period is open or not for 'D' - Customer Account
CALL FUNCTION 'FI_PERIOD_CHECK'
EXPORTING
I_BUKRS = gv_bukrs
i_gjahr = lv_gjahr
i_koart = 'D'
i_monat = lv_monat
IMPORTING
E_OPER = gv_oper
EXCEPTIONS
ERROR_PERIOD = 1
ERROR_PERIOD_ACC = 2
INVALID_INPUT = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
*- Once period is determine check whether Period is open or not for 'S' - All G/L Accounts
CALL FUNCTION 'FI_PERIOD_CHECK'
EXPORTING
I_BUKRS = gv_bukrs
i_gjahr = lv_gjahr
i_koart = 'S'
i_monat = lv_monat
IMPORTING
E_OPER = gv_oper
EXCEPTIONS
ERROR_PERIOD = 1
ERROR_PERIOD_ACC = 2
INVALID_INPUT = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
*- Check Billing Date period is closed or not
IF kom-fkdat is not initial.
clear : gv_gjahr, gv_monat, gv_poper.
*- First determine the Period of the Actual GI date.
CALL FUNCTION 'FI_PERIOD_DETERMINE'
EXPORTING
i_budat = kom-fkdat
i_bukrs = gv_bukrs
IMPORTING
E_GJAHR = gv_gjahr
E_MONAT = gv_monat
E_POPER = gv_poper
EXCEPTIONS
FISCAL_YEAR = 1
PERIOD = 2
PERIOD_VERSION = 3
POSTING_PERIOD = 4
SPECIAL_PERIOD = 5
VERSION = 6
POSTING_DATE = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
CLEAR : lv_gjahr, lv_monat.
lv_gjahr = gv_gjahr.
lv_monat = gv_monat.
*- Once period is determine check whether Period is open or not for 'D' - Customer Account
CALL FUNCTION 'FI_PERIOD_CHECK'
EXPORTING
I_BUKRS = gv_bukrs
i_gjahr = lv_gjahr
i_koart = 'D'
i_monat = lv_monat
IMPORTING
E_OPER = gv_oper
EXCEPTIONS
ERROR_PERIOD = 1
ERROR_PERIOD_ACC = 2
INVALID_INPUT = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
*- Once period is determine check whether Period is open or not for 'S' - All G/L Accounts
CALL FUNCTION 'FI_PERIOD_CHECK'
EXPORTING
I_BUKRS = gv_bukrs
i_gjahr = lv_gjahr
i_koart = 'S'
i_monat = lv_monat
IMPORTING
E_OPER = gv_oper
EXCEPTIONS
ERROR_PERIOD = 1
ERROR_PERIOD_ACC = 2
INVALID_INPUT = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
IF kom-fkdat4(2) <> likp-wadat_ist4(2).
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
*} INSERT
ENDFORM.
FORM USEREXIT_FILL_VBRK_VBRP *
This userexit can be used to fill fields in VBRK and VBRP *
Be aware, that at this time the work areas KUAGV KURGV *
KUWEV and KUREV are not filled. *
This form is called from FORM VBRK_VBRP_FUELLEN. *
FORM USEREXIT_FILL_VBRK_VBRP.
Example: change Tax country
VBRK-LANDTX = T001-LAND1.
ENDFORM.
*eject -
Dear All,
I am facing an issue with the billing document cancellation.
I am aware that when we create a billing document then an accounting document gets created automatically in the background and then when we cancel the billing document then another accounting document gets generated and the entries in the previous accounting document are offset and the status of both the document becomes cleared.
But i have a situation here where even after the cancel billing document has been generated only the accounting document of the invoice is getting cleared but the accounting document of the cancel billing document is not getting cleared. Can anybody please help me find out a solution to the issue.
Regards
Deepak JoshiThe flow is as under.
Export Order----
completed
Outbound Delivery----
completed
Goods Issue----
complete
Invoice----
completed
Accounting Document----cleared
Cancel Invoice (S1)----
Completed
Accounting Document-----Not Cleared
When I go to VFX3 and try to release the cancel invoice i get the message-" no documents found for these selection criteria."
and when i try releasing the document in VF02 i get the message-" the document has already been passed on to accounting."
Please help find a solution to this issue.
Regards
Deepak Joshi -
Hi All,
In case of billing document cancellation (VF11) the cancelled doc. is not getting automatically cleared against the actual billing doc. no. Each time user has to clear the doc. manually. We have observed this issue after recent patch updation dated 22nd Feb’2014. Till 21st Feb’2014 the cancelled doc. has been cleared automatically against their respective billing documents.
Please guide.
Thank you.Hi Gopi,
Please chheck SAP Note No. 1259505. It explains two ways in which SAP releases cancellation documents to FI.
OSS NOte 1259505 lists the possible causes from SD side &
OSS Note 309208 lists the possible causes from FI side.
Regards,
Kavita -
Cancel / reverse billing document cancellation document?
Is it possible to configure where we can cancel the billing document cancellation document?
Right now, if we cancel a billing doc using vf11 we get a new cancellation document generated. If we try to cancel that, the system says cancellation of this type not allowed.
Will it work if we configure to allow a cancellation document type on a cancellation billing document?
My problem is a cancellation document was created that is incorrect and can't be fixed - work order used is closed and they cannot open it back up. So this document is stuck unless I can somehow reverse or cancel it.
Thanks gurus - will promptly award pts for resolution.Thanks for checking - the original bill did not have the same issue. It was done some time ago using the same work order number as a reference that it posted to successfully.
Since that time, that work order has been closed completely and allows no further postings to it.
For some reason, a cancellation vf11 was attempted on that original bill & it tried to post back to that original order # in the cancel. Since it had been closed, we run into this as there's no way to update that order # since it just uses the original one. So now we have a cancellation document failed in accounting due to this message and can't fix it.
A credit memo should have been done due to the order status but they did vf11 anyhow and we're left with this problem.
Thanks much gurus -
BILLING DOCUMENT CANCELLATION PROBLEMS
Hi,
in my process from POS we have created IDOCS,than IDOCS we are creating several docuemtns like,
1.article document
2.billing documents,
Now from billing documents, accounting documents has been created with different g/l account and also with posting key 40,50.
now when we saw the bill doc document flow,it shows accounting doc as cleared.
its show entry at G/L level not at customer level,
now when i want to cancel accounting doc its shows tht this document has not been cancel because it not posted.
and when from t.code VF11 i am gng to cancel billing document at the time its shows:
original document is not same as billing document and its contains some error.
Pls help on thisRefer following thread
Cancel / reverse billing document cancellation document?
All the best.
Thanks & Regards
JP -
How can we restrict billing document cancellation via VF02?
Hi,
We need to restrict the billing document cancellation via VF02. We want to do the cancellation only via VF11.
Any suggestions?
Regards,
StudentHi,
Don,t allow the user to T.code VF11,control this through user authorization, he is able to do any changes in VF02 and if he tries to do cancel the document it will comes to T.code VF11 so there he is not authorized to do cancel.
check and revert
Regards
Ram -
Billing document cancellation reason
hi gurus,
while cancelling billing document , we have to maintain the appropriate reason for billing document cancellation so that the cancellation and its reason can be tracked whenever needed . how to maintain the reason for cancellation of this document.
how to maintain the reasons for excise document cancellation in J1IH.
thanks in advance.Hi friend,
You can define the ORDER REASON in OVAU transaction and assign this order reason while cancelling the documents
PATH: IMG->SALES AND DISTRIBTION->SALES->SALES HEADER->DEFINE ORDER REASON.
OR, if you want to reject individual rejection at item level,
Then DEFINE it in transaction code OVAG
PATH: IMG->S&D->SALES->SAELS DOCUMENT ITEM->DEFINE REASON FOR REJECTION.
Hope it is helpfl
santosh -
How to avoid billing being cancelled in closed period?
My questions is how to configure SAP, so that the user is not able to reverse a billing document in period which is closed for
them in FI module.
One of the ways I thought of doing was to create a new copy routine and assign it to the relevant billing types in the "copy requirements" field.
Is there any other basic setting based on best practise of bussiness process point of view??Hi,
As per your reply, does your requirement is :
To stop user from creating a cancellation billing documents w.r.t. Invoice, posting period belongs to that invoice is closed?
Then I doubt any standard routine available for the same.
Using the user exit at VF02 or VF11 you can achieve the same (by not allowing to save the cancellation billing document) with the help of an ABAPer.
Please share the solution if got the better alternative.
Thank You.
RB. -
Error during billing document Cancelation in VF11
Hallo!
When I'm trying to cancel a billing document with t code VF11, following error
occurred:
Error Log
1. 2200800226 000000 Cancellation document is not the same as the original billing doc. 2200800226 (VF 056)
2. 2200800226 000000 Data inconsistency during processing of document 2200800226 (VF 188)
I've downloaded following sap notes: 489676, 895101, 978098. But nothing new to cancel the billing doc!
In that billing doc I've just the EUR currency.
Please help me on top priority.
Thanks in advance!
Best Regards,
IBHi!
Our billing document is generated from a Delivery, and our release is 5.0.
Thank you
Best Regards,
Ilario B.
Edited by: Ilario Benetti on May 5, 2010 4:12 PM
Edited by: Ilario Benetti on May 6, 2010 9:29 AM -
Billing document cancel issue -No automatic clearing
Hi,
1. When i cancel the billing document(SD),i am getting the below messgae -Document 900000167 saved (no automatic clearing)
Message no. VF216
2. It is not getting cleared automatically in FBL5N after cancel the billing document.what could be the reason.
Thanks
SupriyaHi Landlord,
Please check your FI document - that might have cleared partially, check my earlier thread;
No automatic clearing after cancel invoice VF11
Also, check the OSS notes provided by Atif.
Do revert if you still could not solve.
Regards,
Amanullah -
Error in billing document canceled VF11
Hi Guru,
When i have Cancel billing document with t code VF11, following error occuared
Error Log
1102277799 000000 Cancellation document is not the same as the original billing doc. 1102277799
102277799 000000 Data inconsistency during processing of document 1102277799
Please help
Regards
BK GAIKWADEnsure that
1) in VOFA for your billing type, you have assigned the billing type S1
2) for S1 billing type, number range is maintained
In fact, if you give the error message number, it will be easy to identify the issue.
thanks
G. Lakshmipathi -
Confirmation Cancellation in Previous Period
Hi all,
I am getting an error message saying that I cannot cancel a confirmation from the previous period ( which is now closed ). Is this there a work around to this or if not, can you please explain to me why the system doesn't permit this. Thank you so much.Dear,
Without opening the periods you can not cancel any confirmation on back date open period thro transaction MMRV . othere wiseu keep the current date as posting date then you can.
Hope clear to you.
Regards,
R.Brahmankar -
Billing document Cancel related.
Hi Gurus,
While cancelling Billing document I am getting error,
i.e,Data inconsistency during processing of document 0000######,
So can anyone help me out regarding same?
regards,
DhirendrA.Check this thread
[Re: Issue in VF11 transaction|Issue in VF11 transaction;
thanks
G. Lakshmipathi
Maybe you are looking for
-
Android running Adobe Reader can't view PDF
My Android running Adobe Reader can't view Adobe PDF attachments that someone has emailed me through Exchange Server. I can, however, read the same PDF attachments if I receive said PDFs in my Gmail account. Please advise. Thanks, Jonathan Smith
-
Saffire LE causes crashing !
Hi there, for a couple of weeks now I had the same problem: if my laptop (Macbook pro 15.4", 2.16GHz intel core 2 duo) runs on battery (start at 98%) and I open mail and safari, it will crash after only 3 minutes. Just like that. Every restart fails,
-
Check printing - failed to load image
hello i have an issue with printing checks. a long standing one. my problems started when i put an image on a check. i wanted to add a signature image. once i did that, the popup that came up when i print a check did not come up. only for one user. i
-
Failed to get the Availability State on server Distriubtionpoint1 for role SMS Distribution Point
Distriubtionpoint1-- Server share distribution point Distriubtionpoint1-- Acting as site system role (DP) Distriubtionpoint1--attached under the primary PR0 (Primary server0) Primary server0-- reporting to CS0 (central site 0) Distriubtionpoint1-- Wi
-
hello friends, I have to create one program,in which whatever data range will enter by user in selection screen those master data will be delete from the master table. Can you please tell me the logic behind that.... Thanks in advance