INVOIC IDOC type sample

Hi,
Can someone provide me with a sample inbound INVOIC IDOC with planned delivery costs. We already use thei IDOC type for incoming invoices and are trying to enhance it to include planned delivery costs. I have tried using segment E1EDp05 to give the condition type and amount corresponding to planned delivery costs. But, the IDOC is always erroring with an imbalance between credits and debits and it does not seem to be passing the values from E1EDP05 segment to the invoice creation function module.
Any help will be greatly appreciated.
Thanks in advance
Regards
Chitra

Hi CA,
Just ty with this sample...
If you want to send invoices with delivery costs from you must use Transaction CMOD to program the EXIT_SAPLMRMH_014 user exit as follows:
Create a customer project and use Transaction CMOD to call it. Add the MRMH0002 enhancement and the EXIT_SAPLMRMH_014 component. Insert the source code into the ZXM08U25 include.
DATA: ls_data_s01 type E1EDS01,
lv_beznk type MRM_RBKPV-beznk.
IF I_IDOC_DATA-SEGNAM = 'E1EDS01'.
ls_data_s01 = I_IDOC_DATA-SDATA.
IF ls_data_s01-sumid = '020'.
lv_beznk = ls_data_s01-summe.
E_RBKPV-BEZNK = lv_beznk.
E_CHANGE = 'X'.
ENDIF.
ENDIF.
Regards,
Kumar

Similar Messages

  • INVOIC IDOC TYPE

    hello all
    I have a question can anyone tell me what inbound function module is used for INVOIC doc type?
    Thanks in advance

    Hi CA,
    Just ty with this sample...
    If you want to send invoices with delivery costs from you must use Transaction CMOD to program the EXIT_SAPLMRMH_014 user exit as follows:
    Create a customer project and use Transaction CMOD to call it. Add the MRMH0002 enhancement and the EXIT_SAPLMRMH_014 component. Insert the source code into the ZXM08U25 include.
    DATA: ls_data_s01 type E1EDS01,
    lv_beznk type MRM_RBKPV-beznk.
    IF I_IDOC_DATA-SEGNAM = 'E1EDS01'.
    ls_data_s01 = I_IDOC_DATA-SDATA.
    IF ls_data_s01-sumid = '020'.
    lv_beznk = ls_data_s01-summe.
    E_RBKPV-BEZNK = lv_beznk.
    E_CHANGE = 'X'.
    ENDIF.
    ENDIF.
    Regards,
    Kumar

  • Inbound Invoice idoc segment feilds mapping to SAP feilds

    Hi,
    Could you please help me to find out the tables and feilds in SAP for the inbound invoice idoc type INVOIC01. I need to map the idoc segment fields with SAP fields and respective tables.
    Thanks in Advance
    Satish

    Hi Satish,
    That's quite a big case to get such mapping - why would you need it really? You can process Idoc with std process codes and you will see the std mapping then happening.
    You can also go through logic of processing modules:
    Function Module Name          Short text for function module
    IDOC_INPUT_INVOIC_FI           EDI: Invoice Receipt (INVOICE)
    IDOC_INPUT_INVOIC_MM           EDI: Invoice Receipt (INVOICE)
    IDOC_INPUT_INVOIC_MRM
    For sure you will get RBKP for header, RSEG for items, RBTX for taxes and some more, depending on what you get in the invoice and what are your booking and matching processes.
    Best Regards,
    Tomek

  • IDOC type to send OPEN ITEMS per INVOICE to external system?

    Dear EDI Experts,
    we want to send OPEN ITEMS of a customer per document via EDI to an XML file.
    We checked on idoc type CRESTA01 but this idoc type provides "only" the total OPEN ITEMS of a customer but NOT e.g the invoice document numbers.
    Is there any way to generate an IDOC or XML file with the invoice numbers and its OPEN ITEM amounts?
    We want to transfer that data to an HH device in order to show customer which invoices yet to be paid.
    Any idea?
    Many, many thanks
    Regards
    JW

    Hello,
    many thanks for the quick answer to my question.
    We want ONE credit idoc per one customer showing all OPEN ITEMS with the document number.
    That info is sent to the Handheld in order to provide customer exact info which invoice he has not paid yet.
    We do not need ONE idoc per ONE document.
    But it seems no standard idoc provides such info and we have to call a FM to provide that info to a Z-Segement of CRESTA01. Is that correct?
    Port definition XML in we21 for idoc type is understood.
    Thanks a lot
    Regards
    JW

  • Standard idoc type for Vendor invoices

    Hi All,
           Can anyone tell me if any <b>standard idoc type for Vendor invoice(Cleared items)</b> exists and if any standard report is there to populate and distribute that idoc?
    I want the fields bukrs,belnr,lifnr,bldat,cpudt,zfbdt,zterm,xblnr,waers,dmbtr and mwsts in that standard IDOC.
           Thanks in advance

    Hi,
    check this IDOC types..
    SINGLEREMUNRQS_CREATE01 "46A
    SINGLEREMUNRQS_CREATE02 "620
    regards
    vijay

  • Standard IDoc Type for Inbound NonPO Vendor Invoices - FB60

    What should be the perfect standard IDoc Type for Inbound NonPO Vendor Invoice posting. Tcode FB60.
    I found IDoc Type FIDCCP02 but the Function Module 'IDOC_INPUT_FIDCC2' for FIDCCP02 is not released.
    In the same way many other standard function modules like - IDOC_INPUT_ACLPAY, IDOC_INPUT_FIDCCH, IDOC_INPUT_ACC_INVOICE_RECEIPT and few more are not released.
    My question : If at all I have to use standard IDoc Type, Message type and Function module (Released) for Inbound NonPO Vendor Invoices, then what should be the solution from SAP ?
    Thanks,
    Veeru.

    Hi,
    IDOC_INPUT_FIDCC2 for FIDCCP02 works for us in ECC6.0
    If you want Automatic tax calculation functionality using FIDCCP02.. then FIDCC2 is not correct message type for you. In that case you should probably go for :
    Msg: INVOIC
    Basic type: INVOIC02
    FM: IDOC_INPUT_INVOIC_FI
    Process code: INVF
    Thanks,
    Kumar

  • Proforma Invoice - IDoc and message type

    Hi,
    The requirement is to send proforma invoice to legacy system upon creation. We use PI as middleware.
    Is it possible to send to proforma invoice data using IDoc?
    If IDoc then we have to use message control? Am i right?
    What is the process code and what is the basic IDoc type/message type to be used for this?
    Thanks for any help.
    Cheers,
    Srini

    Hi Srinivasan
    Basic type           INVOIC01  Invoice/Billing document
    Message type                   INVOIC     Invoice / Billing document
    Process code         SD09
    Description          INVOIC: Invoice
    Function module      IDOC_OUTPUT_INVOIC
    best of lucks and Happy Diwali
    Nandu

  • IDoc type for invoices

    Please tell me the idoc type for invoices passing from SAP to Crossworlds.Please reply ASAP.
    Thanks & Regards
    Tharani

    Hi,
    below link might help you.
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    regards,
    venu.

  • Outbound output type & Idoc type for MIRO (Invoice Posting)

    Hi Gurus,
    I have requirement like , I want to send the outbound IDoc to a external system containg the invoice detials after Saving in MIRO.
    I am not able to find any output type & Idoc type for the same.
    By going through varios threads , I found that there tell there is no Idoc type & output type for sending Idocs after MIRO.
    Kindlt let me know, if it so, or how this req can be fullfiled by other ways.
    Thanks
    Amresh

    Hi,
    Create Custom Idoc type with required fields,custom output type and assign it to partner profiles.(If there is no std idoc type or output type)
    Use Funtion module MASTER_IDOC_DISTRIBUTE to generate Idocs while saving MIRO, for this you need to find exit or implement implicit enhancement while saving MIRO.
    Regards,
    Ashok.

  • Outbound INVOIC idoc to partner type LS

    Hello,
    We are trying to issue outbound invoices( Message type INVOIC / basic type INVOIC02)  to a 3rd party who will be doing the billing on our behalf.  We are trying to issue an ALE output type to a LS (logical system) partner type and we are receiving a message B1131, that says that partner type LS cannot be used here, only KU and LI partner types allowed.
    We can create the idocs if we setup our partner as a KU customer.  However, given that we are sending these to a 3rd party system, it seems that we should be using LS.  Does anybody know if there is some configuration where we can choose to be able to send an idoc of message type INVOIC to a partner type LS - logical system?
    Thanks in advance.
    Mark Monroe

    Hi Mark,
    For your requirement you, create partner profile for LS with following steps :
    Create New Partner profile and give your respective TY (User Type), Agent & Language and then follow maintain following parameters under Outbound Parameters :
    Message Type      : INVOIC
    Under Outbound Option u2013 Tab
    Receiver Port      : <Mention your receiving port here, to create Receiver port you have to go to WE21 transaction>
    Pack Size           : 1
    Transfer IDoc Immediately (Select)
    Basic Type           : INVOIC02
    Cancel Processing After Syntax Error (Select)
    Under Message Control - Tab
    Application           : V3
    Message Type      : RD00
    Process Code           : SD09
    Hope, your problem will get resolve.
    Regards..
    Imran

  • Inbound Idoc type for posting Non-PO Invoice

    Hi,
    I am looking for an inbound Idoc type to post Non-PO Invoice.  The Idoc types INVOIC01 and INVOIC02 helps me to post the invoice with reference to PO.  But I am looking for the Idoc type to post the invoices without reference to PO i.e., For example to post the transaction FB60 (Enter vendor invoice without ref to purchase order).
    with regards,
    suresh

    Hello Deep,
    I know it might be quite late for you for this answer, nevertheless I will write that, because there are lots of question like yours. bapi_incominginvoice_park is also a suitable bapi for you. All you need to do is call it this way:
    data: headerdata like bapi_incinv_create_header value is initial,
            table_item type table of bapi_incinv_create_item,
            gl_account like bapi_incinv_create_gl_account,
            table_gl type table of bapi_incinv_create_gl_account.
    * fill headerdata and table_gl, leaving table_item empty
    CALL FUNCTION 'BAPI_INCOMINGINVOICE_PARK'
        EXPORTING
          HEADERDATA                = HEADERDATA
    *   ADDRESSDATA               =
        IMPORTING
          INVOICEDOCNUMBER          = lv_docnr
          FISCALYEAR                = lv_year
        TABLES
          ITEMDATA                  = table_item
    *      ACCOUNTINGDATA            = table_acc
          GLACCOUNTDATA             = table_gl
    *   MATERIALDATA              =
    *      TAXDATA                   = table_tax
    *   WITHTAXDATA               =
    *   VENDORITEMSPLITDATA       =
          RETURN                    = lt_return.
    This works perfectly for me, creating a mir7 document without refering to a PO. The trick here is to fulfill the glaccountingdata importing table while leaving itemdata empty.

  • Any Idea Which Message type/Idoc Type should be used for FI Invoice

    Hi Experts,
    Any idea what message type/Idoc type should be used for FI invoice. We are going to send IDOC from R/3 to Non-SAP System using ALE. We are using T-codes FV60/FV65.
    Thanks,
    Sony

    Hi Sony,
    I never dealt with FI IDoc.
    I think you need to setup EDI outgoing payment in IMG. Please take look this report <b>RFFOALE1</b> - ALE Distribution of Payment Data and <b>RFFOEDI1</b> and check also the program documentation.
    Hope this will help.
    Regards,
    Ferry Lianto

  • INVOIC IDOC Segment

    Hi Experts,
    We are getting an Inbound IDOC for creating Invoice after service entry sheet is created for the service POs.
    If there is 1 Service entry sheet for the PO, we can create 1 Invoice but when we have 3 service entry sheet generated for same PO line item, the requirement is to create single Invoice with 3 line items.
    We are using INVOIC message type to create the IDOC, but are not able to create Invoice for the second case.
    Kindly help us with which segments should be filled in & with what data. It would be great if you can help us with sample code.
    Thanks in advance.

    Hello Kritesh
    Looking at the documentation of IDoc type <b>INVOIC02 </b>(transaction <b>WE60</b>) you will see that the following segments belong to item details:
    E1EDP01 : IDoc: Document Item General Data
    Status: Optional , min. number : 1 , max. number : 999999
    Structure
    E1EDP02 : IDoc: Document Item Reference Data
    Status: Optional , min. number : 1 , max. number : 25
    Structure
    E1EDP03 : IDoc: Document Item Date Segment
    Status: Optional , min. number : 1 , max. number : 25
    Structure
    E1EDP19 : IDoc: Document Item Object Identification
    Status: Optional , min. number : 1 , max. number : 10
    Structure
    E1EDP26 : IDoc: Document Item Amount Segment
    Status: Optional , min. number : 1 , max. number : 20
    Structure
    E1EDPA1 : IDoc: Doc.item partner information
    Status: Optional , min. number : 1 , max. number : 20
    Structure
    E1EDP05 : IDoc: Document Item Conditions
    Status: Optional , min. number : 1 , max. number : 99
    Structure
    E1EDP04 : IDoc: Document Item Taxes
    Status: Optional , min. number : 1 , max. number : 25
    Structure
    E1EDP28 : IDoc: Document Item - General Foreign Trade Data
    Status: Optional , min. number : 1 , max. number : 9
    Structure
    E1EDP08 : IDoc: Package data individual
    Status: Optional , min. number : 1 , max. number : 999999
    Structure
    E1EDP30 : IDOC: Document Item Account Assignment Intercompany Billing
    Status: Optional , min. number : 1 , max. number : 99
    Structure
    E1EDPT1 : IDoc: Document Item Text Identification
    Status: Optional , min. number : 1 , max. number : 99
    Structure
    E1EDPT2 : IDoc: Document Item Texts
    Status: Optional , min. number : 1 , max. number : 999
    Regards
      Uwe

  • Error 'No tax code found for difference' in Posting Vendor Invoice IDOC

    Hi All,
    I am getting error message 'No tax code found for difference' while posting Vendor Invoice IDOC into SAP. IDOC type is INVOIC02. There is no difference in PO price, Invoice price and even Standard price. then why this  error message? Other Vendor EDI settings are done ( OBCA, OBCD, OBCE etc). Is there any thing specific to be done in the config for this error?
    IDOC has PO  as reference document.
    I looked into several threads in SDN forum but could not find proper solution
    Can any ine help me with this issue?
    Thanks in advance
    Hari

    Hi
    You might be  missing the tax code for uploding through IDOC
    so you can use the t.code we02 and give the doc and find the error
    go to the WE19 to edit the tax  code
    and USE the t.code  BD87  to select the doc and process it
    thanks
    Madhu

  • How to find out the idoc type required for our requirement

    Hi,
         How to find out the list of available idoc type in SAP. It will be good if i get to know the table name where all the idoc type definitions are gets stored.
    Say i have some requirement and for that requirement how i can find the proper idoc type to be used. (assume functional consultant is not providing that information)
    Points will be given for the useful answers
    Thanks,
    Prasanna

    Hi prasanna,
                    we can get SAP idoc types in tcode we31.For every requirment there will be different message type.
    For example we want idoc type for account invoice receipt.
    First find out message type for that purpose which can be found in we81-ACC_INVOICE_RECEIPT.
    Get this message type and search in we82  where we can find message type and idoc type linkage.
    try this way.
    Reward if it is usful.
    Thanks,
    Srikanth.A

Maybe you are looking for

  • Downloaded 11.1.3 and itunes wont open

    Just downloaded itunes 11.1.3 and now it won't open.  What to do?

  • Reading data from a table which can have millions of record

    Hi, I need to write a query in my report that can be able to fetch records from a z table that have arount 20 lac (= 2 million) records. As far i knoew we can not handle such a huge amount of data in our internal tables. because the size of internal

  • ITune Store can't show purchased item after iOS 7.1.1 Update

    After my iPad Air got restored to factory iOS 7.1 from the Apple Store, I restored my content which is 25GB of books pdf apps and videos.  Then got the news that iOS 7.1.1 is out and fixed some issues, I thought maybe fixed the Videos App problem, so

  • ALV without context data

    Hi, how can I handle an ALV when no context data exists? Should it be disabled or is there an attribute like 'ON_NO_DATA' or something like that? During program flow I can happen that the binded context node could be empty. Any solution for that? Reg

  • How to implement registration mechanism in JavaME

    I have my game in JavaME completed and ready to sell it. How do I implement registration mechanism so that only the user who paid can run my game?Thanks in advance