Entering Invoice in MIR7 on basis of Delivery Note no.
Hi Gurus,
While entering invoice in MIR7, after entering Document Date and Posting Date, we need to give delivery note no as reference to pick line items but if there are more than one item with same delivery note no from different vendors, system shows us all the options.
We need to select the relevant line but after selecting the line, system is changing the document date and baseline date on the basis of GR selected.
Can you please help me in solving this issue? System should not change the date automatically.
Please revert.
Thank You
Raj,
The issue here is the while creating the order the system needs to validat two things 'sold-to-party and order reason'.
I am still not sure whther this can be achieved through non ABAP way. check for some exits, if available.
Prase
Similar Messages
-
How to create excise invoice with refer to Delivery Note
Hi SAP Expert,
I am doing STOCK Transport process from factory to depot and hitting error while creating excise invoice in Factory.
From SAP help on Creating Excise Invoice, it said :
From the SAP Easy Access screen, choose Indirect Taxes ® Sales/Outbound Movements ® Excise Invoice ® For Sales Order ® Outgoing Excise Invoice Create/Change/Display ®
If you want to create the excise invoice with reference to a pro forma excise invoice or commercial invoice, choose Excise Invoice ® Create.
If you want to create the excise invoice with reference to a delivery note, choose Exc. inv. for delivery ® Create.
Enter the number of the reference document.
- When i created the excise invoice with reference to a STO Delivery Note, i am getting error : " For delivery 800050092 no document of type JEX exist "
- I already setup the config to assign Delivery Type NL to billing type JEXP.
I was doing the steps as below :
1. ME21N u2013 Create Stock Transport Order
2. VL10B u2013 Create Outbound Delivery w.r.t. STO
3. J1IIN u2013 Create Outgoing Excise Invoice w.r.t. Delivery Note
- Anything that i am missing ?Hi Guru,
Thanks for your reply. It is my typo error. I have maintained the delivery type NL to billing type JEX, instead of JEXP
I am getting error :
For delivery 800050092 no document of type JEX exist
Message no. 8I320
Diagnosis
The excise reference document defined does not exist for the delivery.
Procedure
Create the excise reference document before running the excise posting transaction.
- What is it means by create the excise reference document before running the excise posting transaction ? Do I need to create Pro-forma invoice prior to execute transaction J1IIN ?
I did not check the selection for ": Excise Inv during Billing " in my Excise Group maintainance. -
Entering invoice for additional cost.
Hi,
I have a PO with some 200 line items and 3 header conditions.
I did migo and done MIRO also.Now I want to enter an invoice for subsequent debit for a value of say 200 EUR.
How can I apportion this in to all the 200 items ?
Is there any better approach ?
Secondly, If I want to enter an invoice only for unplanned delivery cost.When I try to do this the balance does not get zero.
Wher should I enter values.
Assuming 200 Eur , I put the value as unplanned cost then to balance out this where shall I put this 200Eur in invoice ?
I have 100 line items in PO.
Please suggest.
regards,
manOOHi,
Thx again for the explaination.However I am facing some issues and needs guidance from you.
When I enter invoice for vendor I always get some differences in the supplier invoice and the SAP value.Please suggest the approach in following cases:
1.
Invoice amount in supplier invoice greater than SAP suggested value.
The supplier invoice is correct but somhow SAP invoice shows lesser values.It sometimes goes to level of 50-60 USD.
In fact the user enters the PO based on the actual invoice since it comes with the shipment before GR(import procedure)
Still it gives differences.
If I want to accept vendor invoice then how can I adjust that difference in SAP.
Normally a PO comprises of 200-300 lines.In that case how can the value be apportioned on each line suggested by SAP ?
2.
Sometimes the SAP value comes more than vendor invoice.In this case how to adjust the invoice ? I can not put the exact value as received from vendor.
3.
In most scenarios I have PO with header conditions of 3-4 types(all copied from freight).However these are the conditions used for clearing charges,freight charges misc. charges etc and many a times they are to be paid to the local supplier.
If I have a exchange rate maintained on PO header and made it as fixed and my local currency is different(example: Goods supplier currency-EUR and Local clearing agent currency-say AED), then when I do invoice the exchange rate will be only applicable to the Goods supplier.Correct ?
When I enter Invoice for the same PO for Delivery costs which is a local vendor, it will not pick up the exchange rate mentioned in the PO.Correct ? It will pick the existing exchange rate maintained in system. Correct ?
4.
When can I use subsequent debit or subsequent credit considering my scenarios.
Thanks in advance.request you to answer the questions and suggest the approach.
Regards,
manOO -
Invoice status is "Closed" after posting from Partial Delivery Notes
Hi everyone,
My add-on posts PARTIAL draft documents to posted delivery notes without reference to a Sales Order up to invoices. I've noticed that after invoice posting, my document (invoice) status was closed while my delivery notes document is open. Should'nt my invoice status still open? Please tell me if I am missing something on my code below. Thanks in advance!
public SAPbobsCOM.Documents PostDeliveryReceipts(SAPbobsCOM.Company company, SAPbobsCOM.Documents draft, ref int result)
SAPbobsCOM.Documents delivery = (SAPbobsCOM.Documents)company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes);
delivery.HandWritten = SAPbobsCOM.BoYesNoEnum.tYES;
delivery.DocDate = draft.ShipmentDate;
delivery.DocDueDate = draft.ShipmentDate;
delivery.CardCode = draft.CardCode;
delivery.CardName = draft.CardName;
delivery.NumAtCard = draft.NumAtCard;
delivery.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items;
for (int i = 0; i <= draft.Lines.Count - 1; i++)
draft.Lines.SetCurrentLine(i);
//components of a bom
if (draft.Lines.TreeType != SAPbobsCOM.BoItemTreeTypes.iIngredient)
delivery.Lines.ItemCode = draft.Lines.ItemCode;
delivery.Lines.Quantity = draft.Lines.Quantity;
delivery.Lines.WarehouseCode = draft.Lines.WarehouseCode;
delivery.Lines.VatGroup = draft.Lines.VatGroup;
delivery.Lines.UnitPrice = draft.Lines.UnitPrice;
if (i != draft.Lines.Count)
delivery.Lines.Add();
return delivery;hello, friend.
in addition to what the others have said, please check your customer master, particularly in the Sales Area Data > Shipping tab. look at the partial deliveries. there may have been settings that tell the system if a delivery has been created with reference to the sales order, the order will be completed even if the quantity is only partially delivered. if the entry in the 'partial delivery per item' field is 'B', then this will explain your situation.
this can also be manually set in the sales order, so you have to take a look at the order as well, at item level.
regards. -
How to create invoice using bapi base on delivery number with example
hi,
Pl give me one example to create invoice using bapi base on delivery number (PGI).Use this code
* Pass the delivery no to the FM to create the invoice
wa_vbsk-smart = u2018Fu2019.
wa_komfk-vbeln = nast-objky. u201CuF0DF-----delivery number
APPEND wa_komfk TO it_komfk.
CLEAR wa_komfk.
* To fill the message structure
* l_wa_error-vbeln_vl = nast-objky. " Delivery No.
* l_wa_error-fkart = wa_ztab-bil_doc_type." Billing Doc type
CALL FUNCTION 'RV_INVOICE_CREATE'
EXPORTING
* delivery_date = 0
invoice_date = v_date u201C<- date
* invoice_type = ' '
* pricing_date = 0
vbsk_i = wa_vbsk
with_posting = u2018Du2019
* select_date = 0
i_no_vblog = ' '
i_analyze_mode = ' '
id_utasy = ' '
id_utswl = ' '
id_utsnl = ' '
id_no_enqueue = ' '
id_new_cancellation = ' '
** IMPORTING
* VBSK_E =
* OD_BAD_DATA =
* DET_REBATE =
TABLES
xkomfk = it_komfk
xkomv = it_komv
xthead = it_thead
xvbfs = it_vbfs
xvbpa = it_vbpa
xvbrk = it_xvbrk
xvbrp = it_vbrp
xvbss = it_vbss
* XKOMFKGN =
* XKOMFKKO = -
MIRO - Invoice Verification with reference to Delivery note.
Dear All,
In our organisation we are doing MIRO with reference to Delivery note. As same number of delivery note is being submiited by multiple vendors, after entry of that delivery note in MIRO system shows large list (Closed & Open for MIRO). This becomes difficult to select the required delivery note.
Is it possible to make display of only those delivery notes against which MIRO (Invoice verification has not done).
Also MIRO with reference to GRN number is possible or not ?
Please suggest.
Regards,
Shekhar Kisan GaikwadIn our organisation we are doing MIRO with reference to Delivery note. As same number of delivery note is being submiited by multiple vendors, after entry of that delivery note in MIRO system shows large list (Closed & Open for MIRO). This becomes difficult to select the required delivery note.
Is it possible to make display of only those delivery notes against which MIRO (Invoice verification has not done).
Also MIRO with reference to GRN number is possible or not ?
HI,
To avoid difficulties post miro with Reference document (PO Reference Tab) - Delivery note click on Radio button a possible entries for delivery note screen will appear. Here you can search specific delivery note by a lot of criteria which will save ur time and effort also you can see MIGO Document. Click and put tick to adopt and post Delivery note / migo and enter required field. -
Excise Invoice No. from Delivery Note in GR
Hi..
We enter Invoice No. in 'Delivery Note' field while posting GR and after we do capturing Excise invoice w r t GR in J1IEX.
Is there any setting to get 'Delivery Note' number flows/copied into 'Excise Invoice No.' in J1IEX.
or
How to it can be achieved technically.
Thanks in Advance..
Regards
SumitDelivery note number and Excise invoice number both are different. There is no such setting available in Standard SAP system to copy the Delivery note no. into Excise invoice field in J1IEX.
If you have any such business requirement, you can try writing custom code using User exit or Badi or Enhancement and fulful your requirement. -
Creating Invoice from a Delivery Note using SDK
Hi,
I am working on SAP 2005 A Patch 4 with SQL 2000 SP 4. I am using VB.NET (VS2005). I am trying to create a Invoice from a Delivery note which is created based on a Sales order.
I am getting the following error
Error occured while saving Invoice: 0 - '15' is not a valid value for field 'BaseType'. The valid values are: '-1' - '', '0' - '', '23' - 'Sales Quotation', '17' - 'Sales Order', '16' - 'A/R Returns'
The Code that i used to create the invoice is as follows
Dim oInvoice As SAPbobsCOM.Documents
oInvoice = pcompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
oDelivery = pcompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes)
Try
If oDelivery.GetByKey(iDlvNo) = True Then
sTaxCodes = sTaxCode
oInvoice = pcompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
oInvoice.CardCode = oDelivery.CardCode
oInvoice.SalesPersonCode = oDelivery.SalesPersonCode
oInvoice.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
oInvoice.DocumentSubType = SAPbobsCOM.BoDocumentSubType.bod_None
oInvoice.Address = oDelivery.Address
oInvoice.ShipToCode = oDelivery.ShipToCode
oInvoice.Address2 = oDelivery.Address2
oInvoice.JournalMemo = "Invoice - " & oDelivery.CardCode
oInvoice.Comments = "Based on Delivery " & oDelivery.DocNum
oInvoice.PaymentGroupCode = oDelivery.PaymentGroupCode
oInvoice.DocDueDate = Now.Month & "/" & Now.Day & "/" & Now.Year
For iRowNo = 0 To oDelivery.Lines.Count - 1
If iRowNo > 0 Then
oInvoice.Lines.Add()
End If
oDelivery.Lines.SetCurrentLine(iRowNo)
oInvoice.Lines.ItemCode = oDelivery.Lines.ItemCode
oInvoice.Lines.Quantity = oDelivery.Lines.Quantity
oInvoice.Lines.Rate = oDelivery.Lines.Rate
oInvoice.Lines.BaseType = SAPbobsCOM.BoAPARDocumentTypes.bodt_DeliveryNote
oInvoice.Lines.BaseEntry = iDlvNo 'DocEntry of Delivery Note
oInvoice.Lines.BaseLine = iRowNo
oInvoice.Lines.TaxCode = sTaxCodes
Next
iReturnValue = oInvoice.Add()
If iReturnValue <> 0 Then
pcompany.GetLastError(iReturnValue, sErrorDescription)
Throw New Exception("Error occured while saving Invoice: " + _
iErrorNo.ToString() + " - " + sErrorDescription)
Else
MessageBox.Show("Invoice created succesfully")
End If
End If
Since in the error message it has specified that i have given the BaseType as Delivery which has a value of 15 i changed that from bodt_DeliveryNote to bodt_Order which has a value as 17.
When i tried creating the invoice again it gave the error
Error occured while saving Invoice: 0 - Target item number does not match base item number. [RDR1.TargetType][line: 2]
I am not able to proceed further ... can any one help me
thanks in advance
GaneshGreetings,
I am having a similar problem, only I'm doing it as suggested in Louis' reply. In fact I copied that code and tried it. It's giving me a 2028 error with no description.
I had been doing it slightly differently and the error I was getting was 5002 "Item no. is missing [INV1.ItemCode][line 2]" I don't have 2 lines and I'm certain I have an item code. The numbers I'm putting in for baseentry & baseline are absolutely in the table and the order is open.
Here is that code:
oDNUpd = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oInvoices)
oDNUpd.CardCode = CardCode.Text
oDNUpd.Lines.BaseEntry = CInt(SalesOrder.Text)
oDNUpd.Lines.BaseLine = CInt(baseline.Text)
oDNUpd.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
oDNUpd.Lines.Add()
lretcode = oDNUpd.Add
I'm using SBO 2005 patch 7 (and the new dll). I have similar code doing a stock transfer and it's working fine.
Thanks for any suggestions you can offer
John -
Delivery note of GR not appearing in Freight Invoice
While doing GR I entered Delivery Note.But while preparing Invoice against Freight Vendor Delivery note is not appearing in MIRO whereas delivery note is appearing while preparing Invoice against Goods/service items.I want the delivery note to appear when I am preparing invoice against Freight Vendor through MIRO.
Hi
Delivery note will come at Item level of the MIRO.
create the miro and check the item level. It will come after GR Block stock field
regards
Prasanna -
Invoice Verification (MIRO) allocation via Delivery note
We are in 5.00 version
In our system the same Delivery note number could be associated not only to different vendor, but even to the same vendor in different years.
In the last case the system allocate ALL the Delivery notes.
I try to use the F4 function to limit the selection, using filter on vendor and document date, but after the again all the delivery note for the selected vendor are allocate.
Could anybody help me on this.
thanks
ClaudioIn our organisation we are doing MIRO with reference to Delivery note. As same number of delivery note is being submiited by multiple vendors, after entry of that delivery note in MIRO system shows large list (Closed & Open for MIRO). This becomes difficult to select the required delivery note.
Is it possible to make display of only those delivery notes against which MIRO (Invoice verification has not done).
Also MIRO with reference to GRN number is possible or not ?
HI,
To avoid difficulties post miro with Reference document (PO Reference Tab) - Delivery note click on Radio button a possible entries for delivery note screen will appear. Here you can search specific delivery note by a lot of criteria which will save ur time and effort also you can see MIGO Document. Click and put tick to adopt and post Delivery note / migo and enter required field. -
Delivery note in invoice verification
My friend iam new to MM
What is the use of delivery note in goods reciept
i can do the goods reciept with out delivery note too
where the real difference comes please explain me
in invoice verification with out the delivery note i can directly use
in which scenario i can use delivery note
please explain meHi,
In MM Purchasing Scenario the vendor supplies a material along with a delivery note.
This no: you can refer while you do a GR in MIGO & you will also enter the Qtys in the Qty as in Del note in the MIGO item details part.
Now you can refer the delivery note no: which you captured using MIGO while you do a invoice verification using the transaction MIRO.
Now the delivery note no: is normally very useful incase of a PO having multiple GR's.
Hope it helps.
Regards, -
Invoice and delivery notes - idocs..
Hello SD experts,
I am new to SD.
Can any one tell me what is the invoice. I mean
what are the table AND transaction codes I have to go and check ?
What are delivery notes ?
My functional consultant is telling that
there is a consolidated invoice and there are 2 delivery notes that are being combined for this invoice. The invoice # is 6016186004
For DN# 6073107044 there is a VICS BOL that was passed back that is = 04000000000016146
6073107045 there is a VICS BOL that was passed back that is = 04000000000016023
and he wants to know how the program selects which VICS BOL fields in IDOC. He gave me to use IDOC #77122253 in quality system for testing.
In this case , Idoc checking/testing...I need to go to RSNAST00 program ?
If so then what are the I need to give
Output application (is it V1 or MR ?)
Output type ??hi ..
Please refer below..
for invoice , tables: VBRK and VBRP
AND transaction codes : VF01 to 03.
What are delivery notes ?
after goods issue, we need to issues delivery note to customer.
In this case , Idoc checking/testing...I need to go to RSNAST00 program ?
you need to go to VL70 or you can process with RSNAST00.
Output application type : V2
Output type : LD00
Regards
Venkat.. Ananth Technologies -
Customer Down Payment invoice (from delivery) not automatically assigned
If I create a Down payment invoice from Sales Order (and I paied it) on the final invoice the sistem automatically assigne the down payment invoice on the final invoice for the order.
If I do the same think but crerating the Down payment invoice from the delivery (and I paid it) when I create the final invoice I need to assigned it manually.
SBO 8.81 PL 06
I haven't found any set up for this, so I think is an error the sistem must work on the same way if the document is copied from the Sales order or delivey.
Someone know if there is some set up? or I need to open an error message to SAP?
ThanksMy question is:
If I make a sales order.
I create a down payment invoice using copy from SO.
I make the incomuing payment for the down payment invoice.
I create the delivery from the SO
I create the invoice from the delivery
The system apply automaticaly the down payment invoice to the invoice (because I select a delivery that is linked to the so that I used to create the down payment invoice).
If I make a sales order.
I create the delivery from the SO
I create a down payment invoice using copy from delivey.
I make the incomuing payment for the down payment invoice.
I create the invoice from the delivery
The system DO NOT apply automaticaly the down payment invoice to the invoice (even if also this document is linked to the delivery that I use to create the down payment invoice).
I know that I can select it manually. But I can select it manually also if I use the SO to create the down payment instead of the
delivery. Why if the situation is the same in the firs case the system do it automatil^cally and in the second case I need to do it manually?
Of course if I create a Down Payment invoice without selecting any document (SO, delivery..) the system don't know if you want to apply the payment to the final invoice.
But If I select the delivey to create the down payment (the same if I select the SO): I want to apply the down payment to the final invoice of this delivery and not to another delivery. -
STO - IDOC INVOIC - MM Receipt on Delivery note rather PO number
Hi Gurus,
I'm processing an MM Receipt INVOIC IDOC to create an Intercompany Vendor Invoice against a Purchase order.
This is integrated in a standard Stock Transfer Order. This IDOC is generated using Output type RD04 from Intercompany billing.
When SAP creates IDOC, it is based on the Delivery note number rather than the PO number, even I have the PO and Delivery in my PO historic, and even if I have IDOC segment E1EDP02 QUALF 001 with PO and segment E1EDP02 with QUALF 016 with Delivery note.
I tried to managed PO item flags: "Invoice Receipt Indicator" or "Indicator: GR-Based Invoice Verification".
But there is no impact.
When I create the MM Receipt manually using TCode MIRO in reference to the PO. It works.
When I create the MM Receipt manually using TCode MIRO in reference to the Delivery not. It doesn't work. I got the same error message "Delivery note/service entry sheet xxxx does not exist".
I conclude that when SAP performs the IDOC, someting in the IDOC tells him to create a invoice in reference to the Delivery note rather than the PO. How can we change it?
Please, could you help me to understand this blocking point and to allow to create the MM Receipt on PO?
Many thanks.
Stéphane.hello, friend.
i am not an expert in MM, but....
i noticed that when using MIGO, you can do GR based on an inbound delivery, and maybe also an outbound delivery (from STO). an outbound delivery created in an STO scenario should have links to the STO related PO. could this be the link you are looking for?
regards. -
Link between Invoice and Delivery note
Hi,
Here I am having a requirement to get all the GR made against an Invoice.
Let me explain it.
I am having one Purchase order. Now I made the GR with a delivery note number. Now in MIRO I pass the bill or create the Invoice against the delivery note. Now I want to know the delivery note number against that invoice number.
I cant go by the Purchase order no and item number also. Because I have to show the delivery note number against that Invoice number only. Because so many Invoices and GR can be created for the same PO item.
FYR please go through the my thread in ABAP general
[Link between the Invoice and material document;
Regards
Shiba Prasad DuttaHi Experts,
I also need help on this issue. I have a PO with several GRN per item. Also, I already have some invoices registered ate MIGO.
On EKBE table, per PO, per item, i can check how many GRN I have (VGABE=1) and how many Invoices do I have (VGABE=2) regarding that item of the PO.
What I need to konw is how can I link the Invoice to the PO.
Example: EKBE table
PO ITEM VGABE Material DOC Number
A 10 1 100
A 10 1 200
A 10 2 300
I can I know, in terms of tables and fields linkage, to what GRN does Invoice 300 links to?
Many thanks.
Joana Faria
Maybe you are looking for
-
Hi, The version of my NetWeaver Developer Studio is 2.0.9 This Version does not support com.sap.ide.webdynpro.uielementdefinitions.Resource type for Context Attribute.(in which resource is missing) My task is to upload and parse a XML file. How to re
-
Adobe Acrobat x Standard' Downlaod Link
I need the down load link for 'Adobe Acrobat x Standard' my previous installed PC , had a hard drive problem, so I'm, trying to download the version that I have licence for it was obtained from Digital rivers ,but i cannot locate a download lin
-
How do I get my new mac to read an old dvd to edit it to a new dvd
how do I get my new mac to read an old dvd to edit it to a new dvd?
-
Contact Person column in CRM_DNO_MONITOR changing value incorrectly
Hi all, We have realised that each time we change/add Business Partners in the Transaction Data -> Partner tab, the value of the Contact Person column in the CRM_DNO_MONITOR changes. Anybody has an idea of why this may be happening? Many thanks, Brod
-
Print server recommenda​tions for Laserjet 1018
I tried using Apple's Airport Xpress with my laserjet 1018 as a print server, and it worked ok on my laptop (wireless) but quite poorly on my desktop (wired). My laptop is Vista; desktop is XP. Apple said that the problem was with the OS or the print