Creating Excise Invoice from Sales Delivery using DI API.

Hi Experts,
I have been searching a lot for any Business Object for creating Excise Invoice base on Sales Delivery using DI API.. But have not yet found any one.
I want to create Invoice for excisable items from Sales Delivery using DI API.,for Excisable items we cannot create standalone A/R Invoice . We need to create Excise Invoice also . But How to create Excise Invoice based on Sales Delivery using DI API. Is there any Business Object for that.
Please suggest me.
Thanks and Regards,
Pooja Singh.

Hi all,
I have not received any reply for this thread. Does this mean that there is no provision for creating Excise Invoice from Sales Delivery ? Actually I was asked to create sales delivery and then Outgoing Excise Invoice and then Sales Invoice using DI API.
But I don't find any Business Object for this in SDK ? Is it really not possible to create Outgoing Excise Invoice from Sales Delivery using DI API.? If possible then how?
Please reply me if anyone has got any idea in this regard.
Thanks and Regards,
Pooja Singh.

Similar Messages

  • Create Excise invoice from Deilvery

    Dear All,
    I want to create Excise Invoice from delivery, is it possible?
    If yes, what are changes required to be done?
    with regards,
    Nikita Kale.

    Hi Lakshimipathy,
    What if we create excise invoice from J1IS.
    ( there will be a material document when we do PGI and based on the Assesable value and excise rate from J1ID, it has to work if its TAXINJ)
    My client does the same thing for STO , they even had a ouput programe for it.
    Any issue from the transaction type level, since in J1IIN , its DLFC and if its through J1IS its OTHR.
    Could you please advice on this.
    Thanks in Advance
    Asif Mohammed A

  • How to create excise invoice with reference delivery document

    hi all sd guru
    please guide me how to create excise invoice by taking reference of delivery no.
    thankx in advance
    san

    HI
    FACTORY SALES
    IN CASE OF FACTORY sales you have to create a billing document either Proforma or Commercial.
    Then you can reference the billing doc i9n J1IIN for creation
    DEPOT SALES
    In case of depot sales you can create a excise invoice with reference to delivery document.
    For this after creation of delivery goto J1IJ  and slect the rg23d from menu
    you can create an excise invoice with delivery in depot sales.
    In factory it is not possible to create a excise invoice with delivery doc.
    regards
    Prashanth

  • Error while creating excise invoice to return Delivery (J1IS)

    Dear all,
    Plz help to solve this problem.
    After MIGO. I have done return delivery to vendor(Movt-122).
    With ref to the return delivery doc I am trying to create excise invoice to send to vendor in J1IS.
    but error appears as Vendor not related to material documents.
    Thanks & Regards
    Sanjay Larokar

    Hi Sanjay,
    Apply Below Notes
    1042131     Vendor displayed as incorrect in J1IS if no leading zeros
    1025204     Vendor not recognized in J1IS and error 076 displayed
    1008100     Error "Vendor not related to Material doc" displayed in J1IS
    1003491     Vendor not recognized in J1IS and error 076 displayed
    960564     Vendor code truncated in J1IS resulting in Error 8I 786
    Cheers...
    Santosh

  • Creating an invoice from a delivery does not closes the delivery.

    I am creating an invoice using DI. The invoice is based on an already existing delivery note.
    The delivery is manually created from SBO. When I'm creating the invoice I transfer all items and expenses from the delivery to the invoice.
    case 1. The delivery has no freight defined.
    When the invoice is created the delivery is automatically closed
    case 2. The delivery has some freight
    When the invoice is created the delivery remains open even though the invoice contains everything in the delivery, including the freight.
    'Copy to' from this delivery opens an invoice with no items - only the freight is filled.
    Currently I explicitly close the delivery using the Close method.
    Is this correct?
    Is it normal for the base document to remain open if the target document imports everything?
    Thanks,
    Svilen

    Hi Svilen,
    My experience with getting a delivery note to automatically close when I create an invoice against it is that the base document information on each line item on the invoice must be set to point at the delivery note (base document).  You are probably already doing this on your line items and that's why it closes when there is no freight.  But freight items have "base" fields too, and they have to point back to the freight item on the delivery note.   Are you setting the base doc info on the invoice freight lines?
    The following code worked for me (although this example is for sales order to delivery, it is the same thing for deliveries to invoices):
                    Dim ix As Short
                    Do Until ix = vso.Expenses.Count
                        vso.Expenses.SetCurrentLine(ix)
                        If vso.Expenses.ExpenseCode = _FreightExpCode Then
                            If vso.Expenses.Status = bost_Open Then
                                vDN.Expenses.BaseDocEntry = SODocEntry 'added 1/5/7 jc
                                vDN.Expenses.BaseDocLine = vso.Expenses.LineNum
                                vDN.Expenses.BaseDocType = SAPbobsCOM.BoAPARDocumentTypes.bodt_Order
                            End If
                            Exit Do
                        End If
                        ix += 1
                    Loop
    I'm looping through the target (order) document's freight records to find the matching one that I know is on it - you might be processing all - but then I load the sales order base docentry, base doc line# & base doc type to the delivery note freight line item.
    When getting this done, my source documents close OK.  In fact, I think they close even if the totals don't match on each record - just so long as every source doc record is pointed to by a target doc record.
    HTH

  • Error while creating AR Invoice from Sales order

    Hi All,
    I have created a sales order ,when i try to create AR Invoice through Copy To option i am getting an error
    Business partner of copied down payment document must be the same as business partner of target document
    Please help me to solve this issue
    Thanks in Advance
    Regards
    Arun

    Hi Arun,
    Check if you have Down payment AR Invoice created from this Sales order.
    Thanks,
    Gordon

  • How to Create RMA Based on Sales order using OE_ORDER_PUB api

    Hi,
    Can any one pls help me how to create a RMA based on the sales order using oe_order_pub.process_order APi.
    Thanks.

    Creating RMA is very similar to creating an Order. You need to make sure you're passing the correct order_type, line_type which'll be setup as 'RETURN' (or 'MIXED') category in transaction type definition.
    For the API to automatically create a reference on your RMA lines to the original Order lines, you need to pass the following
    l_line_tbl (l_line_tbl.COUNT).return_reason_code := 'RETURN'; -- Mandatory for RMA
    l_line_tbl (l_line_tbl.COUNT).reference_line_id := v_ref_line_id; -- Original order line_id
    l_line_tbl (l_line_tbl.COUNT).reference_header_id := v_ref_header_id; -- Original order header_id
    l_line_tbl (l_line_tbl.COUNT).return_context := 'ORDER';
    l_line_tbl (l_line_tbl.COUNT).return_attribute1 := v_ref_header_id; -- Original order header_id
    l_line_tbl (l_line_tbl.COUNT).return_attribute2 := v_ref_line_id; -- Original order line_id
    Once the RMA gets created, query the order and navigate to Lines>Returns tab. You can see the original order number and line number.
    Thanks
    Gopal

  • 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
    Ganesh

    Greetings,
    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

  • Function module to create Invoice from the Delivery no ?

    Hi All,
    Is there any way (function module) to create an Invoice from the Delivery no and the Billing Type ? We do not want to go with BDC for transaction VF01.
    Details:
    We want to generate a pro-forma invoice while saving the delivery. We will have 'Special Function' (NAST-NACHA = 8) in the output determination and a routine would be called from there. That routine would contain the code to generate the Invoice. We will have only the 'Delivery no and the Billing Type'  in that routine. So trying to find any function module which can create an Invoice from the Delivery no and the Billing Type.
    Any suggestion / hint  is welcome.
    Thanks,
    Ashok

    Hello Ashok Satapathy ,
                                        The only option  for you is to call the FM "GN_INVOICE_CREATE" .
    There is no special FM availaible to pass only the delivery number at this point.
    You need to retrieve all the delivery information details and need to pass it to the FM "GN_INVOICE_CREATE".
    Thanks,
    Greetson

  • Problem while creating excise invoice by J1IJ

    Hi Friends
    I am creating excise invoice from delivery for a depot using T-c0de J1IJ . Problem is every time when I select RG23 in drop down menu after entering delivery no, excise gp and series gp and and save it, system gives error that item is incomplete so excise invoice cannot be generated.
    Can anyone pls let me know what is the problem. I though found one things that there was no excise value in the J1IJ screen. i.e bed and other excise duties were 0, so could this be the problem?
    Thanks
    Amit

    Hi Friends
    Let em explain you the process so as to analyse the problem clearly.
    this is a trading process. My client is creating PO in advance and not on teh basis of PR generated after sales order.
    SO process they follow is create sales order, delivery, gate entry, weightment entry, PGI and then J1IJ and invoice.
    Here plant is a depot, so it is some kind of a depot sales process.
    Dear G. Lakshmipathi
    As suggested by you, will J1IG process be relevant in this case?. If yes then on what basis PO will be genrated here as my client is not generateing any PR w.r.t to sales order. Please advice.
    Waiting for your reviews.
    Thanks

  • SD : Create Excise Invoice Automatically

    This is further to my earlier query SD : creating invoice through Output Type Program
    I am opening a new thread as this is a new problem. My last thread was creating VF01 object while doing PGI for delivery (thru tcode vl02n).
    In SPRO there is a tick mark for Create Excise Invoice Automatically ( table J_1IEXGRPS field J_1IEICBATCH) which instructs the system to automatically create an outgong excise invoice .
    Can I acheive the same in my Z subroutine.

    Hi Lakshimipathy,
    What if we create excise invoice from J1IS.
    ( there will be a material document when we do PGI and based on the Assesable value and excise rate from J1ID, it has to work if its TAXINJ)
    My client does the same thing for STO , they even had a ouput programe for it.
    Any issue from the transaction type level, since in J1IIN , its DLFC and if its through J1IS its OTHR.
    Could you please advice on this.
    Thanks in Advance
    Asif Mohammed A

  • Reg : Excise Invoice for Sales from Depot using J1IJ.

    Hi Gurus,
                  I am trying to create Excise Invoice thro J1IJ for Delivery Sales from Depot.While doing so it throwing an error "Foreign Lock on Delivery 82XXXXXX for Delivery".Please advice what to do for this.
    Thanks in Advance,
    Nambi.N

    Just check ,might be this delivery document is open in any Login.
    Best Regards,
    Ankur

  • How create an invoice from delivery using an idoc

    Hi expert,
    I'll like recive an help to know how implement the following solution: we would create an invoice from delivery sent into the idoc structure.
    In detail the process that we would implement is:
    To use an output type for outbound delivery and to assign a program to it in order to create an idoc when the output type is processed; when the idoc is created the program has to call the transaction VF01 to create the invoice from the idoc.
    Which type of idoc do we have to use?
    How the VF01 call transaction should be excuted?
    Many thanks in advance
    Regards
    Roberta

    Check with following standard basic IDoc types:
    INVOIC01- Invoice/Billing document
    INVOIC02 - Invoice/Billing document
    INV_ID01 - Invoice
    SISINV01- SIS - billing document
    And refer following link for understanding: [iDoc|http://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=HOME&title=StepbyStepprocedureforcreationof+IDOC&decorator=printable]
    I hope this can assist you.
    Thanks & Regards
    JP

  • 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.

  • Sales return - Excise invoice from depot

    Dear all,
    We are having a sales return scenario in depot which we are executing in following way.
    1) Return sales order 2) Delivery against sales order 3) PGR 4) Credit memo 5) Capture of excise invoice in J1IG against the material document posted in PGR with reference to original excise invoice.
    But when we are again creating an outgoing excises invoice from depot i.e. re-selling the same material to other customer system does not show the excise invoice in list of inward invoice.
    Request to please let us know if we have missed out on a step/ configuration to ensure that the customer return excise invoice is visible to re-sell the material from depot.
    thanks & regards,
    mahesh

    Dear  Lakshmipathi,
    Thanks for the reply, did go through the thread that you have suggested before i posted this one.
    Just wanted to know that we update the register with material document number posted for transfer of material from one storage location to another which is customer return to finished storage location and not with the PGR material document number?
    5 Create Transfer posting in MB1B with movement type 453, storage location 0005 and save
    6 Note down the material document reference
    7 Go to J1IG to reverse excise issue posting
    thanks and regards,
    mahesh.

Maybe you are looking for

  • Wie deaktiviere ich die 32bit-Versionen innerhalb von Adobe Creative Cloud?

    Ich bin Crative Cloud Mitglied und habe die gesamte Adobe Software auf meinem ´64bit-Computer installiert. Ich möchte jetzt nur die automatisch mit installierten 32-bit-Versionen z.B. von Photoshop löschen. Reicht es, einfach diese 32bit-Version zu s

  • WebLogic 10.3.2 source

    My 'new' installation requires WebLogic 10.3.2, no longer available for free download from Oracle. Please recommend some source for installation zip?

  • Sap script & Check no.

    Hi ALL      I am working on Check print using f110_prenum_chck. The problam is  that if the  invoice line item overflow to next page then the first page should be considered as first check and it should not get voided. the remaining pages, check shou

  • Outbound Invoice

    Hi All, I have requirement for devloping interface for outbound invoice that is IDOC to be passed on to the middleware(here it is Biztalk(EDI subsystem)). Port configuration is given, RFC is done, 1>Does I need to ask for partner profile bcoz in this

  • Oracle Portal 11g - new features

    Hi, Is there a document which details the new features in Oracle Portal 11g on Oracle's website. Is there any major difference between Oracle Portal 10.1.4 and the new 11g version? Thanks,