Inbound Production Order IDOC

Hi All
I have requirement where data is coming from legacy system to SAP IS AFS version 6.0 via GIS  to generate a production order. I found the IDOC type for this LOIPRO01.Can any one having the mapping document.
Pl advice for the production creating via external system, need to maintain the BOM and Routing in SAP. As my requirment is no need to maintain the master data like BOM and Routing but need to create production order from External system. Pl advice is it possible?
Thanx in advance
Regards
Kumar

Hi,
All production and process orders are transferred independent of their status in POI in IDoc LOIPRO in the standard system.
To do this, you need all master data in SAP-ERP System.
Hope following URL will suffice your needs;
https://wiki.sdn.sap.com/wiki/display/Snippets/ProductionOrderIdoc+Program
https://wiki.sdn.sap.com/wiki/display/ABAP/ProductionOrderIdoc+Program
Bye,
Muralidhara

Similar Messages

  • Production Order IDOC

    Hello all!
    Can anyone give any information as to how Productin Order IDOC is generated? The requirement is that IDOC should be generated  when the production order is "released".
    Thanks  a lot !
    Deepak

    Hi Deepak,
    Welcome to SDN.
    You can use transaction code POIT or schedule a job to execute standard SAP program RCCLTRAN to generate production order IDocs.
    But prior to this, you need to setup ALE distribution model (BD64) for message type LOIPRO and IDoc type LOIPRO01 and also setup the partner profile (WE20) for message type LOIPRO and IDoc type LOIPRO01.
    Also you can execute standard program RCCLORD to generate production order IDoc based on individual production order.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Production Order Idoc Creation

    Hi All,
    I need to create a idoc when a Production Order is released.
    Can someone letme know how to do the same.
    Regards,
    Rahul

    Hi Rahul,
    You can use standard program RCCLORD or RCCLTRAN to create production order IDoc.
    Please ensure you have setup the ALE and IDoc configuration prior to run above programs for message type LOIPRO. For examples, the Distribution Model (BD64), Partner Profile (WE20), RFC Connection (SM59) and File Port (WE21).
    Hoep this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Production order & idoc number

    gurus,
    is there any table which gives link between the production order & idoc number

    check the nast table in se16..
    object key is the  production order ..
    and catch the partner number from nast and pass to EDIDC table with data and time to get the idoc number from EDIDC table.
    Regards,
    Prabhudas

  • Creating inbound Sales Orders IDOC within SAP

    Hi,
    I receive a flat file containing sales order information. I would like to create inbound Sales Order IDOCs from this flat file. I know I can use BAPI_SALESORDER_CREATEFROMDAT2 to create sales orders however I would like to retain the benefits of IDOCs e.g. error retention and re-processing.
    There are a number of functions MASTERIDOC_CREATE* to create various IDOCs but I can't seem to find one for message type ORDERS. I know I can create a 'Z' version but would like to avoid that as much as possible as development budget is tight.
    Any help would be greatly appreciated in the form of reward points.
    Thanks and regards,
    Liam

    Hi,
    Can u tell me the steps to create a sales order using idoc, i've created a bapi but thats a temprory use. I wanted to created a sales order automatically when a purchase order is saved.
    Please let me know if u can help me, i wanted to do it using idoc
    Regards
    Sanju

  • Production Order IDOCs

    Hi all
    1) I am sending SAP Production orders to my legay system via an interface using Idoc LOIPRO01. I want to send Production orders based on a restrictions like Order status, Release date etc. If I use tcode POIT then I am not able to use the restrictions. Is there a way I can create Production order Idocs based on constraints like order status and dates?
    2) In another scenario I want to trigger the IDOC LOIPRO01 the moment the Production Order is released. Is there a way I can do it.
    thanks a bunch
    John

    Hi John,
    Here are all user exits available (SMOD) for CO02.
    PPCO0010                              
    PPCO0012                               
    PPCO0013                               
    PPCO0015                               
    PPCO0016                               
    PPCO0017                               
    PPCO0018                               
    PPCO0019                            
    PPCO0021                               
    PPCO0022                               
    PPCO0023                              
    STATTEXT                              
    PPCO0009                              
    CCOWB001                               
    COIB0001                               
    COZF0001                              
    COZF0002                               
    PPCO0001                               
    PPCO0002                               
    PPCO0003                               
    PPCO0004                               
    PPCO0005                               
    PPCO0006                               
    PPCO0007                               
    PPCO0008                                
    There are also BADIs available as well.
    SIDAT_UPDATE        
    AFABD_CHANGE        
    CAUFVD_CHANGE       
    PPPI_SEL_ORD_EXT_REL
    Perhaps you may want to explore with your technical folks to find out the proper one to use to generate the IDoc.
    Regards,
    Ferry Lianto
    Please reward points if helpful and close the thread if solved.

  • Inbound Production order  creation

    Dear All,
    We have a scenario where we need to create,change and delete a production order for inbound on 4.7 version.
    LOIPRO01 idoc available for outbound . Can anyone suggest whether  can we use it for inbound creation or any bapi
    available please suggest.
    if LOIPRO01 is currect idoc what is process code used for inbound.
    Thanks in advance
    Vijay

    Hello,
    How do you fix your problem ?
    I don't know what to use for the inbound idoc LOIPRO 01...
    Thanks

  • GR against Production Order - IDoc

    Hi,
    At Goods Receipt against a Production Order (Transaction MB31, movement type 101), I need to send an ASN (DELVRY03) like IDoc.
    How do I proceed with this requirement?
    Thanks for all your help.
    Thanks,
    Sneha

    Atish,
    Thanks for your quick reply.
    Her is my question .... Is it possible to send an ASN like message from MB31? If yes can I use the standard IDoc and output determination using message control to do this.
    I have configured output determination using NACE and application type "ME"
    Thanks,
    Sneha

  • Message No.00088 while posting Inbound Sales Order Idoc.

    Hello Experts,
    I am working on Inbound Interface i.e inbound sales order via Biz talk. When BizTalk send one file contains all sales order related data .
    When it comes to SAP, the Net price for PRICE condition type, getting an error message
    Input must be in the format ___,___,__~.__V
    Message no. 00088
    Diagnosis
    Your entry does not match the specified input format.
    System Response
    The entry in this field was rejected.
    I already checked my User settings everything is ok. When I am manually putting it like 122.32 its working but when its came by file thru inbound interface I am getting the above error.
    The Net price field is KOMV-KBETR.
    Please help me out.
    Waiting for your suggestions.
    Thanks in Advance.
    Dev

    Thanks for your reply.
    Already check that thread & settings.
    Still the error is there.
    Manually its working only when data receive tru IDOC sysytem is throwing same error.

  • Shipto on Inbound EDI Order Idoc

    I cannot get the inbound order idoc to select the shipto. When I map in the E1EDKA1 WE, I am getting different results (errors) depending upon whether I use the PARTN or LIFNR.
    If I map in the WE LIFNR, the error message is: "Customer belongs to customer group 0002 and thus cannot be the soldto". In this scenario, I am also mapping in the AG with LIFNR.
    If I map in the WE PARTN (AG LIFNR also), the error message is: "Field KUWEV-KUNNR does not exist on the screen.
    My goal is to able to use EDPAR using LIFNR to select both Soldto & Shipto. I would have thought it would have been as simple as filling these values into E2EDKA1 and updating EDPAR with the corresponding values. But as you can see, this is not working for me. Is this possible? Has anyone been able to get this to work?
    Thanks.

    Look at this blog..Will tell you how to troubleshoot your IDoc issues..
    <a href="/people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process of ALE Process</a>
    Raja T

  • Crating multiple sales orders based on one inbound purchase order idoc

    Hi All,
    I have a requirement to create multiple sales orders based on single inbound PO idoc.Please let me know whether is it possible or not?
    Regards
    mahesh

    Hi Mahesh,
    What is your crieteria for different SO's ?
    Regards
    Megha

  • Segment for WBS element in Inbound Sales Order Idoc

    Hi gurus,
    I am trying to create an inbound idoc for sales order ' VA01'. I need to populate WBS element in the item level under Account Assignment Tab. I am using ORDERS05 basic type. Please help to find which segment to use for WBS element. Waiting for your reply. Please help.
    Regards,
    Satyajit

    Hello,
            As far as I know, there is no Segment / Field definition in ORDERS05 for WBS Element as it is not mandatory information to be filled in order for the Sales Order to be Complete. So, you need to create an Extension of the IDoc Type ORDERS05. For your requirement, here is the Approach I have.
    1. Create an extension for IDoc Type ORDERS05 to ZORDER05 with a Custom Segment Z1EDP01 in which you'll have the Custom Field Name VBAP-PS_PSP_PNR which is the WBS Element field in VBAP Table.
    2. Now, use the Customer Exit EXIT_SAPLVEDA_001 in the Enhancement VEDA0001 in which you can actually populate the Field WBS Element that would be already available in the Inbound IDoc to store it in a Work Area. As you are aware, you'll need to create a Project in CMOD for the same.
    3. Export the same to some MEMORY ID 'XXX'.
    4. Come back to the Selection Program for ORDER05 which is IDOC_INPUT_ORDERS in which you'll find the below CASE Statement.
        CASE xaprau.
              WHEN ' '.
                PERFORM call_va01_new_orders USING ok.
              WHEN 'Q'.
    Aufruf Transaktion Auftragerfassung VA01 mit Bezug auf Angebot
    call transaction Order Entry VA01 with refer to quote number.
                PERFORM call_va01_new_orders_angbt USING ok.
              WHEN 'C'.
    Aufruf Transaktion Auftragerfassung VA01 mit Bezug auf Kontrakt
    call transaction Order Entry VA01 with refer to contract number
                PERFORM call_va01_new_orders_contk USING ok.
              WHEN 'L'.
    5. Now, since our Standard Order Type (VBAK-VBTYP) is 'C',
        we'll have to choose the Subroutine for the 'C' Option.
    6. In this Subroutine, there is another Subroutine va01_dynpro_kopf_kaufmann_kde2 which is for populating Custom Dynpro Fields for the Sales Order. So, we need to choose the same Subroutine inside which we have to Create an Enhancement Implementation.
    7. In this Enhancement Implementation (Implicit), we have to IMPORT the value of the WBS Element which was exported in the Customer Exit.
    8. Check if it is initial. If it is not, then Call the Perform as below.
         IF NOT WA_Z1EDP01 IS INITIAL. "Checking if the Segment
                                                           " is Empty
       PERFORM DYNPRO_SETZEN USING 'COBL-PS_POSID' WA_Z1EDP01-ZZWBSELEMENT.
    ENDIF.
    9. Since the Sales Orders are posting using BDC here, by calling the above Subroutine DYNPRO_xxx, we are appending our Custom Segment / Field value to the BDC_DATA table.
    10. In Step 8, I've given the Notation for Work Area. It will also be applicable when there are multiple Line Items. All you have to do is to EXPORT an Internal Table instead of Work Area and use the same here for each Line Item.
    11. I've given you above procedure because I've worked on similar requirement in which I had to populate the Special Processing Indicator instead of WBS Element.
    Hope it would be helpful for you.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Inbound Sales Order IDoc ORDERS05

    Hi there,
    I'm using the Idoc ORDERS05 Process Code ORDE to create Sales Order, all the process it's working perfectly. I would like to know if I can fill the header text of the order using the Idoc. The FM that I'm using is IDOC_INPUT_ORDERS
    I have included in the idoc the following segments:
    E1EDKT1                     003 EN   0001      0001
        E1EDKT2                     XXXXXXXXXXXXXXXXX
    but the header text in the order created is empty.
    Any idea about this, thanks in advance.
    Alexis Ramirez

    Hello Alexis
    Below you see part of the XSLT mapping (on SAP-XI) for EDI purchase orders which are mapped to ORDERS.ORDERS05 IDocs (-> sales order).
    I assume that in your case the name of TDOBJNAME (here = 'String') is missing.
                             <E1EDKT1 SEGMENT="1">
                                  <TDID>Z091</TDID>
                                  <TSSPRAS>D</TSSPRAS>
                                  <TSSPRAS_ISO>DE</TSSPRAS_ISO>
                                  <TDOBJECT>VBBK</TDOBJECT>
                                  <TDOBNAME>String</TDOBNAME>
                                  <E1EDKT2 SEGMENT="1">
                                       <TDLINE>
                                            <xsl:if test="../S_UNB/C_S002/D_0004='12345'">
                                                 <xsl:value-of select="S_BGM/D_1004"/>
                                                 <xsl:text>/RY</xsl:text>
                                            </xsl:if>
                                            <xsl:value-of select="S_FTX/C_C108/D_4440"/>
                                       </TDLINE>
                                       <TDFORMAT/>
                                  </E1EDKT2>
                             </E1EDKT1>
    Regards
      Uwe

  • Production Order IDoc Extension LOIPRO

    Hi All,
    I need to extend a segment in LOIPRO01 idoc type.Ie i need to add one more field to the E1RESBL segment
    Can anyone letme know what all configuration needs to be done.
    Regards,
    Rahul.

    Hi Ankit,
    Is that all i need to do. So in this case how does the new field which i have added gets the data.
    Yes ur ryt..u have to populate the data for ur field.u needn't delete teh segment,but u r just enhancing it.So when u add ur segment it will be a child segment only.U need to populate both segemnts.
    please chk the link...
    how to write code for extended idoc.
    Re: populate extended idoc fields
    Regards,
    nagaraj

  • Business Object (BAPI/IDOC) for production Order

    Hi All
    I have requirement where data is coming from legacy system to R/3 via XI to generate a production order. I am not able to get right BAPI/ IDOC for inbound Production Order. Can anyone has done similar scenario. Can u suggest me BAPI or IDOC for same. I am using IS-Mills 4.7 version for R/3
    Thanx in advance
    Regards
    Vinod

    HI Vinod,
    I think U can use IDOC <b>LOIPRO01</b> for Production Order...
    Regards,
    Sridhar Reddy

Maybe you are looking for

  • Storing and retrieving pdf

    I've stored pdf files in oracle database in BLOB field. Now I want to retrieve it by using xsql or some Java program to show it in the browser(the pdf file itself). Is it possible? Can I've some example code? I'm also using Tomcat server and my overa

  • Block

    Hi    Is it possibile to block that user should not be able to add freight at Document Level. Screen 'Freight Charges' should not appear in Sales Order / Delivery. Thanks

  • Credit Note Condition in PO

    Dear Experts, As per my client requirement I want to make one condition of credit note , my credit note amount will be deduct after basis + all delivery cost + all duties and taxes , please explain me how I treat this and what proceudre ( Tax procedu

  • New in Skype Manager

    Hi, I need help to creat our business acout!

  • Extract a portion of a video file

    I want to extract a portion of an existing video file. A movie is an hour and I would like to take the five minutes 0:10:00 to 0:15:00. The film does not need to be / should not have to be recoded. Is that possible? thx Windows 8 x64, Premiere Elemen