FTP_R3_TO_SERVER and IDoc order confirmation outbound

Hi,
In my requirement, I am downloading a XML file to a FTP site when outbound order confirmation IDoc is triggered.  I have coded this download in user exit (003) in IDOC_OUTPUT_ORDRSP(with all required FMs for FTP like HTTP_scramble,FTP connect, etc) . 
When I execute RSNAST00 program, the XML file gets downloaded in to FTP site with out any issues.  But when I save the order (having send immediately option for IDoc/output type), nothing is getting downloaded in FTP site - IDoc is fine.
I am not sure where it is going wrong while using send immediately option.  I suspected the RFC destination. I used the code if sy-batch is initial use SAPFTP RFC destination else use SAPFTPA destination.  This works perfectly when I execute RSNAST00 in foreground or in background.  I tried making the RFC destination to point SAPFTPA always in suspicion that even though the order save happens in foreground, the IDoc send process might be happening in application layer which may need SAPFTPA RFC destination.  But that also doesn't work in immediate processing option.
Pl let me know your suggestions.
Thanks,
Krish

I didn't realize that a script is running to delete the files in that directory.  Once I stop that script I could able to see the files in the FTP directory...Thanks, Krish

Similar Messages

  • PPPI PI sheet to trigger HUM goods receipt and PI order confirmation

    Hi gurus,
    We're running into a problem when setting up our PI sheets.
    We're using Handling Unit Management for our finished products and would like to use the PI sheet to post both the goods receipt of handling units and the order confirmation. For now let's assume all activities and ingredients are backflushed.
    For the HUM section we've created a function module that combines transactions COWBPACK and COWBHUWE. When called by itself it works like a dream.
    For the order confirnation we've successfully used standard SAP message category PI13, but also only when called by itself.
    The problem is when we combine them:
    When combining the Z function module to contain both COCI_CONFIRM_ORDER (from the PI13 message) and our ZHUM function modules, it appears that the COCI_CONFIRM_ORDER blocks the process order so the COWBHUWE part of our function module cannot be executed. This has something to do with the way SAP handles the "commit" in the function module.
    Now, I noticed it's possible to include more than one message category in customizing for the PI sheet category (when configuring through the wizard).  The idea is then to process the messages with a background job, filtering through the message category so we do the HUM part immediately and the confirmation only at the end of the shift so they don't block each other.
    However, when I do this still only one message category is created after processing the PI sheet.
    Do you know how to create messages with multiple message categories from the same PI sheet? Or if that's not the way, is there a better way to set up this process?
    Sorry for the long text, just wanted to be precise.  Any help is, as usual, greatly appreciated.
    Kind regards,
    Elt

    Hi
    1. What is quantity of the waste material you get as by product? Do not you wan it to be handled as scrap? What is the %age of scrap you have defined in the BOM for the material? You wll have some data regarding this. Or else how do you arrive at decission that after subcontract processes the waste you are paying him, Is it umpsum basis or material quantity basis. The best way is to have a Subcontract PO, but for that even though you do not weigh the watse quanity you must be having so historical data for the waste quantity generated and the conversion of the sane to other SFG , definitely you can arrive that on a pro_rata basis. Have a Code for the waste mateial. Release Subcontract PO for SFG which is what you get back, and issue the components( waste) to subcontractor.
    Please remember your PO intially will be for Provisional quantity if you are unable to reach a fixed quantity. Amend the PO before GR as per the actual quanity for which you wish to pay the vendor.
    For the waste quanity stock updation you use 262(w/o refe to Prd order) after the FG is confirmed.
    Material price updation happens cirrectly in this process.
    2. You can pay the vendor as you wish by by this process but what about the price updation for the ordered material SFG. When you can receive by product in separate Txn againt FG then why can not you follow the proces no. 1?
    3. I would not liketo suggest 3 rd option as that becomes much comlicated for a simple operation.
    Best Regards

  • Reversal of Production Order Confirmation through IDOCS

    Hello all,
                  The time for each operation in a  production order is logged in KabaBEnzing tool called Autotime. This is sent to SAP through IDOCS and the order confirmation is created. There is a scenario where the supervisor could have entered the wrong time against an operation. Is it possible to reverse the confirmation through IDOCs. If yes, please let me know what should be the approach? Also, I heard that SAP does not accept negative time to do the reversal. How true is this?
    All helpful answers will be rewarded.
    Thanks,
    Kalyan

    Hello,
    I saw your message and we are doing the same thing.  Did you find any answers to your questions.   We are using Kaba for our shop system and now we would like to sent negative numbers back to sap because of supervisor adjustments.  I have not found any way to set Sap to allow it.  What conclusions have you came up with the situation.
    Thanks again,
    Jeff

  • Order confirmation to ship to party and invoice to the agent-differnt price

    Dear Gurus
    My client has international customer. he has taken the order from customer and sending order confirmation to customer and sends the materials to the customer. But invoice is sending to the agent with discounted price (different price). is there any solution to change the pricing at billing level.
    regards
    thirupathi

    I need some further clarification on this
    1: Are you talking abou the output.that u will be sending to the agent
    2: Are u want a new billing docuent for the agent.
    If you are only planning to send the output of the invoice document to the agen with the reduced prize.. then u need to do the modificaion in the output FORM.
    Are u want a seperate invoice document in SAP for the AGEnt u are haivng the field in the Billing document (SPRO) for doc pricing pro. you can use this fileld and change the pricing deteminaton . This is like intercompanu functionality
    Regads
    CHA

  • Email and Fax smartform for Sales Order Confirmation

    Dear friends,
    I have a reqirement to mail and fax Order Confirmation ( Smartform ) to the ship to party.
    In NACE, I have created a Output type ZAU1 in which I have considered 5 External send and assigned the driver program and routine. Also I have selected " send immediatly ". I am unable to debug the driver program. I have put breakpoint in the routine ENTRY as well. Please put some light on this.
    with regards,
    Sathar

    This is for standard t-code 'VA02'. In VA02 goto extras->header->texts->edit
    i have put ZAU1... also selected the communication strategy..
    when i save... no process log appears aslo its giving error status...
    Regards
    Sathar

  • Email Sales Order Confirmation to "Created By" -

    Hi Experts
    I have a requirement where we need to email the Order confirmation output to the person who has created the sales order.
    So lets say i am creating a sales order and my user id is 9999. (SY-UNAME).
    Now as we have implemented HR module and our PERNR and user name are same.
    So in other words my PERNR will also be 9999 and email is maintained in HR record and well as user record.
    How can i achieve this functionality and Email order confirmation printout to "Created By".
    We dont want to send order confirmation to SP or SH but just created by.
    Thanks in advance.

    HI Shiva,
    I did exactly as you said but it send the email to the email ID maintained in Ship-to-party customer.
    I think "Recipient" field is just used for cover page (Incase you are printing cover page), i dont think SAP uses it for sending the form output.
    I think SAP sends output based on the partner function, so if i specify SH, SAP will send it to SH.
    I tried using "Created By" partner type too and all email setting are maintained for the creator and printer is properly setup but it doesn't allow me to use this partner function.
    I tried using both "$1" and "§§" but both of them doesn't work.
    I have also tried using Employee responsible partner type "ER" but even that doesn't work.
    Will appreciate if you can provide a solution for this.
    Thanks in advance.

  • Update Process Order Confirmations Back to SAP ECC

    Hi,
    Is there a document or step by step guide which explains how i can update  SAP EARP with process order confirmations from my shopfloor?  Below is the scenario i am looking for help in
    1. There is a SQL server table where the SHOP floor update the quantity manufactured against a Process order.
    2. I need to pick up that data from the SQL server table and update the ERP against that Process order.
    Can any one explain how this can be achieved.
    I checked the sample's and the templates in SDN but none of them actually show how to update any ERP?
    Please advice!!.
    Regards
    Suraj

    Check this one
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60ac6bb8-a684-2b10-208d-b90883004a5e
    https://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/204a13d0-399d-2b10-ec84-9c254cd7efd4
    You use this component to enable the shop floor operators to record their production order and process order confirmations using a touch screen user interface. In SAP ERP Central Component (SAP ECC) operators must complete many steps to confirm orders. Instead, you can use this interface, on a touch screen to enter the production performance easily and effectively. You can also use this component to obtain operators' work lists and information on their current activities.
    Regards
    Ram Upadhyay

  • Process order confirmation below tolerance limit, devation to be trigger to QA person

    Hi Team,
    Scenario is related with process order :
    While order confirmation , if we need to confirm process order below tolerance need deviation to be trigger which is approved by QA , allow order confirmation .
    How we can map the above scenario, so that deviation to be trigger to QA person for approval and than order confirmation is done.
    This is related with pharma company.
    Or Should we can map above process in other way.
    Thanks
    Vinu

    Hi Vinod,
    Is this o process order or Production order, if production order I suggest you to use the trigger point functionality, if process order u will need to go for user exit and some coding.
    Regards,
    Amol Kale.

  • Order Confirmation - Generate IDoc even if the order is credit block - How?

    Hi EDI Experts,
    I have a simple requirement. I have no requirement set up in the output determination procedure for Order Confirmation. At this scenario, i am getting outbound 855 IDoc for all the orders except, the orders with Credit block on it.
    The client wants to send out the order even if it is credit blocked. Is there a way that i can do this?? Any suggestions ??? Your views are most welcome.
    Thanks and Waiting for youy replies,
    Creasy Matt

    Hi,
    I'm not sure, whether it is apt to ur requirement.
    We can remove the Credit block by configuring the 'Sales Order Types'.
    from the Tcode: VOV8, 
    Select ur order type (OR), click on the details icon
    there u can find the 'Delivery block' at the Shipping tab.
    thanks\
    Mahesh

  • How to send IDoc(Sales Order Confirmation) without Message control

    Hi,
    I need to send Sales Order confirmation,Delivery and Invoice through ALE (IDoc's). I am asked not to use MESSAGE CONTROL or CUSTOM IDoc to send confimation.
    I dont need to send a instant confirmation but i can do it at a specified time intervals.
    Do we have any other possiblity other than the both?
    Can you please give the steps to do, if possible?
    Thank you in advance,
    Gangolu.

    Hi
    This link may be useful
    Re: Re-open EDI - ORDCHG for outbound sales order

  • Confirm Outbound Delivery with HU number via iDoc

    Hello SAPman,
    I am trying to confirm a outbound delivery thanks to iDoc,
    the context is the following :
    Storage location is managed with HU but there is no SAP WM.
    The goal is to get an iDoc from a external WMS with the HU which had been picked.
    I tryed with iDoc based on message WHSORD / SDPACK / DESADV
    but each time, the iDoc integration stop because SAP find the HU filled in the iDoc in the storage location, and don't want to use it.
    mesg HUSELECT 005
    My need is to affect the HU filled in the iDoc to the outbound delivery and post the good issue.
    Did you ever work with an eternal WMS with such a need ?
    Best Regards,
    Jérémy

    Hi,
    it is quiote some time ago that I have worked with that, but have you considered to establish a LEAN WM in the SLOC which is controlled by the external WMS system?`
    In this case you will have Transfer Orders and you can work with WMTORD/WMTOCO
    Additionally you can leave the lean WM as it is without a mass of config and it should be possible to work properly with HU's.
    Best regards
    Uwe

  • Sales Order confirmation through standard IDoc in Background

    Hi all,
    I want to send Order confirmation throough standard or existing IDoc.
    Can  you please help me the steps to configure the IDoc
    and also the standard program to fill the IDoc with the data and send as background job.
    It is also the case for
    Invoice
    and Shipping
    Can you please send me the steps to  configure and standard program to fill the IDoc with data.
    Hope you would respond me ASAP.
    Thanks and Regards,
    Shalem.

    Hi,
    After the sales order has been created, an ORDRSP IDoc is automatically created using message control.  This IDoc is sent from the vendor system to the retail system, which means that the outbound IDoc can usually be found in the vendor system and the inbound IDoc in the retail system.
    SAP menu -> Tools -> Business Communication -> IDoc Basis -> WE02 –> Display IDoc.
    Before this you need to complete NACE configuration Part.
    If you want to send the IDocs automatically while creating sales order, you can configure it using message control. The process code will be SD10, which is for sales order confirmation (called as EDI 855).
    Use NACE transaction to create output/message type with program as RSNASTED and form routine as EDI_PROCESSING and configure the condition record for your partner (profile). Also configure the same in your partner profile.
    <i>Hope This Info Helps YOU.</i>
    Regards,
    Raghav

  • How to tigger SISCSO01 Idoc for sales order confirmation

    Hello Experts,
    I have a requirement where in I need to send the sales order confirmation as an IDoc. I need to use SISCSO01 IDoc type for that.
    Can any please tell me how to configure SAP to trigger this IDoc when ever a sales order is confirmed.
    In which T-Code is this sales order confirmation is done? and how to trigger the IDoc?
    Thanks,
    Suma

    Hi Suma,
    We need to maintan BD64 and WE20 with the Idoc SISCSO01 type. This is will automatically trigger the Idoc when we create a sales order.
    You need to matain NACE for tiggering the IDoc. For that use BA00 in output types and configure program RSNASTED, from rotine as ALE_PROCESSING. In default values give transmission medium as ALE and parter function as SP.
    Then come back to NACE-Condtion records and maintain meduim as A and date as 4.
    Please reward if helpfull.
    Thanks,
    Srikanth

  • Automatic goods issue for outbound delivery, during the transfer order confirmation

    Hello,
    Could you please advise how to realize automatic goods issue for outbound delivery, during the transfer order confirmation in the WMS.
    Now after creation of outbound delivery, i can't post the goods issue. Before i have to make the transfer order and confrim it and only after this i can post the goods issue in the VL02 t-code.
    Could you please advise - what i have to customize that to make automatic GI for outb. delivery (i mean with creation material document) during the TO confrimation.
    Thanks in advance.

    Hi Iiya
    Check the below setting, might be helpful

  • Idoc - for inbound delivery order confirmation

    Hi,
    Can some body give me the idoc for Inbound SO Delivery Order Confirmation and if any BAPI method is there to create Delivery order confirmation.
    With Regards
    Vasu

    Hi Vasu,
    Below is the link to find out the IDOC name for ur Inbound IDOC scnario
    http://help.sap.com/bp_bpmv130/Documentation/K17_BPP_EN_US.doc
    Hope this willl help you.
    Reward if helpful.

Maybe you are looking for