How PO/Outbound delivery idoc can be triggered automatically once PO is created.

Hi All,
We have a requirement that we need to automate the process of generation of Purchase Order & Outbound Delivery Idocs as soon as they are created in using ME21N and VL02N standard tcodes.
Currently we are using ZDID Output type as craeted in NACE and below WE20 Message Control Entries:
  For PO -
  Application             EF : Purchase Order
  Message Type:      ZDID : Direct Delivery PO
  Process Code       ME10 : ORDERS: Purchase order
For OB -
Application        V2 : Shipping
Message Type:      ZLD0 : Delivery Note
Process Code       DELV : Delivery DELVRY01: DESADV/CARNOT/WHSORD/SHPORD
Also, BD64 entries are already maintained.
As per current process, we manually go to ME23N/VL02N tcode->and execute output type which generates Idoc in we02.
Can any one help me getting this automated urgently.
Thanks
neha verma

Hi Neha,
Use Change Pointers Concept for Both PO & Delivery Note.
So that, as soon as a Create/Change/Delete activities happen on PO & Delivery Note, IDOCS will be triggered automatically.
PO Change Pointers
http://scn.sap.com/docs/DOC-45107
Same setup for Delivery Note as well.
-santosh.

Similar Messages

  • Sales Order - Outbound Delivery IDoc scenario.

    Hi Friends,
    I have the below urgent requirement. I would be gratful, if someone suggest possible options.
    Scenario: This is related to Sales order to Billing scenario.
    We are creating Sales orders by using ORDERS05 Idoc. After the Real goods despatch happens at legacy system, we will be getting despatch feed (IDoc) for outbound delivery trigger. Here if all sales Order items are complete, the system is creating Outbound delivery by using this IDoc and then PGI will follow. This is Ideal scenario.
    Practically what happening is, our sales orders are created with few incomplete items (Ex: Net price missing) because they are created via ORDERS05 Idoc.( Manually, we can't create sales order with incomplete items, unless we force the system to do so). When the Out bound delivery IDoc triggered, it will pick up only completed items and creates partial delivery and becomes 53 status. Now the sales order is left out with open and incomplete items.
    Now our aim is how to make this outbound delivery IDoc fail, if this is not able to create delivery for all items?? (I mean, if the sales order items are incomplete, the delivery Idoc must fail. So later, if sales order becomes complete, this Idoc can be reprocessed again) How can we make this scenario possible??
    Expecting your thoughts and inputs.
    Regards,
    Kaleeswaran

    HI,
    I suggest you to think of similar solution as below.
    1.As your issue is at order (few items are incomplete with Pricing issue or some other issue), at sales order level while saving each sales order write the code in user exit_save_document_prepare to check if any items exists as incomplete. if yes then populate a delivery block in the sales document header.(you can use a new delivery block to distinguish the reason for the block)
    2. While creating delivery for the order through Idoc since the incomplete orders have a delivery block at the sales document header level SAP wont create delivery for the entire Order.
    3.Handling this delivery block at sales order header: when ever a sales order is popluated with this new delivery block triggere a workflow which will shoot a mail to your End user team or customer representative team. they will correct the issue in the order and remove the delivery block. if you dont want to go with a workflow then you need to incorporate a process to remove the delivery block in the sales order
    Thanks,
    Srini

  • Outbound Delivery IDOC not updating values from MKPF for goods receipt

    hi all,
    I have a question say I am generating an outbound delivery IDOC. which  has fields Goods Issues & Goods Receipt date retrieve from MKPF(BUDAT).
    say when i post goods issues, MKPF is updated and  IDOC is gernerated with issues date taken from MKPF.
    and when i tried to goods receipt, MKPf is updated and IDOC is generated but no receipt date taken from MKPF. then i check in MKPF, date is there and then once again I triggered the IDOC, receipt date comes......so my doubt is the time issues say when IDOC is triggeres, no value in MKPF...but when i check the time it is 4 mins difference from the MKPF time and the IDOC time...
    and also 1 more thing for doing goods receipt, we do in different transaction and for good issue we do in Vl02n.
    so bit confused.
    kindly help

    True , but in BKPF only Issues date are stored not the receipt date say if the document type = WE.
    Please let me know is there any other options to fetch rather than MKPF.
    because at the time of IDOC generation, there is not entries in MKPF. I tried to do using WAIT UP TO 50 seconds , even that didnt work.
    Please guide me
    thanks

  • Outbound delivery-IDOC

    Hi All,
    I have requirement wherein an IDOC is generated when a outbound delivery is generated.
    So, Do we need to assign output type for every delivery individually or is there any other automated process to do this and generate a IDOC after the outbound delivery is created.
    Thanks.
    Zaf

    Khan,
      For this you have to use Change pointers concept.
    see the explanation below
    System will remeber every change for a table related to an IDOC. eg. if costcenters are changes. tables csck and cskt will change. Having a change pointer for IDOC type cosmas which reflects costcenters. Any change made by using the KS* transactions will now be recorded. Usinf the change pointers you can now generate IDOCS so that the changes are sent to the dependant systems.
    use bd50 to acivate change pointers, use bd21 to generate idocs, use bd64 to determine the distribution of those idocs.
    PLs. reward if useful.....

  • How to set delivery complete in scheduling agreement automatically

    Hi. I would like to request for help on how to flag delivery complete in an scheduling agreement?
    When creating a goods receipt against a scheduling agreement, do we need a user-exit  or how is it configured in order to check the quantity receivedthe quantity in the goods receipt and compare it with the quantity in the scheduling agreement (/- de tolerance) and, in case the full ordered quantity has been received, set the flag Delivery completed in the scheduling agreement.
    Thanks.

    Hi,
    We regret that the functionality  setting of "delivery completed"       
    indicator automatically for a scheduling agreement is not included in   
    the SAP standard system.                                                
    For scheduling agreements, you must maintain the final delivery              
    indicator only in the scheduling agreement item.                             
    A maintenance from the goods receipt is useless for scheduling               
    agreements since the current schedule line situation is generally not        
    final. Even if all schedule lines are supplied, this does not mean that      
    no new schedule line might be added. Therefore, for scheduling               
    agreements,maintenance of final delivery indicator is planned only from      
    the document item.                                                                               
    Regards,
    Edit

  • Outbound Delivery Idoc and Delivery Date

    Hi,
    Could anyone advice  if the idoc DELVRY01 is appropriate for outbound call? Also which segment stores the delivery date (LFDAT) details?

    Yes, DELVRY01 / DELVRY02 / DELVRY03 is appropriate.  You can fill the document data in the segment "E1EDT13"(IDoc: Deadline (delivery)). Fill the the field QUALF = '015' (document date) .
    Regards
    Vinod

  • How many external Firewire drives can I share at once?

    I have several external hard drives connected to my server. I appears that I can only share 4 of them at a time. I work in a high volume photography environment and store about 2TB every three months. I need to be able to share multiple external hard drives all at the same time. Is there a limit on how many drives or share points I can share at one time?

    As long as the drives have their own power supply (powered USB or Firewire 800 Hubs will do) they will run to their theoretical max which is more than several hundred. I think the Thunderbolt can be daisy chained out to a pretty large number too.

  • How SAP handles Child Idoc segment data insertion automatically

    Hello,
    We have some Infotypes with extra segments and IDocs are getting created with Parent and child segments.
    To fill the data into the parent/child segments, we are currently using User-Exits.
    Is there any settings/config in table level(e.g. T777D etc), or any other way, so that SAP handles the data filling into parent/child segments automatically.
    Thanks.

    No I dont want to change the value in WE19.... In runtime I am changing the value of schedule Line quantity and the same is getting update in SDSA also but when a new idoc is getting created that value is not getting reflected in that Idoc segment field.
    Kindly suggest.

  • HT201317 How do you add people to shared photo streams once they are created?

    I have a shared photo stream created but want to add someone else to the group.  How do I do this?

    http://forums.adobe.com/community/lightroom

  • Update VEKP-EXIDV2 during automatic HU creation from outbound delivery

    Hi All,
    I need your suggestion / input on following scenario.
    When I create an outbound delivery and save it, an automatic Transfer Order is created and at the same time an HU is created for delivery.
    Now, I want to populate the field VEKP-EXIDV2 ( HU header -- Handling Unit's 2nd External Identification) with a specific logic.
    Can anyone suggest a suitable EXIT or BADI or Enhancement point where I can populate the field VEKP-EXIDV2 ?
    Note: I have tried using EXIT_SAPLV51S_001 and also BADI_HU_MAIN, but it is not helping in my case.
    Because it is called only when Transfer Order is created manually (LT03), but is not triggered when TO is created automatically after saving the outbound delivery.
    Thanks & Regards,
    Devendra

    Hi Ankur,
    I am not going into HU creation screen in VL02N. There is some setting on functional side to create the automatic TO and HU during outbound delivery creation.
    When I save the delivery, an entry in HU header table (VEKP) gets created automatically. I want to populate the field VEKP-EXIDV2. But, the EXIT or BADI as mentioned in my previous post is not helping in this case.
    I would appreciate if you can throw some light in resolving this problem.
    Thanks.
    Devendra

  • Enhancement during automatic HU creation for outbound delivery

    Hi All,
    I need your suggestion / input on following scenario.
    When I create an outbound delivery and save it, an automatic Transfer Order is created and at the same time an HU is created for delivery.
    Now, I want to populate the field EXIDV2 of table VEKP ( HU header table ) with a specific logic.
    Can anyone suggest a suitable EXIT or BADI or Enhancement point where I can populate the field VEKP-EXIDV2 ?
    Note: I have tried using EXIT_SAPLV51S_001, but it is not helping in my case. Because it is called only when Transfer Order is created manually (LT03), but is not working when TO is created automatically after saving the outbound delivery.
    Thanks & Regards,
    Devendra

    HI,
    You can use the BADI BADI_HU_MAIN and the method HEADER_UPDATE_IN_PACKING.
    REgards,
    Ankur Parab
    Edited by: Ankur Parab on Jul 28, 2009 6:53 PM
    Edited by: Ankur Parab on Jul 28, 2009 6:56 PM

  • IDOC to create from outbound delivery from sales order as INBOUND process

    Hi Experts,
    We have third party interface for sales processing. Sales order, Outbound delivery and PGI will be done in Third party software and XML files will be send to SAP.
    We have to process this XML file into SAP with IDOC.
    Sales order processing is done but i am not able to find correct IDOC type for creating outbound delivery.
    Can you suggest Basic IDOC type / Message type and process code for the same.
    Regards,
    Sahadev Abhyankar

    Good morning !
    In the transaction WE20 to create the customer EDI  KU with EM function.
    Output parameter: message type DESADV and basic IDOC DESADV01.
    I associate the IDoc message type to LAVA, you should link it to the XML file, that is not how.
    Please : Could you please explain how you linked the XML file to IDOCS to create sales order ?
    Sorry for my poor English
    A greeting.

  • How Goods Issu happens in the Stock transfer process with outbound delivery

    Hi,
    Can you please explain me how the goods issue happens in the Stock transfer scenario with outbound delivery?
    can we use VL02n for goods issue for single delivery doc(Delivery type-RL).
    Can we use the transaction VL23 for collective processing of goods issue for stock transfers.
    Thanks

    Hi Anil,
    ->You can use VL02N transaction to do PGI for the outbound delivery in the Stock transfer scenario.
    -->But you have mentioned that delivery type is RL -is this returns delivery
    Normally NL delivery will be used in STO(Rplenishment
    delivery)
    -->You can use VL06G transaction for collective PGI
        The transaction VL23 for delivery schdule in the back ground
    I hope it will help you,
    Regards,
    Murali.

  • When creating Outbound Delivery, how does SAP propose Delivery Type?

    Hi,
    in VL01N, when i create an outbound delivery i can create it with reference to an SO or without reference to an SO.
    But how does SAP know the delivery type to use?
    I don't know where to really look.
    in SPRO i went to:
    Logistics Execution ---> Shipping --> Deliveries
    but all i saw was delivery type definition.
    then i went down the path:
    LE --> Shipping --> Copy Control --> Specify Copy Control for Deliveries
    then i found a table linking Sales Order Types and Delivery Types.
    However, we use SO doc. type Z*** for example but I see that there are multiple entries for it linking to various delivery types including LF and another custom Z*** delivery type.
    My question is, how is the system choosing which delivery type to use?
    Is it maintained in customer master or at config level?
    Thanks.

    Hi Gavin,
    If you check VOV8 for example standard order (OR), the delivery type is LF. Here you can define only delivery type person SO. Hence you will not find SO to LF relation as 1:N but will surely find N:1.
    Item category just defines the billing relevance of the item. Hence if billing is delivery related then delivery will be created for the item.
    Now once order is created when tried to deliver, it will know that LF is the delivery type from VOV8 and from item it will know he should deliver it or not.
    Hope this is clear now. Reward if helpful.
    Kind regards
    sandeep

  • HU - handling unit is currently part of an outbound delivery

    Hello Experts,
    i need to create an HU assigned to an outbound delivery.
    I tried with function L_TO_PICKHU_ASSIGN, this function create the HU not assigned therefore VEKP-VBOBJ = 12.
    What i need is an HU with VEKP-VPOBJ = 01 - The handling unit is currently part of an outbound delivery .
    Do you know how can i fix this problem??
    Thanks in advance
    Boris Besana

    Boris,
    Did you do LH01 and assign a pick-HU to the pick-TO for the outbound delivery (unless auto pickHU assignment is configed in IMG)?
    Usually when you confirm the pick TO the pick HU assigned to the TO get assigned to the Outbound Delivery which references the TO, resulting in VEKP-VPOBJ = 01.
    If PGI hasn't done, have you tried returning the stock via LT0G (Return Transfer for OD) to return the stock/HU?
    Mewan

Maybe you are looking for

  • Can't enter credit card details

    Hi, Last week I tried to download an app but my credit card declined due to an expiry date. I no longer use that credit card/company, so I used iTunes to change my billing information over to my new credit card. However, when I press 'done' at the en

  • How to add a new field in migo transaction (header level)

    hi guru's can you please tell me how to add a field in migo transaction? i want to add a field in header data and that too under "general" tab. i dont have data regarding that field. and when we enter a value for that field in migo, it has to take .

  • Connecting webcam hd-3310 to a smart tv

    Is it possible to connect an HP Webcam HD-3310 to a Samsung Smart TV and get the camera to work off of the TV? I know this model of webcam is not supported on all TVs. Thanks,

  • Error running BW report frm InfoView when pwd initialized/changed in BW

    Hi Experts, We encountered error "A database error occured. THe databse error text is: unable to connect to sap bw server name or password is incorrect (repeat logon) (WIS 10901)" when we tried to run a BW report from InfoView. We realize this happen

  • Multiple errors when dowloading 2.2 software

    I have now tried to download -albeit unsuccessfully- the latest software 7 times in total. It fails each time with different error codes. Usually fails after around 170MB has been downloaded. I have sourced the 2.2 update from a colleague and have it