BAPI_EXCINV_CREATE_FROMDATA

I am unable to populate excise header and item tables using BAPI_EXCINV_CREATE_FROMDATA and above all no error comes in my program.
my header data is            LOGICAL_SYSTEM                                       
                                        COMPANY_CODE                                             1000
                                        PLANT                                             1000
                                        EXCISE_GROUP                                             E4
                                        SERIES_GROUP                                       
                                        SUB_TRANSACTION                                       
                                        EXCISE_NUMBER                                             CMODATA_12
                                        EXCISE_DATE                                             20110614
                                        EXCISE_YEAR                                             2011
                                        REMOVAL_TIME                                             000000
                                        VENDOR                                             1000012056
                                        SHIP_FROM                                             RAIGARH
                                        RECEIVING_PLANT                                       
                                        CURRENCY                                             INR
                                        EXCISE_BED                                             120000.0000
                                       BUSINESS_AREA                                             1000
item data is:
1     20110614     2011     E4     0000          000010110100080005     PRIME COKING COAL               100.000     TO     INR     500000.0000     50000.0000
2     20110614     2011     E4     0000          000010110100080006     MEDIUM COKING COAL               150.000     TO     INR     700000.0000     70000.0000
Please help!

Has anybody any clue?
Regards

Similar Messages

  • BAPI- BAPI_EXCINV_CREATE_FROMDATA

    Hi SAP guru's,
    I am using the BAPI- BAPI_EXCINV_CREATE_FROMDATA, but i am unable to get any result.
    when i m running the BAPI in test mode, it is not returning me any value.
    Please tell what are the parameters that need to be passed to execute this BAPI....
    Answer will be rewarded
    Thanks and Regards

    Has anybody any clue?
    Regards

  • Bapi issue with BAPI_EXCINV_CREATE_FROMDATA

    Hi Friends,
    I am using BAPI_EXCINV_CREATE_FROMDATA BAPI for excise posting of material documents.But while doing it, i am not able to post the excise as bapi is not reflecting the data into the respective tables J_1IEXCHDR and J_1IEXCDTL.
    In OBJHEADER,i am passing values of following fields:
    comp code
    plant
    excgrp
    excise year
    vendor
    ref doc 1
    year
    rtype
    PROCESS_FLAG - 'I'
    In OBJ_ITEM,i am passing following fields:
    excise date
    excise year
    excise grp
    document item
    storage loc
    material no
    chapterid
    ref doc1(po)
    ritem1
    ref doc2(po)
    rdoc year
    ritem2
    Still i am not able to post the excise.Please tell me the mistake done with this process or any alternatives.
    Thanks,
    Gaurav

    Hi,
    You can use the option Function Module -> Test-> Test Sequences option form SE37 menu. Call  BAPI_EXCINV_CREATE_FROMDATA and then BAPI_TRANSACTION_COMMIT.
    As per the FM apporach, if it meets your requirements, it is fine
    Regards,
    Sachin

  • How to update excise invoice values after migo.

    Hi Guru's,
    I have checked the forum. but did not get exact solution.
    Here im having the problem with  bapi  BAPI_GOODSMVT_CREATE . This bapi don't have the structure to update excise invoice values.
    I have one bapi  'BAPI_EXCINV_CREATE_FROMDATA'  to update the excise duty, but in that also i didn't find the structure
    'J_1IEXITEM'  to update the ECS value ( field is 'total_ecs').
    Please help me on this,Thanks in Advance...
    Regards
    Naren

    Hi Krishna
    Do not do excise invoice capture during 103. At that time select the option "No excise entry". Then capture excise invoice during 105.
    The system messge " No selectable items for this document" is prompted since the preceeding document is already assigned with invoice.
    Try this and give feedback.
    regards
    sairam akundi

  • Not able to scroll up in BDC for J1IJ

    Hi,
    I am trying to create a BDC for J1IJ transaction.The problem comes if there are multiple excise invoices for a delivery document (program SAPMJ1IJ screen 400). For the first line item ,the scroll is initialized automatically to the first record in program SAPMJ1IJ screen 0500 as shown below.
    The problem occurs while selecting the excise invoice after the first line item in  program SAPMJ1IJ screen 400. The problem is that the scroll bar in this screen is not on the top but somewhere in between.As a result of which the BDC program cannot determine the quanity to be selected from the actual quantity.Refer to below screen for the position off the scroll bar.
    Can anyone tell me the function code or some solution of how to initialize the scroll bar at the top for the table control?
    Thanks in advance.

    Hi Subhabrata,
    Try using this BAPI: BAPI_EXCINV_CREATE_FROMDATA
    Regards,

  • J1IEX T-Code

    Hi,
    To post the data for RG23C with multiple Line Items in the J1IEX T-code is it advisable to use LSMW or BDC Program. B'cas through LSMW recording method the Multiple Line Items seems to be impossible to upload, and in BDC some of the screen fields are not being caputured.
    Suggsestions and Help will be much appreciated.
    Regards.
    Ramesh.

    check BAPI and its Documentation .
    BAPI_EXCINV_CREATE_FROMDATA
    <b>BDC some of the screen fields are not being caputured--> I think u have transaction variants in that Screen.</b>
    Regards
    Prabhu

  • Enhancement_CIN_Capture Incoming Excise Invoice-J1IEX bulk data upload

    Dear All,
    Sub:CIN_Capture Incoming Excise Invoice-J1IEX bulk data upload option requirement
    We are capturing the Incoming excise invoices manually in the
    transaction J1IEX with huge datau2019s and according to the volume of data
    it is very difficult for us to enter manually and now we required for
    the option of bulk data processing to upload the data from the Excel
    file(received the softcopy from the supplier).
    As per our observations we found the BAPI named
    BAPI_EXCINV_CREATE_FROMDATA but the update level of this BAPI is not
    available in our system because as per the Indian Government norms one
    ofthe current Excise Duty Tariff is as below
    1. Basic Excise Duty (BED 8%).
    2. Education Cess (ECess 2%)
    3. Secondary Education Cess (SECess 1%)
    and we observed the SECess (1%) is not covered in the above mentioned
    BAPI so we are not in a position to proceed further.
    So Kindly update us is any other relevant option will solve the purpose.
    We are in a quite difficult situation to uplaod the datas to our system
    so please do the needful.
    Regards,
    PrabuM

    Please note that CIN uses the 'MB_MIGO_BADI' definition and 'CIN_PLUG_IN_TO_MIGO' is the implementation. You can create multiple implementations of this BADI. The same BADI is used for single step Capture & Post of excise invoice in MIGO. Kindly use this BADI as per your needs. SAP std does not support any BAPIs for Goods Receipts with Excise updates

  • Create GR with with RG23D using BAPI or FM

    Hi,
      We are using the 'BAPI_GOODSMVT_CREATE' to create the GR with this, the GR is created properly, I want to know along with creating the GR can we capture the excise inovice with BAPI, for depot plant. there si one BAPI 'BAPI_EXCINV_CREATE_FROMDATA'  can you give the link how this can be use to create the excise inovice some field ECESS and AT1 not there in this BAPI.
    regards,
    zafar

    Hi,
        Thanks for your reply.
        My requirement is we want to upload the initial stock in depot plant. as the plant is depot we want to upload the excise invoice of the material along with material as the qunaity of invoces are more around 3000 with 30 to 40 ietms in each invoice for making a GR with movement type 561 I have made the BDC now for each GR i want to capture the excise inovice with J1IG as there is no BAPI or FM for J1IG  so which method can be use for this wihout BDC, BDC is one method but it will be difficult as some invoice have the AED, some inovices doest not have also it required to press the tab button.
    regards,
    zafar

  • BAPI for doing MIGO along with capturing excise values.

    i am doing good reciept for stock transfer through MB01  through BAPI_GOODSMVT_CREATE . In BAPI_EXCINV_CREATE_FROMDATA there is no code AVAILABLE as this bapi is not released . HOW TO GET CODE FOR IT
    how to do this with bapi only TO UPDATE EXCISE INV VALUES IN GOOD RECIEPT DOCUMENT
    Edited by: deepika jain on Mar 11, 2010 8:59 AM

    Hi,
      Here is the code for the FM and Country India Version:
    FUNCTION BAPI_EXCINV_CREATE_FROMDATA .
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(OBJ_HEADER) LIKE  BAPI_J_1IEXCHDR STRUCTURE
    *"        BAPI_J_1IEXCHDR
    *"     VALUE(PROCESS_FLAG) LIKE  BAPI_J_1IEXCHDR-REF_INDICATOR
    *"  TABLES
    *"      OBJ_ITEM STRUCTURE  BAPI_J_1IEXCDTL
    *"      RETURN STRUCTURE  BAPIRET2
    ENHANCEMENT-POINT BAPI_EXCINV_CREATE_FROMDATA_G8 SPOTS ES_SAPLJ1IBAPI STATIC.
    $$-Start: BAPI_EXCINV_CREATE_FROMDATA_G8----
    $$
    ENHANCEMENT 5  MGV_GENERATED_SAPLJ1IBAPI.    "active version
    DATA: T_MGV_FNAMES1 LIKE MGVBAPIFNAMES OCCURS 0 WITH HEADER LINE.
    ENDENHANCEMENT.
    $$-End:   BAPI_EXCINV_CREATE_FROMDATA_G8----
    $$
    ENHANCEMENT-POINT BAPI_EXCINV_CREATE_FROMDATA_G6 SPOTS ES_SAPLJ1IBAPI.
    $$-Start: BAPI_EXCINV_CREATE_FROMDATA_G6----
    $$
    ENHANCEMENT 1  MGV_GENERATED_SAPLJ1IBAPI.    "active version
    *{BAPI Begin} generation http://intranet.sap.com/materialversion
    *Do not change coding between begin and end comments. ANI 20050118
    T_MGV_FNAMES1-INT = 'MATERIAL'.
    T_MGV_FNAMES1-EXT = 'MATERIAL_EXTERNAL'.
    T_MGV_FNAMES1-VERS = 'MATERIAL_VERSION'.
    T_MGV_FNAMES1-GUID = 'MATERIAL_GUID'.
    APPEND T_MGV_FNAMES1.
    CALL FUNCTION 'MATNR_BAPI_TABLES_CONVERSION'
    EXPORTING
      INT_TO_EXTERNAL = ' '
    TABLES
      T_FNAMES = T_MGV_FNAMES1
      T_MATNR  = OBJ_ITEM
    *{BAPI End} generation
    ENDENHANCEMENT.
    $$-End:   BAPI_EXCINV_CREATE_FROMDATA_G6----
    $$
    *This function takes input from external system regarding the
    Excise invoice header and item. The process_flag tells whether
    *the invoice is incoming or outging. The transaction type is to be
    *set accordingly. Excise invoice number is generated externally
    *This function generates an internal number, Part 2 numbers and
    *creates an FI document for the CENVAT posting. The logical system
    *details coming from the external application needs to be updated
    *into the excise data as well as accounting data
    ENHANCEMENT-POINT BAPI_EXCINV_CREATE_FROMDATA_G7 SPOTS ES_SAPLJ1IBAPI.
    $$-Start: BAPI_EXCINV_CREATE_FROMDATA_G7----
    $$
    ENHANCEMENT 2  MGV_GENERATED_SAPLJ1IBAPI.    "active version
    *{BAPI Begin} generation http://intranet.sap.com/materialversion
    CALL FUNCTION 'MATNR_BAPI_TABLES_CONVERSION'
    EXPORTING
      INT_TO_EXTERNAL = 'X'
    TABLES
      T_FNAMES = T_MGV_FNAMES1
      T_MATNR  = OBJ_ITEM
    *{BAPI End} generation
    ENDENHANCEMENT.
    $$-End:   BAPI_EXCINV_CREATE_FROMDATA_G7----
    $$
    ENDFUNCTION.
    cheers
    Aveek

  • Any Function Module/Bapi

    Hi,
              I have req, to create J1IEX to post excise invoice to automatic ,is there s any function module or bapi
    please guide me..
    regards,
    santosh

    HI,
    I have search in forum but got the Bapi function module to update in j1iex(BAPI_EXCINV_CREATE_FROMDATA)
       Can anyone send the sample code for (BAPI_EXCINV_CREATE_FROMDATA),
    regards,
    samtosh

  • Missing Entry in Field FAWREF in Table J_1IPART2

    In Table J_1IPART2 the Field FAWREF (Accounting Document Number) is not
    filled, when the CRM Invoice is replicated to the ERP, and the Excise
    Data is stored to the Database.
    As information. This is happening since 1.1.2011 to 31.03.2011
    I checked the code in FM BAPI_EXCINV_CREATE_FROMDATA in ERP system through RFCUSER.I processed the transaction /bea/crmb11 for test billing document and debug it.I found that there is no issue with the code.
    It may be some customization missing in the customer system,thats why that field is not coming.
    If you need any details on this issue,I will provide you..

    You havent setup the tolerance limit.
    IMG -> Controlling -> Internal order -> Budgeting and availability control -> Define tolerance limit for availability control.
    IMG -> Financial Accounting -> Financial Accounting Global Settings -> Document -> Line item -> Define tolerance group for employees
    IMG -> Financial Accounting -> Accounts Receivable and Accounts Payable -> Business Transactions -> Outgoing Payments -> Manual Outgoing Payments -> Define Tolerances (Vendor)
    IMG -> Financial Accounting/ General Ledger Accounting/ Business Transactions/ Open Item Clearing/ Clearing Differences/ Define Tolerance Groups for G/L Accounts
    IMG -> Materials Management -> Logistics Invoice Verification -> Invoice Blocking -> Set Tolerance Limits
    And you need to assign the tolerance limit to the company as well.

  • Capturing Excise values while using BAPI_GOODSMVT_CREATE

    Hi,
        I am able to successfully create the GR using BAPI_GOODSMVT_CREATE taking PO as the reference but unable to capture the excise values.
       I am trying to use BAPI_EXCINV_CREATE_FROMDATA to capture excise values but without success.
      I have already checked the forum but have not found any suitable answer.
      pls guide me through this....
    murali.c
    Edited by: murali ch on Nov 25, 2009 4:24 AM

    Hi Murali,
    Could you Let me know how you sort out this issue. I am facing a similar problem.
    I created the Goods movement for MIGO with 101 and I am trying to post excise details with the bapi
    BAPI_EXCINV_CREATE_FROMDATA,
    The Return messsage are zero but its actually not posting to excise tables.
    Regards
    Aromal R

  • BAPI For J1IG T.Code

    Hi,
    please give me correct BAPI For J1IG T.CODE

    Hello,
    Please check the following BAPI's
    BAPI_EXCINV_CREATE_FROMDATA BAPI for creating Excise invoice from data
    BAPI_EXCISEINVOICE_GETLIST Excise invoice - List of all excise invoices
    hope this helps
    Regards,
    Sachin

  • SAP J1IJ

    Hello All,
       My requirement is to develop RFC for J1IJ . Since there is no BAPI Availble for J1IJ, I have created RFC with the help of BDC. But there is one problem, Issue i have to select excise Invoice through J1IK which is available in J1IJ. Now How do i Enter desired Exice Invoice without selecting Excise invoice from J1IK.
    IF there is any other method avaible, kindly post the solution.

    Hi,
    Please check this BAPI : BAPI_EXCINV_CREATE_FROMDATA
    REgards
    Keerthi

Maybe you are looking for

  • I cant find calendar in outlook express? i have outlook express 2004

    i cant find calendar in outlook express? i have outlook express 2004

  • Front row gone entirely?

    I just tried to start up Front Row with my remote. Nothing. My remote still controls iTunes, so it is communicating properly. I tried to find it with Spotlight for a manual start, but nothing turns up. System/Library/Core Services/ reveals only a scr

  • Web authentication with Radius server problem

    Hello, I'm having problem to web authenticate users via radius server for one WLC. Here is the outpu from WLC: *emWeb: Mar 26 14:17:31.537: 20:7d:xx:xx:d8:f0 Username entry (aaaaaa) created for mobile, length = 7 *emWeb: Mar 26 14:17:31.537: 20:7d:xx

  • 10g EE Vs 9i EE

    Hi, Can anyone help me in getting some technical documents that describes the difference between oracle 10g enterprise edition database & 9i EE DB? I need to answer the customer asap. Thanks in advance. Regards, Nagadeep.

  • Writing code in eclipse

    Hello everyone! I have no expirience programing on ABAP at all. Only in C++, C# and Java. But I'd like to start with making some simple programs. I have a book about APAB language and also I have installed the ABAP development tools into my eclipse.