SAP IDOC Invoicing Party

Dear All,
I want to change my invoicing party from Eur0004 to Eur0002. I have go to user exit program and change the vendor code inside the program (means minor change). I reaactivate it back as well. When i create the IDOC all phase until last phase when it is auto Invoice Receipt it is still go to vendor Eur0004. Is it i miss anything place that need to reconfigure? thanks in advance

Dear Vinod,
For your information i only change to this exit program to EUR0004 to EUR0002. but it is still not change in my idoc when test data.
*&  Include           ZXEDFU02
DATA : L_E1EDK14 TYPE E1EDK14.
DATA : L_E1EDKA1 TYPE E1EDKA1.
LOOP AT INT_EDIDD.
CASE INT_EDIDD-SEGNAM.
WHEN 'E1EDKA1'.
MOVE INT_EDIDD-SDATA TO L_E1EDKA1.
IF  L_E1EDKA1-PARVW = 'AG' OR L_E1EDKA1-PARVW = 'WE'.
CLEAR L_E1EDKA1-LIFNR.
L_E1EDKA1-LIFNR = 'EUR0004'.
MOVE L_E1EDKA1 TO INT_EDIDD-SDATA.
MODIFY INT_EDIDD.
ENDIF.
ENDCASE.
ENDLOO

Similar Messages

  • The PO number for cXML invoice mapped to SAP IDoc INVOIC.INVOIC01

    Hey, PI gurus,
    I mapped a cXML invoice to SAP IDoc INVOIC.INVOIC01.
    My problem was that for the multiple line items invoice, the PO number will only show up in  IDoc E1EDP02->BELNR for the first line item and will not show up for the other line items.
    In cXML message, the PO number is in InvoiceDetailOrder->InvoiceDetailOrderInfo->OrderReference->orderID.
    I changed the value in Context for @orderID and it did not help.
    Any advice?
    Thank you in advance!
    Fisher Li

    Hi,
    I understand your scenario is XML to IDOC.
    Now I assume one XML corresponds to One IDOC which corresponds to 1 Invoice.
    In your XML, I think PO Number is coming multiple times but same value. Is my understanding correct?
    If that is the case, use below mapping.
    PO Number --> Remove Context --> Colapse Context--> Target PO Number field
    This will ensure, you will get only one PO number in your IDOC.
    Else, Please provide your source XML sample.
    -Gouri

  • Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interfa

    Hi
    i am try do
    Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interface
    With The help of SDN Contribution
    link----
    ( have look on it)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4943f2b7-0a01-0010-37af-faff35b2f08c
    I am getting error in
    Partner system as HTTPLOG and "Execute" to check the results
    Error is --  Port could not be created
    RFC destination HTTPLOG Not specified for system HTTPLOG
    any 1 have any idea  if plzzzzzzzz...........
    Thank u
    Ram

    Hello .
      we are also in  process of implementing the same
    could you share the knowledge pl?
    1)is it a separate add on with ALE to saphr
       or using ECC ??
    2)can u share the configuration part ??
    we are trying it on webas as addon 3.0 .

  • SAP PI-Idoc -Invoic

    Dear  PI Guru,
    I've a scenario  l WS(Web service) -
    >to----
    > Idoc invoic (SAP ECC)
    the  ws send idoc xml data to pi via soap adapter . The idoc xml will be convert to pi xml data and the pi xml data will be convert to idoc and pi send to ecc. This part is ok but a have a problem to valid the following fields in sap ecc.
      - Supplier Code (Vendor)
      - Account Code
      - Additional Account Assignment (Cost Center)
    -  Tax Information
    - Terms of Payment (Days)
    - PO/RINGI Reference number
    Kindly could you tell me how i can valided the fields in the sap fi?
    Thanks in advance.
    Ombessa

    Hi,
    If you want to validate the data w.r.t to the data maintained in SAP...
    If the idoc used is a standard then the Standard FM will be able to do that validations.
    if the idoc used is extended or custom where you are passing these fields then you can use user exit for the Function Module and can do the validation...
    if you like to do the data validation in PI itself then need to use RFC and do a lookup ..
    HTH
    Rajesh

  • IDOC Invoices and EDI Invoices

    Hi Gurus,
    Please help me in understanding the flow of IDOC Invoices and EDI Invoices.
    What is the purpose of using IDOC and EDI? How it works?
    Please revert asap.
    Thank You

    HI Verma,
    You can post the invoices in SAP system through IDOCs.
    Mostly, this activity is performed/triggered, when the invoice data is with third party.
    Third party will have the invoice data base and sends a file to SAP.
    SAP XI will map/convert the file(sent by third party) to fields in SAP and posting of invoice happens.
    Please refer the below links for EDI Invoices
    EDI invoices
    Creating EDI Invoices
    Hope this will help you in understanding IDOC invoices and EDI Invoices.
    Regards,
    Praisty
    Edited by: Praisty on Dec 22, 2009 1:20 PM

  • Business Partner Invoicing Party from vendor master in ECC

    Hi!
    Does anyone have experience from using partner function invoicing party in vendor master in ECC, and copying it over til business partner in SRM.
    We have business requirements to have several invoicing parties for a specific vendor. In ECC, if you do this set up, you get a pop up when creating a purchase order. In the pop-up you are asked to select the invoicing party that should be used for the purchase order. We would like to have similar functionality in SRM. What are the possibiliies?
    We have configured SRM with partner determination schema. This allows us to define an invoiceing party in SRM purchase order. However we would like to get suggestions based on what has been maintained in the vendor master in ECC. What actions need to be taken to obtain this? Does anyone have experience?
    Many thanks,
    Christine Hammerströ

    This could be a big gap in SAP.
    Vendor master did  not fully synchronised with SRM.
    Classic, you may not find this difficulty and we may not require to take this invoicing party.
    this is one factor needs to considered before go for technical scenario but sap can do any thing...
    check with SAP.
    muthu

  • Issues in SAP(Idoc)-XI-File scenario

    Dear All,
    I am working on SAP(Idoc)-XI-File scenario. But in the Receiver agreement i am not able to see the idoc in order to specify some conditions there. 
    Please suggest if I have to do any settings in order to specify some conditions in the idoc.
    Warm Regards,
    N.Jain

    Hi nishu jain  ,
    U can specify the conditions in Reciever Determination.
    1.Go to Scenarios
    2.Choose your business scenario
    3.Click Service without party
    4.Double click Reciever Determination
    5.U wil get  screen in which there is a option called Configured Recievers.
    6.Click there.then u wil get the screen with
         Left Operand  Op Right Operand
    7.There u can specify the condition.
    Reward points if u find this useful.......
    Regards,
    gyanaraj

  • SAP to 3rd party: EDI and XI: Needed advantages and disadvantages

    HI All,
    I have a requirement to sent PO data from SAP to 3rd party Vendors.(more than 30 vendors). Client insists on using EDI.!!
    I have completed the config on SAP R/3 side and IDOCS are created in SAP R/3.
    Since we have XI in the landscape, I have a few questions in my mind. Appreciate if you could give you feedback on these questions:
    1. Should we send data directly from SAP to 3rd party using EDI adapter and avoid XI.
    2. I assume EDI adapter will automatically convert IDOC to vendor format data and vice-versa.
    3. All 30+ vendors will need to access this EDI adapter system or do they all need to have a separate one installed in there landscape.
    4. If we use XI, will the adapter be able to communicate to XI. If yes what is the adapter name which connects to XI.
    5. All vendors need this data in a slightly different format, so will the EDI adapter do the format conversion for every vendor ?
    6. Since all vendors have a diff file format needed, I want to avoid doing extensive message mapping in XI. So can the EDI adapter handle it or is ther any easy way to do this mapping.
    7. If mapping is not possible, then does it mean I will have to create a separate IDOC for each vendor in R/3 ( in vendor specific format) and send that to them.
    Thanks in advance.
    Regards
    Shirin

    Hi,
    1) Should we send data directly from SAP to 3rd party using EDI adapter and avoid XI.
    A) For EDI integration u need to have the EDi adapters and for that u need to purchase the seeburger license and which is need to be installed on XI and after that only u can use EDi adapter with Xi.
    U can not ignore XI.
    2. I assume EDI adapter will automatically convert IDOC to vendor format data and vice-versa.
    A) Yes but only when u purchase the seeburger license. there are other ways as well either use conversion agent or module program which convert the XML to EDI format.
    3. All 30+ vendors will need to access this EDI adapter system or do they all need to have a separate one installed in there landscape.
    A) U have to use the EDI adapters with Xi and configure ur scenario in XI for all the vendors.
    4. If we use XI, will the adapter be able to communicate to XI. If yes what is the adapter name which connects to XI.
    A) Seeburger provide As2,X400,FTP,VAn adapters for EDi integration.
    5. All vendors need this data in a slightly different format, so will the EDI adapter do the format conversion for every vendor ?
    A) What EDI format ur vendor receivers the data it depends upon that.
    6. Since all vendors have a diff file format needed, I want to avoid doing extensive message mapping in XI. So can the EDI adapter handle it or is ther any easy way to do this mapping.
    A) Mapping is the part of desing and mapping changes accroding to the business requirement and mapping rule which is provided by Functional people.
    7. If mapping is not possible, then does it mean I will have to create a separate IDOC for each vendor in R/3 ( in vendor specific format) and send that to them.
    A) u need to do the mapping between IDOC and EDi then only the data will be mapped with the required target EDI strcuture.
    chirag

  • How to send sap generated invoice numbers using rffoedi1 program

    Hi all
    we are generating PEXR2002 IDocs using RFFOEDI1 program . The program is populating the invoice number field in IDoc with the value from reference number field in MIRO screen. Is there any way that we can populate the SAP generated invoice number also in the IDoc.

    Hi Steve,
    Have you tried the user-exits or BADi available.
    Regards,
    Atish

  • Different invoicing party

    Hi!
    We have problem when the invoice is being sent from a sub contractor. We are creating a PO in SRM 550 with vendor A. Vendor A gives the vendor B the assignment. Vendor B delivers the material and sends the invoice. When invoice (idoc) arrives it is getting stuck in MIR6 since invoicing party differs from PO.
    I have seen that one can register an Invoicing Party (PI) in Vendor Master in back end. I have registered Invoicing Party for Vendor A and entered Vendor B. I have updated the vendor in SRM.
    Still, the error occurs in MIR6.
    Any ideas? Have I forgotten a configuration step?
    Sincerely
    Anders

    Ashok,
    Have you assigned your account group to the partner role PI?  This is found under the partner role configuration.  This should address your problem.
    Gus

  • Invoicing Party on Purchase Orders

    Hello,
    I am currently trying to figure out a way to add an Invoicing Party onto the SRM purchase orders so that when the invoice hits our ECC system it will go to a different vendor for payment.  We are currently running on SRM 7.0 and ECC 6.0.  I have set up the system in ECC so that the PI will populate if I create the purchase order directly within ECC however it does not work when the purchase order is being replicated from SRM into ECC.  I have also tried to add the invoicing party directly to the vendor within SRM and that did not work either.
    The invoicing party is already set up as a vendor and has already been replicated from ECC to SRM and I have also linked the invoicing party to the vendor however I cannot get the PI to populate on the purchase order.
    Am I missing a configuration step?  According to this link, which I found in another SAP Thread (http://help.sap.com/saphelp_srm70/helpdata/EN/b9/4049f6dabf4e3f8b475047b0983484/content.htm) there is a piece of configuration under "Cross-Industry Functions", however SRM 7.0 does not seem to have that within the IMG.
    Any help that you can provide would be helpful.
    Thanks,
    Katie

    Does anyone have any ideas about how this can be accomplished?
    Thanks,
    Katie

  • How can i use C# method to SAP IDoc

    Dear Friends
    i have to do one scenario in which i have to connect to database let us say SQL Server but i can't touch Database directly i can call a C# method(3rd party application is in .NET) and using XI i have to send it to SAP iDOC.
    can any one help me in this how to proceed
    Thanks in Advance.
    Ishika

    <i>Do you have any document for that on how to do it with webservices.</i>
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    See this
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Prateek

  • TAX ASSESSMENT BASIS MISSING IN SEGMENT E1EDK04 FOR IDOC INVOIC

    Hello,
    Tax assesment basis is missing in segment E1EDK04 for IDOC INVOIC. In EDI messages,Tax assesment basis has to be sent in TAX segment together with VAT rate. When there is only one VAT rate this is not a problem as tax assessment basis is the total net amount (And we have it in the IDOC). On the other hand when there is more than one VAT rate in the invoice, we don't have in the IDOC the Tax assesment basis of each VAT rate.
    Did someone experience this issue ? How did you handle it ?
    Regards.
    Eric.

    Dear Eric
    The latest pack available now for these components are (for PI 7.1)
    SAP BASIS 7.11 support package 6
    SAP HR 6.04 with Support Package 44
    If you are in PI 7.0 then I suggest you download the latest patch from marketplace.
    Sourabh

  • Parsing SAP IDOC files

    Hello Experts,
    I want to parse the outgoing idoc invoice file.i mean when a invoice is generated in SAP then a idoc file is created and i want to read the data from the out file like which all fields are there and what all data does it have. I want to extract the necessary info out of the IDOC files .
    Is there an easy way of doing this ,I am new to R/3,any help would be highly appreciated.
    Thanks
    Abhishek

    hi,
    check out the database tables EDIDC and EDID4, there you will find the idoc-data, including INVOIC. by reading the needed lines from EDID4 and copying them in the given structures, you can easily extract the needed data.
    greetings,
    dsp

  • Replacement of MIRO Invoicing Party (RBKP-LIFNR) with PO Invoicing Party

    Hi,
    As per one of our business requirement, we want to replace MIRO Invoicing Party (RBKP-LIFNR) with PO Invoicing Party (EKKO-LFRKE) for correct tax calculation during MIRO.
    For that we tried to apply BAdis suggested as per SAP Note 1156325 - BAdIs in the Logistics Invoice Verification environment and others. But these BAdis are not enough useful to resolve above problem.
    Pls suggest another BAdi / exit for above problem, which can replace  MIRO Invoicing Party (RBKP-LIFNR) during MIRO .
    Thanks & Regards,
    Taral Patel

    Hi,
    Thanks for your reply.
    below is our business scenario :
    "PO is created on branch vendor (with a HO vendor mentioned in master).
    While doing MIRO, the system automatically replaces the branch vendor with the Head
    office vendor (as mentioned in master). The region taken for tax purpose is the region of the
      HO  vendor.
    for above problem, I have been suggested Note 1156325 from the forum, but none of the BAdi seems feasible (checked with our SAP ABAP Consultant) for this requirement to replace MIRO Invoicing Party (RBKP-LIFNR) with PO Invoicing Party (EKKO-LFRKE).
    It would be great help if u can suggest ny BAdi / exit for this requirement.
    Thanks & Regards,
    Taral Patel

Maybe you are looking for