Outbound delivery creation with inbound IDOC transfer from Java system

Dear Experts,
       The scenario we are having is really very interesting. Hopefully its a good learning for me and also for others also.
The scenario is,
               After sales order creation the details will be sent to one Non SAP system (Java) for performing some tasks related to forwarding agent decision, shipping date and etc. Once the details are finalized in that Java system then, the details needs to be transferred to SAP as "Inbound IDOC" process. For this proposed to use the SAP Jco middle ware.
             Once the details transfered from Java system to SAP then, the outbound IDOC needs to get generated automatically. Assuming the stock for that sales order line item is available. Also one more complexity is, our client is using custom transaction (ZVl10C) for delivery creation.
Now Query is,
               1. Which IDOC, message type and Functional module needs to be used for creating the delivery automatically..??
               2. As per assumption, stock of that sales order line item should be available. Due to some business reason the stock was removed during inbound IDOC transfer then, what will happen to the IDOC..?. How to avoid this situation..??
               3. As we told we are re going to use SAP Jco b/w SAP & Java system. In this case, how the data will get transfered from Java system to SAP..?
Thanks in advance for the replies I am going to get
Regards,
VEL

Didn't get any feedback from experts for long time. So we are closing the question

Similar Messages

  • BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N

    Hi Everybody,
           We are in ECC 5.0 version.
           I want to create a enhancement for Outbound Delivery Creation with reference to a Sales Order.
           Is any BAPI available for this ?
           Any input on this will be very much helpfull.
           Please suggest any BAPI available for this, or should I go for BDC using VL01N or VL04 ?
           Thanks in advance.
    regards,
    Nagarajan.J

    Hi Nagarajan,
    The BAPI BAPI_DELIVERYPROCESSING_EXEC meets your requirement. You can create delivery with reference to sales order.
    The below is the sample code...
      data:lt_request      like bapideliciousrequest
                                    occurs 0 with header line,
           lt_createditems like bapideliciouscreateditems
                                    occurs 0 with header line,
           lt_return       like bapiret2
                                    occurs 0 with header line.
        lt_request-document_type      = 'A'.
        lt_request-document_numb      = vbeln.
        lt_request-document_item      = posnr.
      lt_request-material           = matnr.
      lt_request-plant              = werks.
      lt_request-stge_loc           = lgort.
      lt_request-quantity_base__uom = base_uom_qty.
      lt_request-delivery_date      = sy-datum.
      append lt_request.
      call function 'BAPI_DELIVERYPROCESSING_EXEC'
      EXPORTING
        DELIVERY_EXTEND       =
        TECHN_CONTROL         =
        tables
          request               = lt_request
          createditems          = lt_createditems
          return                = lt_return.
      loop at lt_return where type = 'A'
                          or  type = 'E'.
        exit.
      endloop.
      if sy-subrc <> 0.
    Use the BAPI for Commit
        call function 'BAPI_TRANSACTION_COMMIT'
             exporting
                  wait = 'H'.
      endif.
    Thanks
    Ramakrishna

  • BAPI for Outbound Delivery Creation with reference to Sales Order

    Dear all,
    I'm on R/3 4.6B platform and to develop an RFC for outbound Delivery creation instead of using the standard VL01N transaction.
    I've review BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N thread which suggest BAPI_DELIVERYPROCESSING_EXEC .
    However, in 4.6B, that function module doesn't exist. Appreciate any suggestion and or workaround.
    Thanks.
    Steven
    Edited by: Steven Khoo on Mar 25, 2010 7:13 AM
    Edited by: Steven Khoo on Mar 25, 2010 7:14 AM

    Not required anymore

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

  • Using Inbound IDOC from Java system creation of Outbound delivery

    Dear Experts,
    The scenario we are having is really very interesting. Hopefully its a good learning for me and also for others also.
    The scenario is,
    After sales order creation the details will be sent to one Non SAP system (Java) for performing some tasks related to forwarding agent decision, shipping date and etc. Once the details are finalized in that Java system then, the details needs to be transferred to SAP as "Inbound IDOC" process. For this proposed to use the SAP Jco middle ware.
    Once the details transfered from Java system to SAP then, the outbound IDOC needs to get generated automatically. Assuming the stock for that sales order line item is available. Also one more complexity is, our client is using custom transaction (ZVl10C) for delivery creation.
    Now Query is,
    1. Which IDOC, message type and Functional module needs to be used for creating the delivery automatically..??
    2. As per assumption, stock of that sales order line item should be available. Due to some business reason the stock was removed during inbound IDOC transfer then, what will happen to the IDOC..?. How to avoid this situation..??
    3. As we told we are re going to use SAP Jco b/w SAP & Java system. In this case, how the data will get transfered from Java system to SAP..?
    Thanks in advance for the replies I am going to get
    Regards,
    VEL

    Thanks for the feedback. This question is resolved

  • IDoc or BAPI for inbound delivery creation with reference to PO.

    Hi
    I have requirement to create a inbound delivery, I  will get a ASN from external system with PO, Vendor Material number & batch. I want to know is there any BAPI or IDoc that can be used to create inbound delivery in R/3. I used BBP_INB_DELIVERY_CREATE to create inbound delivery and I was successful but problem is that inbound delivery was not updated with Vendor Material number & Batch.  Can some one suggest me any other BAPI or IDoc ?
    Thanks in advance
    Nagendra P Boggarapu
    Edited by: Nagendra P Boggarapu on May 6, 2010 4:06 PM

    Use Delvry0* IDOC.
    Reddy

  • Outbound delivery with Inbound IDOC DELVRY06 with Message type SHPCON

    Hi Friends
    I am trying to pack outbound delivery with Inbound IDOC DELVRY06 with Message type SHPCON.
    But IDOC has error Specification of destination HU missing.
    Could you please help us to resolve the issue to Pack the outbound delivery with the  IDOC.
    Thanks
    SR

    HI Ian Kehoe
    Sorry for delay in reply
    Thanks you very much
    I solved that problem .
    Could you please advice  test data for IDOC  DELVRY06 packing hierarchy (multi level packing) to pack SAP outbound delivery.
    Thanks
    Ravi

  • Prevent Outbound Delivery creation against Purchase Order

    Hi All,
    we have a Intecompany (IC) process composed as following:
    1) IC purchase order
    2) Outbound delivery
    3) Good Issue
    4) Good Receipt
    5) Invoice and billing
    I'd like to prevent the outbound delivery creation in the purchase order as the delivery block does in the Sales order.
    I thought that using the confirmation control with control key  for order acknwledge was made for this purpose but my  tests was unsuccessful.
    Is there any standard way to achieve this goal?
    Thanks

    Applying a release strategy is not a bad idea but it would mean a more complex process as:
    1) the delivery block would based on a complex logic implemented on a user exit that would be not easily implemented with characteristics on which the release strat would be based
    2)  also the release process itsel would be more complex and different from the sales order unblock
    Even though I appreciate I'd prefer somthing easier like confirmation control or something similar that could be unset with just modifing the purchase order.
    Thanks again for the answer

  • Help required regarding the outbound delivery creation by batch job

    Hi Gurus,
    We are facing one problem in the outbound delivery creation.
    The deliveries will be created automatically (using program RVV50R10C) from the existing open sales orders through the run of a batch program for every 5 minutes.
    The program RVV50R10C is scheduled to run for every 5 minutes, which picks up all the open sales orders and creates outbound deliveries. However, during one run we have found an error.
    The error had message class V50R, message no: 024 and message type : I. The error message reads as follows : u201CAt least one order was blocked and could not be deliveredu201D.
    When we have checked the VBFS table, it showed the sales document line items with the Message type : E, Message no: 24 and message id : V50R.
    Can anybody decipher what could be the reason why this error message is appearing?
    Thanks in advance,
    Krishna

    Hi Friend,
    to clearly identify the issue,
    Goto SE38 and give the program which you are using as Back ground job to create the deliveries and  give the sales order number as mltiple entries and execute the program in back ground.
    In most of the cases we can identify the issue behind the job while doing this.
    please revert me if you need more clarification
    regards,
    santosh

  • Error while ORDERS05 IDoc transfer from R3 - PI - SNC

    Hi Friends,
    I am facing error in PI SXMB_MONI for ORDERS05 IDoc transfer from R3 - PI - SNC.
    I have done all the configuration setup in Integration Directory for the Scenario, I am able to successfully send the IDOC for PO from R3 to PI but faced the following Error in PI.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Message Split According to Receiver List
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">PARTY_SERVICE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      *<SAP:Stack>Party and service not defined</SAP:Stack>*
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Also I am unable to Configure Sender/Receiver ID in PI > SXMB_ADMIN > Configuration, as while defining Sender/Receiver  unable to add the Interface for Sender(ORDERS.ORDERS05)/Reciever(ReplenishmentOrderNotificatio_Out) although I am able to see the same in Integration Repository.
    Also In Main message(Part of the message) as shown below, I am able to see Vendor in PARTY Element of xml message for which I have created the PO
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Message Split According to Receiver List
      -->
    - <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30">
    - <SOAP:Header>
    - <SAP:Main xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
      <SAP:MessageClass>ApplicationMessage</SAP:MessageClass>
      <SAP:ProcessingMode>asynchronous</SAP:ProcessingMode>
      <SAP:MessageId>0050568F-24A0-1DDD-B9F5-3F6DD541FF93</SAP:MessageId>
      <SAP:TimeSent>2009-01-21T10:55:20Z</SAP:TimeSent>
    - <SAP:Sender>
      <SAP:Service>SAPECC6</SAP:Service>
      <SAP:Interface namespace="urn:sap-com:document:sap:idoc:messages">ORDERS.ORDERS05</SAP:Interface>
      </SAP:Sender>
    - <SAP:Receiver>
      <SAP:Party agency="SAPECC6" scheme="ALE#LI#LF">0000000006</SAP:Party>
      <SAP:Service />
      <SAP:Interface namespace="urn:sap-com:document:sap:idoc:messages">ORDERS.ORDERS05</SAP:Interface>
      <SAP:Mapping notRequired="Y" />
      </SAP:Receiver>
    Please Suggest the steps needs to be done for resolving the Issue.
    Thanks all...
    Regards,
    Nitin
    Edited by: Nitin Patil on Jan 21, 2009 12:18 PM

    Hi Nitin,
       I completed the configuraiton but the PO came in PI successfully but stuck in PI with error
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>Internal Server Error</SAP:P2>
      <SAP:P3>Error during parsing of SOAP header</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>HTTP server code 500 reason Internal Server Error explanation Error during parsing of SOAP header</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    can you please help what is the problem , I am not able to find out.
    Thanks,
    Menaga

  • Create PM orders/notif with inbound IDOC

    Hi all,
       Anyone knows how can I create a PM order and a PM notification with inbounds IDOC?. If there are not IDOC available, it´s possible create PM order and notification trhought BAPI´s?.
    Thanks in advance
    Abel

    Hi Abel,
    Have a look at BAPI_ALM_ORDER_MAINTAIN for PM Order and BAPI_ALM_NOTIF_CREATE for PM Notification.
    You can check the BAPI's from transaction code BAPI.
    Hope this helps.
    Thanks
    Lakshman

  • Control over qty in outbound delivery created with reference to P.O

    Dear Gurus,
    I am trying to create a outbound delivery document with reference to the purchase order. But, the system is allowing more
    quantity in delivery document than in purchase order. How to control it.
    Regards,
    Krishna

    Hi,
    You can control this through item category fetched in delivery. Please check whether you have set error message or note about situation for overdelivery under following customization path;
    SPRO>>Logistics Execution>>Shipping>>Deliveries>>Define Item Categories for Deliveries
    Here for your relevant item category, check under quantity table the entry maintain under 'Check Overdelivery'
    You can set it as A- So that user get the note of the situation or B- so that it gives error message.
    Regards,
    Udaya.

  • Issue in Outbound Delivery Creation w/o order reference & w/o sale order

    Hi ,
    I have an issue in outbound delivery creation without order reference and without sale order through
    BAPI_OUTB_DELIVERY_CREATENOREF . I am getting an error like
    1. Copying is not poss.because an entry is missing in Table TVCPL:  ZLR (Checked entries are there in the Table TVCPL)
    2. No instance of object type OutboundDelivery has been created. External reference.
    But I can able to create an outbound delivery through VL01NO txn.
    Pls help me where I am gng wrong.
    Regards
    Rupachandran

    hi,
    this is to inform you that,
    1. Copying is not poss.because an entry is missing in Table TVCPL: ZLR (Checked entries are there in the Table TVCPL)
    1.a. sorry for sending the link
    Re: can't create DN for sales return order
    balajia
    Edited by: balaji timmampalli achari on Dec 9, 2010 3:15 PM

  • Subsequent outbound delivery split with serial numbers

    Hi,
    I have a question about subsequent outbound delivery split with already assigned serial numbers.
    Case:
    First delivery is created and serial numbers are assigned. Now we have to do a subsequent delivery split for that delivery. In SAP standard, it's not possible to do a subsequent delivery split if serial numbers are already assigned.
    Does anyone know how we can handle this?
    Best Regards,
    Florian

    well, seems to be not possible at all.

  • How to check the Idocs sent from SAP system

    How to check the outbound Idocs sent from SAP system to target systems.
    How to know the message types and target systems.

    Hi,
    In Addition with the above mentioned transaction code(WE02), u can check out idocs in these table - EDIDC, EDID4, EDIDS.  Depending on different status you can differentiate them as Inbound or Outbound Idocs...
    Cheers...
    Santosh.
    <i><b>Mark All Usefull Answers...</b></i>

Maybe you are looking for