Distinguishing between IDocs for Delivery, Shipment and Invoice

Hi Experts,
I have a requirement where I am triggering IDocs from SAP for Delivery Document, Shipment and Invoice and sending them to a third-party middleware everytime they are created in SAP, by configuring output types for these documents.
I want to know if we have any field in these IDocs's Structures that can be used to distinguish between the different documents such that we can identify which document has been received based on this field (or combination of fields)?
I tried to use Document Category for this purpose, but this field is not available in Invoice and moreover, the IDoc Segment names are different for every IDoc's message type.
The key point here is that I am not allowed to do any sort of Customization in SAP to achieve this and I can only go about using the Standard Functions inherently available in SAP.
Please suggest a possible solution for this predicament of mine.
Thanks in advance.
Regards,
Keerthi

Hello Keerthi
I do not see where the problem lies.
We exchange via FTP share  similar documents with one of our logistics partner:
Inbound delivery (VL33N) => sent as DESADV.DELVRY03 => converted on SAP-XI to TRADACOMS ORDHDR => file suffix .LTI
Shipping Order (VL03N) => sent as SHPORD.DELVRY03   => converted on SAP-XI to TRADACOMS ORDHDR => file suffix .LTO
I am not a fan of functional file names yet if the third-party tools is not capable to distinguish between the documents based on their contents at runtime then we need old-fashioned unique file suffixes.
Of course the two ORDHDR messages can be distinguished based on their contents. The message contains a TYP segment with the following qualifiers:
TYP/TYP2 = '0430' = (shipping) order (= outbound delivery)
TYP/TYP2 = '0660' = inbound delivery
From this logistics partner we receive two different kinds of DLCHDR (delivery confirmation) messages:
TYP/TYP2 = '0670' = Proof of Delivery for (shipping) order => mapped to STPPOD.DELVRY03
TYP/TYP2 = '0695' = Goods receipt for inbound delivery    => mapped to WHSCON.DELVRY03
The files have different suffixes yet they are not evaluated. SAP-XI just picks both messages and evaluates at runtime whether it has to transform the DLCHDR into a STPPOD or WHSCON IDoc.
Regards
  Uwe

Similar Messages

  • Extended Idoc - User exit for delivery VL01 and Invoice VF01

    Hi Experts,
    We are developing Extended Idoc for order - cash cycle.The extended Idoc contains 4 extra fields.
    I want to know the User exits where i can populate the extended segment field values for VL01 and VF01 transactions.

    HI
    exits available for  VL01.
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc
    V53W0001                                User exits for creating picking waves
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot
    V53C0001                                Rough workload calculation in time per item
    V50S0001                                User Exits for Delivery Processing
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List
    V50R0002                                Collective processing for delivery creation
    V50R0001                                Collective processing for delivery creation
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields
    V50PSTAT                                Delivery: Item Status Calculation
    V02V0004                                User Exit for Staging Area Determination (Item)
    V02V0003                                User exit for gate + matl staging area determination (headr)
    V02V0002                                User exit for storage location determination
    V02V0001                                Sales area determination for stock transport order
    For VF01..
    Enhancement
    V61A0001                                Customer enhancement: Pricing
    V60P0001                                Data provision for additional fields for display in lists
    V60A0001                                Customer functions in the billing document
    V05N0001                                User Exits for Printing Billing Docs. using POR Procedure
    V05I0001                                User exits for billing index
    SDVFX011                                Userexit for the komkcv- and kompcv-structures
    SDVFX010                                User exit item table for the customer lines
    SDVFX009                                Billing doc. processing KIDONO (payment reference number)
    SDVFX008                                User exit: Processing of transfer structures SD-FI
    SDVFX007                                User exit: Billing plan during transfer to Accounting
    SDVFX006                                User exit tax line in transfer to accounting
    SDVFX005                                User exit reserves in transfer to accounting
    SDVFX004                                User exit G/L line in transfer to accounting
    SDVFX003                                User exit cash clearing in transfer to accounting
    SDVFX002                                User exit for A/R line in transfer to accounting
    SDVFX001                                User exit header line in delivery to accounting
    J_3RSINV

  • Difference between IDOC for creation, change and deletion

    Hi,
    As per the requirement, an IDOC will be generated for PO, Vendor Masters and Goods receipt when ever a PO or Vendor or Goods receipt is created or changed. How can we identify whether the IDOC has been created for creation or change of a particular thing? Is there any identifier where in we can check whether the IDOC generated is for creation or change?
    And also how to identify that a particular PO or VM or GR has been deleted or cancelled?
    Thanks & Best Regards,
    Phani.

    hi,
    to check the idoc status ie idoc created or changed --use transaction WE05
    we02 to diplay idoc
    please rewrd points if helpful,
    shylaja

  • Reg : change pointer mechanism for triggering the IDOC for delivery note

    Hi ,
    I am working on a change pointer mechanism for triggering the IDOC for delivery note and will be using this message class DESADV.
    So SAP has suggested for assigning the message class DESADV with the function module in MASTERIDOC_CREATE_SMD_DESADV in BD60 transaction code.
    So I was looking to create this MASTERIDOC_CREATE_SMD_DESADV function module in SAP and SAP suggesting that  we should create this MASTERIDOC_CREATE_SMD_DESADV function module as same as the function module MASTERIDOC_CREATE_SMD_MATMAS.
    So do anyone knows that is there any tool has been provided by SAP for creating this function module MASTERIDOC_CREATE_SMD_DESADV in SAP system for triggering the change pointer mechanism for outbound Delivery.
    Thanks !
    Regards,
    Kiran

    Hi,
    When you are change pointer the system itself will take care of sending the changed master data to your partner system and the user will not have any intervention.  If you really wanted to have that then you need to use the change pointers to read the master data which is modified in a custom program and then display that on the screen.  Once the user selects that master data records then trigger an IDOC for creating the idoc for that master data and also flag that master data record as processed in the SAP BDCPS standard table, so that the same record will not be picked. If you wanted to know how the change pointers piece of code is written go through the program RBDMIDOC and you can understand how the change pointers logic is written.
    Thanks,
    Mahesh.

  • Change Picking data, then call Delivery Note and Invoice in the background

    I have designed a GUI where the picking data (from table LIPS) is changed.  Now my SD consultant wants the program, when a SAVE or CONTINUE button is clicked, to do the Delivery Note and Invoice in the background.
    To quote:
    Your progrm must change the values in the delivery in txn VL02n, when the delivery is saved it updates LIKP and LIPS amongst othr tables. When the invoice / billing doc is created it is done with ref to the delivery. Billing doc created using txn VF01, the main tables of the billing doc are VBRK (header) and VBRP (item).  And for completion sake, tables VBAK and VBAP are the sales order tables!
    In my PAI module, how do I do the calling of these two functions?
    The consultant suggested I use a BDC. Why can't I use Call Transaction.... ?   What is the best way to do this?
    At the moment, my SAVE button updates an internal table of LIPS, and for test purposes it exits to List Processing to test if the amounts changed correctly.
    Hope someone can help.

    Hi
    Ok.
    Do you mean "Accual GI Date" in Item overview ?
    I have performed a test. When I check "Goods Issue delivery" indeed it has posting date in the past.
    Now for the invoice:
    I set
    "Billing date"
    "Serv. rendered" date
    and "Prining date" in the past.
    Would it be enough to post everything in the last month ?
    regards
    Rafal

  • PO to delivery, PGI and Invoice(profarma) in Background

    Hello experts,
    when I am saving the PO(purchase prder), In background (Automtically) should create Delivery, PGI and Invoice(Profarma Invoice).
    In PO Base price should pick  from Legasy system, same price should reflect Invoice, But in Invoice Excise duties should pick from sap R3 system based on Condition Records. with reference to profarma invoice we can create the Excise invoice.
    Could any one please help me for this.
    Is any standard settings available for this, or shell we have any standard progrm/ exits?
    please explain how to reach this requirment.
    Thanks
    Ravindra

    Hi Ravindra,
    Why do you need to do all this automation?
    Have you thought that how much technically complicated will it become?
    How your Picking will be updated with Batch or Serial number data?
    If any changes needs to be done then how will it be happened?
    How you will manage other special scenarios related to your cycle?
    Client will just assume saying that when they had said automation you are already considering all the scenarios related to business and they all will be executed properly.
    It is easy for users to ask for end to end automation, but it is tough for Functional and Technical consultant to make it happen with all the scenarios of Client running properly with exact results.
    I will suggest convince them to do process in part basis. You can think to create Delivery automatically, but tell them to Do Picking / PGI manually. (All complex scenarios will come while Picking and PGI only)
    You can create BDC for Invoice creation.
    Regards,
    MJ.

  • Difference between doc date,posting date and invoice date

    hi bw guys
    can someone give a brief on the difference between doc date,posting date and invoice date.and the invidual definitions
    thank you

    Hi,
    Posting Date: Date which is used when entering the document in Financial Accounting or Controlling. The posting date can differ from both the entry date and the doc date.
    Document Date: The document date is the date on which the original document was issued. Ex: Inv date, Bill date etc.,
    Invoice Date : Usually the date when goods are shipped. Payment dates are set relative to the invoice date.
    -Vikram

  • Find encumbrance for a PO and Invoice

    All,
    Can some one tell me how to find encumbrance for a PO and Invoice OR
    the driving tables for joins?
    Thanks.

    Hi,
    Can some one tell me how to find encumbrance for a PO and Invoice OR
    the driving tables for joins?
    Please see:
    How is the amount on active encumbrance field derived for a PO? (Doc ID 219903.1)
    Where Are PO Encumbrance Type And Invoice Encumbrance Type Defined In R12? (Doc ID 781856.1)
    R12: Validate and Funds Check Invoice Simultaneously Causes 'Encumbrance Acctg Fail' Hold (Doc ID 1269725.1)
    R12: How to troubleshoot Funds Check Hold Issues on Payables Invoices (Doc ID 1055606.1)
    R10.7/11/11i: PO: Purchasing Encumbrance Accounting Concepts and Process Model (Doc ID 1089107.1)
    In addition running the below diagnostic script may help not only troubleshooting encumbrance related issue, but the script provided will give you the related tables for queries.
    R12: Diagnostic Script to help troubleshoot Purchasing Accounting or Encumbrance Issues (Doc ID 1483743.1)
    Thanks &
    Best Regards,

  • LO DataSource for Goods receipt and Invoice receipt

    Hi all
    In LBWE, under Purchasing there are few DataSources available for Goods receipt and Invoice receipt. Is there any DataSource for both Goods receipt and Invoice receipt. What are the DataSources available for Goods receipt and Invoice receipt. Please clarify the difference.
    Thanks.
    Zak.

    Try to use the PROCESSKEY standard infoobject (BWVORG in R3/ECC) to discriminate the good receipt from the invoice one...
    An other option is create a custom generic data source with a view on EKBE table and use the EKBE-VGABE field to discrimate them.
    Regards.

  • How can we get Delivery Slip and Invoice number for the SO in custom Report

    Hello,
    I am developing a new report for the Sales Order.For this , I have to diplay the Deliver slip and Invoice number.
    Could you please explain the logic for this.
    Thanks and Regards
    NTR

    Hi,
    Pass sales order number to table VBFA-VBELV. You will get the complete doc flow. VBTYP_N differentiate whether it is delivery,GI or invoice etc. (Check for domain values for more info on this)
    Thanks,
    Vinod.

  • IDOC to create PO and Invoice

    hi...i have to pass a  IDOC which will first create PO and then post the invoice automatically...
    is there any method...
    Plz help
    Message was edited by:
            Madan Gopal Sharma

    Not sure I understand the process.
    You can pass the IDOC using ORDERS / PORDER idoc depending on your scenario. But these standard IDOCs.
    But how can you create invoices for the orders created without creating inbound / outbound deliveries for the same.
    You probably can write a custom program, which will do all the three actions or order / delivery and invoice, and then trigger the custom program.
    Regards,
    Ravi
    Note - Please mark all the helpful answers

  • BAPI or IDOC for Advance Shipment in CS

    Hello
    I have to create Interface (inbound to SAP) for following function.
    (1) Create Service Notification and Create Sales Order from Notification and need copy from contract.
         This function can execute by manual.
          1) IW51 create Notification and click ADV Shipment icon
           2) Input SO type for Subsequent SO of Contract and enter
           3) in SO screen, item adding by reference contract and enter
           4) Copy contract item and update Qty
            5) Back to Notiication and save. (automatically SO saved)
         But I can't find BAPI/IDOC for this procedure.
         If someone know solution, please let me know.
    (2) Create Service Order and Create Sales order from CS order for Advance Shipment
       This function can execute by manual.
        1) IW31 create CS order and input component tab
        2) select component line and click ADV Shipment icon
        3) Input SO type for ADV SHIP and enter
        4) in SO screen, automatically component tab data copied and check this and back to CS order
        5) Save CS order (automatically SO saved)(CS order component changed to not relevant for reservation and ADV ship flag set to reservation)
       But I can't find BAPI/IDOC for this proceure.
       If someone know solution, please let me know
    If some portion can use by BAPI/IDOC etc, it good for me.
    Specially Link with Notification / CS order and SO is possible very useful for us.
    Regards

    check - VIEWPROC_V_TQ051
    Regards,
    Sonal

  • IDOC for Delivery Confirmation

    Hi All,
    I need to check for some Idocs.
    I need to find out if an IDoc was recieved which had the confirmation data for a delivery made.
    I have a delivery made to the customer and they have sent the IDoc for confirmation of th same. How can i find out which Idoc No was sent for the same. I tried to search using WE02 and the partner Number but couln't find.
    let me know if any one has any thoughts on this.
    Thanks in advance..!

    Hi,
    Use Tcode WE09, Enter the date and time of the delivery sent(approx). Check the delivery number manually in each idoc, then u will get the idoc number.
    Regards,
    Senthil

  • OutBound IDOC for Delivery when Post goods issue is trigered

    Hi All
    Does any body have idea which IDOC contains data regarding delivery header and item details.
    for header - sap delivery number , delivery date, ship mode, vessel name, container
    for detail - product code, expiry dt, batch.
    cheers
    AJ

    Hi
    List of IDOC's
    http://www.informatik.fh-wiesbaden.de/~werntges/lv/edi/specs_EN/SAPdoc/IDoc_d.htm
    regards
    pavan

  • Need help on IDoc for Picking, Packing and PGI against the Sale order

    Hi All,
    I am new to this IDoc stuffs. Below is the scenario for which I would like to know the details of the IDoc...
    Business Case:
    1. Storage location is a HU Managed but not WM managed.
    2. This storage locations is managed by a third party
    3. Outbound delivery document against the SO will be created by our personnels in SAP for this storage location.
    4. Picking, Packing and PGI needs to happen/post via Idoc. (By packing here, i refer to assign the HUs that are already created for the materials and is available in the storage location and not repacking)
    Is there any standard IDoc that can be used here to Pick, Pack and post PGI. We would like to have picking and packing in a first idoc and PGI on the second idoc.
    Thanks,
    Prashant

    Hi Typewriter,
    Thanks for your reply on this post..
    The business process is as below (it was changed recently to have the creation of OBD, pick HUS and then post GI via single IDOC)
    1. We have a storage loc in our enterprise structure that is HU managed but not WM managed.
    2. This storage loc is being maintained by a third party.
    3. SO will be created to be shipped out of this plant/sloc.
    3. The stocks at this storage loc will be Special stock "E" against the sales order. And the stocks will be Packed in HUs.
    4. The third party is informed to deliver the stocks (HUs - that do have the special stock number which internally refers to the the SO number and the line item number) directly to ship to party address in SO.
    5. The 3rd party will physically ship the HUs to customer and send in the details that they have shipped goods against the sales order.
    6. The details sent by the 3rd party will be received in SAP to create OBD for the sales order, Pick, Pack and post GI. This can happen via a single IDOC..
    I am now planning to create a custom IDOC type referring to the standard IDOC type DELVRY03 and message type DESADV and to use a custom BAPI/FM.
    Do you think I am using the right ones?
    Thanks,
    Prashant Kumar

Maybe you are looking for

  • Deleting error messages in PI 7.1

    Hi ALL, I cancelled system error messages from Message monitoring of RWB I need to know what happens to that message is that completely removed from the tables if yes how does it happen. Is there any other method of removing messages which are error

  • Cash management&cash flow

    dear all can anybody suggest me what is configuration need for cash management&cash flow,is there any difference between fsv&cashflow.kindly give me reply. regards hanuman

  • Video Held Hostage - How Do I Export from FCP 7 to PC Edit?

    I went out of town to shoot part of a project. Please stay with me here...this is a mess! The TV station that helped me is not yet HD but DID have a Panasonic HD camera that we used to shoot interviews and video captured onto a P-2 card. Then, becaus

  • Where is NPSWF32.dll on Windows 7 please?

    Hi, I'm trying to fix that terrible dual montior full screen bug by patching NPSWF32.dll - it worked fine on XP but on Windows 7 I can't find the file anywhere to overwrite. Any suggestions please? Thanks

  • Missing deployment summary list

    Hi, I've done deployment on my environment and it was successful. When I browse to the managed server deployment tab, it is listed. But when I go to Deployment Summary, the application I deployed is not listed there. Hence, I'm unable to delete the d