IDOC to File without XI or Middleware

Hi
I have a req to create idoc from external system without XI or any other middleware.
So i need to access the files from application server and create inbound idocs.
for this i need to access the files from application server(AL11) ...I did this part.
Example:
Create the order idoc from file and process the idoc : Sales order created
But when i deliver this sales order do i need to create an idoc again and convert it to file and place it on application server? or is there anyway to create a file whenever outbound transaction is processed like Delivery , invoice etc?
I need to communicate with legacy system only with the files..so inbound is fine coz iam creating idocs but do i need to create outbound idocs to create the files to place it on application server wrt preceeding documents i.e sales order etc..?
Please let me know coz we dont have middleware like XI etc...
Thanks
MadhuSudhan

Thanks for ur reply
I got your point..
Lets take a scenario
Lets say i created an inbound IDOC and created a Sales order thru the File data.
You are saying is right..when we create delivery for the sales order thru the transaction it will create the delivery number.. but i want to make it automation process ...I want to capture that Delivery number along with some delivery related data to capture in the file and put in the file on application server (Outbound)
Since i have the requirement to create Sales order at the very beginning i have the control coz i will process the idocs.but when i send the outbound information thru the file do i need to create the idoc and capture the data into the file
OR
is there any way to capture the data into file whenever we create the delivery for a sales order in SAP.
Please let me know and ask me if u r not clear on this...
Just be sure that there is no Middleware like Xi,Gentron....
Madhusudhan

Similar Messages

  • Can SAP R/3 system read a PDF file without XI as middleware?

    Hi Experts,
         There is a requirement where an SAP R/3 system needs to read contents of a PDF file. The file is supplied to R/3 system from an application server. Is it possible to read contents of a PDF file by a SAP r/3 system without middleware like SAP XI? If possible what might be the general steps of doing that? Secondly is it possible for XI to read contents of a PDF file format which has data in form of CSV within it?
    regards
    Anupam
    Edited by: anupamsap on Feb 16, 2011 1:12 PM

    >>Secondly is it possible for XI to read contents of a PDF file format
    Yes,Write a custom adapter module for sender file adapter.
    Use itext libray
    http://api.itextpdf.com/
    check this blog.(writing to PDF )
    http://wiki.sdn.sap.com/wiki/display/XI/CODE%20-%20Create%20a%20PDF%20File%20via%20the%20iText%20Library
    you can write the code to read the pdf.
    Hope it helps

  • Multiple Idoc to file without BPM

    Hi All,
    I am using xml [HTTP destination|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b ] in ECC system to collect Idocs(say 100,200 etc) of particular type (say MATMAS05) and sending it as a single message with multiple Idoc noes for same message type to PI 7.1 system, In PI I need to create the single node for each IDoc on target side based on certain validations on the fields of various segments( with unbounded occurences ) occuring at various levels . Node should be created only if all the fields are validated,even if a single field fails validation node for that IDoc should not be created on target side.
    for example:
    >>MATMAS
      >>|_E1MARAM
         >> |_ MATNR
         >>| _E1MAKTM
           >>   |_MAKTX
    If there are 100 MATMAS nodes in the message and if MAKTX field of third E1MAKTM segment in 97 th IDOC node fails validation the node for this IDOC node should not be created on the target side..
    Currently I am trying to do it using UDF but due to performance point of view I do not want to execute Loop across various segments twice, once to validate the fields and second time to generate node.
    Can anybody help me in this ?
    Thanks,
    Amit

    Hi Mughda,
    How would i validate using createif node function as i also need to validate fields of all the segments of the same Idoc. ?
    Thanks,
    Amit

  • IDOC to file scenario plus control (master) file

    Hi PI gurus,
    I have got the simplest possible scenario.
    It is IDOC to file without BPM. Works fine.
    Is there a smart way to add master file ( the one that would contain number of records and filename with data sent ) without BPM ?
    THe requirement is first to ftp data file and then master file as the second file ( The reason is master file triggers processing of data file ).
    Cheers
    A.

    should be simple.
    use two interfaces, one for data file and one for master file.
    two mapping which will create the required files and then in interface determination add the interfaces in the required order and check the option maintain order during runtime.
    this should solve your problem.

  • IDOC to file....bpm or without bpm...help needed..

    Hi XI friends,
    its IDOC to file Scenario..
    its daily scheduling report..if we run that report.....Number IDOCs are generated in SAP..
    we have 5 legacy systems..
    for one legacy systems file type is .txt file and for remaining xml files..
    the catagarization based on one of the field in IDOC..
    if that field is 01 the file type should be .txt file
    for others xml file..
    if that field is 01 then ..XI need to collect all the IDOCS into one .txt file for other values direct conversion into XML file i.e..each idoc gets into one xml file
    if that filed is 01..then XI need to collect all the IDOCs in that day into single .txt file and the fileds are Fixed lenghts...and at the same time ..that idoc contains number of segments ..if any Idocs doesnt contain some segments..ther should be no more blank lines...each segment should placed in new row...and also..for some segements ..XI should collect into seperate .txt file....
    please help me....how to achive,,,,,,
    regards
    Munna

    <i>if that field is 01 then ..XI need to collect all the IDOCS into one .txt file for other values direct conversion into XML file i.e..each idoc gets into one xml file
    if that filed is 01..then XI need to collect all the IDOCs in that day into single .txt file and the fileds are Fixed lenghts...and at the same time ..that idoc contains number of segments ..if any Idocs doesnt contain some segments..ther should be no more blank lines...each segment should placed in new row...and also..for some segements ..XI should collect into seperate .txt file....</i>
    in this case BPM will be required to collect the IDOCs ref: http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
    base the correlation on the field that contains the value 01
    also then later using XPATH in your receiver det. you can check for the value and route the message to the particular receiver as u want to
    ref:
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

  • How to send 100 records from an IDOC to File Scenario without using BPM?

    Hi All,
    I have a requirement that i need to send 100 records from sap to file by using the scenario IDOC to File. Can you suggest how can i achieve this?
    Regards,
    Ramvilas.

    Hi,
       Create a H type RFC destination.Tagert host and port give  Xi system host and port.Path give the
       /sap/xi/adapter_plain?namespace=<NameSpcae>&interface=<Interface> &service=<SenderBusinessSystem>&qos=EO or EOIO.
    Go to we21 find xmlhttp port.give the port name and assign RFC.Give the port in we20 your idoc and change to collective.
    In Xi export the IDOC and change the occurance to 0-unbounded and import it.
    Regards,
    Prakasu.M

  • IDoc to File, SM58 shows error, ST22 short dump - Runtime error

    Hi friends,
    I am doing a simple IDoc to file scenario using the EVMSTA01 IDoc. My XI is running on client 100 and I am trying to send the IDoc from the client 200 on the same machine. I have completed the design and configuration steps required and also performed the required steps in Sender client (Sm59, we21 and BD54) and receiver client (Sm59, IDX1 and IDX2).
    When I tried sending the IDoc from WE19, status meesage says that, the IDoc has been successfully sent to the receiver but SM58 shows error "IDOC_ERROR_WORKFLOW_START_R". When I looked in to ST22, there was a short dump with the below message -
    Runtime Errors         MESSAGE_TYPE_X
    Date and Time          18.10.2008 23:24:29
    ShrtText
         The current application triggered a termination with a short dump.
    What happened?
         The current application program detected a situation which really
         should not occur. Therefore, a termination with a short dump was
         triggered on purpose by the key word MESSAGE (type X).
    Error analysis
         Short text of error message:
         Unable to read RFC destination WORKFLOW_LOCAL_200
         Technical information about the message:
         Message classe...... "SWF_RUN"
         Number.............. 617
         Variable 1.......... "WORKFLOW_LOCAL_200"
         Variable 2.......... "RFC_READ_DESTINATION_TYPE"
         Variable 3.......... "DESTINATION_NOT_EXIST"
         Variable 4.......... " "
         Variable 3.......... "DESTINATION_NOT_EXIST"
         Variable 4.......... " "
    Trigger Location of Runtime Error
         Program                                 CL_SWF_RUN_WIM_LOCAL==========CP
         Include                                 CL_SWF_RUN_WIM_LOCAL==========CM07Z
         Row                                     10
    Module type                             (METHOD)
    Module Name                             IF_SWF_RUN_WIM_UTL_INTERNAL~GET_SYSTEM_USER
    rce Code Extract
    e  SourceCde
    1 METHOD if_swf_run_wim_utl_internal~get_system_user .
    2   DATA: l_excp TYPE REF TO cx_swf_run_wim.
    3
    4   TRY.
    5       IF me->m_int_state-system_user IS INITIAL.
    6         me->m_int_state-system_user = cl_swf_run_workflow_properties=>get_rfc_destination_us
    7       ENDIF.
    8       re_user = me->m_int_state-system_user.
    9     CATCH cx_swf_run_wim INTO l_excp.
    >>       MESSAGE ID     l_excp->t100_msg-msgid
    11               TYPE   'X'
    12               NUMBER l_excp->t100_msg-msgno
    13               WITH   l_excp->t100_msg-msgv1 l_excp->t100_msg-msgv2
    14                      l_excp->t100_msg-msgv3 l_excp->t100_msg-msgv4.
    15   ENDTRY.
    16
    17 ENDMETHOD.                    "
    Any help would be appreciated..!!
    PS: Points would be assigned to all the helpful replys without fail

    Hi,
    See check for RFC destination and it is working as per your configuration or not , i mean , it is trying to locate remote server.. , so try to check in sm59, remote login and the respective result is going to your required client or not ??
    Also see the further errors while doing Idoc related scenarios..
    IDOc testing - /people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario
    /people/sravya.talanki2/blog/2005/10/27/idoc146s-not-reaching-xi133-not-posted-in-the-receiver-sap-systems133 - Idoc’s not reaching XI…. Not posted in the receiver SAP
    idoc settings /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    idoc erros - http://help.sap.com/saphelp_nw04s/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
    idoc mapping - /people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping
    IDoc erros troubleshooting - /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
    Regards
    Chilla

  • IDOC to File, variable substitution on outbound message XML tag attributes

    My scenario is IDOC to FILE using XSL mappings.The target format is 2 XML tags (header, line) with the data stored in the attributes of each tag.
    EG. <header attr1=one attr2=two attr3=three><line attr1=one attr2=two /></header>
    The name of the file is dictated by an outbound attribute value in the header tag.
    Can I get access to it the attribute in the target message in the CC_FILE using variable substution. ?
    Currently I am not using content conversion as the XSL produces the file format needed, so I would pefer not to change the outbound message format/structure as this is going to an external party. I would prefer not to change the outbound format as this would need content conversion to strip the unwanted/information/processing node that is used for this purpose (file naming).
    The name is a calculation of fields in the IDOC and is not explicit dictated (business logic is applied in the mapping to get the file name), so I would prefer to use the attribute of the resulting XML to keep the "business logic" in the XSL..
    Things that cannot be changed.... 1. Must use XSL.for mapping. 2. Format cannot be changed of the outbound message. 3. Would prefer not to involved content conversion to keep formatting/node structure in the XSL mapping.
    I have seen some reference to this being possible on the forums but nothing solid from what Ive read.
    Something like var1 = payload:/Header/@attr1 in variable sub to get at the attribute
    Any comments ?
    Thanks in advance.
    One final piece of info. its on a PI 7.1 system.

    I think its best explained by my other thread Link:PI 7.1 Access to Dynamic Configuration through Java Class .
    Thanks for the link I have already implemented based on that link but the one crucial difference is that it is implemented using a static method with no reference to the actual object (payload) for Dynamic configuration. It seems that without the 7.0 API which isnt available in 7.1 by default XSL with java extentions is limited to static methods. If you could read the other thread it certainly is possible I'm mistaken.

  • Issues in SAP(Idoc)-XI-File scenario

    Dear All,
    I am working on SAP(Idoc)-XI-File scenario. But in the Receiver agreement i am not able to see the idoc in order to specify some conditions there. 
    Please suggest if I have to do any settings in order to specify some conditions in the idoc.
    Warm Regards,
    N.Jain

    Hi nishu jain  ,
    U can specify the conditions in Reciever Determination.
    1.Go to Scenarios
    2.Choose your business scenario
    3.Click Service without party
    4.Double click Reciever Determination
    5.U wil get  screen in which there is a option called Configured Recievers.
    6.Click there.then u wil get the screen with
         Left Operand  Op Right Operand
    7.There u can specify the condition.
    Reward points if u find this useful.......
    Regards,
    gyanaraj

  • IDoc-to-File scenario with external Partner ... PCK necessary?

    Hi all,
    I have a question concerning to a IDoc-to-File Scenario with an external Partner. Here is a short Description of the Scenario:
    The SAP ERP System creates an IDoc which should be send to the SAP Integration Server. The Integration Server respectively the IDoc-Adapter transform the IDoc in IDoc-XML. The Integration Server executes a Mapping and so on. In the final step the Integration Server should send the XML-File to a FTP Server in New York (external Partner) with the File/FTP-Adapter.
    Have I to install the Partner Connectivity Kit at a Server in New York or is it working without the PCK? Which are my possibilities?
    Thanks for your help
    with kind regards
    Christopher

    Hello,
    If the FTP server has connectivity to XI and if the
    port is open XI can directly do the FTP using File
    Adapter.
    Thanks,
    Himadri
    Hi,
    thanks for your quick answer.
    What means "connectivity to XI"? Our SAP-Environment is in Germany and the FTP-Server is in New York. Is it enough to open the port in the firewall?
    Thanks for your answer
    Christopher Kühn

  • IDOC- XI- file.txt

    Hello everybody!
    I have scenario as below.
    IDOC->XI->file.txt
    I must transfer my packing list from idoc to file txt. The file txt must have a lot of lines for several levels of packing.
    I think to try to processing an IDOC message many times over.
    How can I Make?
    Or have you another idea?
    Thanks a lot!

    Hi Demetrio,
    Please have a look at the below weblogs...i hope it will help you to solve ur requirement...
    XI:Idoc Message Packages
    /people/sravya.talanki2/blog/2005/12/09/xiidoc-message-packages
    Collecting IDocs without using BPM
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    IDOCs (Multiple Types) Collection in BPM
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    Thanks,
    Aravind.pujari

  • Doubt in idoc 2 file scenario

    Hi,
    I want to create idoc 2 file scenario with out any Transformation.
    In that case how/what to create Data type for receiver.
    I want to receive the same idoc in the receiver folder/Directory (like XML file) with out any transformation.
    Thanks
    Ruban

    Hi,
    For this scenario you need to create the Data type structures as similar to IDOC type and just have to transfer to file without FCC.
    It will transfer the IDOC data as it is in XML format
    refer
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    /people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/error%2bhandling%2bin%2bfile-idoc%2bscenario
    (Just avoid using FCC conversions on receiver file adapter in above scenarios)
    Thanks
    Swarup
    Edited by: Swarup Sawant on Mar 24, 2008 6:15 PM

  • Regarding remote login in IDOC to FILE Scenario

    Hi Friends,
          I have been struggling from this issue from many days.
    when i am doing IDOC to FILE Scenario, i was posting an CREMAS03 IDOC from ECC client 800 to SAP XI Client 001.
          After executing WE19 in SAP ECC, its automatically asking for XI login detals.
    will it really ask for login details.
      <b>Because if we do  FILE to IDOC Scenario, it wont ask for login details.</b>
        If i check RFC destination from XI to ECC, we could easily remote logon to ECC without asking for any logon  details, but if i check RFC destination from ECC to XI, <b>its asking for Lodin ID and Password</b>.
    Regards,
    Varun Reddy.K

    HI Varun
    Check the roles assigned to you.
    The roles are...SAP_XI_ADMINISTRATOR and SAP_XI_DEVELOPER.
    If u have created the user in SU01 just now..and checking logon to IB immediately ..it will not come cos it takes some time for the users to get reflected in JAVA stack.
    Cheers..
    Vasu
    <i><u>** Reward Points if found useful **</u></i>

  • Idoc to file scenaro ( sending IDOC as it is to NON-SAP)

    Hi Experts,
    I am doing idoc to file scenario.
    I am having SAP R/3 system with 3 clients(100, 200 & 300), IDOC is comming from SAP R/3( any one of the client)
    In this is scenario, I am sending IDOC-XML as it is to the NON-SAP system.
    I heard that, i can do in 3 ways. those are
    1. Without any repository objects: you can go ahead with No interface mechanism on the target side.
    2. Without message type: create a message interface whose message type would be idoc itself
    3. With message type: export the IDOC as xsd file and re import the xsd file as an external definition.
    If i  go without IR objects,Please tell me whether i need to create Interface objects(i.e. DT,MT & MI) & Mapping objects (MM & IM) or not for the reciever.
    MY ASSUPTION:
       step1: I will import the IDOC into IR.
       step2: Directly i will go to the ID without desiging any object in IR ( is it ok).
      Is my assuption or correct or not?, please tell me.
    So please tell me the entire scenario how to achieve this.
    Please help in this issue.

    Hi Laxmi
    1. Without any repository objects: you can go ahead with No interface mechanism on the target side.
    -- Not Possible
    2. Without message type: create a message interface whose message type would be idoc itself
    -- No need for the Message Interface for IDOC. You will directly import the IDOC and do the Mapping
    3. With message type: export the IDOC as xsd file and re import the xsd file as an external definition.
    -- This is Possible. you are export the IDOC as XSD File and reimport the same. so there is no difference. If you are going to change the IDOC Structure then this is possible.
    Here I am sending some links which are useful for IDOC to File Scenario. Please go thru the links given below..
    While doing an IDOC -> XI -> File scenario, The Points to noted are:
    1. You don’t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.
    2. You import the IDOC and use the same in your mapping.
    3. In this configuration note that you don’t have a sender agreement as you don’t have a sender IDOC adapter.
    If it is that you wanted to send an IDOC from XI (File to IDOC) , then in this case:
    points 1 and 2 will remain, but the 3 will not. You will need a sender agreement for the file and a receiver agreement for the IDOC.
    IDOC -> File scenario ref:
    IDoc-XI-File scenario
    File -> IDOC ref:
    File to IDOC
    To be able to trigger your IDOC from the SAP ISU system, you will have to set the partner profile in we20. Select your Business System (mostly under Logical system) and then create Outbound entries for whichever IDOC you want to trigger.
    You define your basic type also in your partner profile settings, Please go thru the following links to get a better idea about partner profile:
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b833243d711d1893e0000e8323c4f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7cd343d711d1893e0000e8323c4f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/32/692037b1f10709e10000009b38f839/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/5e/b8f8bf356dc84096e4fedc2cd71426/frameset.htm
    Also, I would suggest that you go through this blog by michal if any issue arises,
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    I hope this answers your query.
    Award the POINTS if it is useful **
    Cheers
    Vasu

  • Batching of multiple IDOCs into 1 IDOC-XML file

    Hi PI experts,
    I would like to send all idocs from the same payment run (based on run date & run id) as 1 idoc-xml file to PI.
    The number of idocs is variable depending on the payment run.
    Is this possible without using ccBPM?
    I understand it can be achieved according to /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm by using FILE adapter. But I don't want to save the idocs into a file system and the number of records in a file is also fixed.
    Is there other alternative solution?
    Thanks,
    Ken.

    Hi Michal,
    Yes, I have seen your blog and also would like to use the IDoc packaging feature which comes with 7.0 EHP1 onwards, but I am not sure whether the IDoc collecting can be based on the payment run date and run id.
    The sending of the collected IDocs is based on when the program RSEOUT00 is executed.
    If we perform 2 separate payment runs before the RSEOUT00 is executed, would PI receive 2 Idoc-XML files or 1 combined Idoc-XML file. We would like to receive 2 separate XML files.  
    Hope you can confirm this.
    Thanks.

Maybe you are looking for

  • Mavericks and App Store

    Help Please. Since upgrading to mavericks I have two issues. 1. When I click on Apps store nothing happens. 2. When I open mail it crashes and I get the following: Process:         Mail [2446] Path:            /Applications/Mail.app/Contents/MacOS/Ma

  • How do I drag a link to the bookmarks bar?

    This started with a simple attempt to install an app that will let me see page source at sites I'm looking at (I'm doing web development and learning to customize for iphone). When I went to a site to get me started, it said all I had to do was drag

  • AT SELECTION SCREEN OUTPUT ON VALUE REQUESt problem

    hi I am fetching the values into second field based on first field by reading them like this <b> AT SELECTION-SCREEN ON VALUE-REQUEST FOR ST_NAME.   CLEAR: FIELD_VALUE, DYNPRO_VALUES.   REFRESH DYNPRO_VALUES.   FIELD_VALUE-FIELDNAME = 'EXCH'.   APPEN

  • Factory set password for Windows Vista built-in administrator account?

    I am attempting access the Vista built-in administrator account, which normally is not passworded unless the user does so. Mine, however, has a password that was set 11/20/2010 at 9:57:24 PM. Was this p/w set by Toshiba? I assume so, as it was purcha

  • Problem in changing layout of ALV to excel

    Hello everyone, I have developed an ALV program, wherein I need to show the graphs for the same. For this, I need my data in excel format, so that I can write some macros ,and do the further processing on it(I am using an appraoch I found on SDN, "Re