EDI Invoice Outbound

I've done incoming EDI Sales orders, but now am going to build an out going EDI invoice to be sent to our customer. Can you please confirm my task below and answer the few questions.
Here's what I will do.
1. I need to create a message determination (output type) for that particular document type.
2. Control the customer through UnderWEDI -> Administration -> WE20 (Partner Profile) Shall I choose LS or KU as partner profile? I'll also add partner detail together with inbound and outbound relationships.
3. I'll create iDoc extension type - WE30
4. Create segment - WE31
5. Assign function module to logical message  and IDoc type - WE57 (what the standard function module I can use as a reference to extract invoice details?)
Any further links or step by step will be appreciated too! Thanks guys.

Hi Gautam,
We are setting up outbound invoice functionality from SAP to EDI.
We are having about 900 customers as Bill-to-party.
Do I need to set up partner profiles for all these customer under 'Partner type KU'?
If I am using INVOIC under logical system profile where i can use the same LS for other IDOC messtype like orders, ordrsp,
when I created invoice and attach the output it's not able to determine correct partner profile since we can't give partner role as 'BP' to logical system.
if your message below you mentioned...
"(a) Use the same partner profile which was setup for inbound order (i.e. KU - if you want to go out this way. LS can also be used but depends on the setup you're intending to do. I wouldn't recommend this because I have seen its share of repercussions going into 5 years of support). "
What does above means, in my case what is the best solution to handle 900 Bill-to-party customers for sending invoice.
Thanks a lot.

Similar Messages

  • BADI for EDI Invoice outbound

    Dear experts,
    in my special scenario I would like that in the EDI outbound invoice Batch qty. is not showing for segment E1EDP19 which is showing only the Batch nr. I wanted to use a BADI for EDI outbound invoice which uses the logic for transfering Batch qts. in the IDOC?
    Thanks and advice.

    Hi Ram,
    thanks. Do we have a sepeicifc BADI also??
    When IDOC is passed to the externnal system one uses BAPIs, what about before the IDOC is passed, I want the IDOC
    content(BATCH QTY.), in the SAP itself, to have the Batch qty. passed in the IDOC.
    The standard SAP shows only Batch nr. and not the BAtch qty.
    Thanks and advice.

  • SAP EDI INVOICE OUTBOUND 810

    hey Guys, One of our customers has opted to receive invoices via EDI. We were trying to configure the process. We talk to Partner system thru Gentran.
    1. Can we directly configure system such that GENTRAN doesn't have to do any mapping work and we use it as just a FTP machine??
    2. As far as I understand, we can just create IDOC type INVOIC out of the system and Gentran should then create the EDI X10 format.
    Will appreciate any help.
    Luke

    >>Is there an ABAP code readily available (in this forum or any other public forum) which I could use to generate EDI 810 format Invoice.
    I don't think so.
    @Raj If you are not ready to use GENTRAN then you have to build ABAP program to genarate output in the form of EDI 810.
    This won't be a good idea. By this, you are talking about generating an enitre EDI subsystem capability which would be validating the EDI document and creating it from scratch after mapping data from Idocs.
    It would be better to get this done in some EDI subsystem (Gentrran in your case) or PI. If you use PI and don't want to invest on third party adapters like Seeburger, you may simply use the free EDI XML to EDI converter modules. The mapping from Idoc to EDI xml should be then dine in PI.
    Regards,
    Prateek Raj Srivastava

  • SAP EDI INVOICE OUTBOUND X10

    hey Guys, One of our customers has opted to receive invoices via EDI. We were trying to configure the process. We talk to Partner system thru Gentran.
    1. Can we directly configure system such that GENTRAN doesn't have to do any mapping work and we use it as just a FTP machine??
    2. As far as I understand, we can just create IDOC type INVOIC out of the system and Gentran should then create the EDI X10 format.
    Will appreciate any help.
    Luke

    I'd think these questions should be answered by Gentran, actually.
    If #1 was true then Gentran would probably be out of business. Regarding #2 SAP generates IDoc in SAP's own format and middleware like Gentran takes care of converting this data into EDI standard that is palatable to your EDI partner.

  • Outbound EDI Invoice IDOC

    Hi ,
    I have a requirement for Outbound EDI invoice where  I need to validate something at the control record level and if it fails i need to Error out the IDOC say status 51 or any status in RED with my custom status message.
    I tried raising the exception in my user exit and it did'nt create the IDOC itself but i need the IDOC created with error status. Are there any other User exits in RSNAST00 or even in RSEOUT00 before  i write it to the file.? Basic idea is not to send the IDOC to sub system and reprocess it after correction.
    Any ideas on how to do this is really appreciated!!
    Thanks,
    Naveed.
    Edited by: Alvaro Tejada Galindo on Mar 10, 2008 4:22 PM

    Hi ..
    Am using the process code SD09..
    Veni, The user exits you mentioned, there is no error table to fill with..all i was able to do is raise an exception which is not creating the IDOC itself..
    There is a FM 'IDOC_STATUS_WRITE_TO_DATABASE' that i want to try .it needs the IDOC number but i dont have the IDOC no in any of the user exits in FM IDOC_OUTPUT_INVOIC...i need some user exit beyond that FM..
    Any ideas??

  • EDI invoice failed for Service- multiple tax code at service item level

    Hi Guys,
    Please understand below scenarios, it is very critical to our client.
    purchase order has 3 parent
    line item which having the 3 services with tax code (P1-P1-P1 and P2-P2-P2 and (P2-P1-C1)
    (P1=10%, P2=10% and C1=10%)
    PO Outbound Idoc -
    Similar tax codes(P1-P1-p1 and P2-P2-P2) - Carries total tax amount and
    tax rate at parent level also it carries indvidual service line item
    tax amount and tax rate at service item level
    Mulitple tax codes(P2-P1-C1)- Carries only total tax amount at parent
    level and no tax rate at parent level. It carries indvidual service
    line item tax amount and tax rate at service item level
    SES Outbound Idoc -
    Similar tax codes(P1-P1-p1 and P2-P2-P2) - Carries total tax amount at
    parent level segment and tax rate at parent item level also it carries
    indvidual service line item tax amount and tax rate at service item
    level
    Mulitple tax codes(P2-P1-C1)- Carries only total tax amount at parent
    level and no tax rate at parent level. It carries indvidual service
    line item tax amount and tax rate at service item level
    But while creating the invoice for parent line item which includes 3
    services, it carries correct tax amount(as per PO and SESR) but it is
    asking for tax rate at parent level not at service item level.
    It is working fine for similar tax code at service line item (e.g P1-P1-p1 for 3 services or P2-P2-P2 for all 3 services) but when we use the combination of tax code or multiple tax code at service line items (e.g. P2-P1-C1), the inbound Idoc gets failed.
    Expectation - How EDI invoice posted for mulitple Services under one parent line item which having multiple tax codes at service item level
    Thanks
    Sanjay
    9930851236

    This is an ongoing problem with lots of clients - did anyone solve it ?

  • EDI Invoice with multiple banks

    Hi all,
           I have outbound EDI invoice 810 where there are several banks listed in the Idoc file.
    The bank info is listed in segment E1EDK28 in Idoc basic type  INVOIC02.
    I have 6 of the E1EDK28 segments and the first segment is not the correct bank for the payment.
    How would i get it to list the third  E1EDK28 segment as the first segment ?
    We send the invoice to our customers via EDI.
      Thanks
    Joyce
    Edited by: Joyce Chan on Aug 2, 2011 3:14 PM
    Edited by: Joyce Chan on Aug 2, 2011 3:15 PM

    Hi,
    In the delivery header table LIKP, the field EXNUM is the key between the foreign trade tables EIKP and EIPO, as the foreign trade
    information are not stored on the delivery itself.
    During the delivery creation, system checks the country of the shipping plant and the country of the ship-to party. If these two are
    not the same, the foreign trade routine kicks-in and an EXNUM is assigned.
    During the invoice creation, system checks your "Det. export segment" (EXPIM) setting in Copy Control.
    1. If it is blank, the system refers to the same EXNUM for the FT data in the invoice (similar scenario as the delivery, however, the
       EXNUM from LIKP is moved to VBRK but it points to the same entries).
    2. If the value 'A' is used, then the contents of fields to which EXNUM points are copied but given a new EXNUM stored in VBRK   (this is used to avoid an invoice split when combining deliveries).
    3. If the value 'B' is used, the the system knows that EXNUM from the source document is to be ignored and the systems runs the FT routine to read the values anew from customizing. This is the value which is ordinarily used for a order-related billing.
    In the standard system when the copy control is set to " " this usually causes an invoice split as EXNUM is a split criteria so Instead of one invoice created, seperate invoice would be created for each delivery based on the deliveries EXNUM.
    Your setting should be either "A" or "B" in order to avoid the split
    Please check with your consulants and decide which settings best suit your business enviornment.
    Can you please review your copy control settings in VTFL:
    VTFL Delivery <-> Invoice
    Alternatively, create your own data transfer routine where you can clear the value in the copy to avoid the invoice split.
    Unless you do either of these actions the invoices will always split because the exnum is determined for each delivery as they are created.
    Thanks,
    Alex

  • EDI Invoice before Goods receipt

    Hello ,
    Purchase orders are created in the system with GR based IV checked and the purchase orders are sent by EDI to the vendor .
    The vendor ships the material and also send the EDI invoice . Since GR is not posted in the system by that time , EDI invoice is failing in our system .
    We have explored the option of  turning  off GR based IV and have only GR checked so that Goods receipt and Invoice receipt can happen in parallel.. but business wants to have GR based IV .
    Is there a way to delay the posting of EDI invoices in our system ? It is not a perfect solution , but this will minimise the EDI invoice failures in our system .
    Thanks
    Mani

    Hello,
    This is a common situation faced by many custmers. EDI Invoices can be created without GR. So LIV fails. This can reset for LIV (RKBP-RBSTAT = 1) by using MIR6. You can automate this by developing and running a custom program for MIR6 prior to LIV job. 
    Thanks,
    Venu

  • Goods receipt and EDI invoice

    Hi all,
    I have a problem concerning receipts of EDI invoices and goods.
    Frequently our vendors send their EDI invoices to us before we get the goods.
    As we process the inbound EDI-invoices they are stuck in BD87 as an EDI-error saying that the PO haven´t been completely goods recipt.
    Is it possible to allow the EDI-invoice to be processed through the EDI-layer and get stuck with some blocking code in MIR6 even if the PO have items left to be delivered? If so, how do I do it?
    best regards,
    Glenn

    Hi Glenn,
    in the PO - invoice tab - you can find a field called "GR-Based-IV". When this field is checked - it means that the system expects GR first and then IV. When this field is not checked - IV can be entered before GR - but then the Invoice will have to be released after GR.
    In other words - try to un-check the field GR-Based-IV and see if it solves your problem.
    Hope this helps,
    Isaac

  • EDI Vendor outbound payment advice, idoc do not contain RE in the header

    Hi,
        I am facing a critical issue on EDI vendor outbound payment advice idoc. Actually the IDOCs which i created do not contain the “RE” in the header record. This mandatory qualifier is located just before the SAP ID. The IDOCs which i created got error out and not translate.
    Example -    LIRE0001000922
    Can anybody tell me that how can we get this RE mentioned in the above idoc no. I want this RE to be come when the idoc is created.
    Point will be awarded.

    Hi Rajesh,
    If everything is maintianed, i think the problem is with the file that your are uploading.  Please check the file.
    And also check whether the data record is maintained.  For Field Name "PARTNER_Q" youa have to assign the :QualPart" RE (biil-to-party) in the data record.
    Check these things and i hope it solves your problem.
    And you can contact me at [email protected]
    Thanks
    ~Rajesh

  • EDI Invoice (inbound)

    Frnds
    we are receiving EDI invoices form one of the vendor, so he just sends a file of the invoice and it get posted in SAP
    But the issue is that for one invoie,two invoices are generated with all the same inforamtion.
    I mean one invoice is poste 10000 and another invoice 10001 will be posted with the same informaiton which is posted in 10000, even reference number remains the same.
    why it is happening, shouldnt SAP stop the duplicate invoice entry?
    under vendor master record, Duplicate invoice indiacator is ON
    please let me know any input

    Hi,
    Normally, your Middleware system (XI, etc) puts control on duplication of invoices.
    As you mentioned SAP is posted with two invoice numbers10000 & 10001it does mean it is not a duplicate invoice. Your reference number is a text field but not a primary key field.
    Please check both the invoices with the respective P.Os
    Regards,
    Murali

  • Trying to get EDI Invoices working for purchasing

    I am trying to setup inbound Invoice processing using an INVOIC01 IDOC, Process Code INVL.
    As far as I can tell from my searches on the internet and from other sources, I have a syntactically correct IDOC and all of my config is correct, however I get the following message in workflow when I try and load the IDOC:
    Item 00010 for purchasing document 4500321129 not selectable
    I am a novice to the MM side of things, and am not sure exactly what this line means. I am testing against asingle line order. Using WE19, I see the following:
    On the E1EDP01
    Document item        00010     
    Action                         
    Item Category        0         
    Order ackn.req.                
    Quantity             1000.000  
    Unit of measure      CS        
    Quantity             1000.000  
    Price UoM            CS        
    ***. quantity                  
    Net price            6.99      
    On the E1EDP02
    Qualifier            001        
    Document             4500321129 
    Document item        00010      
    Date                            
    Time                            
    BSARK                           
    IHREZ                           
    Also, I just want to verify that I am correct in one assumption that I am making. I am assuming that I can bring in a INVOIC01 as a parked invoice against an Purchase Order which has not had the goods receipt. Is this correct?
    Thanks, Rick

    Richard,
    For your line item issue, check the PO/line item to confirm the line item has not been deleted.   If it is an active line item the other thing I would check would be the price (confirm it exists on the pricing conditions) .
    During the EDI invoice posting process if the PO/line item is set as GR based-IV the idoc will fail if no GR has been made.   Once the GR has been done, the idoc can be reprocessed manually via BD87 or via a scheduled job.
    Regards,
    Sandra

  • EDI invoice idoc error "Enter a tax code in item 000001"

    Hello,
    I am trying ot post the EDI  invoice but the idoc getting failed by giving error "Enter a tax code in item 000001".
    Even i entered the tax code in my idoc, system not taking and also as i have maintained the table OBCD & OBCE but system not consider it.
    If i maintained the tax code in my PO then it is posting the invoice with PO tax code sucessfully.
    Please let me know, Is their any other setting needs tobe done for idoc to post the invoice without maintained TAX CODE  in PO ?
    Thanks in advance
    Regards,
    Satish

    No option available .you have to maintain tax code in PO.
    Try your luck with following option Still not sure as it works only if you call transaction MIRO
    OLMR -- incoming invoice -- maintain default value for tax codes

  • Incoming EDI Invoice INVOIC02 - Payment Terms

    I am testing a scenario for incoming EDI invoice. Which segment\field does the payment term come in? Does it need to be mapped to a SAP payment term in some table? Will this payment term override the one copied from PO at the time of Invoice Receipt?

    Hi,
    It is stored in the field ZTERM of segment E1EDK01. This should be same as defined in OBB8 in SAP.
    This will override the other defaults.
    Regards,
    Gaurav

  • EDI Invoice printing

    Hey all you Oracle experts,
    Hopefully simple question here surrounding Invoice printing and EDI.
    In our current setup we print most of our invoices on a daily basis, and the image generated through BI publisher gets archived successfully.
    We have recently been required to enable EDI transmission for a subset of invoices.
    Well what is happening is when the EDI submission is completed, the program is updating the transaction print pending flag to 'N' (and possibly other flags not yet identified).
    So our print of the transaction is failing.
    We need to submit the transaction for EDI and continue printing as normal on the transactions.
    Any suggestions on how to setup out of the box and avoiding some custom code?
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0
    Thanks,
    Hayden

    Hi
    Assuming it is R12 , it is best for you to compare the two invoices from back end. An EDI Invoice and other one which is successfully printing after completing the invoice manually. That should give you pointer.
    Other than that the only thing I can think of is transaction type , check if all the flags for EDI Invoice and normal invoice is same on the AR TT screen.
    Thanks

Maybe you are looking for