To stop the delivery amend IDoc

Hi Experts,
I have a scenario in which a single file is muiltimapped with Two IDoc's. Now, One IDoc is Goods Receipt and the other is Delivery Change. Now,the requirement is to create the Goods Receipt IDoc and for the first time delivery change IDoc will also be generated and then for same Goods Receipt it wont generate delivery change IDoc again. Now, how to porceed on this one.
How can we control the triggering of Delivery Idoc after the first time.
Please let me know.

Hi Aniruddha,
        --> If there is a different field that would indicate the first or second GR its would do for condition check.
       --> What about the case when there is not such field coming from source structure?
       --> In this case We can create flag during the first GR and use it for the second time using global variables,and this is valid  for single mapping run to check at root level .because the life span of the flag expires for the second run
        If in case we need to check the condition in second trigger of GR and Delivery change using flag value from the first run, its not possible .then you will have to get the value from RFC lookup from  ECC to use as flag an
  Hope iam not confusing you guys.
Thanks,
Ram.

Similar Messages

  • How to STOP to create the Delivery in MV50AFZ1?? Is it SY-SUBRC??

    hi,
    how to STOP the delivery creation, if enconters the error message?
    Message was edited by:
            Srinivas

    Trigger the SAP NOTE, by passing the cf_subrc value as 1
    Message was edited by:
            Srinivas

  • How to Stop Creating Delivery with Transaction: VL10

    Hi,
    I have a requirement to check/validate the delivery quantity against the minimum delivery quantity and Stop creating the delivery using VL10 Background) for a Sales Order if any one of the item in that Sales Order has the Delivery Quantity of an Item not equal to Minimum Delivery Quantity. I am trying to identify a suitable user exit or set of user exits to accommodate this solution. Can you please provide me with your expert suggestions?
    Is there any message table that needs to be updated with an error message to stop the delivery creation inside any of the user exits while using VL10?
    Is there any flag setting possible for the sales order inside the user exit that helps to Stop the delivery creation with an Error Message while using VL10?
    Appreciate your help in advance.
    Kannan.

    Hi Brad,
    As VL10 is used for mass processing, I need to know whether there is a way of skipping one delivery and go to the next one. I wrote my logic in the SAVE_DOCUMENT_PREPARE User Exit. I am able to restrict creating creating the delivery using Vl01N. But using  VL10 , I am unable to stop the creation of the delivery in back ground mode.  Can I use the BADI DELIVERY_FINAL_CHECK? Or is there any SAP Note to stop creating the delivery if we do have any error messages.
    Thanks in advance.
    Krishna.

  • Sales Order Updation when the delivery changed

    Hello Experts,
                           I am working an object where I need to update the sales order when the delivery changed.
                             Actually when the remote system rejected the delivery an IDOC will come to R/3
    Sooner the delivery changed in R/3 I need to update few fields in sales order.
              When I am trying to code in the exit in the FM attached to the IDOC it is first updating the sales order and calling ws_update_delivery  next.
    Even if I am trying in mv45afz1 also same thing is happening.
              Can anyone let me know how to solve this problem.

    Hi,
    you can see the work center capacity situation for manufacturing an item in the salesorder. But it needs Assemble to Order strategy. Anyway u can see the material details in the sales order.
    Kiran.

  • Stopping email delivery to Z10

    Hi all
    Recently got my Z10 - love the phone but it has one feature that bugs me - can't seem to turn off delivering my work emails to my device. Last thing I want when on leave is to receive work related email. I have tried to disable push and manually syncing but still seem to receive a daily update of emails. I want to receive my personal emails but not work related at all. Any ideas ?
    Cheers

    Actually, it should be even easier than that (hiding from the hub will simply do that...but it will not stop the delivery of email)...since it's GMail, do you not have this setting?
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Stop generating delivery IDOC output (outbound IDOC)  if goods issued!

    How to stop generating delivery IDOC output (outbound IDOC)  if the delivery has been goods issued?! Any user exit or BADI for this?!
    Thanks

    We take a routine in output requirement! it's done!

  • BAPI or IDOC to create the Delivery in R/3 for the SaleOrder created in CRM

    Dear All,
    When ever I create a sales order and save the sales order in the crm system, an outbound delivery is created in the R/3 system.
    I have added some new fields in the tables LIKP and LIPS.(related to delivery)
    Now I have to populate data into these new fields with the CRM data.
    So can any one tell me when I create a sales order in CRM, does the system uses any BAPI or IDOC to create the Delivery in R/3.
    The BAPI name or Idoc information will be very useful.so that I can extend them
    In crm the BDOC ‘BUS_TRANSACTION_MESSAGE’ is used.
    Thanks in advance.
    Regards
    Shafath

    Hi All,
    I found a solution to my problem.
    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

  • Which table stored the Inbound ASN IDOC # and corresponding In.B Delivery#

    Hi,
    May i know which table stored the inbound ASN IDOC# and corresponding created Inbound Delivery number??
    Thanks!!

    Dear Hoo Laa,
    You may find the Sales Organisation/Distribution Channel details in PO itself (Shipping Tab). Table where you can get Sales Organisation/Disribution Channel is EKPV.
    Regards
    Samier Danish

  • IDOC number related to the delivery

    Hi All,
    I have issue regarding finding out IDOC related to a delivery.
    When the output is processed for a delivery, idoc gets created. Now this idoc number gets stored in the EDIDC table. In delivery one can get the related idoc number by checking the processing logs for the output type.
    Is there any specific FM which can give me the idoc number of the latest processed output type for that delivery. I have delivery number and output type.
    Thanking in advance.
    Regards,
    Shahu

    Hi..
    I think need to add further to my question.
    I have an interface progra in which I am sending IDOC details related to the delivery.
    Now in this interface program, I have delivery no and the processed output type. Using this how can get the IDOC no. I cannot go to EDIDC to get the idoc no as it will be performance intensive or to any transaction. I need to code here to somehow get the idoc number using this delivery and output type.
    I am trying the following approach but could not implement it so far.
    In delivery is I go to header>output>check the processed output type -->processing log --> the idoc number  will be present in this log.
    I am trying to code in the interface program to read this idoc number present in processing log.
    Is there any way I can achive this.
    regards,
    Shahu
    Regards,
    Shahu

  • Missing items in the IDoc for the delivery

    Hi to all,
    Sorry if not posting in the right forum.
    In my customer's scenario, an IDoc is created against a delivery (via the delivery output), and sent via ALE to a distant warehouse system, for picking and GI posting (basic type SHPMNT03).
    For some times, the IDoc created against deliveries including BOMs is missing the main item of the BOM (though the BOM main item is in the delivery).
    Consequently, the integration in the distant system is failing, because the higher-level item referenced in the BOM sub-items is missing.
    Surprisingly, re-triggering the delivery output does re-generate a complete IDoc, where the segment for the main item is back.
    I looked almost everywhere, did many searches in OSS (on SHPMNT03, on HIPOS, on E1ELD24 - segment name in the IDoc -, on "Missing items in the IDoc for the delivery", etc...), I even simply googled the web, but I can't even figure out what is the cause for this (I imagined it could be caused by a missing commit in the program generating the IDoc, but don't know whether this make sense).
    Any help would be highly appreciated.
    Thanks in advance and best regards
    Yan
    Edited by: Yan Loiseau on Jul 8, 2010 12:52 PM
    Edited by: Yan Loiseau on Jul 8, 2010 12:56 PM

    Hello Yan
    Jelena is right, you are better off taking it up with SAP. I also did not find any relevant OSS notes.
    However the issue, according to my reading, is in the following areas:
    1) LV56KF05: INCLUDE LV56KF62 .  " FILL_E1EDL24"
    This fills the EIEDL24 segment, may be the main item is filled  initially and overwritten later.
    2) Function Module: IDOC_OUTPUT_DELVRY
    You can look at the following OSS notes (though not fully relevant)  for some clues:
    810981 - Reference data missing in DESADV IDoc from decentralized WMS
    537470 - BOM + batch split in decentralized WMS, confirmation fails
    752921 - VL563: Higher-level item does not exist
    705086 - Higher-level item does not refer to existing item
    Hope this helps. Good luck.

  • TPSDLS idoc to be triggered only when deleting the delivery

    Hi,
    We have a requirement: We should be trigerring the TPSDLS idoc only when deleting the delivery in SAP. Currently, we generate the TPSDLS idoc when creating and deleting the delivery.
    The Changes we tried did not help us in anyway.As we are seeing deliveries created with no-output type linked to them and when deleting them, does not provide any TPSDLS idoc.Not sure, how deliveries are created without any output type assocaited to them and what could solve them.
    Any help would be appreciated.
    Thanking You,
    Anish Asokan

    a

  • How to stop the IDOC adapter using IDPI framework (APIs)?

    Hi Guys,
    We have a requirement to start/stop the communication channels depending on the Integration scenarios. But for IDOC and HTTP we dont have any sender channels.
    Plz let me how can we stop the adapter ,so that no more IDOCs are received .
    We are looking for some API (IDPI framework) if available.
    Locking the RFC users is not an acceptable soln here.
    Hope to get some info soon.
    Regards
    Dhanya

    Hi Dhanya,
    there is a way on PI side alone
    for IDOC 2 steps needed:
    1st: Determine all the IDoc metadata that is involved in your communication in IDX2 (basically all idoc types that the sending system sends) then deleted it all
    2nd: Determine the IDoc port of the sending system in IDX1 (it should be an RFC destination pointing to the sending system) then Disable or delete that port
    On runtime a validation of the loaded idoc metadata happens on PI and the sending side (experienced this on ERP6 & ERP5, not sure on lower versions >4.5), if the sending system determines that there is an inconsistency between its idoc structure against the idoc structure loaded in PI the idoc will be stuck in trfc queue (SM58) having error something like table EDI*** conflicts.  In our case when you disable the IDoc port in IDX1 and there is no idoc metadata in IDX2 when the sending system tries to send idoc PI will try to fetch the idoc metadata but it won't be successful because the IDX1 port is disabled already.
    for HTTP, you can try to disable service  /sap/xi/adapter_plain   in SICF  but please consider the resending of the message should be handled also on the sending side.
    hope this helps

  • IDOC user exit to update the document flow of the delivery

    Hi all,
    Scenario:-
    There is an inbound idoc for delivery through which the delivery is getting posted ...while reprocessing the idoc (BD87) i need to update the dates on document flow of the delivery. The date to be updated is coming from the idoc.
    I have the function module(RV_DOCUMENT_FLOW_UPDATE_U) to update the document flow but i am not sure in which user exit it can be placed. I tried checking for some exits but nowhere i can find the delivery number to which i need to update through the FM.
    I am using the standard idoc with the message type as -DELORD and the basic type as 'ORDERS03'.
    Kindly provide user exit where i can use the date coming from the idoc (IDOCDATA) and where i can find the delivery no also.
    Thanks,
    Neslin.
    I have closed the other thread there is no more duplication.

    I already checked VEDA0001, but the tables for the delivery is not getting populated as it is processing through BD87(Reprocessing Idoc). Is it advisable to use the export import parameter?. Exporting the idoc data from any of the user exit in VEDA0001 and importing it in some other exit where the vbeln is available.?
    Thanks,
    Neslin.

  • Problem with HU during creation of Inbound Delivery using IDoc

    Hi,
    When I am creating Delivery manually and perform Packing, Handling Unit information is stored in VEKP and VEPO tables.
    But when I am processing through IDoc, after passing data to Handling Unit Segments E1EDL37 (Handling unit header), E1EDL39 (Control Segment for Handling Units), E1EDL44 (IDoc: Handling Unit Item - Delivery), It is creating delivery successfully but Handling Unit information is not getting stored in VEKP, VEPO tables.
    Tried most of the notes 912470, 678464, 682506 and all of them say "<i>You use the Idoc DESADV to create inbound delivery with packing data. The delivery is created, Idoc gets status 52 but the Handling Units (HUs) are missing. This is due to a program error. In case the IDoc contains segments to create HUs (E1EDL37), the IDoc processing should end in error status (51) as long as no packing data could be created</i>.".
    Need your advice whether we have to maintain any customizing for this or how to proceed with it.
    Thanks in advance,
    Murali.

    IDocs and BAPIs sometimes behave differently than transactions. You might need to add a user exit specifically for IDoc processing. Otherwise send a message to SAP and have them look at it.

  • Issue In Posting Proof Of Delivery Using Idoc using Message Type STPPOD

    Hi ,
    (The details I have attached in the below file.)
    We are trying to perform proof of delivery with respect to a outbound delivery via IDOC using idoc inbound function module IDOC_INPUT_STPPOD.
    Everything is working fine except when it is creating a new stock movement document on confirmation of proof of delivery, the newly created stock movement document is not reflecting the actual received quantity instead it is showing the the Actual Delivery quantity.
    For clicking on the button - "Proof of Delivery Confirmation " (green wright symbol) and change the overall POD status as completed ( depending on this status C the stock movement document gets created) we did a custom coding in the customer exit of IDOC_INPUT_STPPOD.
    The details I have attached in the below file.
    I am not able to understand where I am making mistake due to which, the quantity on the stock movement document after proof of delivery confirmation is not reflecting the actual received quantity.
    Can you please suggest  what necessary coding changes I need to perform to make it work properly.
    Regards
    Saifur Rahaman

    Hi Thripura,
    In DELVRY03 Idoc type,there is a segment E1EDL37  containing Shipment Header Information.As a header segment,there are 6 segments under this,which contains other details.Please see the below details.
    E1EDL37                        Shipping unit header
        E1EDL39                        Control segment for shipping units
        E1EDL38                        Shipping unit header descriptions
        E1EDL49                        Express Delivery Company's Tracking Connection Data
            E1EDL50                        Express Delivery Company - Additional Data
        E1EDL44                        IDoc: Shipping unit item (delivery)
            E1EDL46                        Serial Numbers HU
    Regards,
    VSN

Maybe you are looking for

  • Why is it taking so long to download a TV show to my Video iPod

    I recently purchased a video iPod and am downloading my first tv show. It's an hour long show and it's been downloanding for close to an hour. Should it take this long?

  • Zen goes to blackscreen after charging during songs

    I have a 32 gb x-fi and for some reason after I fully charge it, the screen goes black only a few minutes later. I cannot turn it off either, and am forced to hit the reset button. It then rebuilds and then the process repeats itself and I'm lucky if

  • Q5 won't show text messages

    When I open text messages sometimes it will freeze and I am unable to see the conversation. The only fix is reopening the program several times and waiting till it returns to normal (takes about 5 minutes). It happens regularly

  • Materialized view fast refresh hang

    I create many materialized views in one refresh group,but during the fast refresh ,I find the materialized view sometimes hang on db file sequential reads,from v$active_session_history,I find the session read one block more then two hours( db file se

  • Should i update my ipod to version 1.2?

    I dont no if i should update cause a lot of ppl said that it froze during the update but i bought a movie at the itunes store and it wont go onto my Ipod unless i update it... SHould i update?