PO Creation Using IDOC ORDERS05 - Inbound Issue

Hi Experts,
I am new to the ALE/IDOCs. I am trying to create a PO in one client and trasnferring it to another client using the IDOC extension. I am using Message type ORDERS and Basic type ORDERS05 (Extended). I have craeted Partner Profile for both Inbound and outbound in their respective clients.From Outbond the Purchase order is sent successfully to the Port. On the inbound the PO is failing due to incorrect function mudule chosen for processing through process code. I have tried process codes like ORDE,ORDS,DELO and ME11.
Please Let me know the corrects process code in the inbound, to process IDOC as PO.
If i need to go for all together a different mesasge type. Please give me all the relevant details like BASIC type, Process code in Inbound and outbound . And i want the BASIC type to be extensible.
Thanks,
Murali

Hi,
In the inbound side create a new entry in WE57 tcode.. with the functio mdoule as "IDOC_INPUT_ORDERS", basic type "ORDERS05", extn< specify the extn u created at outbound side>, message type "ORDERS". Now see if it is working.
Regards,
Nagaraj

Similar Messages

  • Problem creating sales order using IDoc ORDERS05 (Inbound)

    Hello Experts,
    We are trying to create a sales order using the IDoc ORDERS05 with process code ORDE for creating sales order. I am getting the following error "VKORG, VTWEG, SPART cannot be determined for customer 0000006000 , vendor
    Diagnosis
    No sales organization, distribution channel or division were sent to the IDOC. This data is necessary if a sales order is to be added automatically. If this data is unavailable, you cannot create a sales order document.
    I was not able to find the fields to fill the distribution channel and divison in the Idoc structure. I have filled in Sales organization in E1EDK14 segment as 3000.
    I am not able to figure out the cause for the error.
    Same data works fine from BAPI_SALESORDER_CREATEFROMDAT2.
    Please help.
    Thanks,
    Suma
    Edited by: Suma B on Jun 17, 2008 11:12 AM

    Hello Suma
    In this case I would recommend to debug the IDoc processing.
    Call transaction WE19 and start the inbound processing of your IDoc in debugging mode. The error message will most likely occur in function module IDOC_INPUT_ORDERS.
      LOOP AT idoc_contrl.
    * SET/GET Parameter und interne Tabellen neu initialisieren
    * initialize SET/GET Parameter and internal tables
        PERFORM initialize_organizational_data.
    * IDOC-Segmente in die entsprechenden Anwendungsdaten übernehmen
    * Move IDOC to internal tables
        PERFORM interpret_idoc_orders.                    "<= check here
    * Prüfen ob gewisse Segmente gefüllt sind
    * check IDOC-Segments
        PERFORM check_idoc_segments.                 "<= check here
    * Prüfen und Ermitteln von Organisationsdaten
    * check internal tables and determine organization data
    Regards
      Uwe

  • Need help in populating Text ID using IDOC ORDERS05

    I have following scenario.
    PO is being send from ECC to EDI partner.
    and we received the PO feedback from the EDI partner
    For PO feed back, we are using ORDERS05 idoc type and ORDRSP message type.
    Custom Text Id(F01)  has been added to the Text tab of the header section of the Purchase order screen (ME23N).
    Custom Text id (F02)  has been added to the Text tab of the Item section of the purchase order screen.
    (Text ID F01 and F02 are in object EKKO - checked in transaction se75)
    Now, I m posting idoc with the following value but Text field (in header and item level) is not updating while displaying PO.
    Header - E1EDKT1                                   
         TDID -   F01
         TSSPRAS- E     
                         TDOBJECT - EKKO
                  E1EDKT2                                   
         TDLINE   -  "My Header Text"
    Item Level - E1EDKT1                                   
         TDID -   F02
         TSSPRAS- E     
                         TDOBJECT - EKKO
                  E1EDKT2                                   
         TDLINE   -  "My Item level Text"
    Can we update the Text Id in PO using IDOC ORDRSP.ORDERS05?  I have tried but it is not updating
    Any suggestion.
    Edited by: Chetankumar Patel on Mar 14, 2011 10:17 PM

    Have you tried with updating other Long texts ? While going through the code of inbound function module IDOC_INPUT_ORDRSP, it is mentioned that only limited fields are available for updation.  See remarks in line no : 88 of include LEINMF2O.
    read document and prepare for update P.O. Item fields
    * possible Update fields of EKPO: LABNR, IDNLF, NETPR

  • LSMW - Sales Order creation using IDoc

    Hello,
    I'm receiving a file containing different category of products and need to create a sales order (using IDoc or BAPI) per category. The input file contains UPC code, I use a SELECT statement to check the category and append the UPC code to the specific internal table .(one internal table per category). The issue I have is to do loop in all internal table and then to create a sales order. I have some difficulties to update item segment. Only one UPC is populated to the required segment. Please let me know if this could be done using LSMW.
    Thanks ! Thanks ! Thanks ! Thanks !
    Mehdi

    You can use program RVINVB10 ( Direct Input ) to create Sales Order , Before you run this program you will have to create a file with data in specific format.
    Read the documenatation of the program.
    LSMw can help in formatting the data but beetr write your own progarm to format data and then run above program as LSMW has limitations and I am not sure what type of file you are getting. In you custom program you will have more control.
    Cheers.

  • Stock Transfport Order Creation using IDOC

    Hello Everybody,
    I am trying to create a Stock Transport Order using IDOC's. All configuration for the STO has been done and I have no problems creating these orders using ME21N.
    Now I need to create STO using IDOC. I am using Message Type ORDERS and Basic Type ORDERS05, but I am not sure what Process Code to use in the Partner Profile configuration in order to pick up proper processing module....
    Any help would be appreciated,
    Than you in advance
    Felix

    I ended up writing my own processing FM for this and used BAPI_PO_CREATE1 to post the PO

  • IDoc - ORDERS05 - Inbound - IHREZ_E

    What segment/field/qualif should I be using to populate the field VBKD-IHREZ_E at the header level?
    When creating a new sales order, I am able to populate VBKD-IHREZ_E at the item level by using E2EDP02/BELNR and qualifyier 044.
    However, i would like to populate the field at the header level but haven't been able to find the right segment/field
    Thank you for your help

    I'm not suer about you scenario, but we create sales orders with IDoc ORDERS05 (since SAP R3 46C).
    We create segment E1EDK02 with QUALF "069" and BELNR "XY". After IDoc processing we have the value "XY" in VBKD-IHREZ_E.

  • Error when ECO and BOM creation using IDoc

    Hi experts,
    now i am doing an interface about ECO/BOM creation and changing using IDoc.The idoc type is ECMMAS02 ans BOMMAT04.
    since i know a little about ECO/BOM, can anyone provide some good materials for me?
    and i don't know which fields are mandatory in idoc segment, so i go to tansaction BD30 to run a BOM changing. i input a change number but the idoc log shows that change number does not exist. what is the change number using? where i can implement the changes, e.g, change the quantity? should the change number be used when creation and changing? how can i get this change number?
    thanks a lot in advance!

    Hi experts,
    now i am doing an interface about ECO/BOM creation and changing using IDoc.The idoc type is ECMMAS02 ans BOMMAT04.
    since i know a little about ECO/BOM, can anyone provide some good materials for me?
    and i don't know which fields are mandatory in idoc segment, so i go to tansaction BD30 to run a BOM changing. i input a change number but the idoc log shows that change number does not exist. what is the change number using? where i can implement the changes, e.g, change the quantity? should the change number be used when creation and changing? how can i get this change number?
    thanks a lot in advance!

  • Customer master creation using IDOC

    Hi friends,
               I am trying to create customer master into SAP using Idoc. Here pblm is some partner functions already defaulted i want to create some new entries in partner functions when i try to do it online its working fine when i try with idoc the defaulted partner functions are appears double times can any one has any idea whts happening.
    E1KNVVM   
        E1KNVPM (Master customer master partner roles)
            MSGFN : Function
            PARVW : Partner function
            KUNN2 : Customer number of business partner
            DEFPA : Default partner
            KNREF : Customer description of partner 
            PARZA : Partner counter
    the pblm is with these segment.
    Thanks,
    Naren.

    Hi naren,
    The segment E1KNVPM is standard one.Nothing can be done over it . U shold create new segments in we31 and add as
    extension to the basic type and try..
    Regards,
    Nagaraj

  • Anyone processed Customer ref contract using IDOC ORDERS05?

    Within CRM I can successfully create Sales orders using the IDOC type ORDERS05. However, the last thing that I need to do is ensure that any Customer reference contracts appear in the doc flow of the generated order, and this is where the difficulty begins...
    There are a number of BADI's available which allow me to populate the table contents, and I think I need to populate the CRMXIF_BUSTRANS_ITEM-DOC_FLOW itab with the Customer reference contract data, but the structure for this itab is so complicated. I was wondering whether anyone has performed the same function as I can't believe that I'm pioneering here. The Customer reference contract is being supplied by IDOC in segment E1EDP02 with a qualifer of 005.
    Any help would be greatly appreciated.
    Blue

    Hi,
    This issue is been resolved.
    One of my friend helped me with resolving this issue..
    Once the below mentioned configurations were done on SPRO, the Sales Order was created with reference to Contract and the Qty was reflected when tried to create a new Order referring the same contract.;
    u2022     SPRO --> SD  -->Sales  --> Sales Documents  --> Sales Document Header  --> Define Sales Document Types  --> Field : Outline agreement message; from blank to u201CBu201D.
    u2022     SPRO  -->SD  -->Sales  --> Sales Documents  --> Sales Document Header  --> Maintain Sales Document Types for AFS  --> Field : Outline agreement message; from blank to u201CAu201D

  • Material creation using IDOC

    Hi All
    We are trying to create a Material with just a Basic View using FM : IDOC_INPUT_MATMAS01, but we are unable to do the same since it returns errors about fields to be filled for other Material master views
    like Plant , Sales Organisation etc
    Has any one succesfully created a material using this FM
    Please let us know ,
    Thanks in advance

    Hi Sanjay,
    These are the related programs related to your question.
    RBDARTS2 Posting of retail materials to your own system via IDocs
    RBDARTST Reimport IDoc Directly to Inbound Processing of Retail Material Master
    RBDFEART Get retail material
    RBDFEMAT Get Material
    RBDMATS2 Post Materials via IDocs to Your Own System
    RBDMATST Reimport IDoc Directly to Inbound Processing for the Material Master
    RBDSEART Send retail material
    RBDSEART_DXWB Send Material (Data Transfer Workbench)
    RBDSEBOM Material BOM Distribution
    RBDSECNP Distribution of Configuration Profiles for Materials
    RBDSEMAT Send Material
    RBDSEPAM Plant allocations to material BOMs distribution
    RBDSESTT Distribution of material variants
    RBDSEWG1 Direct transfer of base material groups
    RBDSEWGR Direct Transfer of Material Group Hierarchies
    You can use this standard program to generate IDoc(s) for material master.
    RBDSEMAT
    RCCLMAT
    You can check the EDIDC (data control) of an IDoc (WE02) to ensure correct and match with your partner profile (WE20).
    Reward points if helpful.
    Regards,
    Harini.S

  • Dynamic Table Creation using RTTS - Question on Issue

    I am using the RTTS services to dynamically create a table.  However, when I attempt to use the get_components method it does not return all the components for all tables that I am working with.
    Cases and End Results
    1) Created structure in data dictionary – get_components works.
    2) Pass PA0001, P0001 or T001P to get_components and I do not receive the correct results.  It only returns a small subset of these objects.  The components table has all the entries; however, the get_components method only returns about 4 rows.
    Can you explain this and point me to the correct logic sequence? I would like the logic to work with all tables.
    Code excerpt below:
    The logic for the get components works for case 1, but not case 2. When I pass into this method a "Z" custom table or structure name for parameter “structure_name” and the get_components() method executes and returns the correct results. However, when I pass in any of the objects listed above in case 2, the get_components method does not return the correct number of entries. When I check typ_struct which is populated right before the get_components line, I see the correct number of components in the components table. 
    method pb_add_column_headings .
      constants: c_generic_struct type c length 19 value 'ZXX_COLUMN_HEADINGS'.
      data: cnt_lines      type sytabix,
            rf_data        type ref to data,
            typ_field      type ref to cl_abap_datadescr,
            typ_struct     type ref to cl_abap_structdescr,
            typ_table      type ref to cl_abap_tabledescr.
      data: wa_col_headings type ddobjname.
      data: rf_tbl_creation_exception type ref to 
                                      cx_sy_table_creation,
            rf_struct_creation_exception type ref to
                                      cx_sy_struct_creation.
      data: t_comp_tab type
                       cl_abap_structdescr=>component_table,
            t_comp_tab_new      like t_comp_tab,
            t_comp_tab_imported like t_comp_tab.
      field-symbols: <fs_comp> like line of t_comp_tab,
                     <fs_col_headings_tbl> type any table.
    **Get components of generic structure
      wa_col_headings = c_generic_struct.
      typ_struct ?= cl_abap_typedescr=>describe_by_name(
                                       wa_col_headings ).
      T_COMP_TAB = typ_struct->get_components( ).
    **Determine how many components in imported structure.
      typ_struct ?= cl_abap_typedescr=>describe_by_name(
                                        structure_name ).
      t_comp_tab_imported = typ_struct->get_components( ).
      cnt_lines = lines( t_comp_tab_imported[] ).

    Hi Garton,
    1. GET_COMPONENT_LIST
       Use this FM.
       It gives all fieldnames.
    2. Use this code (just copy paste)
    REPORT abc.
    DATA : cmp LIKE TABLE OF rstrucinfo WITH HEADER LINE.
    DATA : pa0001 LIKE TABLE OF pa0001 WITH HEADER LINE.
    CALL FUNCTION 'GET_COMPONENT_LIST'
      EXPORTING
        program    = sy-repid
        fieldname  = 'PA0001'
      TABLES
        components = cmp.
    LOOP AT cmp.
      WRITE :/ cmp-compname.
    ENDLOOP.
    regards,
    amit m.

  • Problem in message mapping (outbound IDOC ORDERS05 from SAP R/3)

    Hi to all,
    I have an outbound interface from sap r3
    sap r3 --> XI --> ftp server
    idoc --> XI --> text file
    Using IDOC orders05
    The problem is in segment E1EDP01/E1EDP19
    Segment E1EDP01 is unbounded and i map it well. If it contains E1EDP19, works fine. But in some cases, E1EDP19 not appears at E1EDP01segments. So then XI fails at mapping:
    IDOC OUTPUT (OK)
    1-E1EDP01/E1EDP19
    2-E1EDP01
    3-E1EDP01/E1EDP19
    4-E1EDP01
    XI WRITES (FAILURE)
    1-E1EDP01/E1EDP19
    2-E1EDP01/E1EDP19 (INFORMATION FROM LINE 3)
    3-E1EDP01 (WRONG)
    4-E1EDP01 (WRONG)
    You can take a look of Mapping mode here:
    <a href="http://img505.imageshack.us/my.php?image=orders05mappingcj8.jpg">[IMG]http://img505.imageshack.us/img505/1536/orders05mappingcj8.th.jpg[/IMG]</a>
    We don't use BPM and wanna use a solution without it.
    Pls ask me for more information if necessary.
    Thanks a lot for your help; Regards

    Hi all,
    The mapping function includes an exists and a mapwithdefault.
    Now the creation of the segment is handled ok, but not as well its fields. Its unable to determine the write of the second E1EDP19 segment and it does:
    1- OK
    2- OK
    3- Writes E1EDP20 but not the 19
    4- OK
    Thanks for your interesting

  • Creating a BP in CRM through LSMW using IDOC

    I am trying to create a buss partner in crm through LSMW using IDOC:
    Message Type:  CRMXIF_PARTNER_SAVE_M
    Basic Type:       CRMXIF_PARTNER_SAVE_M02
    I get an error: "No update is defined for BP role 000000".
    I am also filling
    IDENTIFICATIONCATEGORY: CRM001
    IDENTIFICATIONNUMBER:     12345678
    However i get this error only if the external ID does not exist in table BUT0ID.
    otherwise if the external ID is present in table BUT0ID and the object task is "U"pdate, the BP is saved.
    Has anybody worked on BP creation using IDOCs? If yes please guide me.

    Hi,
    This Check Box is required for Archiving Business Partners from the System. You can have a full idea about the same from the link below [Archiving Business Partners|http://help.sap.com/saphelp_crm60/helpdata/en/52/cff837a9aae651e10000009b38f8cf/frameset.htm]
    Also have a look at the following [Introduction to Data Archiving (CA-ARC)|http://help.sap.com/saphelp_crm60/helpdata/en/8d/3e4c11462a11d189000000e8323d3a/frameset.htm]
    Hope this helps.
    Thanks,
    Samantak.

  • IDOC ORDERS05 to process PO acknowledge sent from vendors.

    I am trying to use IDOC ORDERS05 to process PO acknowledge sent from vendors.
    You, the IDOC experts out there, please give me some direction about
    where I should put the vendor's acknowledge number and
    where I should put our PO number in IDOC ORDERS05,
    so the field LABNR in EKPO will be updated with vendor's PO acknowledge number after the IDOc is posted.
    Thanks in advance!
    Fisher Li

    Sam,
    The following are what I did and it worked for us.
    Hopefully it will help you.
    E1EDK01-ACTION = '000'
    E1EDKA1-PARVW = 'LF'
    E1EDKA1-LIFNR = vendor number
    E1EDK02-QUALF = '001'
    E1EDK02-BELNR = purchase order number
    E1EDP01-ACTION = '004'
    E1EDP01-MENGE = PO line item qty
    E1EDP01-MENEE = PO line item unit of measure
    E1EDP02-QUALF = '001',
    E1EDP02-BELNR = purchase order number
    E1EDP02-ZEILE = PO line item number
    E1EDP02-QUALF = '002',
    E1EDP02-BELNR = PO acknowlegement number
    Regards
    Fisher Li

  • IDOC ORDERS05 partner mail

    Hi all,
    I'm using idoc orders05 in inound to get sales orders in r/3.
    I filled E1EDKA1 structure for customers data.
    I need to fill and use customer e-mail address.
    Where can I find this field?
    Thanks in advance.
    Stefano

    Hello,
             For meeting your requirement, you can also use the Enhancement (SMOD) VEDA0001 in which you'll find a Customer Exit EXIT_SAPLVEDA_001. Here you can write the Code to fetch the E-Mail Address and populate it in an Internal Table or Work Area and Export it to Memory ID.
            Next Comes the Population of the E-Mail Address in the Sales Order. For this, you need to find an Appropriate Enhancement Spot in the Main Program of the Sales Order which is SAPMV45A since it uses BDC method to Create Sales Order.  In that Enhancement Implementation, you can Import the Variable that you've exported in Step 1 and append it to the BDC_DATA Table so that it gets inserted into the BDC Table and gets updated in the Transaction as well as in SAP.
    Hope it was helpful.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

Maybe you are looking for

  • How do I buy music not carried by iTunes Store (for my iPhone)

    There are songs or albums I may want to buy that are not carried by the iTunes store.  Is there an easy way I can use my iPhone to buy a song that is not in the iTunes Store and add it to the Music library on the iPhone and later sync to iTunes on th

  • Windows 7 and HP Image Zone software

    I have a new Pavilion s5212y w/Windows 7 and an HP Photosmart 8450 printer that comes with HP Image Zone software for editing pictures.  The software isn't supported by Win 7, won't install (tells me to upgrade op-sys).  Is there a work around for th

  • User exit or BADI for MIGO to Update a field in MSEG-KOSTL

    Hi, I want to update/change the KOSTL (Cost center) value before creating/posting  the document. Please let me know is there any user exits or BADI,  which will export the MSEG structure. Regards, Ganesh

  • DM v6 for Windows 7 64 bit?

    I am currently running Windows 7 64 bit , Ooutlook 2010 (also 64bit) with DM v6 and a BB Storm 9550 with OS 5.0.0.1015.  Since my machine is 64 bit, the first time I tried running synch on DM did not work since it said I had a 64 bit version of Outlo

  • Unable to establish connection with SQLServer from Java Application

    Dear All, I am facing the issue of establishing connection with SQL Server from Java project developed in NWDS. I am writing a jaas plug-in, as a part of that I am writing a login module to authenticate a web application through jaas, and I got need