Get cancel Invoice list
Hi experts,
Is there any BAPI or report to get list of cancel invoice between two dates.
or any method like :
VBRK-FKSTO = 'X' "For cancel invoices.
which work 100% sure.
hi nagaraj,
in vbrk table check the field sfakn - cancelled billing document number
i think this may help you
regards
karthe
Similar Messages
-
Hi Gurus. I assigned an invioce list document type YLR to F2 (regular biling). I created two billing documents and then created an invoice list. I cancelled the invoice list, but now I cannot use the two F2 billing documents to create a new invoice list. Do you know what is stopping the system from using the same invoices to create a new invoice list after the original one has been cancelled?
Thanks,
TaThank you very much for the response. It is the correct solution to the problem. Points rewarded.
-
Hello SD Gurus,
In standard SAP is there any transaction to find list of cancelled invoices.
Regards,
KishoreDear Kishore,
Please go to VF05 transaction enter the selection data here then you go to Further sel.Criteria you select Billing type, now system give the Billing document type selection screen in that you enter your Canceletion billing type then execute.
Now you can get the data relevant to the canceled invoice list.
I hope this will help you,
Regards,
Murali. -
Hi all
I have come accross an anomaly while testing invoice list. The following is my code for getting the invoice list. The problem its that when i test it with customer no 1000 it displays invoice list of 1050 too. This happens ONLY for cutomer no 1000, testing with other entries gives the desired result. Is there anything that i am doing wrong w.r.to the coding part? Thanks
FORM get_invoice_list TABLES pt_customer_list
TYPE /artec/msf_tab_cust_list
pet_invoice_list
TYPE /artec/msf_tab_invoice_list
pet_return
TYPE bapiret2_t
USING pv_open_invoice
TYPE /artec/msf_dte_flag
pv_close_invoice
TYPE /artec/msf_dte_flag.
TYPES:BEGIN OF ty_cus_name,
cus_no TYPE kunnr,
cus_name TYPE name1_gp,
END OF ty_cus_name.
*-- Declaring internal table
DATA:
r_fkdat TYPE TABLE OF ty_fkdat,
lt_vrkpa TYPE TABLE OF ty_vrkpa.
*Declare a date range table.
* DATA: r_rfbsk TYPE TABLE OF ty_rfbsk. "#EC NEEDED
*-- Declaring workarea
DATA: lw_fkdat TYPE ty_fkdat,
* lw_vbrk TYPE ty_vbrk, "#EC NEEDED
lw_vrkpa TYPE ty_vrkpa,
* lw_rfbsk TYPE ty_rfbsk,
* lw_cust_list TYPE /artec/msf_str_cust_list, "#EC NEEDED
lw_invoice_list TYPE /artec/msf_str_invoice_list,
lw_datcfg TYPE /artec/msfdatcfg.
*-- Clearing export table
CLEAR: pet_invoice_list[], pet_return[] .
*-- Get closed invoices within the date range.
IF pv_close_invoice IS INITIAL AND
pv_open_invoice IS NOT INITIAL.
*-- Get open invoices within the date range.
ELSEIF pv_close_invoice IS NOT INITIAL AND
pv_open_invoice IS INITIAL.
SELECT SINGLE * FROM /artec/msfdatcfg "#EC *
INTO lw_datcfg
WHERE type = /artec/msf_cl_common=>gc_price_list ."'PRICE_LIST'.
lw_fkdat-sign = /artec/msf_cl_common=>gc_sign_i.
lw_fkdat-option = /artec/msf_cl_common=>gc_option_bt.
lw_fkdat-low = sy-datum - lw_datcfg-retain_day .
lw_fkdat-high = sy-datum.
APPEND lw_fkdat TO r_fkdat.
CLEAR lw_fkdat.
*--Fetch both the open and closed invoices
ELSEIF pv_close_invoice IS NOT INITIAL AND
pv_open_invoice IS NOT INITIAL.
ELSEIF pv_close_invoice IS INITIAL AND
pv_close_invoice IS INITIAL.
ENDIF.
* Select required entries from the database view /artec/msf_v_inv
SELECT kunde
parvw
vkorg
fkdat
vtweg
fkart
kunnr
kunag
vbtyp
ernam
vbeln
netwr
waerk
FROM /artec/msf_v_inv "Database view of vrkpa and vbrk
INTO TABLE lt_vrkpa
FOR ALL ENTRIES IN pt_customer_list
WHERE kunde = pt_customer_list-customer_no
AND fkdat IN r_fkdat AND
rfbsk = /artec/msf_cl_common=>gc_close_invoice.
LOOP AT lt_vrkpa INTO lw_vrkpa.
lw_invoice_list-cust_no = lw_vrkpa-kunnr.
lw_invoice_list-invoice_no = lw_vrkpa-vbeln.
APPEND lw_invoice_list TO pet_invoice_list.
CLEAR:lw_invoice_list.
ENDLOOP.
Sort pet_invoice_list by cust_no invoice_no.
Delete Adjacent Duplicates From pet_invoice_list comparing all fields.
IF pet_invoice_list[] IS NOT INITIAL.
DELETE pet_invoice_list WHERE invoice_date BETWEEN '19900101' AND '20090101'.
ENDIF.
ENDFORM.hard to read the code, but did you check to see if FOR ALL ENTRIES IN pt_customer_list has rows in the PT_customer_list? If you didn't I'd suggest a review of documentation of FOR ALL ENTRIES. If you did make sure pt_customer_list isn't empty, then disregard.
-
Invoice List Cancellation Status table field
Hi,
I need to know, which table field is updated when we cancel an invoice List using VF26. If there is cancellation once the VBRK-SFAKN is updated with the cancelled Invoice List Number. But in case there are multiple cancellations, the SFAKN field still contains the first cancelled Invoice list #. There is no status field in VBRL to indicate whether the status of the invoice list is cancelled or active.
How to trace whether the subsequent invoice lists are cancelled or not?
Thanks,
AmitAmit,
I don't find any field being updated on the original Invoice list while u are cancelling it.
So unfortunately you can't find from its VBRK entries that it was cancelled.
This is my understanding.... Let me know if you discover any thing new.
Coming to how we live up with it......
Before sending the invoice list to the customers we will check whether any entry exist in VBRK table with the same number in SFAKN(Cancelled billing doc #).. So if any entry exist in VBRK, that means this document was cancelled, so ignore it from the send list.
Let me know if you would like to know anymore details....
Thanks,
Aj. -
Dear All,
We have two issues when we would like to cancel an invoice list:
1- The cancellation document type (copied from the original billing type LRS - credit memo list - in transaction VOFA) doesn't reverse the FI posting in the generated accounting document. How we can correct that ?
2- When the invoice list is cancelled (vf26), the individual invoices contained in that cancelled invoice list are no retrieved again in the work list of transaction vf24 !
Thank you very much for your help !
MoezHi...
This issue may be related to copy control settings "Billing document to billing document", the transaction code is VTFF. Kindly check the Pos./neg. quantity field in header and item. It should be maintained as " - " in this case. Check the settings.
Thanks -
Regarding Invoice list dates.
Hi Experts,
I have one requirement where i need to get the next invoice list date based on invoive list dates-profile(KNVV-PERRL) of the invoice list sold-to-customer(VKDFS-KUNNR) and I need to update the updated date to VKDFS-FKDAT.
Please provide me with ideas or some Function modules to get the invoice list date and the FM for updating VKDFS-FKDAT.the payer is not equil to the sold to party and bill to party
There is no such standard report to meet this requirement. You have to develop the logic considering VF05
thanks
G. Lakshmipathi -
********ISSUE ON INVOICE LIST*****
Hi,
I am stuck up with the below issue
I created an invoice list with 10 invoices.Number is say 100
I cancelled invoice list 100. Number is say 200
In cancelled invoice list 200, instead of 10 invoices, system considered only 9 inovices and cancelled them.
Now I want the the 10th invoice also to be cancelled and saved in the same Invoice list cancellation doc 200.
Is this clear? If clear is it possible
Request you help as this is very crucial.
Regards,
RajeshDear Friends,
I have got the solution from my technical lead for the below issue, I like to share this resolution with you all.
Best Regards,
Ravishekar.Thallapally
*& Form after_line_output
After line output event is handled via this form
L_V_LINE : Capturing line value for page break.
FORM sub_after_line_output1 USING l_v_line TYPE slis_lineinfo."#EC CALLED
DATA: l_v_int TYPE int1.
IF l_v_line-sumindex IS NOT INITIAL .
l_v_int = l_v_line-sumindex MOD 2 .
IF l_v_line-subtot = 'X' AND l_v_int = 0.
Write:/ sy-uline.
NEW-PAGE.
CLEAR:l_v_int.
ENDIF.
ENDIF.
ENDFORM. " after_line_output -
Hello,
I have an issue with the work list (VF24) for invoice list.
I have two billing doc:
#10 billing type F2 (posted to FI)
#11 billing type F2 (posted to FI)
I created an invoice list for these two invoices:
#91 billing type LR
Later I have a third invoice# 12.
I want to include all three billing doc in one invoice list. Therefore, I cancelled the existing invoice list# 91, cancellation invoice list# 92 (billing type LRS) was created.
I ran the work list VF24 but billing doc# 10 and #11 did not appear.
Thanks in advance for your advice.
CLHi Surya,
The sequence of actions performed is:
1. create invoice
2. create invoice list
3. reverse the invoice
4. reverse the invoice list
It means that you reversed the invoices before reversing the invoice list.
So their relevance for invoice list is not touched, because the invoice list was already created (and it was not reversed yet).
Vice-versa, if you reverse an invoice before to create the invoice list (or after the invoice list is reversed), then it won't be relevant for invoice list anymore.
And the cancellation invoice won't be relevant for invoice list as well.
It is supposed that if an invoice already included in an invoice list is reversed, then the cancellation invoice will be included in another invoice list.
This is the standard design of the system.
Thanks,
Alex -
Canceled invoice accounting documents list
Hi experts
Can anybody tell me in which transaction can we get list of all canceled invoice accounting documents.
regards
rbHi,
Use T.Code: MIR5
Enter Company Code and then come to "Origin & Status" and in Entry Type select Check box of "cancellation" and then exeucte.
You will have report of all Invoice's are cancelled in T.Code MR8M.
Sure helpful to you then reward and close the thread.
Regards,
Biju K
Edited by: Bijay Kumar Barik on Dec 31, 2007 5:34 AM -
Error in cancelation of invoice list
when i am doing a cancelation of credit memo list i am getting an error message saying credit memo cannot be invoiced with billing type LGS
in configuration - <i>Assign Invoice list type to each billing type</i> - invoice list type LGS is not assigned to billing type credit memo so i assigned it there.
but when i'm doing the cancelation again, the error is still there...
Please help on how i can solve the issue.
tianow it is not possible . U have to do it manually now .
Because u did the changes in config after creation of doc . So the same will not be updated in the already created doc.
Hope this help -
Copy control for invoice list cancellation
Hi Friends,
I wish to maintain the copy control for invoice list cancellation, as the case study as follows
My client maintain invoice list, but due to certain reasons ,one of the invoice from invoice list has to cancel , the error I am getting as "Sales document F2 cannot be invoiced with billing type LRS."
Also , explain as to what fields need to maintain in copy control for the same.
Kindly help me at the earlist
Thanks in advance
ShaileshHi
As far as I know, invoice cancellation or invoice list cancellation is not done by copy control. or...that is the one and the only document in SD which can be created without copy control.
I think it is only sufficient if you include the cancellation document type in the invoice list type in the configuration of Billing document types.
I think that alone should solve your problem.
Reward if this helps you. -
hai gurus,
can any one help me out with this
i need a list of cancelled invoice and want to take a print out
thanks in advanceDear lachhi
To get list of cancelled invoices, go to VF05, input Payer and click on "Further sel.criteria". There select "Document type" and maintain "S1" and execute, so that you will get list of all cancelled invoices.
Alternatively, if you run VF05N, you just give S1 in the field "Billing Type" and execute so that you will get list of all cancelled invoices.
thanks
G. Lakshmipathi -
Excise Invoice is not getting Cancelled
Dear Friend
When we create an invoice in vf01, excise invoice gets created automatically. But when we are cancelling the billing document excise invoice is not getting cancelled. Why its happening? Will you please tell if any customization is needed?
IF I need to cancel excise invoice from j1ih, the system requires input for the following:
Document Number
Document Year
Is this document number a customer invoice no or excise invoice no?
Thanks
SangeetaThe same question you have posted twise
Excise Invoice is not getting Cancelled -
Base on invoice list document no. how to get MATKL field
my question is regardsing, based on the provided invoice list document number, how to get MATKL (merchadise category) field from MARA table or other table. Thanks
In the invoice document if you have the material number, MATNR, then take that and using that you can get the MATKL from the MARA table.
Regards,
Ravi
Note : Please mark all the helpful answers
Maybe you are looking for
-
Error messages are displayed when opening the RTV form.
Hi All, While doing a return to vendor the following error messages are displayed. 1.Go to the Inventory Management --> Return to Vendor screen. 2. In Action Drop down select 'New' and click on OK 3. A series of errors are encountered. 4. A warning m
-
Earlier attachment opens in Mail
When using Mail, opening attachments named the same as earlier attachments, the programme opens the earlier attachments instead of the one sent to me. Is there somewhere I can change this? MacBook Air OS 10.8.2 Mail 6.1 (1498)
-
Can you make buttons appear "on success" on quiz slide?
I'm not an expert Captivate user and don't know Javascript, so please excuse my ignorance if this question seems strange. I have a Captivate 6 project with several quiz slides peppered throughout the entire file. In other words, the quiz slides are n
-
Where is the bar where i can type-in a website to go to? Its missing at the top?
firefox on my old computer had the box with "http//www." where I could type-in a website address and go directly to the site. this is not on the Mozilla Firefox page when I bring it up. Also on the old computer when I went to the internet through Fir
-
MacBook Pro has a "hiccup" or short freezes
I have an early 2009 MacBook Pro running OSX 10.6.5. Over the past month it's developed an annoying "hiccup" or sorts. The Mac freezes for a 2 seconds every 10 minutes or so. For example: 1) scrolling down a webpage I encounter a temporary freeze, 2)