Error in BAPI while creating incoming invoice

Hi Experts,
Im creating incoming invoice by using the BAPI,  'BAPI_INCOMINGINVOICE_CREATE'.
when im going to posting my invoice it is showing the error like 'EDI: Error in customizing for differential invoicing'.it is a urgent requirement and need to solve this ASAP.Pls help me out with this error
Im passing following parameters to BAPI:
wa_header-invoice_ind = 'X'.
wa_header-doc_date   =  sy-datum.   "Enter the document date
wa_header-pstng_date = sy-datum .   "Enter the posting date
* wa_header-ref_doc_no = '5000008590'.
wa_header-comp_code = '1000'.
*wa_header-gross_amount = '50.11'.  "Enter the gross amount(aft. tax) for the invoice
*wa_header-calc_tax_ind = 'X'.
  wa_header-currency = 'INR'.
  wa_header-INV_TRAN = 'X'.
  wa_header-SIMULATION = 'X'.
wa_item-invoice_doc_item = '000001'.
wa_item-po_number = '3700000557'.    "Enter the PO number
wa_item-po_item = '00010'.           "Enter the PO item number
* wa_item-ref_doc = '5000008590'.      "Enter the GR number
* wa_item-ref_doc_year = '2014'.       "Enter the GR fiscal year
* wa_item-ref_doc_it = '0001'.         "Enter the GR item number
* wa_item-tax_code = 'V0'.             "Enter the tax code applicable
wa_item-item_amount = '50.60'.     "Enter the item amount
* wa_item-quantity = '2380'.           "Enter the invoice quantity
* wa_item-po_unit = 'EA'.              "Enter the UoM
APPEND wa_item TO it_item.
CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'
   EXPORTING
     headerdata                = wa_header
* *   ADDRESSDATA               =
  IMPORTING
    invoicedocnumber          = g_invno
    fiscalyear                = g_fyear
   TABLES
     itemdata                  = it_item
* *   ACCOUNTINGDATA            =
* *   GLACCOUNTDATA             =
* *   MATERIALDATA              =
* *   TAXDATA                   =
* *   WITHTAXDATA               =
* *   VENDORITEMSPLITDATA       =
     return                    = it_ret
* *   EXTENSIONIN               =
IF g_invno IS NOT INITIAL.
   CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          = 'X'
* *   IMPORTING
* *     RETURN        =

Thanks every one for your valuable solutions.
Issue is Solved by unchecking the flag.
wa_header-INV_TRAN = 'X'.
Thanks & Regards,
Ramjee.

Similar Messages

  • Error while creating Excise Invoice

    Hi All,
    Can any one help me on CIN?
    I am getting one error while creating "Excise Invoice [T.code J1ILN]" i.e. "System failure during locking GL account Cocode by 13113910"
    Regards
    Chowdary

    Dear Raghavendra
    Please make a try with the following but I am not sure whether it will solve your problem.
    Go to FS00, give the G/L account which has the problem and select "Control Data" tab.  Here punch as asterisk in the field "Tax category" and save.
    Now try to create the excise invoice.
    Thanks
    G. Lakshmipathi

  • 8I 681 Error While Creating Excise Invoice

    Dear All,
                Am getting error 8I 681 error while creating excise invoice,when i analysed since in the document flow the delivery document is not there, only J delivery will be allowed in creating excise invoice.
    Our client wants item level milestone,so in oder to activate that i have assigned the billing plan in the item category.But when i assighn the billing plan the system will not allow to put the billing relavance delivery relavant.So i made oder relavan in the billing relavance.So i create an oder and with that reference delivery.But when i create billing i have to refer the oder number,since in the item ctegory i have made oder relavant billing.So the result is in the billing document flow the delivery document is not flowing.Henceforth i could not be able to create J1IN.
    But this was not happening in the sand box,but only in the quality since it is superior.when we debugged we found only J(Delivery) is allowed to create excise invoice.
    Please help me to solve this issue,is there any possiblity to make the delivery document flow in the billing document.If it is done it 100%possible to create the excise invoice.
    Please share your ideas to solve this issue.....
    Best Regards,
    Venugopal

    Dear Lakshmi,
                         Thanks for your Prompt reply...
    In our case delivery is there,but when we create the invoice the delivery document is not flowing,since in the itemcategory oder relavant billing.We have billing milestone at the item level,for activating that i have to make the billing relavance as I.Other wise the system is not allowing me to select delivery relavant and billing plan.Please help me to make the delivery document flow in the billing document.Then this 8I error will be solved.
    I have alsochecked the update document flow,everything is perfect.
    Regards,
    Venugopal

  • BAPI for MIRO Incoming Invoice

    Hi All,
    I want BAPI for MIRO Posting ie for Incoming Invoice.
    .here MIRO is being done with Delivery Note number
    Following are the necessary entries for MIRO Posting
    Invoice date
    Reference
    Amount
    Calculate Tax
    Tax amount
    Delivery Note
    Vednor
    Business Area
    Please suggest me suitable BAPI for MIRO Incoming Invoice Posting with sample code.
    immediately.Please give some sample code for my reference.
    Rewards will be given.
    Regards.
    Ulhas

    Hi,
    BAPI for Invoice Verification: Post Invoice
    BAPI_INCOMINGINVOICE_CREATE
    The method can only carry out your function if no error messages were
    generated in the Return table. This is the case if the header data and
    all the items were processed successfully.
    Transaction control is not implemented. The calling program therefore
    has to execute the Commit Work itself after this method has been
    successfully called (in other words, if no errors were reported in the
    Return parameter).

  • How to update the condition price in sales order while creating the invoice

    Hi,
    How to update the condition price in the sales order to carry out the new price while creating the invoice?
    While creating the invoice it should update the condition price in sales order.
    Thanks,
    Balaram

    No, pricing is not there in delivery.
    I found an exit for VF01transaction where we can update the price in order.
    Can you please tell me how to update the price if I have the order, material numbers and conditions number?
    Thanks,
    Balaram

  • Keychain error -25299 occurred while creating a System Keychain entry for t

    Keychain error -25299 occurred while creating a System Keychain entry for the username “Angela Rosario” and URL “afp://Angela%[email protected]/Data”.
    I keep getting the error above every time I try to set up my time capsule
    Could use some help?
    Mahalo

    Same here.

  • Keep getting an error message that reads, "LR An error has occurred while creating the book on Blurb" An error has occurred while trying to create texts and fonts.  Pleas advise as Blurb has said that it's a LR issue.

    Keep getting an error message that reads, "LR An error has occurred while creating the book on Blurb" An error has occurred while trying to create texts and fonts.  Pleas advise as Blurb has said that it's a LR issue.

    Are you behind a firewall or double NAT??
    What is the device that is immediately plugged into the main modem or router? Has that one been able to update?
    It is plugged in of course isn't it.. no nasty join wireless anywhere??
    The best way to work around these sort of problems is to simplify the network.. Plug each device directly into the main router.. by ethernet. You can trigger the firmware upgrade by wireless but use ipad or iphone version of airport utility and see what happens.

  • Accounts determination error is coming while create billing.

    Hi Experts,
    Accounts determination error is coming while create billing for Account Assignment Group A4 . In some cases only this error is appearing . I m a ABAPer I got this case and I  m debugging the code  . Can anyone  suggest me what all the things i need to check to know the root cause . This error is coming very  rarely but I want to find the reasons.  I saw some of scn post bt it was not clear .
    Please suggest briefly what w'd be the probable cause of this error and how to correct it.
    Thanks in advance

    Hi Dharmkrit,
    In one of your earlier posts, you have mentioned that you have assigned G/L accounts by selecting table 1. This is probably where you might be going wrong.
    Please follow the below steps to cross check your entries and you should hopefully have a solution.
    (1) First of all, start from the account determination procedure and check which procedure is assigned to the billing type.
    (2) Check the account determination type that is maintained in the procedure.
    (3) Check which access sequence assigned in that condition type
    (4) Check which table/tables have been maintained in the access sequence
    * In most probability, you would have maintained a different table in the access sequence while you are trying to assign your G/L accounts to some other table
    * Also, since you say that this error is only for a particular account determination type, check if you have maintained the correct combination of application/chart of account/Customer account assignment group/material account assignment group/G/L account in the correct table. However, this combination of fields depends on the table that you have used in the condition technique.
    I suggest that you write your entries down while checking the flow. This will give you a clear picture if a connection is missing somewhere in the condition technique.
    The customer/material account assignment groups are just keys (two digit codes) and their determination has nothing to do with Z1/Z2/A1 or any other code that you have defined in the system. The main determination is purely based on the condition technique and how correctly you have maintained the connections between the tables, access sequences, types and procedures. Just recheck these entries and you should be able to resolve the issue.
    Hope this helps
    Regards,
    Sumita Mittra

  • HT201514 I keep getting this message "Unable to complete back up an error has occurred while creating back up folder" Why is this happening and is it time to purchase a new tim machine?

    I keep getting this message “Unable to complete back up an error has occurred while creating back up folder” Why is this happening and is it time to purchase a new tim machine?

    Check out the Apple Support Communities Time Machine expert Pondini's troubleshooting article on this exact topic. Hopefully, it will help.

  • Error while creating excise invoice cancellation thru J1IS(J1IEX Invoice)

    Dear All,
    While creating cancel of purchase excise invoice with reference to J1IEX Internal Invoice No. system is throwing a error
    "Error updating table J_1IEXCHDR"
    Message no. 8I308
    Suggest me asap,.
    Thanks & Regards,
    Radhika

    Hi Radha,
    Check the ETT Table (Excise accounts assignment table) in the config have assigned the relevant gl accounts for TType - CEIV  Update all the gl accounts in the table.
    Verify the node--> Specify Excise Accounts per Excise Transaction --- debit and credit account names to the TType -- CEIV
    Credit -- CENVAT Suspence
    Cr         RG23 AT1
    Cr         RG23 BED,RG 23 ECS,
    Dr         CENVAT Clearing
    Dr         PLA BED, PLA AED, PLA SED
    Dr         RG23 AED, BED, SED
    Same should be assigned for Sub-Transaction Type '01' for CEIV Type.
    Thanks,
    padmaja

  • Error while creating vendor invoice by FB60  Urgent!!!!!!!!!!

    While creating an vendor invoice by FB60 . the system is giving me an error message that this account cannot be directly posted to. Its an recon . Account. The user wants me to set it temporarily for some invoices and set back the GL account later on. Could anyon esuggest me. Its urgent please.
    Thanks in Advance.

    hi kavitha ,
    the acct 12501550 which is advance payments is an accrual acct which is not a recon a/c
    check the gl seetings
    in Type and Description tab
    make sure its a balance sheet acc
    in Control tab
    remove the recon. account for acct type  , i.e., leave the field blank
    generally , the line item display is clicked and sort key are filled.
    in Create/bank/interest Tab
    check the appropriate FSG and make sure to uncheck the post automatically field.
    and try to post it after the changes, it shoud work.
    regards
    Jay

  • ABAP short dump error while creating an invoice

    Hi All,
    We are creating a delivery(Unit is EA) for the material for which the Unit Conversion is maintained as 1CS = 48 EA. So while creating a delivery If I maintain the delivered quantity is less than 24, I am not able to create an invoice.It's throwing an ABAP short dump error BCD zerodivide run time error.
    If I deliver greater than or equal to 24, then the invoice is created without any issue
    I have checked if there is any  CMIR record but no record is maintained.
    Can anyone help me out on this?
    Regards,
    Manjunath

    Hi Manju,
         Can you post the dump screen shot, which should contain the source code for that dump.
    Regards,
    Krishna

  • Error while creating excise invoice J1IIN

    Hi all,
    I am into an implementation project where I am configuring CIN for Factory sale with Excise. I have gone through all the setting and done it according to the documents available. But while creating out going excise invoice (J1IIN) system giving an error "Customization for sub transaction type is missing in table excise accounts". I dont want to use a sub transaction type as there is not much variation in scenario here. However I created a new sub transaction type (SPROLogistic genTax on goods mov-Indiabasic settingmaintain sub transaction type) and assigned it Transaction type (SPROLogistic genTax on goods mov-IndiaAC determination-specify excise account per excise transaction) and G/L  (SPROLogistic genTax on goods mov-IndiaAC determination-specify G/L ac per excise transaction). But still the same problem is keep coming. Also I have tried making this sub transaction type as default  (SPROLogistic genTax on goods mov-Indiabusiness transaction outgoing excise invoice--- maintain default excise grp and series grp). but the issue remains unresolved.
    More over while doing J1IIN i have also tried selecting the sub transaction type from drop down list but the list is empty and the massage displayed is  "No values found"
    kindly help,
    BKR

    Hi,
    Yes I hv already maintained the sub transaction type for Excise TT DLFC (goods removal through sales).  the entries what i maintained is as given below
    DLFC          Credit     PLA AED account
    DLFC          Credit     PLA BED account
    DLFC          Credit     PLA cess account
    DLFC          Credit     PLA SED account
    DLFC          Credit     RG 23 AED account
    DLFC          Credit     RG 23 BED account
    DLFC          Credit     RG 23 SED account
    DLFC          Debit     CENVAT suspense account
    DLFC     10     Credit     PLA AED account
    DLFC     10     Credit     PLA BED account
    DLFC     10     Credit     PLA cess account
    DLFC     10     Credit     PLA SED account
    DLFC     10     Credit     RG 23 AED account
    DLFC     10     Credit     RG 23 BED account
    DLFC     10     Credit     RG 23 SED account
    DLFC     10     Debit     CENVAT suspense account
    Here "10" is my sub transaction type. I have maintained DLFC with and without sub transaction type for each account name. But that did not resolved the issue. More over is it mandatory to give a sub transaction type? Is there any way so that I can continue without sub transactions?

  • Syntax error while creating a invoice

    Hi I am new to this forum hope u guys can help me out,
    I am ruuning following syntax for creating an invoice and for this error message is coming which is given below.
    Select aadrnr astdc1 b~name1 into table inv_head1
    From kna1 as a inner join adrc as b on aadrnr = baddrnumber.
    Unknown column name "A~STDC1" . field list. . field list. field list.

    Hi Rupesh,
    u have to mention as " select ... into corresponding fields of
    table ... ".
    regards
    Chaitanya.

  • Error while creating an Invoice in SRM

    Hi All,
    We are on SRM 7.0, ECC 6.0 (Classic scenario).
    My SC has been approved and a PO has been created in ECC, I have also created a confirmation against this from SRM which resulted in a GR being created against the PO in ECC.
    Now when I am creating an Invoice from SRM, I get the following error messages
    1. Please enter tax amount
    2. "Term of payment does not exist in target system".
    Pl let me know where I need to maintain the payment terms in ECC and do I need to replicate it on SRM side?
    Regards

    Hi Sivakumar,
    I am also facing same issue in my current project. Can you please tell me how you resolved the issue.
    Thanks for advance helping to resolve the issue.
    Regards,
    Pijush

Maybe you are looking for

  • Openvpn can't connect to network

    hi all, I'm glad to come here, there maybe more active. so I post here, I'm use Archbang X86_64. up to date. I want use openvpn connect some site blocked by gov, but when I use openvpn, it can't connect any web site. This is my client.conf: client re

  • Get lastest row for duplicates

    I have an Excel spreadsheet that has multiple rows for a specific customer.  I want to only keep the row for each customer that has the earliest shipping date but I want all the columns.  Can I do that with PowerPivot and if so, how?

  • Mac Mini Server Drive Configuration

    When ordering a Mac Mini Server, under hard drive selections the fourth option down is Two 750GB 7200 drives and a 256GB SSD It lists it as 2x750GB + 256 SSD. This indicates to me that you are getting the server with three drives, Two SATA 750GB and

  • In range and coerced problem

    Good day, I'm using labview 2009 and I have a problem using in range and coerced VI. The problem is that I want to map one analog value that goes from 0 to 12 to a scale of 0 to 20 and the VI in range and coerced but this VI is ignoring the numbers a

  • Driver for web cam in pavilion dv7 1426 nr, win 7 enterprise

    wen i start to use my webcam, the laptop get frozed and ia have to restart it, only by pressing the turn on button. i realy don´t now if this problem start wen i change de OS from the original vista to Win 7 enterprise...