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
Similar Messages
-
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,
MattHi,
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 -
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,
SameekHi Sameek,
Please refer the below link. Hope it helps.
http://scn.sap.com/thread/1435286
Regards,
Chandan. -
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 PMYes, 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 -
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 PMHi 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 -
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,
ReddyNanda,
@ 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. -
Mapping of inbound INVOIC02 iDoc Segment to MIRO/MIR7 Header Text? Help!
Hi Experts,
I need to map a field from the inbound INVOIC02 idoc to the header text field. This field is TABLE:INVFO;(Struct)Field:SGTXT as shown in MIR7. I thought that segments E1EDPT1 & E1EDPT2 would map to this field but it is not showing up in the processed invoice. Is there a segment/field in INVOIC02 that maps to this field?
Thanks,
DougHi,
Try like this
Ledger Ledger
EqualS------------OR EqualS------------OR EqualS------------OR EqualS------------OR----Not---
Constant(460050) Constant(471000) Constant(420600) Constant(472150)
and Brand-------
EqualS--CreateIF-----Target Brand
Constant(75999)
Thanks! -
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,
Creasydata 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. -
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. -
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 -
Inbound side idoc segment defination is showing instead of segment type
Dear all,
i created z idoc ZMIGO961 and z segment ZJ1IW in both source and destination, when i send the idoc from the source to destination, in destination it is showing the segment defination i.e ZJ1IW000 in idoc instead of segment type ZJ1IW in my idoc.
plz help .
regards,
Edited by: manoj kv on Apr 4, 2010 9:18 PMHi manoj kv
segment defination : ZJ1IW000 indicates segment is ZJ1IW & version is 000
Go to T code we31 in Destination System
Enter the Segment Name and Check Defination Screen.....then you will see the segment defination : ZJ1IW000
Hope above info helps... you..
Thanks
Ramesh -
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,
MichaelHi 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 -
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
ChitraHi 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 810 Vendor Invoice IDoc Integration
Greetings,
I need to quickly setup an inbound 810 invoice integration in a 46C ERP environment. I would like to leverage the INVOIC02 IDoc and it's accompanying ALE services to import vendor invoices into A/P. These vendors are finished goods vendors and so the invoices will be associated with NB SAP Purchase Orders. Can anybody give me some quick pointers and links on setting this up? Looking for best IDoc type, message type, process codes, mapping tips, etc..
Thanks!ACC_INVOICE_RECEIPT seems to be a complex sturcture used in various applications, do you have any info on what segments to use for importing a vendor invoice referencing a finished goods PO?
-
Dear SAP,
we have a 1:n mapping scenario.
The source is an INVOIC Idoc that will be splitted into several messages.
The INVOIC IDoc has a sice of 5MB and more than 35.000 data sets.
Because of the huge number of data sets / positions, there are two new
child-segments containing the data sets (see attachment).
INVOIC IDocs with only eg. 100 data sets has noch such child-segments
(see attachments).
In PI message mapping there is an error while mapping large INVOIC IDocs:
While 1:1 mapping of positions (E1EDP01) the text segments
(E1EDPT1/E1EDPT2) are not mapped correctly.
While mapping a position of child-segment ONE the text is mapped from a
position from child-segment TWO.
In our case the 166th position of child-segment ONE is mapped, but the
text is comming from the 166th. position of child-segment TWO.
The text mapping is 1:1. It works without errors while proceeding smaller INVOIC IDocs.
We can´t explain this behaviour.
Also the standard INVOIC structure does not provide such child-segments
while uploading into PI.
Is it a buffer problem in PI?
Is there a maximum number of data records in INVOICE IDocs?
Do we have to adjust the INVOICE structure in PI?
Thanks in advance,
AndréIs it a buffer problem in PI?
Could be, but I have used bigger message size without any issues. If your mapping is not too complex, could you write an XSL mapping and check if you run into similar situation? Message mapping has definitely cache issues, hence I prefer XSL.
Is there a maximum number of data records in INVOICE IDocs?
No.
Do we have to adjust the INVOICE structure in PI?
No need to adjust the structure, just try with XSL mapping.
Maybe you are looking for
-
In iTunes a bunch of songs show up under the wrong artist no matter what I do
My iTunes library has an odd glitch - there's a bunch of songs that show up under the group "a-ha" despite having nothing to do with a-ha. They don't seem to have anything else in common, either. None of them has an album artist listed and they are a
-
"XML File not found for the Container DataBindings.cpx" error after deploy
Hello, I have a problem with my JSP-Javaproject. Local works all fine but when i deploy my project to a Oracle Aplication Server i allway get this XML-File-Not-found exception: oracle.jbo.NoXMLFileException: JBO-26001: XML File not found for the Cont
-
Telephone Call List not showing in the T.Code - CRMD_TM_CLDIST
Hi Experts, We are working in SAP CRM- ISU project in which we need to transfer the telephone call list to CRM .When we execute the transaction code CRMD_TM_CLDIST in CRM,system does not show any call list,as in ECC system is reflecting one call list
-
HOW TO USE CRYSTAL VIEWER IN A SAP BUSINESS ONE FORM
hI ALL iM DOING AN ADDON, AND I WANT TO SHOW A CRYSTAL REPORT IN A FORM OF sap buSINESS oNE, ANYONE COULD HELP ME
-
[solution inside] Poor quality of DVD created with iDVD '08 (jerky movie)
Hi everyone ! I have a problem with the export of iDVD, the result is jerky. Here's what I done - filmed (cam sony 42E, DV) - imported to iMovie '08, exported to the media navigator - taken in iDVD and burned on a DVD simple layer in professional qua