Idoc-XI-file test scenario

i m new to XI,
i wanna make a test scenario for idoc-XI-file...
i donno what an idoc is.......
tell me how to create an idoc from the very basics....like message type, segment, partner profile, port creation, etc,..... and how to fire an idoc from the R3 system to my XI system,
and ofcourse... ican do the rest of mapping and all, with the file message type

Hi Sudeep,
1. steps for creating customized Idocs..
  we31- creation of Segments
  we30- creation idoc types
  we81- creation of Message types
  we82- assigning message type to Idoc type...
2. R/3 Configuration settings
  SM59 -  creation of RFC destination...
  we20  -  creation of Ports
  We21 -  Creation of Partner profiles..
3. XI Configuration settings
  SM59  - Maintain RFC destination,
  IDX1    - Maintaining port for XI
  IDx2    - Loading the Idocstructure into metadata repository
These are the settings to be done before starting ur scenario..
I think this will help you... points...
regds,
vasanth.

Similar Messages

  • Idoc to File Split Scenario..

    HI Experts,
    My scenario is Idoc to File split scenario..
    Idoc will be triggered from the SAP ECC system and at the target side we need to drop two text files at the ftp directory.
    so Idoc data needs to be splitted and to be dropped in two differient files in the target FTP directory..
    So can any one suggest how to go ahead with the scenario..
    Thanks,
    --Kishore.

    Hi,
    In the idoc, some of the data will go to onefile and some goes to other files..
    the structures of the two files are differient..
    There is no condinal spliting here every idoc contents should be mapped according to the requirement and dropped as two files.. at the target end.
    for ex:
    Idoc
    field1
    fileld2
    field3
    field4
    in the out put side
    file1 should contain
    field1
    field3
    field4
    file2 should contain
    field1
    field2
    fileld3
    This is what the requirement, if you are not getting reply back with your queries..
    Thanks,
    --Kishore..

  • Idoc to file(TXT) scenario

    Hi all,
            i'm working in a idoc-to file scenario. now its working fine and the file has been written in the target directory of the receiver .but its in xml format i need to store it in a TXT format.
    In the receiver communication channel configuration i used file content conversion message protocal and also mentioned the FILETYPE as text and FILEENCODING as UTF-8. i maintained content conversion parameters also.
    but still i'm getting the file in a XML format. it wouldbe very helpul if anyone could solve this one.
    Thanks,
    Hari

    Hi,
    Its really surprizing the to see even after maintaining all the parameters you are getting XML output.
    Can you verify the receiv er end structure of Message type
    and refer
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    http://help.sap.com/saphelp_nw04/helpdata/en/ee/c9f0b4925af54cb17c454788d8e466/frameset.htm - cc
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/95/bb623c6369f454e10000000a114084/content.htm - fcc cOUNTER
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/da1e7c16-0c01-0010-278a-eaed5eae5a5f - conversion agent
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Thanks
    Swarup
    Edited by: Swarup Sawant on Feb 22, 2008 1:15 PM

  • IDOC to File - FCC scenario

    Hi Friends.
    Scenario is in PI 7.0 . IDOC is received from SAP and after file content conversion placed in file server.
    Suddenly few days back it started throwing error in receiver file FCC communication channel - error is -
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value '       ' too long (>3 for 27. column) - must stop', probably configuration error in file adapter (XML parser error)': java.lang.Exception:  Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML  parser: 'java.lang.Exception: Column value '       ' too long (>3 for 27. column) - must stop', probably configuration error in file adapter (XML parser error)
    but the same scenario with same inputs (same payload,same IR and ID configuration) works fine in development environment.
    in SXMB_MONI message shows as SUCCESSFUL and payload is also OK.
    Pls suggest what to do in this case..

    Hi,
    This is happening because - if there is any empty tag coming from source then target structure tag will not be created and because of which ur payload structure and FCC configuration is not matching.
    I would recon use map with default between source n target strcture so in case source tag dont have value target structure will be created because of mapwithdegfault fuction and ur FCC will not fail.
    Open SXMB_MONI output payload and compare the structre with Data type u will se for no source value target tag is not created at all and FCC is failed.
    For exa- I ahve name,age,*** as my target data type and FCC is 10,3,4
    If i dont receive age from source the value of *** is taken as 3 length as per FCC becus age tag is not created in target.
    chirag

  • IDOC to File scenario info

    Hi Experts,
    What all the important information we have to gather from client to do the IDOC to File(SML) scenario?
    Thanks & Regards
    Sara

    Hii
    Check this blog on IDOC to File. It states step by steps procedure for IDOC-File scenario:
    Introduction to IDoc-XI-File scenario and complete walk through for starters.
    In this blog u ll get information.
    For troubleshooting of IDOC-File check this blog:
    Troubleshooting  File-to-IDOC Scenario in XI.
    also for sending Collection of IDoc to Single File
    IDOCs (Multiple Types) Collection in BPM
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    Regards

  • Idoc to File(AS2)

    Hi,
    I am workingon IDOC to File(AS2) scenario.
    When i execute the mapping in IR it executes succesfully and gives the data in the specified File format.
    but when i test the interface, i am getting the output file in IDOC format where in  it has to be in XML format in SXMB_MONI.
    Kindly help me wiht his.
    Regards

    Hi,
    The sender IDoc format is displayed in moni as output -
    It shows that the conversion from IDoc to File is not done. Check the communication channelat the bot sender and receiver end.
    If this is not the case then check the mapping which u have selected is the right one?
    Regards,
    Neethu

  • IDOC to FIle (FCC)

    Hi friends,
    In Real time where we will normally use  IDOC  to File (FCC ) Scenario.
    Could any one give some instance of this.

    Hi,
    >>>>In Real time where we will normally use IDOC to File (FCC ) Scenario.
    whenever the receiver system can only handle flat files
    or when the company is which we work tells us to do so
    these are the only two scenarios when we will use FCC
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • How To Test Idoc To File Scenario in ID From Tools- Test Configuration

    Hi All,
    Can any body help me in step by step process including screenshots for testing Idoc to file scenario in integration directory from tools->test configuration.
    My scenario is passing the PO Idoc data from R/3  into a file  using XI.
    i have processed the idoc from R/3  and now i went to sxmb_moni in XI system and took the payload xml data.
    In ID I have navigated to test configuration from tools then i have provided the following information.
    Sender Service  : Business system of R/3 b'coz here R/3 is the sender.
    Sender Interface : ORDERS.ORDERS6
    Receiver Service : Business system of XI b'coz here XI receives the data and         places it into a file
    In payload text box i have copied the xml code which i have taken from sxmb_moni and clicked the run button. then i got the following error:
    Sender Agreement
    Internal Error
                     HTTP connection to ABAP Runtime failed.
                     Error: 403 Forbidden
                     URL: http://bxdci.boewe.custservice.de:8093/sap/xi/simulation?sap-client=100
                     User: PIDIRUSER
    Kindly look into it and correct me if iam wrong or is there any other way to test this scenario in ID please suggest.
    Thanks & Regards,
    Venkat

    Hi Venkat,
    Specify the test confisuration as follows.
    <b>Sender</b>
    Service   : Business System of SAP R/3 System
    Interface : The outbound message interface name of type the IDOC.
    Namespace : will automatically loaded when u select the Interface. Check if it the correct namespace.
    <b>Receiver:</b>
    Service  : Business System name for the Fle system.
    Paste the payload that u copied from the sxmb_moni.
    Now click on Run and test ur Scenario.
    Was the scenario sucessfull in the Message Monitor.
    Regards
    Santhosh

  • Testing of Idoc to file scenario

    Hi Gurus,
    I have completed the Idoc to file scenario, But how should I test the whole scenario??!!
    Because of my functional guy is absent for this week and I do want to test my scenario, whether its working properly or not??!!
    Note: As I knew, we19 tcode, it asks some Idoc number and other info to do the same.. could you please help me out?!!
    Thanks.,
    Stallin

    Hi
    Just for testing purpose..you can use WE19..
    First goto transaction WE02 and put Basic type : MATMAS03 as filter criteria, change your creation date to select little old idocs and run...on next screen your will see number of idocs "MATMAS03" with green status(if there is any in that period..otheriwse change period again).
    Then goto WE19 and put existing idoc number in the field existing idoc and and presss F8...On next screen press "Standard outbound processing".
    Can also use we19 and change control record ( Double click in EDIDC segment) to your sender / recever partner profile.. and run
    Thanks

  • Test IDOC to File scenario

    Hey guys
    i m doing a IDOC to File scenario and am stuck at testing it.i went in we19 but dont know how should i test my scenario there.
    any idea how should i test my scenario
    thanx
    ahmad

    Hi Ahmad,
    IDOC to File
    R3 system.
    1. Create SM 59 RFC destination to XI,.
    2. We21 - Create port to XI.
    3. We 20 -- Maintain Partner Profile for the outbound Idoc.
    XI SLD
    1. Create technical system for R3 system
    2. Create Business System for the Client of the R3 system.
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    These are the required steps for IDoc to File scenario...
    In R3 (i.e., your IDES system)...
    RFC dest to XI (sm59) - any name
    Logical system (bd54) - any name
    Port to XI (we21) - any name
    Partner profile for the logical system (we20) - use Logical system name created in bd54
    In XI...
    RFC dest to R3 (sm59) -
    Port to R3 (idx1) -
    create metadata for the idoc (idx2)
    In sld...
    create business system for R3 with Logical system name as r3 sys.
    In we19
    and give in control record as
    Sender : Port ; Partner
    Receiver : Port = <Port created in WE21> ; Partner = <Partner created in we20>
    Regards..
    Ramesh.

  • Unable to Test Idoc to File scenario

    Hi All,
    I am doing Idoc to file scenario.But dont know how to test this scenario.
    I have done all the configuration in Backend and XIServer system.
    Please help me out.
    Thanks in Advance.
    Regards,
    Vikas

    HI
    Chech that these steps have been done
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    One these are done
    1) U can trigger the the IDOC by scheduled job in BD87 immediately after the       document is saved in R/3
    2) Using transactions like bd10 and bd12 u can trigger IDOC for master data
    3) While creating the partner profile there is a option “trigger immediately” . By enabling this option the idoc gets triggered.
    4) Using the transaction WE19 u can trigger the IDOC mannually
    Regards
    Santhosh

  • IDOC to file scenario testing error --

    Hi experts ,
    When doing an IDOC to file scenario the status of the IDOC in XI (the Trace section @  SXMB_MONITOR) shows that
    PARTY &SERVICE NOT DEFINED
    the failure occurs at message splitting stage .
    more details :
    the sender is represented as a business system
    the receiver has no party and has only a business service
    By chance when i tried to check message status in INTEGRATION ENGINE @ RWB
    i was able to find that XI is trying to send the mesasage to Receiver with party name 12345 this 12345 is the same which i gave in we20 as the partner number .
    What could be the reason ?

    This is the error
    Trace level="1" type="B" name="CL_ID_PLSRV-ENTER_PLSRV">
    <Trace level="1" type="T">I N T E R F A C E - D E T E R M I N A T I O N</Trace>
    <Trace level="1" type="T">Cache Content is up to date</Trace>
    <Trace level="1" type="T">...There is no Interface Determination configured for receiver party 0000002569 and receiver service</Trace>
    <Trace level="2" type="T">Check conditions for (Inb: Party Srvc If) 0000002569 DELINS.DELFOR01</Trace>

  • Help in IDoc to File scenario

    Hi experts,
    I just created a scenario to export IDoc to File on a FTP server through XI server. I think I configured all the necessary things, such as in SLD, in sender(ECC) and receiver (XI server), and in IR, ID. But although it sends IDoc to Port OK in sender system, in the receiver system, I cannot see anything. Pls help to find out something I missed.
    Thanks in advance

    HI,
    SAP XI
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (IDX1)
    a) Select create new button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (SM59)
    a) Choose create.
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#.
    e) Enter the Gateway host as same details above SID/URL.
    f) Gateway service is 3300+system number#.
    g) In the Logon /Security tab, enter the client user & Password details of Destination system.
    h) Test the connection and remote logon.
    2) Create Port (We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system.
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    In SLD – System Landscape Directory
    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
    Ts for Third Party (Logical system):-
    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
    BS for Third Party (Logical system):-Enter the XI logical system name.
    In Transaction SALE
    Define and Assign the logical system name.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    Troubleshooting File-to-IDOC Scenario in XI.                    
    Troubleshooting  File-to-IDOC Scenario in XI.                    
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098                                             
    Thanks,
    Madhu

  • Problem in idoc to file scenario

    hi
    while creating the idoc to file scenario i am facing few problems.
    1) My design time objects are working fine. i have checked my message mapping, message interface etc.. (all design time objects are in active mode).
    2) In ID, i have tested my configuration in test configuration, its working fine there as well (in ID i am using 2 business service one for sender, one for receiver)
    3) i am using my ecc6 training server as my sender and using my XI server as receiver.
    4) i am sending idoc from ecc6 and converting it  to file in XI server and saving it in XI server itself(my receiver in this case).
    my error:
    i send my idoc from we19 transaction, and i see a error message stating
    that 'RCVR_DETERMINATION.NO_RECEIVER_CASE_ASYNC'
    my doubts.
    1) while sending the idoc from ecc6, is it mandatory to give process code in partner profile ( that is, assign an outbound function module to push the created idoc to the mentioned destination).
    2) also is it mandatory to have a partner profile on the receiver side( XI in this case) along with inbound process code.
    3) in my receiver adapter ( file adatper in this case ) i have used NFS protocal. is it rite?
    kindly help me with this issue.
    regards
    manoharan

    >
    manoj murugesan wrote:
    > 1) while sending the idoc from ecc6, is it mandatory to give process code in partner profile ( that is, assign an outbound function module to push the created idoc to the mentioned destination).
    >
    > 2) also is it mandatory to have a partner profile on the receiver side( XI in this case) along with inbound process code.
    >
    > 3) in my receiver adapter ( file adatper in this case ) i have used NFS protocal. is it rite?
    >
    >
    > kindly help me with this issue.
    >
    >
    > regards
    > manoharan
    and to 1 & 2 ref. below,
    Configuration steps required for posting idoc's(XI) -
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    ALE configuration for pushing idocs from SAP to XI -
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    3. NFS protocol is used to read/write files to the XI server itself. If you have to write to a local machine then use FTP

  • ALEAUD in IDOC to File Scenario

    Hi,
    I have a IDOC to file scenario in which im sending the PAYEXT IDOC from SAP to a bank as the IDOC-XML.
    ie the user will create a payment in the SAP system , this shoud trigger an IDOC to XI. XI puts the IDOC-XML sturcture into a FTP folder path from which the bank will pick it up. Now the bank has to send an acknowledgement(asynchronously) that the payment was processed. And this response should be captured and returned to the user.
    can we use ALEAUD as the acknowledgement or does using ALEAUD make no sense here?

    Hi,
    Assuming that the bank will send you a file to the FTP server you can simply pick up this file and mapi it to the Systat IDoc. I would assumt that the IDoc status's would not be in the file so you would have to do some value mapping or other logic to determine the IDoc status codes that you want.
    The IDoc is very simple with few fields so the mapping should not be a problem.
    Please note you do not use BPM for this scenario. In essence this would be a new flow of File --> PI --> IDoc
    Import the STATUS.SYSTAT IDoc into the Design and play from there, you can make a POC now and test the functionality which would probably be best for you at this point.
    Let me know if you need more details
    Edited by: Alexander Ong on Jul 14, 2009 4:57 PM

Maybe you are looking for

  • Managing Styles in Pages 5

    Hi, two questions regarding paragraph style management: 1. Is it possible to combine numbering/bullets (list styles) with paragraph styles? Imo numbering should naturally be a styling element of a paragraph just like font size, weight etc... 2. For a

  • Need help in Sales order Header Details

    Hellp Experts, I need to modify data on 'Additional Info B' in Sales Order Header (VA03 Transaction) . As it is a Standard program I am aware that we have to use user Exits. But before that I have to debug the code to that point. I wish to know info

  • When usung google search I get a listing but when I click on it gets replace with spam

    When usung google search I get a listing but when I click on a link it gets replace with spam. I notice a half blue spiral in front of the link that pops up. == This happened == Every time Firefox opened == every time I use use the Google Search in f

  • Reading file containing byte data

    I am trying to read a file containing data that is in byte format. I can't look at the file and have no idea what is in there. For my first pass I would just like to see what the format is of the data in characters. Is there an easy way to do this? T

  • Time Machine taking too long (OS X 10.8.3).

    To any one who can help, I did the regular schedueled backup on an external HD and it took forever to prepare the backup, and then another long time to clear old backups. It now says it has to backup 171.69GB and it's been stuck at 7.3MB for hours! T