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

Similar Messages

  • 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

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

  • 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

  • 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

  • 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

  • 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

  • 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

  • Open Purchase Order UPload Using the BAPI 's

    i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out  using the BAIP's for upload the PO, i need sample code for this ........
    Thanks & Regards
    Raghu
    <u>Field Name     Field Description                              Type     Length</u>
    <b>EBELN             Purchasing Document Number                         CHAR     010          X
    BUKRS             Company Code                                                     CHAR    004     MN10     C
    EKORG             Purchasing Organization                              CHAR     004     MN00     C
    EKGRP             Purchasing group                              CHAR     003          X
    BSART             Order type (Purchasing)                              CHAR     004          X
    LIFNR             Account Number of Vendor or Creditor                    CHAR     010          X
    BEDAT             Purchase Order Date                              DATS     010          X
    ZTERM             Terms of payment key                              CHAR     004          X
    WAERS             Currency Key                                   CUKY     005          X
    INCO1             Incoterms (part 1)                              CHAR     003          X
    INCO2             Incoterms (part 2)                              CHAR     028          X</b>
    EBELP             Item Number of Purchasing Document                    NUMC     005          X
    EMATN             Material number                                   CHAR     018          X
    WERKS             Plant                                        CHAR     004          X
    LGORT             Storage location                              CHAR     004          X
    EPSTP             Item category in purchasing document                    CHAR     001          X
    KNTTP             Account assignment category                         CHAR     001          X
    EINDT             Item delivery date                              DATS     010          X
    MENGE            "Purchase order quantity (direct input, transfer of POs)"     CHAR     013          X
    MEINS            Order unit                                   UNIT     003          X
    NETPR            "Net price: Document currency (direct input, transfer of"     CHAR     011          X
    PEINH            "Price unit (direct input, transfer of POs)"               CHAR     005          X
    BPRME            Order Price Unit (Purchasing)                         UNIT     003          X
    BPUMZ            Numerator: Conversion OPUn into OUn (direct input of POs          CHAR     005          X
    BPUMN            Denominator: Conversion OPUn into OUn (direct input of P          CHAR     005          X
    SAKTO            Cost element                                   CHAR     010          X
    KOSTL              Cost Center                                   CHAR     010          X
    VBELN          Sales and Distribution Document Number                    CHAR     010          X
    VBELP          Sales document item                              NUMC     006          X
    WEMPF          Goods recipient                                   CHAR     012          X
    WEBTH          "Amount in local currency (direct input, transfer of POs)"     CHAR     013          X
    WEBTF          "Amount in document currency (direct input, transfer of P"     CHAR     013          X
    WEREF          Flag for treatment of GR/IR (direct input of POs)          CHAR     001          X
    SPINF          Indicator: Update info record                         CHAR     001          X
    WEPOS          Goods Receipt Indicator                              CHAR     001          X
    REPOS          Invoice receipt indicator                         CHAR     001          X

    i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out  using the BAIP's for upload the PO, i need sample code for this ........
    Thanks & Regards
    Raghu
    <u>Field Name     Field Description                              Type     Length</u>
    <b>EBELN             Purchasing Document Number                         CHAR     010          X
    BUKRS             Company Code                                                     CHAR    004     MN10     C
    EKORG             Purchasing Organization                              CHAR     004     MN00     C
    EKGRP             Purchasing group                              CHAR     003          X
    BSART             Order type (Purchasing)                              CHAR     004          X
    LIFNR             Account Number of Vendor or Creditor                    CHAR     010          X
    BEDAT             Purchase Order Date                              DATS     010          X
    ZTERM             Terms of payment key                              CHAR     004          X
    WAERS             Currency Key                                   CUKY     005          X
    INCO1             Incoterms (part 1)                              CHAR     003          X
    INCO2             Incoterms (part 2)                              CHAR     028          X</b>
    EBELP             Item Number of Purchasing Document                    NUMC     005          X
    EMATN             Material number                                   CHAR     018          X
    WERKS             Plant                                        CHAR     004          X
    LGORT             Storage location                              CHAR     004          X
    EPSTP             Item category in purchasing document                    CHAR     001          X
    KNTTP             Account assignment category                         CHAR     001          X
    EINDT             Item delivery date                              DATS     010          X
    MENGE            "Purchase order quantity (direct input, transfer of POs)"     CHAR     013          X
    MEINS            Order unit                                   UNIT     003          X
    NETPR            "Net price: Document currency (direct input, transfer of"     CHAR     011          X
    PEINH            "Price unit (direct input, transfer of POs)"               CHAR     005          X
    BPRME            Order Price Unit (Purchasing)                         UNIT     003          X
    BPUMZ            Numerator: Conversion OPUn into OUn (direct input of POs          CHAR     005          X
    BPUMN            Denominator: Conversion OPUn into OUn (direct input of P          CHAR     005          X
    SAKTO            Cost element                                   CHAR     010          X
    KOSTL              Cost Center                                   CHAR     010          X
    VBELN          Sales and Distribution Document Number                    CHAR     010          X
    VBELP          Sales document item                              NUMC     006          X
    WEMPF          Goods recipient                                   CHAR     012          X
    WEBTH          "Amount in local currency (direct input, transfer of POs)"     CHAR     013          X
    WEBTF          "Amount in document currency (direct input, transfer of P"     CHAR     013          X
    WEREF          Flag for treatment of GR/IR (direct input of POs)          CHAR     001          X
    SPINF          Indicator: Update info record                         CHAR     001          X
    WEPOS          Goods Receipt Indicator                              CHAR     001          X
    REPOS          Invoice receipt indicator                         CHAR     001          X

  • URGENT: Function modules or BAPIs

    Hi Experts,
    I need function modules or BAPI to get the open items and cleared items G/L Account wise.
    Useful replies will be surely awarded.

    Hi Chakradhar,
    Check tcode : BAPI
    u will get all bapis there.
    Regards,
    Hemant

  • Questions on BPS BAPI calls and PDF forms

    I will need to create a button on a BPS form and that button is supposed to call a BAPI.  One of the buttons will create a PDF of the form (using the contents of the form) and print said form to a 'default' printer.  The issue is that not all cFolder users will have an ECC logon name.  What am I to do in this instance?  Will I need to pass some type of credentials to the ECC backend in order to run this BAPI?
    Also, how can I get the contents of the form(s) to the BAPI?  I assume that I will need to create the PDF in the code of the BAPI.  Please be patient with me as this is my first time to work with cFolders and/or BPS.
    Regards,
    Davis

    Hi Davis,
    Well, if you are able to log on the BPS application (thus, a Web Interface if I'm not mistaken) then it means that some user is logged on the ABAP-side. It is either a "personal" user or a technical (common) user, that is used for anonymous access.
    You will certainly be able to track down this user with the SM04 transaction.
    You should be able to add a button to the BPS page. One idea would be to call an URL with an ICF service behind that will be able to process the parameters contained in this URL.
    It will be this very ICF service that will call the BAPI.
    Try these links
    http://help.sap.com/saphelp_nw04s/helpdata/en/55/33a83e370cc414e10000000a114084/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ea8db790-0201-0010-af98-de15b6c1ee1a
    Hope this helps.
    Best regards,
    Guillaume

  • Deletion of Scheduling Agreement and Delivery Schedule using BAPI

    Hi SAP MM Gurus,
    Please assist in inquiry below:
    My scenario is that I am trying to delete delivery schedules and scheduling lines using BAPIs. I have no issues when there is no GR made yet for the delivery schedules. The error arises when there are already existing Goods Receipts and Invoices for the schedule line that I wish to delete
    When using the BAPIs (either BAPI_SAG_CHANGE or BAPI_SCHEDULE_MAINTAIN), I set the deletion indicator to "L" and set to X all change relevant fields (i.e. DELETION_INDX). However, whenever I execute it, I get the error message 06088. The funny thing is both the Quantities and the delivered quantities that are normally populated are left blank.
    For example:
    Normal error for 06088:
    Quantity 100.0 smaller than quantity delivered 179.0
    Error using BAPI with deletion indicator:
    Quantity  smaller than quantity delivered
    Is this a bug of the BAPI? or am I just missing some settings?
    Your immediate response is appreciated
    Regards,
    DeLo

    Hi,
    Please find the below link check the setting are correct or not
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a02cb00a-bfb4-2c10-98aa-e33e7f64ba28?quicklink=index&overridelayout=true
    Reagrds,
    Pramod

  • BAPI for training and event management

    Hi all,
    I need a bapi that returns the list of the attendees of a training course.
    I've seen that a FM exists: RH_GET_PARTICIPANTS and i know how it works.
    I would like a standard BAPI to be called by an external system.
    If it doesn't exit I will create a remote FM that calls the RH_GET_PARTICIPANTS.
    thanks
    enzo

    Hi Enzo,
    I don't think there is a BAPI.. but you can create one using the Method 'Display Attendance' for the 'Attendance' Business Object (PDRELA_025) in Tcode BAPI. But I think creating an RFC that in turn calls RH_GET_PARTICIPANTS is the easy way out.
    Regards,
    Suresh Datti

Maybe you are looking for