Sending Production orders via Idoc to external system

Hello,
I want to generate an Idoc for a production order when releasing or saving it. Is there an output control where I define the message link the purchase order?
Thanks!!

By IDoc-Tunneling i am thinking of just putting the IDoc through XI without transformation in XML (like in one blogs of Michal). Because of this blog there seems only to be one step in IR - import IDoc. in ID there are the mandatory steps.
But if i want the ext. Admin to tell what parameters i need to communicate with the ext. system i have doubts in telling him just the IP and perhaps a program which we have to start via RFC configured in XI.
regards

Similar Messages

  • Sending order data to an external system using scp sftp (osm 631.221)

    Hello There,
    I need to come up with a means of sending some order data to an external system via SCP or SFTP.
    I was looking at an automated task that would fire off some Java to package the data, create the file and send it.
    I then have to write another automated task that will block the order and check the file system for a return file and then update the order with the data from the file.
    Does any one have ideas on the best / recommended approach to achieve this ?
    I am obliged :-( to send and receive the file via SCP/SFTP.
    any help would be appreciated.
    Jim

    Hi Jim;
    Using a custom Java automation plugin is the right place to start to tackle the problem. There are several Java libraries that you could consider. Apache Commons VFS (http://commons.apache.org/vfs/index.html) supports both SCP and SFTP and insulates you from having to deal with the specifics of either so you may want to start there.
    As for the problem of getting a response, given that there is no notification type capability with those type of file systems, you will have no choice but to poll to check if the file exists. Not pretty, but so long as you are not dealing with very high volumes it should work ok. You can model the polling as a subprocess consisting of two tasks. Task A is implemented by a custom automation plugin using VFS or similar to go and check if the file exists, and if it does download it. If the file exists and is downloaded successfully then the task completes with a success status. If the file does not exist then it completes with a retry status. The retry status is mapped to a delay rule task - and the delay rule task simply waits for some interval (e.g. 1 minute) after which it completes and loops back to Task A.
    Hope this helps,
    Brian.

  • Send production order changes to external system IDOC

    Hi,
    I need to send production order changes to an an external system. I understand that I can trigger idocs using t-code POIT.
    but my requirement is when a order is changed, i want to trigger an IDOC to external system with the new PO data...how can I achieve this

    Hi Swathi,
    A very high level idea.
    You can use the user exit..."LXCO1U06" and call the transaction POIT in back goround and submit the idoc. This exit is used @ save of TA code CO02. Moreover as the production order can be changed through several transactions like COHV, CO40, COOIS etc....you have to check whether this exit would be applicable for all transaction.
    Regards,
    Chinna

  • IORD for sending Order via Idocs

    Hi SAP Experts,
    Does anybody know how to use T-Code IORD for sending Idocs, every time I run this T-Code not a single Idoc gets created.
    Also I would like to know what does 'Status Profile/User status to be set' mean on the selection-screen, I think its happening due to this only.
    I've done lots of Idoc Integration using HR Idocs but this is a first Idoc Integration for me in PM module so not sure what should be the best way of sending Order via Idocs to 3rd Party system.
    Any help would be appreciated.
    Thanks,
    Sunny Thakur

    Hi Pete,
    We are trying to send SAP PM Work Order for production equipment changes , I came to know that IORD generates Idocs for Order but somehow whenever we try to run this T-Code all the orders are getting rejected. Also I've noticed Idoc Type IORDER cannot be used for sending Delta changes , is it true? I can't find any entry for this message type in BD60 so makes me think SAP did not design this Idoc type for delta changes, even though I know we could customize it
    Do you know what should be the best way of sending SAP PM Work Order to external system , should we create one custom Idoc type?
    Let me know in case you could help me out.
    Thanks,
    Sunny Thakur

  • Send IDoc from External System to SAP system

    Hi Folks,
        I have a requirement to send IDocs from an external system to the SAp system. Basically the external system is a subsystem which is able to send & receive idocs. The external system is currently able to send idocs to SAP system through the ALE layer but now we have to replace it by PI. Now the external system has to send teh IDocs to the SAP ECC system through the SAP PI 7.0.
       Kindly let me knowq how I can achieve it.
    Regards,
      Santosh

    Hi Satish,
    You can achieve this requirement
    1)If your external system going to support web service cals then send IDoc from External system as a web service, in PI use sender side SOAP and receiver side IDoc receiver channel  to  send IDoc.
    or
    2)Use proxy program ,implement the same ALE logic in PI.
      or
    3)Copy the Extenal IDoc message in to file folder as XML,then use file adapter to pick up this message and send it SAP using IDoc.
    Regards,
    raj

  • Send production date by Idoc

    Hi,
    What is the (best-practice) Idoc message to send the production date (from the batch - MSC3n) to the customer? Is there a standard solution?
    I tried to use the QCERT message, but there is only the shelf-life date, but I would like to send the production date.
    Thanks in advance.
    Best regards,
    Thomas

    Hi,
    My understanding is that LOIPRO is used to send Production Orders to external systems. But we have to send this information to the customer and if possible we want to include the information in an existing message (QCERT or DESADV).
    Has anybody experiences in this? How did you implement this?
    Thanks,
    Thomas

  • IDOC HRSM_D External System / Deletion of vacancies failed

    Hi,
    we are using IDOC HRSM_D01 Upload Time Data to send HR vacancy data from an external system to SAP HCM.
    It should update Infotype 2001 with vacancy type 0100.
    This works fine. Data are sent via PI / IDOC and inbound processing through code HRSM_D.
    After that, we can see it in tables PTEXDIR and PTEX2000. It is transferred to HR/PA30 with the report RPTEXPT.
    So far, so good.
    Now we want to delete it. We re-send the same record, same  AWTYPE, DOCNR etc and add the "X" for REVERSED.
    The IDOC WE02 shows green, BAPI POST successful, but nothing is in table PTEXDIR and PTEX2000.
    When I look at the function module IDOC_INPUT_HRSM_SCHEDULE, it only handles PA2002 (Time Attendance, not absences) for reversed data. Is this true?
    Can I only delete Attendancies?
    Thanks for deedback
    hs

    When I look at the function module IDOC_INPUT_HRSM_SCHEDULE, it only handles PA2002 (Time Attendance, not absences) for reversed data. Is this true?
    Can I only delete Attendancies?
    I copied the whole sender agreement etc. and created a zIDOC_INPUT_HRSM_SCHEDULE procedure.
    I found out, that Infotype 2002 was hardcoded and 2001 Deletion was not supported. Now it workes, when I deleted the hardcoded 2002-checkup.
    But is there any better way?
    thx
    Holger

  • IDOC from external system

    Hi,
    I have scenarion in that we will receive IDOC from external system (SAP system) in XI i.e. IDOC- XI -IDOC scenrio. from my Understanding ,to configure the scenario I have to do ALE from sender side and IDOC receiver channel in receiving side.
    External system (SAP) -(ALE)-> XI -(IDOC rcv)--> Our System (SAP)
    Please can anyone provide me steps to do ALE from external system.
    Edited by: tapan singh on Feb 28, 2011 11:51 AM
    Edited by: tapan singh on Feb 28, 2011 11:52 AM

    Hi,
    We can have alternate ways to send IDocs from external system to SAP system. One way is in below link
    http://help.sap.com/saphelp_46b/helpdata/en/52/16abf6543311d1891c0000e8322f96/content.htm.
    http://help.sap.com/saphelp_40b/helpdata/ru/52/16abcf543311d1891c0000e8322f96/content.htm
    I can think of few more, like In external system after generating Idoc, save it as a tex and send it to SAP system using Http post or using web service.
    Look out to below discussion.
    Send IDoc from External System to SAP system
    Regards
    Aashish Sinha
    Edited by: Aashish Sinha on Feb 28, 2011 1:16 PM

  • Creation of sales order via IDoc ORDERS05 - specify a reason of rejectio

    Hi,
    I want to create a sales order via IDoc (type:ORDERS05), i specify for an E1EDP01 segment a reason of rejection (ABGRU),
    The sales order is created succefully by calling the FM IDOC_INPUT_ORDERS but the order quantity of the item where i have specified a reason of rejection is equals to 0.
    Is this normal? i want that this will take 3 value either 0?
    Could anyone help me?
    Thx

    Hi,
    Thank you for ur answer.
    I've followed the procedure that you have explained and the Quantity 3 have been succefully passed to VA01 but is set to zero when i execute the next OK-CODE (=UER2, i think it is llike Enter button ). I simulate the same procedure by creating a sales order on VA01 and i've finally found the problem : at item level, if i enter the Material (MATNR), the order Quantity (KWMENG) and the Reason of rejection (ABGRU), the quantity is set to zero after clicking the enter button ; but if i enter only The material and The quantity followed by enter button, and enter after the Reason of rejection, it works fine, the Quantity doesn't change.
    What is the solution that you propose to me?
    I've try this one on debugger mode:
    The FM which interpret the Idoc create the sales order by CALLING TRANSACTION 'VA01' USING bdcdata....
    I've modified the bdcdata to implement the sequence of the steps before (MATNR + QTY <ENTER> ABGRU <ENTER>).
    1. Is it possible to code this modification?
    2. Is there a way to structure the Idoc for having this sequence in bdcdata?
    Thanks in advance!
    Narivelo

  • Problem in sending purchase order via EDI

    Hello Experts ,
    I want to send purchase order via EDI , for this i have refer the below link for configurations.
    link :
    http://help.sap.com/saphelp_nw04/helpdata/EN/dc/6b7c9f43d711d1893e0000e8323c4f/content.htm
    I have created purchase order (ME21N)and saved it.
    Then i went to ME22N , Goto -> Messages, i am getting below error .....
    Maintain outgoing EDI connection data for partner 8888(this is the partner number i have created in partner profile)
    please suggest the possible cause of the error and how could i rectify it.
    Thanks
    Sonal

    Ensure that you have the relevant message type in outbound parameters for this partner profile

  • How to send purchase order via e-mail.

    Please could someone let me know how to send purchase order via e-mail.
    I am an BC.
    e-mailing is functionning however I am not very familiar in settings for MM

    No, you do not need to touch ME_PRINT_PO. You need to put code before and after ME_PRINT_PO in the print program.
    Step 1 - Copy the standard print program SAPFM06P to make a Z version, lets call it ZSAPFM06P
    Step 2 - Copy include FM06PE02 to make a Z version, lets call that ZFM06PE02.
    Step 3 - ZSAPFM06P change the statement "Include FM06PE02" to read "Include ZFM06PE02".
    Step 4 - In include ZFM06PE02 you will find a subroutine called "ENTRY_NEU". In this subroutine you will see it first calls ME_READ_PO_FOR_PRINTING then calls ME_PRINT_PO. Before it calls ME_PRINT_PO just put:
    l_nast-nacha = 1.
    CLEAR l_nast-dimme.
    This means that ME_PRINT_PO will not e-mail, it will create a spool request.
    Step 5 - Still in ZFM06PE02, after ME_PRINT_PO has been called, add new code. First check that ent_retco EQ 0. If it does not then exit.
    Step 6 - Get the spool ID created by ME_PRINT_PO by either moving sy-msgv1 to a variable or select from NAST.
    Step 7 - Call function CONVERT_OTFSPOOLJOB_2_PDF using the spool ID from step 6, and put the result from table PDF into an internal table you can use later. ALso store the export variable pdf_bytecount, you will need it later.
    Step 8 - Call function SX_TABLE_LINE_WIDTH_CHANGE using the table from step 7 as content_in and put the results from content_out into a new internal table.
    Step 9 - Add some text into a internal table of type solisti1, this will be the body text of the e-mail.
    Step 10 - Add whatever receivers you want into an internal table of type somlreci1. If you just want it to go to the address that the PO would have gone to anyway, select the e-mail address from ADR6 where the address number = l_doc-xekko-adrnr, that is the data from the PO.
    Step 11 - Populate an internal table of type sopcklsti1 with data relevant to your PDF table from step 8 and the text table from step 9. You will have to put the size of the PDF from step 7 (pdf_bytecount) on the PDF line and the size of the text will be the number of lines of text * 255.
    Step 12 - Add info to a structure of type sodocchgi1. You can add the e-mail title in here, field obj_descr. Also add the size of the PDF and the size of the text from step 12 into doc_size, and give the doc a name in field obj_name. This can be anything, ZPDFPO for example.
    Step 13 - Call SO_DOCUMENT_SEND_API1 using the tables from steps 8, 9, 10 and 11 and the structure from step 12. You can amend the sending e-mail also. Set commit_work to space.
    Step 14 - That is all you need, but I actually call function RSPO_R_RDELETE_SPOOLREQ to delete the spool request created in step 4, then call NAST_PROTOCOL_UPDATE to add some more messages to the processing log of the PO.
    That is all.

  • Questions concerning HowTo send IDoc to external system

    Hi guys,
    well i want to send and receive IDoc from an external system.
    The other side of the communication now needs information from me what kind of parameters i can give to connect both systems. Also i need some informations concerning this.
    I gonna use IDoc-Tunneling in XI. Because of sending data to the ext. System i need a RFC-Connection of TCP/IP?! But what kind of program do i have to start at other side (see Technical settings).
    - Special to XI i have to configure a third party system in SLD. Do i need the system-parameters from the ext. System?
    - in ID i have to configure PARTY!? Right?!
    How to load external meta-data? is it possible via IDX2 by using the TCP/IP-RFC?
    Perhaps somebody can give me a road map on which data i need from the ext. system and what i can give to the admin of the ext. System for sending IDoc to XI?!
    br Jens

    By IDoc-Tunneling i am thinking of just putting the IDoc through XI without transformation in XML (like in one blogs of Michal). Because of this blog there seems only to be one step in IR - import IDoc. in ID there are the mandatory steps.
    But if i want the ext. Admin to tell what parameters i need to communicate with the ext. system i have doubts in telling him just the IP and perhaps a program which we have to start via RFC configured in XI.
    regards

  • Error message mes when trying to send PO via IDOCS to another system?

    Hi Abap expert,
    I am getting wired message what I ma trying to send PO via IDocs to other SAP system.
    I went to all partner , port configurations on WE20 and everything there seems to be fine but once I go to ME23N, then GO TO -> MESSAGES , than opens another windows when you key in MESSAGE CONTROL DATA that have been mantained
    in the outbound parameters in the PARTNER PROFILE configurations.Then I am getting the message :
    'No communication data has been defined for transmission medium 6'-----
    The LED on "PO:output screen' is YELLOW and never gets green.
    Can someone tell me how to overcome this and send my PO Idocs?Please some more details will be appreciate it!
    Thank you much eveyone!
    Boby

    Hi,
      Go and check it in NACE tcode, whether , Condition type, output types are maintained or not? if not maintained, Maintain it for 6 -PO for EDI.
    Hope this is the error you are getting.
    Thanks
    Manju

  • Sending IDoc from external system to XI system

    Hi All,
        I want to send an IDoc from a subsytem (External System) to the SAP PI system. how to achieve the same ?
    Regards,
       Santosh

    hi,
    >>>Do you mean to say the port I am creating for the external system should actually refer to a SAP system
    not the port - port's name should be a new one but the RFC should point to an SAP system
    >>>and the IDoc you want to transmit should be imported to that port using the tcode IDX2.
    this will be transported then from SAP application system
    >>>>In fact I have already done the same step but its still not working the IDoc is not reaching the XI system.
    then you should see the error in your sending tool - I worked with JCO IDOC client and the error was always
    very explanatory (like BS in SLD missing etc.) so it was pretty easy to debug
    Regards,
    Michal Krawczyk

  • ME23N Error when trying to send PO via IDOCS to another system?

    Hello Experts,
    I am getting wired message what I ma trying to send PO via IDocs to other SAP system (XI)
    I went to all partner , port configurations on WE20 and everything there seems to be fine but once I go to ME23N, then GO TO -> MESSAGES , than opens another windows when you key in MESSAGE CONTROL DATA that have been mantained
    in the outbound parameters in the PARTNER PROFILE configurations.Then I am getting the message :
    'No communication data has been defined for transmission medium 6'-----
    The LED on "PO:output screen' is YELLOW and never gets green.
    Can someone tell me how to overcome this and send my  PO Idocs?Please some more details will be appreciate it!
    Thank you much  eveyone!
    Boby<b></b>

    I just got the same problem. Everything worked fine when i was using message type ORDERS01, but when i changed it to ORDERS05 this problem started happening.
    This might solve your problem. If you have it solved out can you tell us the solution you found??
    regards,
    Diogo

Maybe you are looking for

  • I have 3 ipods that buy different stuff. Can i use one itunes account.

    My 3 kids each have an ipod touch.  They used giftcard to buy all there stuff on them or got the free stuff. I have only hooked them up to a computer once when I got them.  Do i need an itunes account for all or use one for them. Please Help Mom with

  • Vertical stripes after latest Security Update 2008-004 for OS X Tiger

    Hi there, I'm experiencing vertical stripes and color issues on my PB G4 17 inch screen after the security update 2008-004. Funny thing is, a screenshot looks fine. I already resetted PRAM and NVRAM. Didn't help. Does anyone know a solution? Thanks,

  • Need Help: SAP User cannot Post on every Transaction

    Hi Experts, I have a problem on our QAS system, I have tried to post a lot of documents in transaction MIGO, in creating RFQ through ME41, in Posting Accounting Document in FB50. But all of them failed with the Express Document appearing at the end o

  • Help! Netscape browser problems

    Hi, This is my first time using layers, and I'm finding that Netscape 8 shifts text downwards slightly. I've posted the "Cafe Townsend" tutorial to illustrate the problem I'm getting- http://www.juliespetportraits.com/Cafe_Townsend/index_css.html If

  • Coolest Thing I've Ever Seen!!!

    Hi,  Does ANYONE know how they did this?  I've never seen anything like it before and was wondering if it's a component or sonmething that I could buy.  If anyone has any ideas I'd really appreciate it!! Philips Cinema Microsite - http://www.cinema.p