Outbound EDI Invoice

Hi Guru,
I have requirement for devloping interface for outbound invoice that is IDOC to be passed on to the middleware(here it is <b>Biztalk(EDI subsystem)</b>).
Port configuration is given,
RFC is done,
1>Does I need to ask for partner profile bcoz in this case IDOC has to go to   Biztalk(EDI subsystem) then Biztalk will send this to the partner.
2> Data mapping sheat is given by the onsite team.
3> <u>Invoice creation and IDOC generation:</u>
                                            Whenever invoice is created by  VF01 then IDOC is created and sent to the Biztalk(EDI Subsystem).
The invoice IDOC will contain only those fields which are given in the Data mapping sheet and all the fields are available in the INVOIC01 Idoc type.<b>so how to get the IDOC that will contain only those required fields?</b>
And what are the other steps that are required to achieve the Outbound INOICE scenario? Does i need to ask for output types and message control configuration but there is no condition is given in FS for IDOC generation.
Please help me out.Your input is highly valuable to me so please send me step by step procedure.
Thnks
Prince

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??

Similar Messages

  • 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 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 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.

  • 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 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 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

  • How to define the character set of an outbound EDI batch in BizTalk 2010?

    I have some EDIFACT files with a character set of UNOC though lowercase strings and umlaute should be allowed. These files should be batched in an outbound EDIFACT file. But the batching orchestration of the related send port throws some validation errors.
    If I convert the strings to uppercase characters everything's working fine. So it seems that the outbound batching orchestration uses the UNOA character set internally for the validation of the EDIFACT files...
    How can I change the character set of the outbound batching orchestration in BizTalk 2010? No settings found regarding the character set of outbound batching orchestration in the party and agreement configuration so far. Thank you

    Hi Philipp,
    To define a character set in EDIFACT,
    UNA segment is used. After defining see, How Validation of an EDI Interchange Is Configured and Outbound
    EDI batching in BizTalk Server 
    Maheshkumar S Tiwari|User
    Page | http://tech-findings.blogspot.com/

  • 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

  • Receipt of EDI Invoices in Mexico according to CFDI

    Hello,
    Has anyone faced any problems with incoming EDI Invoices that are now (from 2014) aligned with CFDI in Mexico?
    My doubts are:
    1) Does EDI std carry any special information that CFDI forces ( e.g. the electronic stamp that PAC delivers?)
    2) Is the invoice receiver obliged to do any control before accepting and paying the invoice? (and if this should be automatically supported in EDI Invoices)
    Anyone who has got such a flow up and running - please share your experience!
    Thanks!
    Tomek

    I might be wrong but i have one doubt, it is more or less like credit card payment scenario where a minimum payment is due and you can pay the rest later on..(though the interest part is not there )...now when you are maintaining the payment terms in Customer Master..at a time only one terms of payment will be maintained.
    Customer can go for the payment as & when he wants to pay in that particular period, so you will not be able to pick the other conditions applicable...what i think is that you have to maintained the terms of payment somewhere else...or hardcode them...mention that if the payment is before 24th of the month in which the invoice was created then pick a particular term of payment or else other.
    Correct me if i am wrong.
    Regards,
    N

  • Inter compay EDI invoice error "Enter G/L Account No. Message no. ME083"

    Hi Friends,
    There is one IDOC in to error with the error message of "Enter G/L Account No. Message no. ME083".
    This IDOC is an intercompany EDI Invoice and I have checked the configuration of EDI intercompany in OBCA, OBCB, OBCD, OBCC, OBCE. The settings are maintained properly.
    Can any one let me know what is the problem and how to resolve this?
    Many thanks in Advance.
    Regards,
    Abdul

    Dear Karthik,
    There was an logic in the idoc processing for the text segment of the idoc.
    If some text/number avaialble in this segment (text) then system will check for the first 4 characters as chart of accounts and next 3 characters as transaction and look for the GL account in the T030 table of the OBYC.
    In my case there was a space (more than 4+3=7) and system was taking 4 spaces as COA and 3 spaces as transaction key and looking for the GL account in T030 table. And unfortunately there was an blank entry in T030 table and due to this system unable to find the GL account for this combination (Spaces).
    To resolve this issue go to SE16 and give table name EDID4 and give the segment name (segment of text field) and idoc number and search. You will get all the text related segments and try to find the segment having Space before the text/numeric filled in that segment.
    There after edit the IDOC and remove the space from the text field of the segment and try to re-process the IDOC from BD87 transaction code.
    Regards,
    Syed Abdul Mazid

Maybe you are looking for

  • Mac Book no longer syncs calendar with iPhone or iPad

    Since I upgraded to mountain lion my mac book no longer syncs calendars to my iPhone or iPad.  I have tried the procedure of deleting the calendar cache in the Library folder to no avail.  Any other suggestions?

  • Wrt54g v8 router not working

    I am trying to use the wrt54g router.  I have spent hours and hours on the phone with linksys, and finally got it to connect to my dsl.  Now when I go to the internet, the msn page will come up, but if you try to go anywhere it sits in limbo.  Maybe

  • Location of "any" packages in a local repository structure

    Hello, I have searched for an answer to this but have been unable to find one. I want to build a personal repo for some packages. I have read how to do this using repo-add but I am unclear on where architecture-independent packages should be stored.

  • Calibration inspection lot

    Without Cost center, is it possible to schedule and release inspection lot 14 for instrument calibration. I tried without CC, but inspection lot has not triggered, if i give cost center either in work center or equipment data, then every thing is hap

  • Integrate forms with Java

    Hi, Is it possible to Integrate forms6i with Java Beans my requirement is to show a Java Bean using "Bean Area" component in Forms6i client/sever. If is possible please provide me with some samples Thanks, Ali