T-code/ table in SE16N: Cancelled invoices associated to original invoices (document flow)
Hi,
I am looking for SE16n table or a T-code where I can see the cancelled invoices associated with the list of invoices.
Many thanks,
Monika
Hi Reazuddin,
Thanks for your reply,
I am concercerned about BSEG table and using user exit EXIT_SAPLV60B_008 to post the document in FI.
Now in we have enhanced this user exit for contracts and included in this way.
SELECT SINGLE ZZ_CONTRACT FROM VBAK INTO (LC_CONTRACT) WHERE VBELN EQ cvbrp-vgbel.
Endloop.
*Moving the values to final accounting table
loop at xaccit.
xaccit-vertn = lc_contract.
xaccit-VBEL2 = xaccit-AUBEL.
xaccit-xref3 = lc_vbel2.
MODIFY xaccit .
ENDLOOP.
Clear: lc_contract,lc_vgbel,lc_vgpos,lc_vbel2.
But I am getting correct data when checked other clients( development and quality), this problem I am getting in production.
Do I need to ask the ABAP'er to debug this enhancement in production?
Thanks
Ashutosh
Similar Messages
-
Invoice reversal price original invoice price?
Dear gurus,
one of our customers came up with a strange thing that happened in his business:
He ordered a material containing gold, letu2019s say 20 gram for 20$ each gram, so 400$ total. The material was delivered in 2010.
Now, in 2011, he decided not to use the material and sent it back to his vendor.
The vendor issued a credit memo, but because the price for gold had risen in the meantime, the memo contained a price of 22$ per gram, so 440$ total.
Is there any way to post this credit memo in SAP? Whenever we try, SAP refuses to post the document because you cannot reverse an invoice with a price higher than the original document.
Any ideas?
Thanks
AliciaHello and thanks,
we did it this way now: We posted a credit memo with the original price. The difference between actual credit memo and the original price went to G/L account "extraordinary gain".
Thanks anyways
Alicia -
After cancellation thru J1IH of excise Invoice,
after cancellation thru J1IH of excise Invoice,
i got a message showing as "excise JV 7000153976 accounting number 8210002575 with part 2SI 7110001859 has been successfully created"**
what next to be updated in further levels to complete all the process in FI as well as Excise Documentshi
plz check the document year for inprocess and posted doc
now steps for excise invoice cancellation will be as follows
1 cancel MIRO document with MR8M
2 cancel MIGO document in MIGO
3 goto J1IEX choose post here give the excise invoice no of the document (u will get this no from table J_1IEXCDTL and field DOCNO)
4 now in misclinious tab give the rejection code and simulate u will find all the duties are reversed (compare with previous posting)
5 now ur invoice is cancelled and u can go for new GR and new postings
regards
kunal -
After cancellation thru J1IH of excise Invoice, what next to be updated
after cancellation thru J1IH of excise Invoice,
i got a message showing as "excise JV 7000153976 accounting number 8210002575 with part 2SI 7110001859 has been successfully created"**
what next to be updated in further levels to complete all the process in FI as well as Excise Documentshi
plz check the document year for inprocess and posted doc
now steps for excise invoice cancellation will be as follows
1 cancel MIRO document with MR8M
2 cancel MIGO document in MIGO
3 goto J1IEX choose post here give the excise invoice no of the document (u will get this no from table J_1IEXCDTL and field DOCNO)
4 now in misclinious tab give the rejection code and simulate u will find all the duties are reversed (compare with previous posting)
5 now ur invoice is cancelled and u can go for new GR and new postings
regards
kunal -
Basic Flow Of SD and T-Codes , Tables
Hi
Im SA-BW Consultant . I want some basic knowledge for SD . I mean the flow of SD and Basica Tables and transactions .
Pls let me know
kumarHi Ravi Kumar,
SD Flow Cycle:
INQUIRY ( VA11)
|
QUOTATION (VA21)
|
PURCHASE ORDER (ME21)
|
ORDER CONFIRMATION (VA01)
|
PICKING LIST (VL36)
|
PACKING LIST - (VL02, VL01)
|
SHIPPING (VT01)
|
INVOICE (VF21, VF01)
|
AR
SD FLOW OVERVIEW:
Sales
Inquiry - A customers request to a company that they provide a quotation or sales information without obligation. An inquiry can relate to materials or services, conditions and if necessary delivery dates. The sales area that accepts the inquiry becomes responsible for further processing.
Quotation - A quotation presents the customer with a legally binding offer for delivering a product or providing a service within certain fixed conditions. This offer is legally binding for the company within a specified time period. A sales area can reply to a customer inquiry with a customer quotation or use it to refer to a business partner contact.
Sales Order - Request from a customer to a company to deliver a defined quantity of products or provide a service at a certain time.
The sales area that accepts the inquiry is responsible for completing the agreement.
Create Delivery:a. Picking - The picking process involves taking goods from a storage location and staging the right quantity in a picking area where the goods will be prepared for shipping.
b. Packing - Packing is part of delivery- and shipment processing. When you process a delivery, you can select delivery items for packing and assign them to handling units (HUs).
c. Goods Issue - As soon as the goods leave the company, the shipping business activity is finished. This is illustrated using goods issue for outbound deliveries.
Billing - Billing represents the final processing stage for a business transaction in Sales and Distribution. Information on billing is available at every stage of order processing and delivery processing.
Sales Order Management Transactions
SALES ORDER PROCESSING
Creating Sales Order - VA01
Maintaining a Sales Order - VA02
Displaying a Sales Order - VA03
Releasing an Order or Delivery from Credit Hold: Non-Flooring - VKM1
Display List of RMAs by Customer - VA05
Confirm RMA Goods Receipt - VL02
Generate list of open return orders for deletion - VA05
Display Customer returns eligibility - MCSI
Removing a Billing Block (Approving Credit/Debit Requests) - V.23
PRICING MASTER DATA
Create Pricing - VK11
Creating a Sales Deal - VB21
Maintaining a Sales Deal - VB22
Displaying a Sales Deal - VB23
Maintaining Prices - VK12
Displaying Prices - VK13
MATERIAL MASTER DATA
Creating Material Substitution Master Data - VB11
Maintaining/Deleting Material Substitution Master Data - VB12
Displaying Material Substitution Master Data - VB13
Creating a Bundled Master - MM01
Creating a Sales BOM - CS01
Maintaining a Sales BOM - CS02
Displaying a Sales BOM - CS03
CUSTOMER MASTER DATA
Creating Partner Records - XD01
Maintaining Customer Master Data - XD02
Displaying Customer Master Data - XD03
Deactivating a Partner - VD06
CUSTOMER CREDIT INFO
Creating/Maintaining New Customer Credit Information - FD32
Displaying Customer Credit Information - FD33
Blocking or Unblocking a Customer - VD05
SHIPPING
Creating a Delivery - VL01N
Displaying a Delivery - VL03N
Changing a Delivery - VL02N
Shipment Inquiry / Display - VT03
Adjusting Transfer Order - Confirmation Quantity - LT12
Collectively Confirm Transfer Order - LT25
Batch Shipment Confirmation - VL19
PGI Reversal Cancellation - VL09
Creating Service Provider/Carrier Master Data - XK01
Maintaining Serive Provider/Carrier Master Data - XK02
Displaying Service Provider/Carrier Master Data - XK03
Maintaining Product Master/Serial # Profile/Unit of Measure/Shipping Unit - MM02
IDoc Inquiry - WE02 / WE05
BILLING
Invoicing a Customer Shipment - VF01
Reprinting an Invoice - VF31
Releasing a Sales Order for Billing - V.23
Creating an Invoice by Using the Billing Due List - VF04
Checking Open Billing Documents - VF05
Create Credit/Debit Memo - FB01
A/R
Controlling Total Debit/Credit bkgs - F.03
Generate FI Account balance - F.08
Generate Month-to-date Inv. register - F.02
Process payments - FBZ1
Rqst Individual Customer Corresp. - FB12
Generate Customer Correspondence - F.61
Enter Batch totals under Control ttl - FB07
Display G/L Acct. totals - FBL3N
Reverse Posted Amounts - FB08
Customer Refunds - FBL6
Customer Refund to other than Payer - FB05
Clearing Debit/Credit on Cust. acct. - FB1D
Customer Balance in Local Currency - F.23
G/L Account Balance Report - F.08
Create Invoice - legal entity adjust - FB01
Generate Cust. Acct. statements - F.27
Generate Dunning Letters - F150
Generate Billing Due List - VF04
Generate Blocked Billing Doc list - VFX3
Inq. via Credit Release Screen - VKM1
List orders by partner - VA05
Past Due invoices by customer - FD11
Check number info by G/L account - FBL3N
Display customer Line items - FBL5N
SD TABLES:
Important Tables for SAP SD
Sales and Distribution:
Customers : Table Description
KNA1 General Data
KNB1 Customer Master Co. Code Data (payment method, reconciliation acct)
KNB4 Customer Payment History
KNB5 Customer Master Dunning info
KNBK Customer Master Bank Data
KNKA Customer Master Credit Mgmt.
KNKK Customer Master Credit Control Area Data (credit limits)
KNVV Sales Area Data (terms, order probability)
KNVI Customer Master Tax Indicator
KNVP Partner Function key
KNVD Output type
KNVS Customer Master Ship Data
KLPA Customer/Vendor Link
Material Master:
MARA Material master
MAKT Material text
MARC Material per plant / stock
MVKE Material master, sales data
MARD Storage location / stock
MSKA Sales order stock
MSPR Project stock
MARM Units of measure
MEAN International article number
PGMI Planning material
PROP Forecast parameters
MAPR Link MARC <=> PROP
MBEW Material valuation
MVER Material consumption
MLGN Material / Warehouse number
MLGT Material / Storage type
MPRP Forecast profiles
MDTB MRP table
MDKP Header data for MRP document
MLAN Tax data material master
MTQSS Material master view: QM
Sales Documents
VBAKUK VBAK + VBUK
VBUK Header Status and Administrative Data
VBAK Sales Document - Header Data
VBKD Sales Document - Business Data
VBUP Item Status
VBAP Sales Document - Item Data
VBPA Partners
VBFA Document Flow
VBEP Sales Document Schedule Line
VBBE Sales Requirements: Individual Records
VBKA Sales activities
VBFA Sales Document Flow
Logical databases: AAV, AKV, ARV, VFV
Sales requirements
VBBE Sales Requirements: Individual Records
VBBS Sales Requirement Totals Record
SD Delivery Documents:
LIPS Delivery Document item data, includes referencing PO
LIKP Delivery Document Header data
Shipping:
VTTK Shipment header
VTTP Shipment item
VTTS Stage in transport
VTSP Stage in transport per shipment item
VTPA Shipment partners
VEKP Handling Unit - Header Table
VEPO Packing: Handling Unit Item (Contents)
VTFA Flow shipping documents
Billing Document:
VBRK Billing Document Header
VBRP Billing Document Item
SD Shipping Unit VEKP Shipping Unit Item (Content)
VEPO Shipping Unit Header.
Pricing:
KONAIND Index: Groups of Conditions/Header Record Conditions
KOND Conditions (Data)
KOND3 Conditions: Campaign Determination - Data Part
KONDD Material Substitution - Data Division
KONDDP Conditions: Additional Materials for Material Determination
KONDH Conditions: Batch Strategy - Data Division
KONDI Conditions: Data part for certificates
KONDIND General Document Index for Conditions
KONDN Conditions: Free goods - Data section
KONDNS Conditions: Free goods determination - scales
KONDP Conditions: Packing Object Data Section
KONDR Conditions: Derivation strategy - data part
KONDRPR Conditions: Derivation strategy - recipient item data
KONDRPS Conditions: Derivation strategy - sender item data
KONDV Conditions: Data part for certificates
KONH Conditions (Header)
KONM Conditions (1-Dimensional Quantity Scale)
KONP Conditions (Item)
KONV Conditions (Transaction Data)
KONW Conditions (1-Dimensional Value Scale)
KOTN900 LSI Free Goods Condition Table
KONV Conditions for Transaction Data
KONP Conditions for Items
LIKP Delivery Header Data
LIPS Delivery: Item data
VBAK Sales Document: Header Data
VBAP Sales Document: Item Data
VBBE Sales Requirements: Individual Records
VBEH Schedule line history
VBEP Sales Document: Schedule Line Data
VBFA Sales Document Flow
VBLB Sales document: Release order data
VBLK SD Document: Delivery Note Header
VBPA Sales Document: Partner
VBRK Billing: Header Data
VBRP Billing: Item Data
VBUK Sales Document: Header Status and Administrative Data
VBUP Sales Document: Item Status
VEKP Handling Unit - Header Table
VEPO Packing: Handling Unit Item (Contents)
VEPVG Delivery Due Index
Bill of Material:
MAST Material to BOM Link
EQST Equipment to BOM Link
STAS BOMs header
STKO BOM header
STPN BOM follow-Up control
STPO BOM item
STPU BOM sub-item
STST Standard BOM link
STVB Bills of material - Serialization of posting
STZU Permanent BOM data
Please Reward If Really Helpful,
Thanks and Regards,
Sateesh.Kandula -
SD - Excise Invoice creation and Excise Invoice cancel
Hi SD Gurus,
My requirement is to create a automatic excise invoice while creating a sales Invoice....
I have few questions?
1.What are the settings required for automatic creation of Excise Invoice?
2. Currently iam following the below flow :
VA01(OR) -
>VL01N(LF) -
> VF01(F2) -
> J1IIN(JEX)...Are there any problems if i follow this flow?
3. How should i cancel the Outgoing Excise?Whats the flow and Tcodes for the same?
Your expertise and suggestions will be very useful .....
Thanks
SasiDear Sasi
To cancel Excise Invoice
1) TCode - *J1IH*
2) Go to IMG Path -- Logistics-General --> Tax on Goods Movements --> India --> Account Determination --> Specify G/L Accounts per Excise Transaction.
Here you have to define the Excise Transaction type CEIV for the combination of your Excise Group, Company Code and respective G/L Account.
thanks
G. Lakshmipathi -
Table Name to see the Document Flow for Service Order - T. Code IW33?
Hi,
can u advise the Table Name to see the Document Flow for Service Order - T. Code IW33?
Ravi.Hi,
From SERVICE ORDER you cant get the INVOCIE NUMBER,
You will get the SALES ORDER number for that Service order in QMEL table and fetch the Sales order and then goto VBFA to get the Invoice number for the sales order with the DOCUMENT CATEGORY M.
hope it will serve you.
thanks,
santosh -
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 -
Hi
I'm creating a report wich shows the Commit, Paid, Budget, etc. in PS module. I will take these column values from severel PS reports generated with the 'Report Printer' tool, wich allow to calculate the values vía a 'semantic formules' using key figures, Characteristic values, etc. (For example report S_ALR_87013532).
I need to know how to translate these formules to code (tables); but i really don't know anything about Report Printer, Key Figures, etc.
Any idea ? Does somebody knows how to translate the Report Printer formules to code reading tables ?
Any help will be apretiated !!
Regards
FrankHi Frank,
I saw your earlier post for Changes a peport created via Report painter. You can do via T/code GRR2.
Please go thru the documantation this will provide you step by step approach on Report painter.
<a href="http://www.virtuosollc.com/PDF/Get_Reporter.pdf">Peport painter</a>
<a href="http://www.thespot4sap.com/Articles/Code_CostCentreReport.asp">Report painter--test report</a>
Need more information please let me know.
Lanka
Ps: Please allocate the points if this answer helps you. -
Query to show all A/P invoices associated with a PO
Hi,
I need some help to create a query to show all A/P invoices associated with a PO. I would like the input to be a PO# and the output to show all the A/P invoices and be able to drill down to the A/P invoices.
Any help would be appreciated.
Thanks!
Janehi,
P.O target documents query try this,
SELECT distinct 'GRN', D0.DocNum,D0.DocDate, D0.DocDueDate, D0.DocTotal,'AP INV', I0.DocNum,I0.DocDate, I0.DocDueDate, I0.DocTotal, I0.PaidToDate
FROM ((OPDN D0 inner Join PDN1 D1 on D0.DocEntry = D1.DocEntry) full outer join (OPCH I0 inner join PCH1 I1 on I0.DocEntry = I1.DocEntry) on (I1.BaseType=20 AND D1.DocEntry = I1.BaseEntry AND D1.LineNum=I1.BaseLine))
WHERE (D1.BaseType=22 AND D1.BaseRef='[%0]') OR (I1.BaseType=22 AND I1.BaseRef='[%0]') OR (I1.BaseType=20 AND I1.BaseEntry IN
(SELECT Distinct DocEntry FROM PDN1 WHERE BaseType=22 AND BaseRef='[%0]'))
Jeyakanthan -
Delivery note cancellation in case of proforma invoice
Hi SAP Gurus
I am in a typical automotive industry project where stock transfer takes place from factory to Sales Depo. In thsi case we generate STO orders - delivery note-- PGI- Proforma invoice--- Excise invoice .
Now as no accounting documents are generated in the proforma invoice cancellation of proforma invoice is not possible.So it happens that user reverse the PGI and cancels the delivery note.
In many cases he/she remebers to reverse/cancel the corresponding excise invoice generated but there are frequent cases as well where delivery note is reversed and cancelled without reversing/cancelling the corresponding Excise Invoice.
So i require
1. Either the corresponding excise invoice gets cancelled at the time of cancellation/reversal of delivery note.
2. If i could create an error message and validation check that restricts and informs user that a corresponding Excise invoice exists or excise invoice still open .
Please help me out.
Regards
JaydeepYou can very well control this issue via BADI LE_SHP_DELIVERY_PROC where you can see various "Methods" in which you can also see "DELIVERY_DELETION".
Tell this requirement to your ABAPer who can very well complete the task by using the above method.
thanks
G. Lakshmipathi -
Invoice cancellation leading to creation of accounting document with partial items
Hi All,
I faced an issue wherein there is an invoice created for items delivered (tangible goods as per the delivery document ) and services rendered ( intangible items).
After doing an RTA for the invoice , when I cancel this invoice , the cancelled invoice document is created. But , the accounting document created wrt the cancelled document has only the items for the delivered items and not the services rendered. Why is this discrepancy in the accounting document when the complete billing document (having both delivered items and services ) is cancelled ?
Regards
Samarth GuptaHi,
The original accounting document did have all the items as in the billing document. Even the cancellation invoice document created after cancelling the billing document also had all the line items. Surprisingly, the accounting document created wrt the cancelled invoice document did have only the delivery items(tangible goods) and not the services rendered.
Please revert with more inputs. -
BAPIs fpr T-Codes FV70 and FV-75 for creation of Customer Invoices
Hi all,
Can any1 tell me Validation BAPIs for T-Codes FV70 and FV75.
Please bear the following points
1. The BAPI should NOT create Parked Customer Invoices, they should just validate that the data to create the customer invoice.
2. The Transaction are used for CUSTOMER invoices NOt Vendor.
3. I've searched SDN and I got the follwing BAPIs
a. BAPI_INCOMINGINVOICE_PARK
b. MRM_INVOICE_PARK
c. MRM_PARKED_INVOICE_ACCDATA
But they are all for Vendor Invoices and CREATE parking invoices, Both the things I do not want.
If someone knows the name of the BAPI please forward to me at the earliest.
Cheers
AbhishekHi Eric,
Many thanks, I'll check the BAPI out, meanwhile can u also tell me whether there is a BAPI for creating Parking documents, i.e. BAPIs for T-Codes for FV70 and FV75.
I've tried to find a lot about this, but they say that BAPIs are there for only posting, not parking the Customer Invoices.
Cheers
Abhishek -
How to cancel an A/P Downpayment Invoice which has payment on it?
Dear all experts,
How can I cancel a A/P Downpayment Invoice No.100001 whereby it has done the outgoing payment. I unable to cancel the outgoing payment due to this outgoing payment also paid for another A/P Downpayment and already draw to some invoices. Please advice on how should I cancel this A/P Downpayment Invoice No.100001? Thanks a lot.Hi Angie,
I see in your case that one payment has been made for multiple A/P DP invoices.
Let's see case per case.
1. if the payment is made for payment on acocunt, you will use BP internal recon to pay the A/P DP invoices.
2. if you created payment for one DP invoice but there are some remain amounts, then you use internal recon to pay the another DP invoice
for case 1:
I see that you are using BP internal reconciliation. if it is so, just cancel the reconciliation first, then all A/P DP invoices are cancel.
you must recon the payment again., Meanwhile the AP DP invoice that is not going to pay can be credited.
for case 2:
you must cancel the recon in the manage previous reconciliation window. After the cancelation, go to payment and cancel the payment. Then create again the payment to pay another correct DP invoice
JimM -
CSV output (export to excel) don't use right code table
CSV output (export to excel) don't use right code table. We use code table
8859-2 (reports and forms are OK). Why export to excel don't use this code table.
Thanks for answersYou could also take the example from my blob that Denes mentioned and instrument it to output in either CSV or HTML. This way, you could have a single procedure that worked for both formats.
All you would need to do is handle each field differently - pad a TD and /TD (with proper brackets, of course) if its HTML or just append a comma if it's CSV.
Thanks,
– Scott –
http://spendolini.blogspot.com/
http://sumnertech.com/
Maybe you are looking for
-
Error when generating logical port in SOAMANAGER
Hi, When generating the logical port in SOAMANAGER transaction I get an error message 'SRT Framework exception: Uninstantiated object "subject sidl service" in method IF_SRT_WSP_CONFIG_SIDL~CREATE_CLNT_CFG_FROM_WSDL_D of class CL_SRT_WSP_CONFIG_SIDL'
-
I want to open up my Firefox browser and have two different tabs on my home page. How do I do that? Thanks!
-
HT204053 can i synch addresses from icloud to my desktop mac
can i synch addresses from icloud to my desktop mac?
-
Microsoft Exchange Transport Rule
Hi All, This is my case : My environment need transport rule requirement like this post solution, https://social.technet.microsoft.com/forums/exchange/en-US/dcf74b3c-063f-42ed-bed2-37b6e882445b/transport-rule-for-automatic-reply-to-sender But in my e
-
Creating InDesign files for both print and mobile output?
I am looking for a way to create files that can be multi-purpose for both print and mobile/online environments. I would like the output to be 2 different PDFs from one set of Indesign files. The problem I am encountering is that currently my files ar