JMS to File Scenario with no mapping
Hi Experts,
My requirement is sending the flatfile data to target system.It is just pass through scenario.
Source adapter is JMS - >SAP PI ---> File to Target.Data at source side is binary data and its nt XML.PI has to pass the csv data to target as a file without any modification.I am not sure of source structure here.Payment information are coming from source which is of TITO format.
My Question is
1)Will sender JMS adapter accepts binary data ?
2)What configuration i need to make to achieve it?
3)Does any mapping required for this scenario?Since its just pass through scenario.
Please provide your suggestion.
Regards,
Karthiga
Hi Karthiga,
Check the responses below.
1. Will sender JMS adapter accepts binary data ?
Yes it should accept binary data.
2. What configuration i need to make to achieve it?
There are many examples on SCN for passthrough scenarios.
3. Does any mapping required for this scenario?Since its just pass through scenario.
No mapping or ESR objects are required for his scenario.
Rgds
Charan
Similar Messages
-
IDOC TO HTML FILE SCENARIO WITH XSLT MAPPING
Hi ,
I am doing idoc to html file using xslt mapping can anyone provide me some help(material or example ) please reply soon.
Thanks & Regards,
Vinay YadavHi ,
For xslt mapping the place to start is
http://www.w3schools.com/.
in help.
http://help.sap.com/saphelp_nw2004s/helpdata/en/83/2200cb50d345c793336d9a1683163e/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/a4/64b93d0d4e6b3be10000000a114084/frameset.htm
There are some blogs here which can proove to be good.
/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
https://weblogs.sdn.sap.com/pub/wlg/3823 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
Regards ,
Deepak
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping -
File-Soap-File scenario with asynch - synch bridge
Hi,
I am new to PI and I'm trying to develop a FIle-SOAP-File scenario with asynch-synch bridge. These are the components in my integration builder:
Business Component to act as both the sender and receiver
1 outbound communication channel to pick up the file from ftp server
1 SOAP communication channel
1 inbound communication channel to write file to the ftp server
receiver determination
interface determination
sender agreement
receiver agreement
In my outbound channel, I am using:
Processing sequence:
1 AF_Modules/RequestResponseBean Local Enterprise Bean 1
2 CallSapAdapter Local Enterprise Bean 2
3 AF_Modules/ResponseOnewayBean Local Enterprise Bean 3
Module configuration:
1 passThrough true
3 receiverChannel inbound communication channel to write file to the ftp server
3 receiverService Business component where the channel above is found.
When I run the scenario, I am able to get the file from ftp server, map it to SOAP format according to the wsdl, forward the message to SOAP adapter, send it to web service, get the response back from web service, map the data to a regular file format. However, it fails to write back to the ftp server. I am getting Java null pointer error at AF_Modules/ResponseOnewayBean.
2010-07-28 15:48:01 Information SOAP: completed the processing
2010-07-28 15:48:01 Information SOAP: continuing to response message 2ce3ec60-9a9a-11df-b109-00145ec5c1ae
2010-07-28 15:48:01 Information The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System.
2010-07-28 15:48:01 Information The message status was set to DLVD.
2010-07-28 15:48:02 Information The message was successfully transmitted to endpoint http://vs06cs01.sce.com:8000/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System.
2010-07-28 15:48:02 Information The message status was set to DLVD.
2010-07-28 15:48:02 Information The application sent the message synchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
2010-07-28 15:48:02 Information MP: processing local module localejbs/AF_Modules/ResponseOnewayBean
2010-07-28 15:48:02 Error MP: exception caught with cause java.lang.NullPointerException:
2010-07-28 15:48:02 Error File processing failed with java.lang.NullPointerException:
Had anyone encountered this error? Any suggestions is greatly appreciated.
Thanks.Thanks for the replies. I checked my module parameters and I realized that i entered the wrond business service. I fixed that and ensure that all 3 channels are running.
I ran the scenario again and it does not give me Java Null pointer exception. However, it gives me a different errror.
2010-07-29 08:52:31 Information The message status was set to DLVD.
2010-07-29 08:52:31 Information MP: processing local module localejbs/AF_Modules/ResponseOnewayBean
2010-07-29 08:52:31 Error MP: exception caught with cause com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
2010-07-29 08:52:31 Error File processing failed with com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
I am trying to check all my settings again. Any pointers regarding the errors above?
Thank you. -
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
ChristopherHello,
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 to FILE scenario With Screen shots
CAN YOU PLEASE SEND US THE DETAILS OF IDOC to FILE scenario With Screen shots and do the needful for me
Hi Surya,
I thought i will just share a few basic thoughts that you need to take care while doing an IDOC to File Scenario. Just see if it helps you in anyways.
While doing an IDOC -> XI -> File scenario, The Points to noted are:
1. You dont 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 dont have a sender agreement as you dont 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:
<a href="/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters scenario</a>
File -> IDOC ref:
<a href="/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping to IDOC</a>
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
Also have a look at these forum threads...
IDOC TO FILE SCENARIO
idoc to file scenario
I hope this helps.
Regards,
Abhy Thomas -
File to Web service (SOAP) to File scenario with out BPM in PI 7.1
Hi All,
I have scenario File to Web service (SOAP) to File scenario with out BPM.i am getting the below error:
1) Error MP: unexpected exception caught com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
2) Error ROB: error during processing: com.sap.aii.af.lib.mp.processor.ModuleProcessorException: Processing Error
PI server is 7.1 with SP:8
I have configured the scenario like this
1) 2 File channels - Sender & Receiver ,1 RFC channel - Receiver. We need to note that, the additional Module parameters need to be added only for sender File channel
2) Created Sender Agreement
3)Created Receiver Determination
4)Created Interface Determination
5)Created Receiver Agreement
Regards,
RameshHi,
Thanks for your reply!!
My Scenario is File to SOAP to File.
Configred modules in Sender channal below:
Prcessing sequence:
Number Module Name Module Key
1.......... AF_Modules/RequestResponseBean.......1
2.......... CallSapAdapter..........................................2
3.......... AF_Modules/ResponseOnewayBean.......3
Module Configuration:
Module Key Parameter Name ParameterValue
1 passThrough true
3 receiverChannel receiverChannel name
3 receiverService receiverService name
please tell any more confiration requered.
Regards,
Ramesh -
IDOC to XML file scenario with party
Hi All,
I am developing a IDOC to XML file scenario with party in which I have extended the MATMAS idoc and configured the receiver FILE communication channel.
But its giving me the error *"No receiver could be determined"* with party. If I run the same scenario without the sender party its working fine.
And sender is my R/3 system under party P_Party and receiver is my third party system under P_Party.
Thanks in advance.
GaurangU can give a try as follows.
In the Partner Profile of Sender R/3 system,
Give the Receiver Party P_Party in the PartnerNo. Give the 'Business Partner' as logical System type.
In XI, Party Definition of P_Party
Give the following Alternative Identifier
Agency - Sender R/3 Business System
Scheme - ALE#GP
Value - P_Party -
File to File Scenario with Secure Connection. Pls help urgent
Hello All,
I tried a lot to get a link/blog that expalin full scenario
for File to File Scenario with Secure Connection
Kindly let me know if somebody have link/doc for it
that describe all the steps to do configuring this scenario.
What is difference in simple words between
FTPS and SFTP.
Pls help it is urgent as I require for Project work urgently.
Regardshi rich
go through these links
FTPs connection failed - error ".. certificate rejected by ChainVerifier"
Re: What is SFTP, FTI channels
http://help.sap.com/saphelp_erp2005/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
FTPS implementation question.
http://help.sap.com/saphelp_nw04s/helpdata/en/43/0e16bfd7b021aee10000000a1553f6/frameset.htm
Server certificate rejected by ChainVerifier:FTPS server(Points Guaranteed)
/people/krishna.moorthyp/blog/2007/07/31/sftp-vs-ftps-in-sap-pi
File adapter
thanks
Kunaal -
Hi All Experts,
I want to perform JMS to File Scenario but i am unable to figure out what will my message be(that is, the format and type of the message like xml, txt etc.) on the sender side and where will it reside so that it gets picked up and gets posted to the Integration Server. Kindly provide me the detailed settings of the configuration of the sender JMS adapter as well.Hi Arkesh,
For JMS scenarios, you have first install the Drivers. Go through these document to know "How to install & Configure the JMS Drivers".
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70ffd890-0201-0010-708f-d5dad2dfcf3a
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f
You need to create the Queue manager, Queue at the MQ side and use that Queue name in the channel configuration for receiving the message.
In the below mentioned blog you will find how to configure the sender & recevier JMS adapter.
How to use SAP's WebAS J2EE's JMS Queue in Exchange Infrastructure
Regards,
Sarvesh -
Issue in File to RFC to File Scenario with BPM using Block Step
Hi Everybody,
I am doing File to RFC to File Scenario for multiple records using BPM using Block Step. The File Message is getting posted and after that, the message is getting stuck up in the qRFC Monitor (Inbound Queue).
After seeing the message in Inbound Queue, I am trying to execute and release the message. But when i execute the LUW, it says " Function module doesnt exist or EXCEPTION raised" in Inbound queue.
Could somebody suggest me the outcome of this? What does this mean and how to
release the stuck up message in Queue.
Thanks and Regards,
N.Jayanth KumarHi Rajesh,
After going through the blog, i saw the trace messages. It says
" The exception occurred (program: CL_SWF_XI_INBOUND=============CP, include CL_SWF_XI_INBOUND=============CM00F, line: 19)"
Regards,
N.Jayanth Kumar -
Soap to File Scenario with BPM
Hi Guys
I have create my Soap to File Scenario using BPM to split the file on "Transformation step" into 7 files and it must save these files to my FTP Server, when testing on sxmb_moni I don't get any errors but when checking on the FTP server no files are created, and I understand that it should be showing all seven processing on the sxmb_moni, but that is not happening.
I have used the ForEach mode on my Block.
What could I be doing wrong.
Thanks!!
Yonelago to runtime work bench to see communication channel, especailly the receiver channel.
To see what happened on it -
JDBC to Mail scenario with XSLT mapping
Hi all,
I am working on JDBC to Mail scenario. We have to pick the data from Oracle system and mail has to be sent with an attached Excel file.
I am doing this scenario by using of following blog.
eMail Report as Attachment (Excel/Word)
I am getting the output as an attachment but iam not getting the data.
the same xslt coding iam using which has given in blog.
any idea........
Thanks,
Sreedhar Goud.Hi Gaurav,
JDBC is picking the data.In SXMB_MONI outbound payload iam able to see the data but in inbound payload there is no data.i think the problem is in XSLT code only.
My source structure:
<?xml version="1.0" encoding="utf-8" ?>
<ns:MT_ORMS_Errors xmlns:ns="http://mg.adityabirla.com/mg/orms/mail">
<row>
<INTERFACE_NAME>MG_SAP_RMS_ITEM_PKG</INTERFACE_NAME>
<RECORD_DETAIL>Item</RECORD_DETAIL>
<ERROR>item</ERROR>
<CREATE_DATE>2008-11-03 00:00:00.0</CREATE_DATE>
<MAIL_SENT>N</MAIL_SENT>
</row>
</ns:MT_ORMS_Errors>
XSLT code:
<?xml version='1.0'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:variable name="break"><br></xsl:variable>
<xsl:variable name="tableB"><table></xsl:variable>
<xsl:variable name="tableE"></table></xsl:variable>
<xsl:variable name="trB"><tr></xsl:variable>
<xsl:variable name="trE"></tr></xsl:variable>
<xsl:variable name="tdB"><td></xsl:variable>
<xsl:variable name="tdE"></td></xsl:variable>
<xsl:variable name="nbsp">&nbsp;</xsl:variable>
<xsl:variable name="thB"><tr BGCOLOR="#CCCC99"></xsl:variable>
<xsl:template match="/">
<ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
<Subject>Deliveries from XI</Subject>
<From></From>
<To></To>
<Content_Type>application/vnd.ms-excel</Content_Type>
<Content>
<xsl:text xsl:space="preserve">These deliveries has been completed:</xsl:text>
<xsl:value-of select="$break"/>
<xsl:value-of select="$break"/>
<xsl:value-of select="$tableB"/>
<xsl:value-of select="$thB"/>
<xsl:value-of select="$tdB"/>
<xsl:text xsl:space="preserve">INTERFACE_NAME</xsl:text>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$tdB"/>
<xsl:text xsl:space="preserve">RECORD_DETAIL</xsl:text>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$tdB"/>
<xsl:text xsl:space="preserve">ERROR</xsl:text>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$tdB"/>
<xsl:text xsl:space="preserve">CREATE_DATE</xsl:text>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$trE"/>
<xsl:for-each select="MT_ORMS_Errors/row">
<xsl:value-of select="$trB"/>
<xsl:value-of select="$tdB"/>
<xsl:value-of select="INTERFACE_NAME"/>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$tdB"/>
<xsl:value-of select="RECORD_DETAIL"/>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$tdB"/>
<xsl:value-of select="ERROR"/>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$tdB"/>
<xsl:value-of select="CREATE_DATE"/>
<xsl:value-of select="$nbsp"/>
<xsl:value-of select="$tdE"/>
<xsl:value-of select="$trE"/>
</xsl:for-each>
<xsl:value-of select="$tableE"/>
</Content>
</ns1:Mail>
</xsl:template>
</xsl:stylesheet>
Thanks,
Sreedhar Goud. -
IDOC to File scenario with multiple directories on same FTP.
The scenario is IDOC -- to FTP (Receiver file adapter). Based on the condition in the sender IDOC say if EIDKA01-BSART = Y than the directory path on FTP server is 'A' ELSE 'B'.
There is only one reciever service defined for the FTP server in the Integration Directory. Its not multiple receiver scenario.
How do we do this?
ThanksHi !
Just create an UDF in graphical mapping and put this code inside:
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
//get Key of Directory
DynamicConfigurationKey keyD = DynamicConfigurationKey.create( URLFile, "Directory");
//Replace value of Directory
conf.put(keyD,dir);
where "dir" contains the destination path depending on the EIDKA01-BSART value. When this code executes, if the receiver file adapter has the adapter-specific attributes (directory) checked, then it will set the "directory" value to the one specified in the "dir" variable.
Regards,
Matias -
Determine Target directory from Source file names with out mapping
Hi All,
I have a requirement to determine the Target Directories from the Source file names.
File Sender Adapter - XI - File Receiver Adapter
In this scenario I am not doing any mapping. Source File directory contain 3 files. These file should go to 3 directories in the Target Server.
Please help me how can meet this requirement
Thanks in advance
KevinHi Kevin,
if you can separate the files by name. have 3 sender communication channels each picking up one of the files (you do this by making the regex in the file name mutually exclusive) and then send them all to the target system using the same comm. channel.
regards,
Horia -
File Scenario with Dynamice Filename and Directory
Hi All,
we have a requirement that PI has to pickup the file from 2 FTP Server.
First PI has to pickup an XML file from Server1 , this XML file has a details about the Filename and Directory of the second FTP server., then PI should login to the server2 and pickup the file form the directory.
Regards,
ManiHi Mani,
Can you try below approach ,
Read file 1 from Server 1 using sender file Communication channel and read 2nd filename and directory details and pass these values to UDF/Java mapping to log in to server 2 and retrieve the data/file2 ?
Thanks
Hari.
Maybe you are looking for
-
Steps to upgrading iphone 4 with iOS 5
Need steps to upgrading iphone 4 with iOS 5?
-
Company data missed in SAP IDES system
Hi friends, In our SAP IDES ECC 6.0 EHP 5 system some data had missed(some plants had missed) in 800 client, I checked 000 client here also no data..we don't have any backup. If I download the IDES from market place, then is it possible to get entire
-
Screen layout in PR at item category level
Hello All, Can we control / how to control screen layout settings of PR on the basis of item category selected?. If i select D item category, then service tab will appear in item detail. I want the ''short text field'' in the service tab next to the
-
Connection pool error with oracle 11g and weblogic 10
Hi, my code is: public Connection getConnection() { properties = new Properties(); properties.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.T3InitialContextFactory"); //properties.put(Context.SE
-
Can I Block Tapatalk Popup Universally?
I do not want to purchase Tapatalk now or ever. The annoyance from it's spammy method of marketing overweighs any utility that I might get from the application. Since I've decided never to purchase it, why should I have to deal with it's popups every