Updated : ABAP Proxy to FTP scenario

Hello All,
We have a service interface with the following structure where N1,N2,N3 are nodes with attributes within them.
N1
   Attribute 1
   Attribute 2
N2
   Attribute 3
   Attribute 4
N3
   Attribute 5
   Attribute 6
N4
   Attribute 7
   Attribute 8
We need to convert it into single flat file as follows
Attribute 1 Attribute 2 Attribute 3 Attribute 4 Attribute 5 Attribute 6 Attribute 7 Attribute 8
Can the following be achieved using file adapter ?
Thanks,
Kiran
Edited by: Kiran Sakhardande on Jul 20, 2011 8:40 PM

Hi,
      Define your receiver message type as :
DT_Rcv
  Row ..... 1..unbounded
    Attrb1
    Attrb2
    Attrb3
    Attrb4
    Attrb5
    Attrb6
    Attrb7
    Attrb8
In your receiver FCC, define the end seperator as new line character.
Another option can be java mapping, wherein in the map itself, you create the text file. Incase you go for this option and you are on PI 7.1, define the inbound service interface as XI3.0 compatible so that it can take a non xml structure.
Regards

Similar Messages

  • PCK XI adapter - ABAP Proxy  to File Scenario How to?

    Hi there,
    We want to implement the following sceanrio; SAP ABAP outbound proxy to Flat-File scenario. A (sender) SAP system will trigger an outbound proxy which will send outbound data to a (receiver)file system via the PCK and Central Integration Server.
    SAP (ABAP proxy) -> PCK-> XI -> File System
    My question is; The PCK documentation suggests that the XI adapter included in the PCK can only be used to send/forward messages to the central integration server.
    Does that means that one cannot use the same XI adapter on the PCK to redirect ABAP proxy messages to the Integration server?
    Thanks,
    Roberto

    The PCK cannot be used as a replacement for XI Integration server. PCK is only a type of adapter engine that can run independantly. It is intended for partners who cannot use XI server. So PCK can not in itself execute interfaces. It can just forward all the messages received to the XI Integration server. PCK can only run your sender or receiver adapter all the mappings can only be executed on the integration server. So PCK just converts from the native format to XI format and forwards to the Integration Server.
    Hope that carifies your question .
    Thanks,
    Kalyan Musunuri

  • Error in synchronous( abap proxy to soap)scenario

    Hi experts,
    My scenario is synchronous abap proxy to sysnchronous soap. for proxy I am using business system name as ERDCLNT220 and soap business system name as BS_HRS_DEV
    configuration steps are
    1. only client proxy to soap scenario I have done.
    communication channels: only receiver soap adapter. no proxy sender communication channel for client proxy.
    Already we have RFC destination connection and connection type H for proxy to xi.
    1.Is it required RFC destination connection for xi to server proxy.
    2.Is it required receiver proxy communication channel for server proxy?.
    i HAVE TESTED THIS INTERFACE. I am able to send the request. But I am not able to receive the response from soap webservice message .
    error is:
    SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Exception occurred while trying to invoke service method getPerson
    exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Exception occurred while trying to invoke service method getPerson
    Error Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Exception occurred while trying to invoke service method getPerson
    Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Exception occurred while trying to invoke service method getPerson. Setting message to status failed.
    Kindly help me.
    advance thanks
    thanks and regards
    elton
    Edited by: eltonsaranya on May 9, 2011 10:27 AM

    Your exception message shows problem at the webservice side.
    Check the following:
    a) you need two mappings one for proxy req to soap request and other soap response to proxy response
    b) You need to create service interfaces both sender and receiver synchronous .
    c) communication channel  QOS is best effort for both sender and receiver
    d) I dont see problem in soap configuration. Bcuz you are able to ping and while getting response from the method getPerson it fails.
    f) See your SOAP response structure matches with WSDL provided.
    g) You can also test outside PI.. I meant testing via soap client tool like SOAPUI  for that web service. So that you know whether problem exists on the target system or not.
    Hope that helps.

  • ABAP Proxy to XI scenario with no Receiver

    Hi,
    I am working on a scenario where R/3 sends a request to XI through ABAP Proxy and expects response synchronously.   I am calling a UDF Java function within a mapping to get response, so there is no receiver, per se.
    Can someone guide me how to map this scenario? 
    REQUEST_DT: Field1, Field2
    RESPONSE_DT : Resp_Field1
    Grpahical Mapping: Pass Field1, Field2 to a UDF function which populates Resp_Field1.  This Resp_Field1 is sent back to R/3 synchronously for the Request.
    I hope someone can help me.
    Thanks
    Venkat Viswanathan

    Hi ,
    check these links also...
    /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501
    sekhar

  • Pipeline error for abap proxy to IDoc scenario

    hi experts,
    i am getting the following system error in moni for my proxy to idoc scenario.
    In error it shows :
    "Receiver service cannot be converted into an ALE logical system"
    but i have checked adapter specific attributes of both receiver
    and sender sys and they both have logical systems ( SO this is not the problem)
    TRACE
    <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
      <Trace level="1" type="System_Error">Error exception return from pipeline processing!</Trace>
    pls suggest .
    Appropriate points will be awarded

    Hi,
    Copy the payload from moni and test the mapping.
    The error may be due to XML file generated by sender channel is not proper.
    and also look at this blog
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    Please reward points if it helps
    Thanks
    Vikranth

  • Reg. Client(ABAP) Proxy to JDBC scenario

    Hi All,
    I am working on a scenario of Proxy to JDBC. The scenario goes like this.....
    SAP is the sender and I need to fetch data from the database table at the R/3 end and update in the legacy system at the receiver end .
    Can anybody guide me apart from PI configuration, the settings need to be done at the R/3 end in the transaction sproxy i.e. the ABAP class and objects. Also let me know if I need to trigger the interface weekly once, is it possible to trigger it automatically by using ABAP  class and objects else I need to write an ABAP program in order to trigger the interface.
    Thanks for understanding in advance.
    Regards,
    Neethu Chordia

    Hi,
    Can anybody guide me apart from PI configuration, the settings need to be done at the R/3 end in the transaction sproxy -
    As Raj suggested please search on SDN, you will find lot of links on this.
    Also let me know if I need to trigger the interface weekly once, is it possible to trigger it automatically by using ABAP class and objects else I need to write an ABAP program in order to trigger the interface. -
    >For this you need to write Abap class program and override method "Execute asynchronous" this will send the SAP R3 data to XI and then you have to configure job on R3 to run this program periodically as per your requirement.
    Divyesh Vasani

  • Error in Proxy to File scenario

    Hello All,
    I m doing Client Proxy,  ABAP proxy to file scenario.
    I hv done all the configurations in IR & ID.
    I hv also created proxy in sender R3 system.
    But messages are not going successfully from R3.
    when i checkin SXMB_MONI of R3 i get following error
    <SAP:Stack>Error when receiving by HTTP (error code: 110, error text: )</SAP:Stack>
    Message is in SYSFAIL status in SMQ2.
    Any clues how it can be solved??
    Thanks in adv.
    Mahi

    Hi Maheshwari,
    Please try as mentioned below
    Option 1: Go to SXMB_ADM->Manage Queues and Deregister all the Queues.Use transaction SMQR or SMQ2 to reset the status of queues
    For this to initiate processing of messages stuck in the queue, make sure to set following IS configuration parameter
    MONITOR QRFC_RESTART_ALLOWED to value 1
    Option 2: Check the user associated with the RFC destination AI_RUNTIME_JCOSERVER in sm59 transaction. It is generally SAPJSF. Might be posisble the user password is expired or locked. Log on to j2ee admin tool on the server side and update the password and then see if it works.
    Thanks
    Amit
    Reward points if answer is helpful

  • Error with ABAP proxy

    Hi all,
    I have an ABAP proxy - XI - Webservice scenario, in the XI side we are getting error saying input data not coming in. How to check weather proxy is triggering the actual payload or data?
    There has been a change in the WSDL from the Webservices side, they have changed the data type, so we too updated the mapping in XI. So do we need to change anything in the ABAP program which triggers the proxy,
    how do I check weather proxy is triggering data or not?
    I want to see weather its problem with the ABAP trigger program.
    Thanks,
    Srinivas

    Hi ramakrishna,
    Does R/3 side SXMB_MONI give successful chequered flag when the message is processed?
    Because for correctly processed message, the data is being updated in the table, but I can't see the chequered flag on the R/3 side.
    But for the wrongly processed ones its showing PL_TIMEOUT error and showing red flag on R/3 side, this is what I see on the R/3 side:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Integration Server
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">PL_TIMEOUT</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Pipeline timeout condition satisfied</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

  • Problem with Configuration in Production ( ABAP Proxy - XI - FILE)

    Hi All,
    I have a ABAP Proxy -> XI -> FILE scenario wich is working perfectly in DEV and QAS environment.
    When the person responsible for transporting tried to transport the objects in QAS to PRD, the following error happened:
    Direction of communication channel |BS_MA_FileServer_PRD | CC_File_PedidosServ_MA_FileServer_IA is incorrect.
    Correct the direction or choose another communication channel
    BS_MA_FileServer_PRD - Business System (FILE)
    CC_File_PedidosServ_MA_FileServer_IA  - My FILE Communication Channel
    This was what the Basis person sent to me. I don't have access to know exactly what happened. And I really don't know what could be wrong or if maybe a component was created wrongly in Production.
    Hope you can help.
    Points will be given.
    tks.. Daniela

    You have mentioned FILE is on the receiving side and ABAP proxy is on sender side.
    But the error pasted by you clearly shows syntax of a Sender Agreement .
    For receiver agreement it should be |<Sender Service>| |BS_MA_FileServer_PRD | CC_File_PedidosServ_MA_FileServer_IA
    Bipin

  • ABAP-Proxy to SOAP: Error in SOAP Adapter

    Hi!
    I would like to implement ABAP-Proxy to SOAP scenario.
    Unfortunately my SOAP receiver channnel has the following error:
    SOAP: call failed: java.io.IOException: No SOAP Envelope but 1 definitions; HTTP 200 OK
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: No SOAP Envelope but 1 definitions; HTTP 200 OK: java.io.IOException: No SOAP Envelope but 1 definitions; HTTP 200 OK
    Furthermore the call of  /sap/bc/soap/rfc of business system B is erroneous
    http://<server system B>:8000/sap/bc/soap/rfc
    Here I get the error: HTTP 500 Internal Server error
    Can some one help me to solve this problem?
    Thank you very much!
    regards
    Holger

    Hi,
    Are you using the webservice exposed by SAP or it is third party webservice. Can you explain your complete scenario? What is the url you have given in your receiver SOAP Channel? Was that no configured earlier?
    If at all you are using the SAP webservice, the wsdl link should be.
    http://<server>:<http port>/sap/bc/soap/wsdl11?services=BAPI_MATERIAL_EXISTENCECHECK&sap-client=200
    The target url you will be able to see in the wsdl itself also
    amit

  • ABAP Proxy to File - questions

    Hi,
    i have tried the following blog:
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    and found out that´s not possible to send the message through proxy from the IS(same client as the proxy). right ?
    What settings have to be made in our SAP ERP R/3 application System to sent the message the ERP system ?
    Thx,
    Gordon

    Hi,
    i have tried the following blog:
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
    1387
    and found out that´s not possible to send the message
    through proxy from the IS(same client as the proxy).
    right ?
    As michal said, you can't create server or client proxies in the same client of the Integration Server, since it doesn't make sense to send a message from one logical system to itself.
    What settings have to be made in our SAP ERP R/3
    application System to sent the message the ERP system
    Now I got confused.
    You mean you want to do XI (ABAP Proxy)> R/3 scenario?
    Or do you want to call one function in R/3 from another function in R/3?
    Regards,
    Henrique.

  • Abap proxy business system

    Hi Everyone,
          I created all required objects using IR for abap proxy to file scenario.Now i want to create technical and business systems for this scenario.I read in doc that i need to create technical system of type WEB AS ABAP and business system for R/3 system.
    I couldn't find all required parameters and how to do this?any help would be  appreciated.thanks in advance.
    Regards
    vinay

    Hai Ivanovih,
    Thank you for reply.
    I got the details of r/3 system.I started creating Technical syste of type WEB As ABAP.
    1.System Type
      WEB AS ABAP
    2.General
    Web AS ABAP Name (SID):VJY
    Installtion Number:INITIAL
    Database Host Name:BASIS
    3.Central Servers
    Message Server
    Host Name:Basis
    Message Server Port(sapmsVJY):3600
    Central Application Server
    Host Name:BASIS
    Instance Number:00
    4.Application Servers
      Add Application Server
      Host Name :BASIS    Instance Number :00
    5.Clients
      Client List
      Add New Client
      client Number   Logical Client Name
    6.Installed Products
      upto 4 steps i given required details.if anything wrong with details given please correct me.
    how to get client number and logical client name?what details required for installed products?
    Vinay

  • ABAP proxy related issue

    Hi All,
    Good morning,
    i working with ABAP proxy to file scenario. the requirement for this scenario is we are fetching data from data base to internal table then using that table we have to write code and send data to xi.  can give me past response that how to write code using internal table. i want only code related internal table not total code.
    thanks for fast response.
    regards
    sai

    Hi Sai komala,
          After genrating the Proxy, you can view the calss & structures genrated by proxy.You need to create an object with refrence of Class and to be create workareas for your Message type and Data type strucutres. Create an Internal table with your desired structure and do the validations as per your mapping rules.After completion of your all validations you need to populate your final internal table data to the structure of message type and call the execute asynchronous method.
    Have a look into following weblogs
    /people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    TO debug u r proxy code, just like your normal R3 report program. put a breakpoint and execute the program , you can view the debugging of your proxy.
    Hope it will helps to solve u r probolem
    Cheers
    Veera

  • ABAP proxy to file-Create package in SPROXY

    hey guys
    i m doin ABAP proxy to file scenario,and when i try to create a ABAP proxy its asking for the package and prefix,do any of u know how to create a package ?
    also if there are any inbuilt packages that i can use
    thanx
    ahmad

    Ahamd,
    use custom packages and you can give prefix start with zxx_
    thanks
    Prasad

  • Trigger ABAP proxy

    Hello folks
    Have a sender abap proxy to jdbc scenario.
    Have a question: how do we trigger abap proxy from SAP ? can we do by scheduling a job or some other better ways exist ?
    Thank you.

    >
    > Ok req is : ABAP - > JDBC scenario : each xml payload is small... just 5 -6 fields coming over from SAP but it is very frequently triggered on SAP ... every 1 minute.. this will be triggeed.
    >
    > if its job / batch based: aggregate records come over for every 5 -10 minutes... which is good for PI but for SAP overhead is more since job is scheduled very frequently.
    >
    > if it is event based trigger of abap proxy from SAP then multiple small messages flood PI since data uis not aggregated.
    >
    > Dont know what is generally preferred?
    >
    Completely depends on how you want and depends on requirement,if you are able to generate multiple records at a time then it it would be really good , because resource utilization in ECC and PI also will be reduced.
    else go with individual record.
    Regards,
    Raj

Maybe you are looking for

  • Set "url" in HTTPService using String variable

    Hi, How can I set "url" in HTTPService using String variable (see below). I've tried different formats of string & variable concatenations. privtate var myurl:String = "http://localhost/";     <mx:HTTPService id="post_submit_service"         url="{my

  • Get Error -An error occurred while installing the extension "Lastpass". Not just Lastpass, ANY extension I try to install HELP!

    I am getting an error - An error occurred while installing the extension "Lastpass". Not just Lastpass, ANY extension I try to install. I just updated to Mavericks 10.9.1. Safari version 7.0.1. This is super frustrating. I was going to try to delete

  • VISA Driver Development Wizard

    I found a reference to this great document called Using the VISA Driver Development Wizard and NI-VISA to Register-Level Program a PXI/PCI Device under Windows. As I described in another post, I am having performance problems using AccessHW to talk t

  • How do i minimize an indesign extension panel?

    i have tried using NativeWindow's minimize method but it seems to just minimize the AIR app frame within the extension panel frame.  what i am hoping to achieve is to mimic what happens when the user clicks on the '>>' arrows in the upper corner of t

  • Hdiutil: create failed - error -5341

    Hi,     I have this error on 2 Macosx Mavericks machines:    hdiutil: create failed - error -5341 This happens when I create an image larger than 100MB. Here the srcfolder is 120MB: $ hdiutil create  -srcfolder myapp.app myapp.dmg hdiutil: create fai