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

Similar Messages

  • 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

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

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

  • Delivery IDOC not getting generated

    Hi All,
    I have created an outbound delivery IDOC. The process is that the idoc should be trigerred as soon as the delivery is created/changed or deleted. I am having an issue. The idoc is getting trigerred as soon as the delivery is getting created but not in the case of the delivery change.
    I am not able to get the probable reason for that. Please let me know the probable reasons for that and where can i check that.
    Regards,
    Sharadendu

    Hi Sharadendu,
    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.....
    cheers,
    Hema.

  • Problem with IDoc for an outbound delivery

    Dear All,
    I am facing a problem with the IDoc defined for an outbound delivery.
    Scenario:
    Implementation of a small enhancement for an IDoc (DESADV, DELVRY01) created for an outbound delivery (in VL02N).
    What I did:
    I implemented the EXIT_SAPLV56K_002 exit in the V56K0001 enhancement, activated in SMOD, assigned V56K0001 component in CMOD and acivated it. Then I put a breakpoint on the ZXTRKU02 include. For me everything in SMOD and CMOD looks OK.
    I have also created a partner profile, port, outbound message config. (message DESADV, basic type DELVRY01, application V2, output message type LAVA, process code DELV. function module used for this process code is IDOC_OUTPUT_DELVRY).
    What I can do:
    I can issue an IDoc message, it looks ok and contains the standard data.
    Problem:
    It seems that the enhancement does not work. Finally I put there only one line of code to avoid a program bug and just to check . The system does not stop at the breakpoint (set on the ZXTRKU02 include in the EXIT_SAPLV56K_002 exit).
    Am I using the proper exit? I appreciate any suggestions.
    Thanks,
    Grzegorz Skorus

    Hello Grzegorz
    Not an expert on this, but noone is responding so I thought let me try and help you. You seem to be doing the right things as mentioned in OSS note 1498409.
    Firstly since this can be called form Shipment Idoc also, you may need to make a differentiation by the interface parameter 'MESSAGE_TYPE' or segment name. See the attached OSS note, though it belongs to older releases,  it may help you.
    Also help says 'The callup of this function module is programmed for each enhancement of the internal table for the IDoc (in other words, when you add an extra segment'. So may be you need to add an extra segment/field to make it work.
    Futher  the user exits are replaced by BADIs. May be you should use exit_badi_v56k.
    Hope this helps and others will pitch in.
    1498409 - Valuation Type unavailable when creating deliveries using IDOC
    631913 - Exit after formatting delivery IDoc type DELVRY

  • Idoc to post goods issue against an outbound delivery

    We happened to simulate both the idocs 'WPUWBW01' and 'MBGMCR02' for posting goods issue for an outbound delivery but failed.
    Request you people to help us on this. Is there another idoc that we have to use to post GI... if so please let us know... and if we are using the right one, guess we are not executing it in the right way... in such a case please guide us with the steps...
    Thanks
    Arun
    We got hold of the Idoc type 'DELVRY03 PGI SHPCON' we are able to post the Idoc but we are able to do the packing only or we are able to change the deliveries but the PGI is not happening..
    please help us on this.. is there some condig that updates the delivery with the PGi or is there something else do be done in the Idoc....
    will provide additional details if required.
    Thanks

    Hi Arun,
    There are no configuration settings in this. It is development that your abaper need to carry out.
    Explain to him that this is the func module. And intrun it has to either trigger a BDC or BAPI for creating packing and PGI.
    He should then do the recording of that and will assign the program pertaining to BDC with in the function module.
    One more suggestion is to put the same query in ABAP section too. U will definitely get a positive response.
    Hope this helps.
    Kind Regards
    Chakradhar

  • Idoc used by CRM to post the outbound delivery in R/3 while saving the sale

    Hi,
    Can any one tell me …which idoc (from the r/3 system) the crm system calls while creating a inbound delivery for the sales order created in crm.
    I am having fields like ‘Transaction Type’, ‘Ext. Reference cust’, ‘Delivery Control’ etc…which are there in the CRM.These fields need to copied to the R/3 in the tables LIKP and LIPS.
    The process of creating the outbound delivery is automatic means when a sales order is created and saved in CRM ,the delivery is created in the R/3 (note: the order is not moved to r/3 ..Only delivery is created).
    I need the idoc which is used by the CRM system to post the outbound delivery and any badi ….so that I can extend the idoc segments and use the badi to populate the data.
    Need your inputs on this.
    Thanks in advance.
    Regards
    Shafath

    Hi All,
    For this requirement IDOC's are not used.Bapi is used.
    The BAPI ‘BAPI_DELIVERYPROCESSING_EXEC’ will be enhanced to add the new fields into the BAPI structure.
    The BADI ‘/SPE/BAPI_DLVEXEC_EX’ and the user exit ‘EXIT_SAPLV50R_CREA_001’ will be used to populate the data into the new fields created in the BAPI structure and the new fields added into the tables LIKP and LIPS.
    Regards
    Shafath

  • Output type not created for outbound delivery while using SHMNT05 idoc type

    Hi Experts,
    Please help me to solve the below issue.
    Problem:- I want to to generate an IDOC(using type SHPMNT06) once the PGI is done for an outbound delivery.
    Already it is working fine when used DESADV.DESADV01 or DESADV.DELVRY07. But now the output type is not getting created when used SHMNT.SHPMNT06. I have created a separate output type ZPJ7 just as a mirror copy of the earlier output type(ZPJ6) used for DESADV.DELVRY07.
    Question:- Is it possible to use idoc SHPMNT06 instead for DESADV01 or DELVRY07? If yes then what are steps to be followed?
    The reason why SHPMNT06 idoc is planned:- We have a scenario to send outbound delivery to 3rd party system via XI. If the outbound delivery is for National(Not for Export) and PGI is completed then send the idoc straight forward to XI otherwise DO NOT generate the idoc, but just create the delivery. Collect all the deliveries in a transport and send it in a shipment. The shipment details can be sent using SHPMNT idoc. Now from XI perspective, if we can utlitze the same SHPMNT idoc for the National delivery(1st case) then perhaps this will require less effort. Hence shipment idoc is required to be generated when the delivery is created and PGI is done.
    Also it would be great if you can advice some better way to solve above mentioned scenario.
    Many Thanks,
    Sanjay

    There could be several reasons. Go to the document and in the extras-output check output determination analysis in the processing log.
    If the output has been created successfully then you need to see your printer determination. Ask basis to check it up. If the problem is that even the print preview is not coming. Check your communication in the output analysis and ensure LOCL is selected. Any other printer will need to be configured.
    If thats done already then check whether you have maintianed the condition record.
    If that too is done then check whether your output type has been assigned to the output procedure and that the output type is listed in the procedure.
    regds
    Jude

  • Create outbound delivery thru Idoc

    I am working on a sales return scenario in SAP as below :--
    01. Creating Return sales Order in SAP thru inbound  Idoc ( ORDERS01)
    02. Triggering outbound Idoc ( ORDRSP/ORDERS05) from return sales order to our return plant.
    03. Customer will send  returned goods to our return plant. Plant will send us an Idoc to create delivery in SAP.
    04. Once delivery is created thru Idoc , our batch job will do PGR.
    05. Billing batch job will generate credit memo for return.
    I am looking for advise on following points :--
    01. Can we create outbound delivery thru DESADV Idoc ?We are also planning to update delivery Item text thru this Idoc.
    02. SAP standard provides ( SHP_OBDLV_CREATE_SLS) this Idoc to create delivery with reference to Sales Order but not able to update delivery text thru this ?
    03.Any other way-out to create delivery and update delivery text thru inbound Idoc?
    Thanks in advance!!
    Best Regards/Rajesh

    Create your own and assign as processing the BAPI or a wrapper for it.
    Enjoy

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

  • IDoc type for Outbound Delivery

    Hi All,
    Can someone please tell me the IDoc type and message type to be used for creating the outbound delivery for an incoming IDoc? Also, I would like to know the function module.
    Regards,
    Raghav

    Hi,
    Message type is DESADV
    Basic type is DELVRY01 to 03 (can check the latest version or supported version)
    Function module : BORES_IDOC_INPUT_DESADV1 or IDOC_INPUT_DESADV1
    This is used for creating outbound deliveries, shipping  noticfication etc.
    Regards
    vk

  • Need IDOC type to create outbound Delivery in SAP

    Hello,
    I am looking for the IDOC basic type, message type and process code which will be able to create an outbound Delivery in SAP.   
    Scenario:
    Inbound data needs to be integrated into SAP to create an outbound delivery with reference to a Sales Order.
    Thanks
    Satie

    Satie,
    To confirm, you want the Delivery create triggered as a result of a file received from your Customer ? Is it purely a trigger, or will there be other information included in the file that might be included on the SAP Delivery ? If it's purely a trigger, I think I'd probably look into blocking the Sales Order in some fashion (e.g. Header Delivery Block), and using the trigger to release the Sales Order, i.e. ORDCHG. You could probably write additional data, such as Delivery Instructions, at the same time. If however, you need the inbound file to directly create the Delivery, I suspect you will need to create a custom iDoc / Function Module to call a BAPI to create the Delivery with reference to the Sales Order.
    Cheers, Paul.

  • Inbound/Outbound Delivery using DESADV01 Inbound IDOC

    We are trying to use Message type DESADV, basic type DESADV01 to represent inbound and outbound material deliveries. Our SAP system is configured to accept these IDOCs and apply process code DESA which calls function module IDOC_INPUT_DESADV.
    Our question is which of DESADV01's Segment-Field is used to tell the FM that we are talking about an Inbound or an Outbound delivery?
    I have read something related to E1EDL21-LFART, but this field seems only present in basic type DELVRY01. Is there something similar in DESADV01?
    Cheers

    Thanks for your answer Anji.
    We are not having problems with the direction of the IDOC. The IDOC is always Inbound to the SAP system, as we want it to be. However the delivery which the IDOC represents can be an inbound delivery (material has entered a certain plant) or an outbound delivery (material has come out of a certain plant).

Maybe you are looking for

  • Free Item indicator is SET but value appearing in MB51

    Hello MM Guru's, I have PO with Acc Assignment – Q (Project) and activated Free Item indicator when I do GR with Movement type – 101 / Q accounting document gets generated. As per my understanding SAP standard behavior is if I perform GR for FOC item

  • Magic idv gives me a server error

    I have been trying to get help with a problem in Iphoto which I cant resolve and now it has occurred in Idvd. When I click on Magic Idvd I get the following error"The server May not exist or it is not operational at this time .Check server name Or IP

  • Tables or Views to get the data

    Hi, I am new to OLM and need some help in identifying the tables for gathering information and sending email notifications. From which table can I get the email ids of all the customers who registered in a class. As there can be multiple classes so h

  • Clearing Safari Cache Automatically when it Quits

    I work for a school district that uses Safari 2.0.4 on eMac's running 10.4.7 and 10.4.8 and the students have their network home folders located on a 10.4.8 Server. I would like to have Safari clear its cache every time a student quits Safari or logs

  • J2me with servlet

    hello experts Sir i want to call a servlet program in a j2me program i have found a program related to my requirment on net. But there is a problem that when i run as it is program according to net i give url="http://www.mycgiserver.com/servlet/corej