IDOC thru ME21N

I can able to create IDOC thru ME21 using message type ORDERS and IDOC Type ORDERS05, but I am unable to generate it from transaction ME21N.What might be the problem.Any input is appreciated. Thanks.

Hi Preethi,
Have you maintaned condition records for application EF (t/code NACR) and also the partner profile for message type ORDERS (t/code WE20)?
Please check my reply on your previous thread about detail partner profile setup.
ALE & IDOC
Hope this will help.
Regards,
Ferry Lianto

Similar Messages

  • "retail" tab not showing while creating PO thru' ME21N in IS-Retail

    "retail" tab not showing in item level while creating PO thru' ME21N in IS-Retail

    Hi,
    Go to SPRO > Materials Management > Purchasing > Purchase Order > Define Screen Layout at Document Level - Here for the field selection key "ME21N", under field selection group "Administrative data, item", mark following fields as optional ;
    Prior vendor
    Season
    Reason for ordering
    Revision level
    And then check.

  • How to create an idoc thru custom pgm

    i have some data in 1 sap system.
    this shud b colected n send to another system thru idocs.
    can any one give me sample code 4 it?
    tx
    kiran

    There is no universal code for "some data" and, in fact, custom program might not even be necessary. This might be a good starting point for you:
    http://www.angeli.biz/www5/books/IDocBook/IDocBook.pdf

  • SM 56 error while posting IDOC thru XI (File to IDOC) ????

    Hi ,
       When I am trying to post data into R/3 system thru MATMAS idoc,I have problem in posting data in R/3 system. In XI side the message is sent correctly to R/3 system, but in R/3 it is giving me SM 56 error, while mapping I tried to map only few fields, other mandatory fields I had populated with some constants and values and rest unwanted segments I disabled them. When I saw in error log it says PARTNER PROFILE is not properly set (but I checked Partner Profile is correct), when I checked the record it shows all fields (mapped with constants and values) except the mapped fields.
    Can anyone help me in this as I am struggling like anything...
    Thanks in advance
    Andy

    hi Andy,
    if you have a problem with control record have a look
    at my weblog:
    /people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • File To IDOC Thru XI

    Scenario   File ===>  XI  ===>  R/3 ( IDOC) ASynchrnous.
    In the Sender File we have more than 2000 Employee Records/rows and this file is Comma Delimited, this is aFixed file format.. We are going to send this file every Monday. This File resides in the UNIX Server. Whether an UNIX Script will Trigger this Process?
    How should I Trigger this process, that is how should I send all these 2000 records from the Sender system to XI .
    Inside XI should I need to define a Multiline Container to hold all these 2000 records, before we send it to R/3 or if there is any other better way to hold these records inside XI?
    So once we send these 2000 records to R/3, who will take care of the Posting? if there is any special routine that will be triggered at r/3 side to take care of these new incoming records?
    We are on WAS 6.40, SP 12. This means on the receiver side I can very well go for a Proxy (communication Channel) , instead of the IDOC (Receiver) Adapter. If you say I can go for the  proxy, then what are all the steps that I need to keep in my mind or How should I do this Proxy?
    Thanks a lot.

    Hi Karen,
    >>Whether it is possible to Pick that file on Specific Time of a Day?
    You need to specify the poll interval in the file adapter. File adapter does not accept specific time of the day, but still you can make it run for specific time of the day. Say you want your file adapter to pick the file at 3 PM every day then you can specify the poll interval as 24 hrs(specify in seconds) in the file adapter and activate your file adapter at 3 PM exactly. So the first run of your file adapter will be on 3 PM on the day you have activated. The next poll will be on next day 3 PM since you have specified the poll interval as 24 hours.
    >>Could you please explain me more on how could I handle that 2000 records that are coming from file in the Message Mapping? So you want to say that there is no need of a BPM at all? We are not Having MULTIPLE IDOCS
    Before you decide on IDoc or proxy approach check if there is any standard idoc scenario for handling the employee records. Also check if a single idoc can handle all 2000 employee records or you need to create a separtae idoc for each employee record ans send in a package.
    If all the records can be handled in single idoc then you can do this scenario without using the BPM. But if you have to create a separate idoc for ecah employee record then in SP12 you need to go for BPM.
    In case there is no standard idoc scenario defined for handling your employee records then check if there is any standard BAPI which can handle the employee records.
    If neither of them exists(IDoc/BAPI) then you can consider using proxies , since you need to develop all the required functinality on sap r/3 to take care of incoming employee records...
    Regards
    Anand

  • How can we configure or control records go into single idoc thru BODS?

    Hi,
    Our case is -
    IDOC format has three segment. Each segments has child nodes -
    1. CONTROL SEGMENT - This is required only once per idoc.
    child1
    child2
    2. SEGMENT1 - sinlge source record to be broken into two segments.
    child1
    child2
    3. SEGMENT2 - sinlge source record to be broken into two segments.
    child1
    child2
    we have a single source (lest say having 100 records).
    In the current design which does generates IDOCS but as many as the no of records in source. Currently we use a row generation transform as dummy (with row count as 1) to pass to the IDOC parent nodes's from clause to escape the error - invalid input to the parent nodes.
    Child nodes are either mapped to the source table or are null.
    Question - How can we configure this in a way that we control how many records go into single idoc. Ex - lets say 50 per idoc so only 2 idoc should be created if 100 records are there.

    HI,
    this sounds to me like Data Services. If so I would suggest to post this into the Data Service forum.
    regards
    Ingo HIlgefort

  • EMAIL Send Those create Purchase Order Thru Me21n

    Hello Experts,
    I Read All the document and sap-notes 191470 for sending email after cteating po .
    But All these document are suggesting email to vendor ,But My Requrement is to creater of Po .
    Thanks.
    Regards: Hemant_A1
    Edited by: HEMANT_A1 on Aug 23, 2010 11:43 AM

    As I understand solution is:
    1) create in Transaction NACO in application EF message type Z*** (for example ZMAIL)
    like describe in [note 191470|https://websmp130.sap-ag.de/sap(bD1ydSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=191470]
    <OUTPUT TYPES>
    Details:
    - General data: Access sequence "0001" DocType/PurchOrg/Vendor
    - Default values: time = send immediately ; transmission = External send or Simple mail
    Mail title and texts: Yours
    Partner function: medium - 5 or 7 (External send or Simple mail) ;function - blank; Name - blank
    <SAVE>
    2) <Procedures>
    in  RMBEF1(PO) use yours "Condition type"; requirement - blank
    3) <condition records>  of this type select "Po determination: Document type"
    - Use necessary PO type
    - "Message transmission metod  " 5 or 7
    - Date 4 (Send immediately (when saving the application))
    - lang - EN
    4) Don't forget in IMG ==> Material management ->  Purchasing -> Messages -> Output control -> Define Message Types for Po
    use "Fine-Tuned Control: Purchase Order"
    <new entries>
    operation 1(new) and your message name Z*** (for example ZMAIL)

  • Clarification on IDOC and ALE

    HI,
        I need to generate an outbound IDOC from transaction ME21N. I have certain doubts on this, please clarify,
    1. What is the difference in ME21 and ME21N.Both creates purchase order.
    2. ORDERS is the message type used for creating the purchase order and I worked to get an IDOC thru ME21 but I didnt generate IDOC from ME21N. I hope ME21 uses ORDERS message type and ME21N uses PORDCR1 Message type. Please clarify and give some inputs.
    3. Can I use the FM 'IDOC_OUTPUT_ORDERS' assigned in process code ME10 for ORDERS01 in PORDCR05. Or do I need to generate new process code and FM for PORDCR05.
    4. Experts, please tell me the steps to genearte IDOC while creating and changing the purchase order thru transaction ME21N & ME22N.
    Thanks.

    Hi Preethi,
    The difference between Me21 and Me21N is that the second one is a Enjoy transaction.
    Enjoy transactions have additional functionalities and generally have been developed in Object oriented programming.
    Orders message type is used for PO's. It doesnt matter if you call in Me21 or Me21N.
    Cheers
    VJ

  • IDOC for finished Material transfer

    Hello Experts,
    Can anyone help me to find out the idoc which suits to my requirement.
    I want to send an idoc to some third party system which contain information related to finished material.
    Suppose we have created purchase order in sap thru me21n then we can use ORDERS idoc to post to third party.
    But through standard po we can create idoc for semifinished material and not for finished material.
    In tcode MIGO we are converting that semifinished material into finished material and I want to capture this data into idoc and want to send it to third party.
    Can any body suggest which idoc shall i use.
    (I want to send this info Mat_Cod,Mat_Plant,Mat_Sto_Loc,Stk_Box,Stk_Quantity,Stk_Unit,Mat_Name,Mat_Batno)
    Regards,
    Jayesh.

    U can use either INVCON message type with IDOC type as INVCON01 or 02
    or
    Message Type MBGMCR  with IDOC type MBGMCR01/02/03

  • Message Split -- File to Idoc Scenario  -  ( Without BPM )

    I have multiple records coming to XI in a File and I have to create Multiple Idocs to R/3.
    Due to Complexity of mapping I'm splitting Maaping step into 2 message Mappings.
    A-->B
    B-->C
    In the 2nd Mapping step  I'm doing message Split meaning for each Source record I'm creating multiple Idocs ( To be precise each record on the source becomes 4 idocs in the Target.
    2nd Mapping step is as follows
    Source 1..1
      Sourcerecord 0.. Unbounded
        field1  0..1
        field2  0..1
        filed3  0..1
    Target
    Message 1
        Idoc   1.. Unbounded
          Idoc Structure..
    Message 2
          Idoc   1.. Unbounded
    Message 3
          Idoc   1.. Unbounded
    Message 4
          Idoc   1.. Unbounded
    So based on some criteria each record of Source will be mapped to 4 Messages (  1 each under each Message )
    Is it possible to do this without BPM?. Iam sending all these Idocs to same R/3 System.
    Thanks for any help..RK

    Hi,
    See the blog
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    <i>Basicly we have 2 ways of handling such scenarios:
    - we can use a block step and send multiple IDOCs from our BPM
    - we can also do a little trick and send multiple IDOCs from the XI without a BPM
    The first approach is a standard XI approach. It involves the use of a BPM
    so the speed of this transfer many not be very good in case you'd like to send
    hundreds or thousands of IDOCs in just one call.
    The second approach uses a little trick that was mentioned several times
    on the XI Froum by a number of XI developers but is still not very clear to the XI newbies.
    It allows us to send multiple IDOCs without the use of a BPM. Most probably this will be your choice
    if you'd like to use such 1:N (IDOCs) scenarios effectively.</i>
    Please see the bwlow threads also..
    IDOC Splitting
    File To IDOC Thru XI
    Multi-Mappings in BPM (XI 3.0)
    Please let me know , your prob..is solcev or not..
    Regards
    Chilla..

  • File-XI-IDOC scenario

    Hi,
    I am sending an file data to Idoc thru XI.I am unable to see the file data at XI as well as at R/3.
    I did data type,message type,message interface,MM,IM in IR and both communication channels,both agreements,receiver determination and interface determination in ID.I have given logical system name in adapter specific identifier at r/3. I have given the logical sytem name in the r/3 SLD.created both RFC destinations.Plz tell me where could be the problem
    Regards
    Sridhar Raju Mahali

    Hi Sridhar,
    1. First check if the file is picked up for processing. If you have configured 'delete' as processing mode, see if the file is deleted.
    2. Check Adapter Monitor -> File -> check the channel information. It gives last processing time & error if any. In XI 3.0 SP12, the URL is: http://xiserver:50000/mdt/amtServlet
    3. Check Message Monitoring (Adapter Engine) in RWB.
    4. Check SXMB_MONI.
    So, either the file can be seen if it is still not picked up; or you should see the message in XI. Once it is in XI, you can see the error status of the same.
    Give more details with your observations for above steps, and exact error you are facing. Then it should be possible to identify the exact problem.
    regards,
    Pops V

  • Error in target system : iDOC -XI-iDOC

    We are getting this error in smq2 when we are processing bulk idocs thru XI <i><b>"Error in target system "</b></i> . The setting on receiving system is <u>trigger by background program .</u>
    Manish

    Hi Manish,
    If so, can you control the number of idocs sending to XI box. This is workaround
    Is this may be because of number of work process . I am not sure here. So you can increase the work process.
    But you can seek help from SAP to audit on this provided if you are able to reproduce the error..
    This is just my views~
    Regards,
    moorthy

  • COnfiguration tab on ME21N screen at Item Overview level.

    Hi All,
    In the Purchase order ME21N, screen at the Item Overview level, we have this tab called "Configuration" on the top right hand side of the item overview section. If i want to hide some of the fields from the user to view i think we can go and create a variant and select the field with Invisible flag.
    But No matter how many times I activate this settings, and save it, the purpose is not solved. I can still see the field and also if I go back to check the settings in this configuration tab, it was reset to basic settings automatically.
    Have anyone used this before? If Yes, can you provide me the steps to follow?
    Regards
    Shane

    I thinnk you can Replace and Rearrange the Columns thru ME21N Configuration. But, Hiding the Columns may not work.
    Now what can be done :
    You can hide the Columns / Fields in ME21N thru Purchasing-define screen layout at document level. But this will affect all users.
    or You can create a Transaction Variant thru SHD0 for ME21N screen.
    By the by are u able to hide columns in me21n thru configuration???

  • HRMD_A07 Idoc to update InfoType 0014 does not delimit existing PA0014 rec

    In ECC 6.0, we are using HRMD_A07 Idoc to update infotype 0014 using update data received from a third party application. In XI, I am creating the Idoc with Update Code "U" with E1PLOGI, E1PITYP and E1P0014 segments. E1P0014 holds the data for the latest record.
    If I directly pass the Idoc thru ALE layer, It creates records for the new date range on E1P0014 segment, but does not delimit the previous record by changing its end date. This results in two records in PA0014 with end date of 12/31/9999 - which is wrong.
    I also tried using a wrapper FM to create additional segments in the Idoc representing the existing record in PA0014, with the end date being delimited to incoming record's beg. date minus 1.
    This also results in just creating two additional records in PA0014 corresponding to the two segments in Idoc while existing record in PA0014 stays intact resulting in two records with end date 12/31/9999.
    I also experimented with setting the lock indicator (PA0014-SPRPS) but that also does not result in delimiting the existing record.
    Am I missing something? Is there a piece of config that controls this?
    Regards,
    The time constraint on 0014 is "2"

    Hi Jon and Ashish,
    I too am facing the same issue that the new IDOC is not delimiting the previous record.
    Can you explain how did u get over you issue.
    I'm maintaining the same dates in E1PITYP and in E1P0014.
    Thanks,
    Jilly

  • Idoc is recieved as  xml format instead of text format

    hi i am new to XI , I am right now i am trying with Idoc to file scenario
    i am sending idoc from an R/3 system and i am receiving it as file in another R/3 system. In accordance to that i have designed &#38; configured all settings, But when i am sending idoc thru my communication channel i am able view a '" *.txt " file with all my necessary details  in xml  format instead of text format.
    desin details
    my source and target fields are
    FLCUSTOMER_CREATEFROMDATA idoc to the file which as the only few important fields of idoc.
    configuration details
    in communication cahnnel :
    adapter type : file
    message protocol: file
    processing parameters:
    constructution mode : create
    file type : binary
    advance mode
    row.fieldNames : with its fields seperated buy comma
    row.fieldSeparator : ,
    row.endSeparator : 'nl'
    i stuked up with this level for the past  10 days ur valuble suggestion will  help me lot to reach my target
    Regards
    saravanakumar P.K.

    You have selected the wrong message protocol: to get an file not XML you should select File Content converion as message protocol
    change it to folowing
    configuration details
    in communication cahnnel :
    adapter type : file
    message protocol: file content conversion
    processing parameters:
    constructution mode : create
    file type : binary
    advance mode
    row.fieldNames : with its fields seperated buy comma dnt use this
    row.fieldSeparator : ,
    row.endSeparator : 'nl'
    specify only field sepratator and endseparator dnt have to specify fielnames for receiver adapter in contant conversion.

Maybe you are looking for

  • Two separate L2L tunnels between same two ASA

    I have a large MPLS fully meshed network with two main locations, both of which have an ASA with internet access as well as the MPLS access.  I need to be able to provide a backup connection between the two main locations in the event one of the MPLS

  • Is this 9800PRO compatible with my MotherBoard?

    I need your advice to help figure out my problem so i wouldn't simply waste the money on this graphic card. This is my current rig.... MSI Intel 865P NEO Intel® Pentium® 4 CPU 2.60GHz DDR400 1GB Western digital 160GB and 80GB Enlight 420W The System

  • APO DP planning books - use of 2 grids in view

    I am using APO DP V5. I know that it's possible to have 2 grids in a planning book view. Can anyone give good examples of where 2 grids have been found to be useful? Would it be possible to have 1 grid for 'forecast' and 1 grid for 'history'? Thanks,

  • Drag and drop ALV Row

    HI All,      My requirement is that " user should be able to drag and drop one row position to another row position( example: if the user select row 2 and drag and drop it to row5 then the row 2 should move to the row 5 ). Can anybody knows how to ac

  • Whats the use of these Bios Option

    after Flashing the bios of my x58-pro To 8.50 I saw there is some new option in the bios that you can say there is practically no guidance in the manual on what they do. i'm interested specially in 3 of them which i believe have something with power