Inbound Invoice IDoc - Problem, Please clarify.................

Hi All,
I am implementing an Inbound INVOIC02 IDoc for posting Credit Memo that references purchase order. But there is some unique thing. This IDoc is used to post only the SAC (D240 - Freight Allowance).
Freight Allowance will come at Header level on the X12. This amount should be posted to a G/L account.
I want this SACD240 amount to be mapped onto IDoc.
I have extended the IDoc with a Z-segment @ line item level and is mapping into this z-segment.
The mapping team came up with a question. If SACD40 is mapped onto Z-segment. And no other line item information is present on the X12/IDoc (such as matnr). Will SAP process this IDoc??
Plz clarify??
Thanks,
Creasy

data in extended Z segment would not get processed automatically.
If std Function module IDOC_OUTPUT_INVOIC is used as inbound process code then
you need to add custom code in  exit   CALL CUSTOMER-FUNCTION '001'   include ZXEDFU01 to pass to correct fields. or you may have to call another FM or BDC to pass data to required transaction/fields.

Similar Messages

  • When we post Inbound Invoice IDocs, we are getting an error message "Enter a tax jurisdiction code".

    Hi Experts,
    When we post Inbound Invoice IDocs, we are getting an error message "Enter a tax jurisdiction code". As checked, we have configured OBCD and OBCA for the vendor and we are passing the Tax Jurisdiction code in E1EDP04 SAL segment. Can anybody give us some idea to resolve this issue.
    Regards,
    Sameek

    Hi Sameek,
    Please refer the below link. Hope it helps.
    http://scn.sap.com/thread/1435286
    Regards,
    Chandan.

  • How the SAC amounts are posted to G/L accounts through Inbound Invoic Idocs

    Hi EDI/ABAP experts,
    Can anyone please tell me wow the SAC amounts are posted to G/L accounts through Inbound Invoic Idocs??
    Can anyone point me to the code that permits INVOIC02 IDocs to post the SAC (service allowances and Charge) amount to particular G/L account??
    What is the logic??
    Thanks,
    Creasy
    Edited by: Creasy Matthew on Apr 27, 2009 10:41 PM

    Hi Sunil,
    When ever you prepare a billing document it creates an entry in General Ledger as Trial Balance has to be generated for the company all the expenses for a company should be recorded in GL. So that a company can see view their profit/loss figures.
    As Billing is a sales related transaction it creates an GL Entry where in
    Debits    --> Customer Account
    Credit     --> Sales Revenue Account
    And when the Customer Makes a payment with reference to the bill
    One more GL Entry will be created i.e
    Debit     --> Bank Account
    Credit    --> Customer Account
    With this we can track the customer balance (What ever balance is there in Customer account is customer Balance)
    I think this is very clear with respect to the question you had asked.
    Reward points if it helps.
    Regards,
    Sreekanth

  • How to post Freight Charge in INbound INVOIC Idoc? (MM Invoice Verif)

    Hi Folks,
    Would like to post an inbound invoice(810) IDoc  that has multiple line items that may or may not have variances(quantity, price, etc.). MM Logistics Invoice verification is the process used for posting our invoices for raw materials. We would like for the line item variances to continue to post to the PPV account. Our problem is freight. Freight in this instance is in the header of the IDOC(segment E1EDK05). For example, we create a purchase order with 3 line items for $100.00 each totaling $300.00 for the purchase order. We receive an EDI Invoice for $345.00 which contains a $45.00 charge in the header for freight. We would like for the freight to be posted to the appropriate account. Currently the $45.00 difference in P/O total and Invoice total is being posted to the PPV account. Your helpis appreciated!
    What if Freight charge is populated as Line item in the inbound invoic idoc. Will the inbound program allow this kind of posting??
    Throw some light experts.
    Thanks,
    Matt
    Edited by: Creasy Matthew on Aug 16, 2009 6:25 PM
    Edited by: Creasy Matthew on Aug 16, 2009 6:25 PM

    Yes, you can include the freight cost in line item as well but that would not be advisable. Why don't you include Fright Cost in your pricing procedure ??? Do check the following link
    How to account freight in purchase order

  • Segment/Field name for Unplanned delivery costs in Inbound Invoic Idoc?

    Hi Folks,
    Will you please let me know the name of the segment/field (IDoc type INVOIC) for unplanned delivery costs on Inbound Invoic Idoc??
    Thanks,
    Matt

    Hi,
    Am facing the same issue and did tried the E1EDS01 segment. SUMID = 20 and passing the value to field BEZNK, but its not updating the value.
    Could you please give me some more info. how to achieve it.
    Thanks,
    Aniket Korde

  • 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

  • Inbound INVOIC01 IDOC problem

    Hi,
    I am working on inboind INVOIC01 idoc and i am facing some problem in that.
    When IDOC comes in it is creating application document ( Status 53 ). When i go and check in transaction MIR4 the application document (Invoice) is created. But the problem is, the Invoice is not being posted.
    When i see the invoice document, there is not tax code and so the invoice does not show any amount. I do not know why it is happening.
    Can anyone let me know what are the all required segments / fields for inbound invoice interface. What are the all configuration options required for it.
    Thanks,

    Hi Srinivas,
    Thanks for your reply.
    I have already configured the tax code config and now invoices are created correctly.
    But now i have one scenario which i am tying to figure out how to get it right.
    Let say for example
    <u>Example - 1</u>
    - i have PO with 1 line iteam with Quantity = 1 and amount $100. ( we mostly have PO with quantity =1 and only thing matter is $ value )
    - If the incoming invoice also have quantity = 1 and amount $100, it works fine.
    - But the problem is, sometime vendor sends the partial invoice. that is, quantity = 1 but amount $ 50. There can be multiple invoice with same quantity as PO line item different amount at different time. In this case i am gettng "Account Determination" error ( message  M8 147 ). Is there any way i can make this scenarion work. 80% of invoices comes like this. Please let me know
    <u>Example - 2</u>
    - i have PO with 1 line iteam with Quantity = 2 and amount $200.
    - If the incoming invoice also have quantity = 1 and amount $100, it works fine. Also, if it has quant = 2 and amount $ 200 it works fine. In other workds the quantity / amount ratio in invoice matches that of PO, it works fine.
    - But in few case we will get invoice with quantity = 1 ( PO as quant = 2) with amount 80 ( infact, any value other than 100. PO has $200, $100 / 1 each ) and in this case invoice is failing too.
    Can you please let me know, is there any setting in Logistic Invoice Verification, to support these scenarios.
    Thanks
    Pratik

  • Inbound Invoice IDOC mapping Required fields

    Hi All,
    Please let me know what need to be mapped for the @begin , @segment , TABNAM , SNDPOR, SNDPRT etc like this elements in the IDOC structure.
    In my scenarion i get Invoices in  XML file so that i can pick that and process it into SAP R/3 by doing correct mapping with the inbound IDOC and post the same into R/3 . Please provide the sample mapping for processing Invoice IDOC.
    Regards,
    Reddy

    Nanda,
    @ Control records
    >>>
    You have two option. One is to fill the control records inside the mapping or else let XI fill it automatically.
    In case you are filling the control records in the mapping, then you will have to enable the option to take those values in the IDOC receiver adapter.
    See option (Apply Control Record Values from Payload) - http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/content.htm
    Control values - http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/content.htm
    @ Begin, Segment etc
    >>
    you can map any constant value to the same.

  • Change tax code for Inbound invoice Idoc

    Hi all,
    My requirement is to change the TAX code in INVOIC01 for inbound idoc ,Basic type in E1EDK04 segment.
    I am using exit EXIT_SAPLMRMH_012 .
    But change tax code is not refleted in IDOC segment.
    Even i put E_CHANGE = 'X'.
    Please any one who have donne this before help me its urgent.

    I got the answer. Actually I should be marking this item as Excise item in Item master which i missed out.
    Thanks.

  • Inbound processing of INVOIC IDOC without PO number and item check

    Hi All,
    I'm processing an Inbound INVOIC IDOC to create an Intercompany Vendor Invoice against a Purchase order but wish to do process this based on the delivery note number rather than the PO number. The INVOIC IDOC will not contain a reference to the Purchase order and thus the need to process it based on the delivery note number which will be referenced in the Purchase order Goods receipt.
    However, when processing the Inbound INVOIC IDOC it is validating that the number in IDOC segment E1EDP02 with QUALF 001 is the purchase order number. In this scenario it won't be and therefore it errors. The delivery note number is in IDOC segment E1EDP02 with QUALF 016.
    Could someone please tell me if there is a standard way that we can have this Inbound INVOIC IDOC processing using only the delivery note?. If I manual process in the MIRO transaction I can process an Invoice based on the dleivery note in the Goods receipt so would expect I should be able to do so also with the IDOC processing.
    I have noticed that IDOC segment E1EDP19 with QUALF 003 is not being populated and therefore according to the SAP help the IDOC segment E1EDP19 with QUALF 002 holding the Vendor material number is checked. Could this have something to do with it not being able to process the Invoice using only the delivery note number reference?.
    Thanks in advance,
    Michael

    Hi Karen,
    According to Note 103051 - EDI: Multiple reference to same purchase order item.
    Module IDOC_INPUT_INVOIC_MRM (only as of Release 4.0) for the logistics invoice verification can distinguish different goods receipts by means of the delivery note number. For this purpose, GR-related invoice verification must be active. Please check the note.
    Thank you,
    Shyam

  • 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

  • Inbound SD IDOC invoice

    Dear All,
    I am struggling to find inbound SD invoice IDOC. Any idea which standard IDOC fuc is used ?
    Process - SAP is acting as backend system to receive customer invoice
    I could see IDOCs for FI posting Accounting document
                     Idoc for credit memo
                     Idoc for MM invoice
    But I dont find any SAP standard IDOC, I could find IDOC_INPUT_S1INVOICE_SD byt internally its using IDOC_INPUT_INVOIC_MRM (MM invoice)
    Can anyone help me out in getting correct IDOC for sales Invoice.
    Just to add in VF01 transaction i am looking for to post SD invoice.
    Thanks and regads
    -Indrajit
    Message was edited by:
            Indrajit Chauhan -TCS

    Hi,
    thse are the avaialbe function modules for invoice.
    IDOC_INPUT_INVOIC_FI
    IDOC_INPUT_INVOIC_MM
    IDOC_INPUT_INVOIC_MRM
    Regards,
    Nagaraj

  • INVOIC IDOC - E1EDK28 Problem with selection of multiple bank accounts

    Hi SAP-Experts!
    I have a problem with house banks in outgoing invoice IDOC INVOIC.
    We have maintained several house banks in one company code with up to 3 different account ID's.
    I was wondering why there is (in my point of view) the wrong bank account populated in one ot the IDOC segments E1EDK28.
    What I found out while debugging the code which fills the internal table it012k is, that he selects only the first row from table t012k
    (select * from t012k up to 1 rows).
    We have already implemented the OSS notes concerning currency dependency and SEPA.
    By switching the account ID sequence in sandbox system, e.g. from EUR to SEK, the program picks now the "correct" bank details.
    From my Point of view this cannot be a porper logic always to pick the first entry.
    Has anyone experienced that issue, too? Is there any solution for this problem (in standard).
    If not, I will raise an OSS call at SAP for this.
    Thanks for any thoughts!
    Stefan

    When you enter bank details in master, update field "Partner bank type" LFBK-BVTYP with free form value, may be currency is good choice.
    During invoice entry, this field is available for update, update which bank to be used for payment of this invoice. You may build logic to populate this field, like substitution to populate currency in this field during invoice posting.
    During payment, system checks value in field Partner bank type in invoice and selects corresponding bank.
    Hope this helps.

  • Please clarify my problem

    hi  gurus
    while creating a new index this types of error occured in my server...
    Index could not be created; creating index failed: Invalid entry in configuration: section nameserver, key address, value tcpip://<nameserverhost>:<nameserverport> is invalid (Errorcode 7213) 
    please clarify my problem

    Hi Thilali,
    you have to configure the TREX-Service in the Visual Admin tool:
    "Server" -> "Services" -> "TREX Service" on the right side you have to add your "nameserver.address" like this: tcpip://yourhost:yourport
    best regards
    Steffi

  • Error while posting Invoice IDOC (The difference is too large for clearing)

    Hi All,
    While posting Invoice IDOC to Remittance Advice IDOC get fails with status 51 &  message ' The difference is too large for clearing'.
    Please suggest any solution or reason to fail IDOC.
    Thanks & Regards,
    Ajay
    Moderator message: please search for information and try to find out yourself before asking, this will be a functional problem anyway that should be asked in the appropriate forum, e.g. ERP Financials.
    locked by: Thomas Zloch on Aug 20, 2010 1:59 PM

    Pls check the tolerance amounts limits:
    SPRO--- F/A --AR/AP -
    Business transactions -Open item clearing--- Clearing differance---- Define / Assign tolerance groups for emp -
    Where you need to change the limits of max amounts with the %
    Let me know for any info.
    Regards
    Suresh

Maybe you are looking for

  • Making a backup of my Time Capsule

    Bonjour, Sorry if this has already been asked; I could not find what I was looking for. I have a Time Capsule (500 GB) which connects to a MacBook Pro, an XP desktop and a Vista laptop. I make backups of my PCs each week (ish) and store them on an ex

  • How do i obtain a PUK code for my Ipad (and yes that is what my Ipad is asking for)

    I own 64bit Ipad.  One day I turned it on and it said "Enter a PUK code".  I don't have any idea what this means, I just know my Ipad has been inoperable since. There is no carrier, it's not a phone.  Just Wi-Fi.  I have wasted SO much time trying to

  • Can i use a second express to increase my signal

    can i add a second airport express to expand my internet signal?

  • U310 Error Message on Boot Up

    I recently purchased an Ideapad U310. But after closing the laptop and opening it up I get an error message. I have tried to reset, boot into safemode, and pressed the Lenovo Recovery button on the side of the laptop, but the screen stays on the erro

  • Having trouble with outgoing email settings

    I'm sure this has been asked a million times but am having trouble setting up again following a hard reset, shame the PC suite backup doesn't save these settings but that's another story.. What I have is, other than my personal details for my account