Cancel the cancelled billing document
HI friends,
I have cancel the billing document in VF11.but posting date was wrong so i want to cancel the cancel billing document how I can do this ?
Regards,
Chetan
Hi,
The cancelled billing document cannot be cancelled again.
What i suggest is reject the order and create a new one and correct your entries there and now invoice just once.
Reward if helpful.
Regards
Ravi
Similar Messages
-
Block cancelling the cleared billing documents
Hi Friends,
Currently system is allowing to cancel the cleared billing document and business does want to do that, for example when F2 billing type document is cancelled then it is generating S1 type cancelled document.
I think I can prevent this by config ( in VOFA for billing type F2 under section cancellation>Copying requirements> assign 29.
And I need to do it for all billing types,
Now my queries are:
Do I need to do any config for cancelled billing type (S1) as well ?
Is there complication for doing that?
Whether I would be able to cancel the uncleared billing document in this way?
Or just I can proceed what I mentioned above.
Regards
AshuSo I do need to assign 29 in only billing document type F2;
is there any change required for cancelled billing document type (S1)?
Yes only in F2. Not in S1.
So if accounting document of billing type is showing as
cleared then only system will not allow to cancel it.
Will it allow to cancel the billing document if accounting
document ( of type F2) is showing as not cleared?
Yes that will allow you to do so.
Say, due some price change, you want to cancel an invoice with cleared accounting doc and you are using 29 in routine. Then in that case take use of Invoice correction request / credit memo request / debit memo request based on your business requirement.
Thanks & Regards
JP -
Issue When cancel the SD-Billing Document
Hi,
When i cancel the billing document It should debit the Sales account with posting key 40 & credit the Customer Account with posting key 12 (Reverse invoice).
But in my case it is debiting the Sales account with Posting key 40 and Credit the customer with posting key 11(Credit memo) which is wrong posting key in this case.
Kindly advice me how to correct this wrong posting key issue and how can i fix this with correct posting key 12 instead of 11?
Kindly help me and give some inputs.
Thanks
SupriyaDear Supriya
Go to OB40 and double click on the required Transaction. Place your mouse on the G/L Account and click on top "Posting Key". Check what is maintained there.
thanks
G. Lakshmipathi -
Error Message for the cancellation of paid billing document
Hi,
Can i create and error message for the cancellation of paid billing document? If yes, how can i create such.
Overview:
Accounting document is created upon creation of billing document. Upon payment, document cleared is the accounting document created. There are instances wherein accounting document was already cleared but our user is still able to reversed billing document. Now, i want to create an error message or user exist wherein, when a user will not be able to reverse the billing document if the accounting document attached to this billing document is already paid.
Thank you and best regards.
RachelleHi Rachel,
You can make use of the exit (Include) MV45AFZZ. The corresponding form routine is FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
In this exit, For the given billing document ( which is going to be cancelled ), pick up the accouting document from BSEG tables.
For this accouting document, Pass this to BSAD Table ( Customer clleared items)
If BSEG-BELNR = BSAD-BELNR and
BSEG-Acc.Year = BSAD-Acc,year )..
Then throw a error message and EXIT.
So for all the cleared docments , user can not cancel the invoices.
Regards,
Sai -
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 -
Double Cancellation of a Billing Document
Dear all,
I am facing a challenging problem (at least it is challenging to me), I had created an billing with no SO, just with the Article Document. I used VF02 to cancel the billing document by selecting each line item and then cancel item, because it doesn't allow me to use VF11 to cancel. (I don't know why). It was working fine and I had already cancelled more than 20 billing documents using this method. However, I made a mistake by cancelling a billing document twice.
A billing document 5001366372 was original created and planned to be cancelled. I open the VF02, enter the 5001366372 then enter, select the line item and then click cancel item. After that I saved the document, a cancel billing document had been created - 5400002606. However, I accidentally re-do the process and the system allows me to delete such billing document (5001366372) again, with another cancel billing 5400002607. From my understanding, the billing document cannot be deleted again once it had been deleted, I don't know why I can delete this twice. This is one of my question.
But the more important question is, I need to delete the second cancel billing document (5400002607) but I can't. I tried to use VF11 to cancel, but the system stopped me with an error message "Cancellation document 5400002607 cannot be cancelled". Of course I have tried the other one 5400002606 with the same result. I also tried to change the document in VF02 but failed. I just want to cancel or delete such billing document in anyway it can (along with the corresponding accounting document). Can anyone have any idea on this issue?
*to summarize: *
T-Code__Action _____ Doc #________Result Doc #
VF02____Cancel item__5001366372___5400002606
VF02____Cancel item__5001366372___5400002607
Both Cancellation reference to the same billing document
5400002606 & 5400002607 --> 5001366372
Cannot Cancel by VF11
Thanks and regards,
MandyHi Mandy,
The response "Cancellation document cannot be cancelled " is expected one. You can cancel an invoice document either in VF02 or in VF11. However once the cancellation document is created, you cannot cancel the cancellation document. You only have to create a debit memo to reconcile this difference.
The cancellation document types are S1 or S2 depending on the scenario. These documents cannot be reversed. This is the expected behaviour of the system -
How to cancel the cancel invocie when do the wrong MIRO
We did wrong MIRO (Input wrong qty) and then did the migo with 101.
after that we did right MIRO once again and did the migo with 102.
at last we did MR8M for the first wrong MIRO.
However the cancel invoice post the difference to the adj account.
the difference is coming by the wrong step for the above process.
Now we want to cancel the steps but it seems not able to cancel the cancel invoice.
Can anyone tell me how to do the cancel for the cancel invoice?Hi,
There is no provision to cancel the cancelled document in SAP. So in your case you do the following :
1. Go to MR8m and cancel the invoice
2. It will show you that u have to clear the fi document manually, do it .
3. cancel the grn.
4. If required then again post the grn and miro respectively.
Hope issue is resolved.
T & R,
Brijesh -
Creation of DMR and CMR from the archived billing document in EHP3 system
Hi all
I read somewhere that one of the functionality in EHP3 is we can create sales document like debit memo request and credit memo request from the archived billing document. I am working on EHP3 system only but i am not able to create the sales document. the system throws an error that billing document doesnt exist
If any one of you have worked on such functionality kindly suggest me why its not happening here also let me know Is ther any customization required for the execution of this functionality in spro.> If any one of you have worked on such functionality kindly suggest me why its not happening here also let me know Is ther any customization required for the execution of this functionality in spro.
I suggest you open that question in an SD forum together with the support package you run and if you have an industry solution or any business function sets activated or not.
Markus -
Creation of sales document (DMR, CMR) from the archived billing document
Hi all
I read somewhere that one of the functionality in EHP3 is we can create sales document like debit memo request and credit memo request from the archived billing document. I am working on EHP3 system only but i am not able to create the sales document. the system throws an error that billing document doesnt exist
If any one of you have worked on such functionality kindly suggest me why its not happening here also let me know Is ther any customization required for the execution of this functionality in spro.hi,
the help says:
You can use this business function to further optimize your electronic Sales and Billing Processes.
Electronic data archiving regulations result in a high volume of data for sales documents and require invoices to be archived at an early stage. You can integrate archived billing documents in your business processes more easily. Since you still have electronic access to archived invoices during the sales process, you can manage archiving without delay and execute further sales processes electronically.
You can more efficiently use the rebate agreements from SAP ERP for your marketing activities. In particular, customers who use SAP CRM (Trade Promotion Management) with a large volume of data for campaigns, target groups, and product segments can define a custom-made logic for their rebate determination and thus avoid potential database problems.
Integration
To implement the logic for rebate processing in SAP ERP, you use the Enhancements for Rebate Processing Business Add-In (BAdI). For more information, see the Implementation Guide (IMG) under Sales and Distribution Billing Rebate Processing Business Add-Ins (BAdIs) Enhancements for Rebate Processing .
Prerequisites
You have activated the Logistics: S&D Simplification (SD_01) business function.
Features
You can integrate archived billing documents in your business processes as follows:
Create sales documents with reference to archived billing documents, such as credit memo and debit memo requests.
Display archived billing documents.
When you do either of these steps, the system first looks for the invoice in the database and then in the archive.
For the sales employee, the processing steps are identical, regardless of where the sales document is stored. As soon as the sales employee processes an archived billing document, they see the relevant information in the message line as well as in the title of the function.
For rebate processing, you can store your company's check logic in the interface of the Business Add-In (BAdI) Enhancements for Rebate Processing.
So check if you have activated the business function.
I hope this helps.
Balazs -
To Generate the invoices (billing document) in t-code VF02 to DIRs in DMS
Hi All,
I have requirement is to generate the invoices (billing document) in t-code VF02 to DIRs in DMS or print list using ArchiveLink every night in batch program.
Did anybody worked on similar scenerios, please let me know.
Regards
MMHi Manish (and everyone).
Were you able to find the solution to this?
I am in a similar situation - trying to generate invoices from an ArchiveLink document.
All setup pertaining to ArchiveLink is already in place. What I need to do now is access the document from the content repository and start from there.
Any input will be greatly appreciated.
And of course, points will be rewarded.
Many thanks! -
Refernce between MIRO document and the customer billing document
Hi,
We have aa requirment in the third party business process. Is there any referce table between the Miro document and the customer billing document in case of third party business process other than sale orders.
Is there any other way where i can know that for this billing document this is my MIRO document number in case of third party business process. For the reportin purpose we need the information is there any table or any function module which satisfies the above requirement.
Thanks in advance.
SunilHi,
As per my best knowledge there's no direct connection between "MIRO document" and billing document.
- the logistics invoice(s) (MIRO document) is (are) connected to the PO in table EKBE (PO no. in EBELN, Invoice no. in BELNR where BEWTP="Q")
- PO and SO are connected in table VBFA (SO no. in VBELV, PO no. in VBELN where VBTYP_N="V")
- SO and billing documents are connected in table VBFA (SO. no. in VBELV, Billing doc. no. in VBELN where VBTYP_N="M")
Maybe there are other solutions too.
Regards,
Csaba -
User-Exit to cancel a Sales Billing Document
Hello,
When we try to cancel a Billing Document is there an indication field that specifies that the billing document is to be cancelled or we only can figure it out by the Billing Document type specified for the cancellation.
Thanks,
Alam.Hi
If a bill is cancelled the field VBRK-FKSTO is setted to X.
U can find the number of the bill cancelled in the field VBRK-SFAKN in the bill cancelling.
Max -
Table for cancelled and original billing document
Dear Experts
There are certain invoices that were cancelled by the user and new invoices were generated against them.
Is there any table where we can just enter the new invoice number and the old (cancelled) invoice can be fetchedHi,
You can get the cancelled Billing docments from the VBRK table.
The field SFAKN captures the cancelled docemnts for the new docment created.
santosh -
Error msg shown while cancelling the GR - Material Document
Hi All,
While trying to cancell the GR for an Asset / Material the following error msg shown:
Balance for transaction type group 10 negative for the area 01
Message no. AA629
Asset affected: 000000107102-0000
Diagnosis
With the transaction entered, the balance for the transactions in group 10 in area 01 will be negative in this fiscal year. However, the balance of transaction type group 10, according to its definition, must be positive in each fiscal year.
System Response
The system rejects this posting.
Procedure
Check the transaction type, the amount and the fiscal year in your posting. If you want to post a credit memo to an acquisition from the previous year, then use a transaction type for a retirement. If necessary, you can change balance rules after talking with your SAP consultant.
Can any one help what is the reason and how to find out the error.
Regards
SSHello,
Please refer SAP notes
160699
48886
Please also search SAP market place with message number., if these notes not suitable for you.
Regards,
Ravi -
How to Cancel the Cancel invoice? How to reverse the vf11 entry?
Hello Experts
Need suggestions on the following.
I have created wrongly the cancel doc in VF11. This was suppose to do for this year but did for last year.
How can I cancel/ reverse this doc which is generated in vf11.
Regards
RaviRajHello
Please make search before putting up you specific query.
Refer following link:
- Cancel / reverse billing document cancellation document?
FYI - Based on standard config you can not cancel a "cancellation Invoice".
As if you check the Std Cancel. Invoice (S1), don't have Cancell.billing type.
Regards
JP
Maybe you are looking for
-
Unable to load the data from PSA to INFOCUBE
Hi BI Experts, good afternoon. I am loading 3 years data( Full load ) from R/3 to Infocube. So loaded the data by monthwise. So i created 36 info packages. Everything is fine. But i got a error in Jan 2005 and Mar 2005. It is the same error
-
Problem of creating workbook with permanent template?
Hi all, Iam facing some problem while creating the workbook with permanent template.Let me expalin in detail. I have created 3 queries (ex:Stock) and i have to insert these in one workbook with permanent template.I had selected the the permanent tem
-
Poor dvd quality in idvd 09 avchd
My cam is Sony sr12e which is avchd format, when I edit in iMovie 09, it is fine, and I export it using AIC code with as quicktime mov(since many suggested here that it is better than directly share the mov to idvd). Then drag it to idvd but the qual
-
Powerbook G4 keeps sleeping.
Help! I am having the same sleep issue as many have posted. It started without warning yesterday. Powerbook goes to sleep whether plugged in or not. Can happen 5 minutes after start-up, then repeatedly thereafter. Checked the console application, sea
-
When creating an RFQ from a Requisition, Req doesn't clear Autocreate
Hello. I am trying to research the Req to RFQ to Quotation to PO functionality. When I autocreate a Req line into an RFQ, the REQ line doesn't clear Autocreate. Why is that? Thanks for any help. Martin