IDOC SD INVOICES

Hi all
First post here.
My society needs to implement a not-very-standard flow:
we have a third party society (with SAP R/3 release 4.7) which make us the logistical process ( SD orders->delivery->invoices ) and the financial module; from the 2008 all the financial module (with CO) has to be passed to our SAP R/3 (4.6C). Our intention is to use IDOC for generate data in our system.
The points are:
1 - For time, managemant and money problems we dont copy SD orders and delivery; our intention is to transfer with idoc MM movements for alignment between the stocks and SD invoices (these, after,will generate the FI documents for the financial necessities). We copy SD invoice and not directly FI/CO documents for statistical reasons.
2 - My problem is with the invoices; i know SAP permit to bill external documents without delivery or SD order using to general billing interface and that this process use the function module GN_INVOICE_CREATE. My intention is to use the type message INVOIC with the process SBII (i make a Z. of this process with Z. function removing all the blocking controls on the deliveries) which also use the GN_INVOICE_CREATE. Shortly the partner send me his invoice with INVOIC02 format like a customer, but i register the INVOIC not as a MM invoices but i create a SD copy how external billing.
3 - We prefer use external numeration for the SD invoices, so to take our partner numeration (perfect alignment between the systems,  possibility to register in error case with the same number in the past).
The questions are: the point 2 is practicable with IDOC? The point 3 (external numeration) also?
Thanks
Davide

Hello Jelena,
Totally agree with you,
please let me share the actual process :
- sales orders are created in an external system that will send them to SAP (via Idoc).
- sales order are invoiced in SAP,
--> if there is a modification that occurs on external system on the sales order , the SAP SD invoice should then be canceled, SD order updated and then re-invoiced.
This is the behavior requested for the moment
If you have any advices Thank you in advance

Similar Messages

  • IDOC for Invoice/Billing document

    Hi Experts,
    Some of our customers want us to send electronic but no paper invoice to them in the coming week.
    I've investigated the process, steps are:
    1. Do some configs for message type of billing document
    2. Create KU partner profile and set outbound parameters, include Port / Basic type / Message type / Process code.
    If you have experience about this (IDOC for Invoice/Billing document) ? please kindly share the detail for me.
    Thanks in advance.
    Regards
    Sam

    Hi,
    Please check [https://supplier.intel.com/static/ap/forms/imp_gid2.doc|https://supplier.intel.com/static/ap/forms/imp_gid2.doc] this.
    This might help you.
    Thanks,
    Abhijit

  • Using INVOIC01, IDOC posts invoices against POs that weren't sent to vendor

    Does anyone have any suggestions on how to prevent the IDOC INVOIC01 invoices from posting against POs that were not originally sent to the vendor??  (BSART = INVO)
    For example, vendor (1521) sends an electronic invoice file processed as an IDOC.  Vendor 1521 includes an invoice against a PO that was sent to vendor 7549.  Since the PO exists, the IDOC posts against it.  I want to make this a hard error (a 51 status).
    Please help,
    Cindy

    Hi Cindy,
    If you are using a standard process code for this interface, you will not have this sort of problem as the combination of Vendor and PO number are validated before that is posted. If you are using a custom stuff then you need to check the table EKKO by passing the vendor number and PO number as input to that, if that combination exists go ahead otherwise throw the idoc into 51 status.
    Thanks,
    Mahesh.

  • How to generate an idoc from invoice cancellation (VF11)

    Hi
    How to generate an idoc from invoice cancellation (VF11)?
    Can someone help ..
    Regards
    Pratiksha

    Hi,
    You can generate an IDOC from invoice cancellation.Define a new "Z" output type for this cancellation billing document type and select the medium as 5(EDI).Check with your ABAPer for this.
    Regards,
    Krishna.

  • Filling up segments of Idoc of Invoice List

    Hi!
    Invoices and Invoice List are beeing created... everything would be fine, but some fields are missing in the Invoice List while existing in Invoices.
    I guess I need to find the code where these fields are filled up for Invoices and to add this code to appropriate place for Invoice List. How to do this?
    I think that needed segments are existing for Invoice List, just not filled up...
    By the way, how to find out Idoc number of Invoice List? If I have it, I could compare segments with Idocs of Invoices.
    Any ideas?
    Will reward,
    Mindaugas.

    I saw the Function module -
    Please look at code at :
    Include program : LVEDFF0R
    FORM REDUCTION_TABLE_CREATE.
      PERFORM IDOC_SEGMENTS_READ.
      PERFORM IDOC_ACTIVE_SEGMENTS_SET.
    ENDFORM.                    " REDUCTION_TABLE_CREATE
    Keep the break point at form routine and debug the the function module
    If you do not know how to do debugging then use following way :
    keep the break point in form routine above as i said
    Create invoice or invoice list
    when you maintain output type in invoice or invoice list -
    Now click on Further data ->select peridoc scheduling-> back and save it.
    Run RSNAST00 Program
    Output application : V3
    Object key : Invoice or invoice list number
    Output type : RD00 or LR00
    Medium = 6(EDI) ,A (ALE)
    when you execute the program and it will goto debugging.
    Thanks
    Seshu

  • Difference between Idoc ACC_INVOICE_RECEIPT03 & INVOIC

    Hi
    I am a total FI ignorant (I know SD so I can answer questions there!); I was asked to think of an interface that posts AP invoices.
    Some invoices have a purchase order (and we need to finish the MM flow) so the interface can use Idoc INVOIC01/02 I believe. But some invoices do not have a PO number and need to be either posted or parked.
    Can I use the same Idoc for that (with dummy PO), or should I use ACC_INVOICE_RECEIPT03 ? of course I would prefer to use the same Idoc for everything if possible...
    I don't understand the difference between the 2 Idocs.
    Thanks for your help.
    Agathe

    Hi,
    Chekc the IDoc received, may the amounts are in proper format, check with the ABAPer for correct format.
    VVR

  • Inbound IDOC for Invoice failing at segment-E1EDK28- Incorrect BankAccNumbe

    Hi SDNers,
    We have  EDI - Invoice/Invoice Processing.
    Inbound Idoc failing  at segment E1EDk28.
    This is because  in segment E1EDK28 ,
    1. The field ACNUM has the value for Bank Account Number as N111111A.
    2. This is incorrect.
    3. This field should have had the value for account number as 0000N111111A.
    4. But for some reason the pre-zerou2019s are removed .
    5. When we check the process code IDOC_INPUT_INVOIC_FI, and  IDOC_INPUT_INVOIC_MM, and the table LFBK the value is     saved as 0000N111111A.
    But why in IDOC it is getting seen as N111111A?
    Please guide as to where i need to look for the solution or fix.
    Where should i look for the fix for this issue.
    Regards,
    SuryaD.
    Edited by: SuryaD on Nov 24, 2009 7:01 PM
    Edited by: SuryaD on Nov 25, 2009 9:21 AM

    Hi Navitha,
    Thanks for your response.
    I had checked the exits to see if the field ACNUM is changed anywhere while debugging.
    It wasn't getting changed anywhere.
    In fact the user and the ticket creator had the assumption that the Vendor Bank Account number (in case of the Inter company billing) is maintained in vendor master (XK03) or LFBK or KNBK.
    the y thought IDOC is picking the ACNUM from one of the above three place.
    They were checking the Bank account number from the above 3 places  and since here it was maintained as 0000N111111A while in IDOC it was showing as N1111111A they had all this confusion.
    In fact the IDOC segment E1EDK28 picks the ACNUM from SPRO->Financial Accounting-> Banking->home bank.
    Here we checked and found that the Bank Account Number was maintained as N1111111A and we changed it to 0000N1111111A and the IDOc segment E1EDK28 picked it correctly.
    Issue got resolved.
    Thanks for your input.
    Regards,
    SuryaD.
    Edited by: SuryaD on Nov 25, 2009 10:29 PM

  • Parameters for IDOCs - Incoming Invoices

    Hi All,
    We are able to post Incoming Vendor Invoices(T. code : MIRO) thru IDOCs. We would like to extend the functionality for Credit memos in Logistics Invoice Verification (LIV) as well.
    Request you to provide us the changes/parameters, which we would need to make to achieve desired functionality
    Thanks & Regards,
    Anji

    Hi Anji,
    Would you pls give the idoc names for Invoice posting & Credit memo postings.
    Regards
    Basavaraj Patil

  • IDOC for Invoice Issue from Delivery

    Hi All,
    We have requirement in which we need to trigger an IDoc after PGI is done to create an Invoice.
    I want to know the BASIC TYPE , Outbound Function Module and Inbound Function Module which should be used?
    Kindly help.
    Regards

    Hi shivram,
    Thanks for the reply.
    I want to create an invoice from delivery so i think i cant use this.

  • User exit for IDOC in INVOICE

    Hi all,
    I need to add a value in a custom IDOC segment for INVOICE. The IDOC basic type used is INVOIC02. Is there any user exit which I can use to populate the IDOC data? Any help will be greatly appreciated.
    Thanks,
    Lalyn

    Hi Lalyn,
    I do not have an exact code for this.
    But just go through the following code, where we are doing some validations in the segments.
    Code below this line was to exclude ZRTN materials for which Subtotal 2 (KZWI2) is zero. And,
    this is done for billing types:
                                   ZEXP,
                                   ZXAD,
                                   ZXDR,
                                   ZXL2,
                                   ZXG2,
                                   ZXPT.
    IF INT_EDIDD-SEGNAM = 'E1EDS01'.
      ZE1EDS01 = INT_EDIDD-SDATA.
      IF ZE1EDS01-SUMID = '001'.
    Start deleting when on 1st E1EDS01 segment
        DESCRIBE TABLE INT_EDIDD LINES POS.
        LOOP AT XTVBDPR.
          CLEAR MARA.
          SELECT SINGLE MTART MATKL FROM MARA INTO            "DV2K920646
          (MARA-MTART,MARA-MATKL)                             "DV2K920646
          WHERE MATNR = XTVBDPR-MATNR.     " Find material type MTART
          IF XVBDKR-FKART EQ 'ZEXP' OR XVBDKR-FKART EQ 'ZXL2' OR
             XVBDKR-FKART EQ 'ZXAD' OR XVBDKR-FKART EQ 'ZXG2' OR
             XVBDKR-FKART EQ 'ZXDR' OR XVBDKR-FKART EQ 'ZXPT'.
            IF MARA-MTART = 'ZRTN' AND XTVBDPR-KZWI2 EQ 0
             AND MARA-MATKL <> 'KEGS DM'.                  "DV2K920646
              MOVE XTVBDPR-POSNR TO POSNRS-POSNR.
              APPEND POSNRS.               " Store ZRTNs to be deleted
            ENDIF.
          ENDIF.
        ENDLOOP.
        DESCRIBE TABLE POSNRS LINES COUNT.
      Reduce the number of line items by the number of them to be deleted
        ZE1EDS01-SUMME = ZE1EDS01-SUMME - COUNT.
        SHIFT ZE1EDS01-SUMME LEFT DELETING LEADING SPACE.
        INT_EDIDD-SDATA = ZE1EDS01.
        MODIFY INT_EDIDD INDEX POS TRANSPORTING SDATA.
        LOOP AT INT_EDIDD INTO IEDIDD.     " Loop and delete if in POSNRS
          IF IEDIDD-SEGNAM = 'E1EDP01' OR IEDIDD-SEGNAM = 'E1EDS01'.
            CLEAR DELETE_FLAG.
          Reset delete_flag when on next line item or done with all
          ENDIF.
          IF IEDIDD-SEGNAM = 'E1EDP01'.
            ZE1EDP01 = IEDIDD-SDATA.
            READ TABLE POSNRS WITH KEY POSNR = ZE1EDP01-POSEX.
            IF SY-SUBRC EQ 0.
              DELETE_FLAG = 'X'.
            Set delete_flag if the line item is to be deleted
            ENDIF.
          ENDIF.
          IF DELETE_FLAG = 'X'.            " Delete the line item fully
            DELETE INT_EDIDD.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDIF.
    At this function module, you have to create an include and write your code.
    But remember, before that you have to extend your basic type.
    Hope it will help you.
    sailesh

  • Exit for Inbound IDOC for Invoice

    Hello friends,
    I recevie a IDOC and the Invoice is created with the data in the IDOC.
    The invoice is created at the
    FM - IDOC_INPUT_INVOIC_MRM
    and within the FM - MRM_INVOICE_CREATE.
    The document # is e_belnr.
    My requirement is to Save the IDOC_DATA as  Image and I have Developed a FM to create a Image from this IDOC data. However I am looking for an USER EXIT  where I could capture the document Number and do it further.
    ANy Suggestions.
    Ster

    Hi you may want to check the  enhancements  RMVKON00  &  MM08R002.

  • IDOC INPUT INVOIC FI Issue (Cross Company Sales)

    Hello All,
    As you know  this  IDOC posts the FI document for the cross company sales in the receiving company code.
    I have found some business issues that I need advice for:-
    1. If part of the sale has "free good" then SAP is grabbing the "cost price VPRS" from the billing document.
    2. No material numbr from the SD billing document is added into the FI item. When I display the FI document the material is in the screen control. I guess I may need to use a userexit that allows me to add it manually in the field or as a text item.
    3. CO-PA posting doesn't exist for the FI document as SAP advises that the GL account in OBCB is not a cost element. If I added the GL as a cost element then I would need to use a substitution or userexit ... to then change profit centre, etc. Note, if costs are not going into CO-PA then this will show  incorrect sales profit figures, as cross company invoice is flowing into CO-PA.
    4. Italy "free goods" have VAT charged, so I'm thinking that the IDOC cannot be used for Italy as mentioned in (1) above.
    Looking for some handy advice.  Note I have seen IDOC questions here and in SD, so not too sure this is the best place.
    Regards and Thanks
    Waza

    hi
    In Segment E1EDK01 there is a field EIGENUINR which holds the VaT number.
    Regards
    Prajwala K.

  • IDOC for Invoices

    Anyone out there able to help with an idoc data list for an invoice list
    output from SAP.
    Record format example
    001 Header-- Shipping/bottler loc 1001 total invoices 2, total qty--50
              005 Ticket/Invoice header --1
                        010 Invoice detail -- item 100-- qty 10
                        010 Invoice detail -- item 200-- qty 20
              005 Ticket/Invoice header --2
                        010 Invoice detail -- item 300-- qty 5
                        010 Invoice detail -- item 200-- qty 15
    For the above format I need which Basic IDOC type can I use?
    Pls help

    Use WE30 for seeing Idoc with segment
    INVOIC01 and INVOIC02
    below link might help you.
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    <b>Reward points</b>
    Regards

  • Enhancing standard IDOC for invoice posting

    Dear All,
    I have a requirement where IDOC_INPUT_INVOIC_MM, which a standard inbound function module to post invoices through PO, is used. In addition to the standard functionality, now the requirement is that, if PO is blank then PO would be created using BAPI_PO_CREATE, followed by goods movement by BAPI_GOODSMVT_CREATE, finally invoicing posting would be done using BAPI_INCOMINGINVOICE_CREATE. Pls suggest how to add this functionality in the given standard Inbound IDOC.
    Regards
    Anand

    Hi Anand,
    U can create a Z function module  copy of that IDOC_INPUT_INVOIC_MM.
    Here put the condition
    If PO is blank
    ucan call PO Creation BAPI,GM BAPI and Invoice BAPI
    Else.
    Normal process
    endif.
    Assign ur Z functionmodule to Processcode.
    It will resolves ur Problem.
    Regards,
    Venakt.

  • Which kind of IDOC for invoice posting ?

    I have a requirement where I have to look at the incoming IDOCS send by vendors through EDI. Now if the IDOC posting fails to create invoice, I have to create a custom report for all the failed invoices posting (status 03).
    My question is when the vendor will send invoices via EDI IDOCS, will that be INVOIC01 or INVOIC02. Because I will be reading segment data of these invoices to create the report.
    Also, can someone guide me through as how to create data for incoming INVOICES IDOCS for testing purpose ?
    Regards,
    Rajesh.

    Solved myself

Maybe you are looking for

  • Not possible to open/create a new connection within BT manager on Satellite M40

    Bluetooh manager is open and present in system bar. However it is never possible to open/create a new connection within bluetooth manager as it always say "bluetooh is not ready". Troubleshooting is required but no clear indication is available; butt

  • HP 100B All-in-one PC Windows 8 Blue screen Keeps Restarting

    I am working from an HP 100B All-in-one PC running Windows 8 Professional; it is a workplace computer that I use for office work and such. I have been having the problem of my computer restarting and giving me a blue screen in the middle of trying to

  • What is Newsstand and why does it say Music instead of iPod?

    I just did a big update and when I cam back, my ipad now has Newsstand and I can't get rid of it.  More stuff I should purchase?

  • Token ring

    can anyone explain in an easy way how this works, do people still use it, do you still need a switch to set this up or is it from pc to pc ? thanks

  • Actionable Emails

    Hello, I just want to clarify something: when a response is received at the address of the Actionable Email (say, Approved), should it then continue with the workflow? Or will someone have to process that email in the Actionable Address? I've configu