JDBC Sender/Receiver Adapter Configuration with key fields in SAP XI
Hi All,
Good evening.
Please let me know, what are the settings required for key fields when configuring both sender and receiver Adapter?
In My IDOC-XI-File Scenario, when i am sending an IDOC from R/3, I got Mapping Runtime exception error? So, How to send the same IDOC after correcting the error?
Thanks to all in advance.
Regards,
Nagarjuna.
HI Nagarjuna,
If my understanding is correct, When you trigger the Idoc from R/3 it thrown the error in XI.
If you want to send the same Idoc then go to WE19 in R/3 system enter the same Idoc number and execute the scenaio. It send the Idoc to XI system, but the message number will change.
Regards
Goli Sridhar
Similar Messages
-
Sender Mail adapter configuration with attachment
Hi,
I read the below blog regarding the mail adapter
/people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
I have the same requirement but the attachment file is not an XML, it is CSV file so in the module tab if I change like below is it enough?
TRANSFORM swap.keyValue attachment; filename=u201DMailAttachment-1.csvu201D (I think MailAttachment-1 is the file name, am I correct?)
If I change like above is it ok? or any other thing is required, Could you please give me the inputs
Thanks
RameshI have the same requirement but the attachment file is not an XML, it is CSV file so in the module tab if I change like below is
it enough?
PayloadSwapBean will ensure that the input to the mapping is from the attachment.....in the blog the attachment is in XML format and hence there was no need for any conversion.....yours is however a CSV file so you need to convert it to XML first and then do the further processing.....you can either use the MessageTransformationBean as shown in this blog:
/people/gabrielsagayaselvam.panneerselvam/blog/2009/08/31/solve-key-field-problem-using-structplain2xml-in-messagetransformationbean
Or write your own module code for the conversion.
Regards,
Abhishek. -
Data Types for JDBC Sender/Receiver Adapter
HI experts,
I am very much confused how the data types shoudl be for the Sender/receiver for JDBC.
And is there any standard format where it should be used, or what is the strucutre to be used,.
Please let me know in clear and help me out in this regard,
Edited by: Amruth on Dec 4, 2008 6:11 AMHI Nagarjuna,
If my understanding is correct, When you trigger the Idoc from R/3 it thrown the error in XI.
If you want to send the same Idoc then go to WE19 in R/3 system enter the same Idoc number and execute the scenaio. It send the Idoc to XI system, but the message number will change.
Regards
Goli Sridhar -
SSL / X.509 In SOAP Sender/Receiver Adapter
Hi Friends,
We have few third party Java based systems which need to integrate with SAP PI7.1
For this we are using
SOAP Sender from Third PartyTo PI
SOAP Receiver From Pi To Third Party Systems
The Customer Wants to implement SSL.X>509 certificates for encryption and decryption. as one of the option.
we are Facing few issues like.
I am assuming each of the source system webservice calls will have
to use a username/password to authenticate with the PI system
a. Will this use 'basic authentication', ie., credentials sent over as
part of the HTTP header field ?
i.
Assuming we use SSL for transport level security - this is still not secure as the credentials are not encrypted
ii. Is there a way to send in encrypted credentials and for the PI layer to decrypt the same, validate and process the request ?
b. Should we consider using a single sign-on mechanism ?
c Should we consider using X.509 digital certificates ?
i. This would require that the X.509 certs are maintained in the Source & PI webserver Java key stores
d. Should we also consider digitally signing the payload ?
i. This requires using an appropriate hashing algorithm such as SHA-1 or MD5
SOAP Sender /receievr Adapter has few properties not specific to them.How to Acheive this.
Regards
Chandra DasariHi Chandra,
You may try to implement this using the AXIS framework of the SOAP adapter. This provides functionality for handling of X.509 encryption and decryption.
You can generate/get the digital certificate and use it for both transport level as well as message level security. You would not require any additional encoding apart from this.
Coming to your queries:
Q - I am assuming each of the source system web service calls will have to use a username/password to authenticate with the PI system
A - If you are using a certificate, then they can call XI using this certificate. You can share your public certificate with each of the parties.
Q. Will this use 'basic authentication', ie., credentials sent over as part of the HTTP header field?
A - Depends...if you are using basic authentication, then it will not be via X.509. It will be the normal process. These two are two different things.
Q. Assuming we use SSL for transport level security - this is still not secure as the credentials are not encrypted
A - This problem is resolved if you are using digital certificates.
Q. Is there a way to send in encrypted credentials and for the PI layer to decrypt the same, validate and process the request?
A - Yes. It is possible. But then you will have to implement encryption decryption logic at both the ends separately if you are not using certificates.
Q. Should we consider using a single sign-on mechanism?
A - Is your third party part of your landscape? if not then you might want to check and confirm this approach with your security adviser.
Q Should we consider using X.509 digital certificates?
A - Yes...This would resolve most of your problems.
Q. This would require that the X.509 certs are maintained in the Source & PI web server Java key stores
A - Yes.
Q. Should we also consider digitally signing the payload?
A - If you require message level encryption along with transport layer.
Q. This requires using an appropriate hashing algorithm such as SHA-1 or MD5. SOAP Sender /receiver Adapter has few properties not specific to them.How to achieve this.
A - You can provide this option while generating the certificate itself.
Please let me know if this helps.
Cheers,
Sarath. -
Sender JMS adapter configuration for IBM MQSeries
Dear All,
i am doing a IBM MQSeries 5.2.x Message ->sender JMS adapter -> XI server -> receiver RFC adapter -> R/3.
i have deployed the JMS adapter with the required jar files of IBM MQSeries 5.2.x in XI server.
in Sender JMS adapter configuration for IBM MQSeries 5.2.x, i have put following data:
1. Transport Protocol: Websphere MQ - is it okay?
in JMS provider settings:
2. in channel name - what should be there?
3. Transport Network protocol should be TCP/IP or WebsphereMQ - how to decide this thing.
4. JMS Complaint - whether WebsphereMQ or JMS API.
in JMS Settings:
5. JMS Queue user - is this IBM MQSeries 5.2.x Queue User or someother user?
6. JMS Message Selector - what data to take here.
So if anybody has connected IBM MQSeries 5.2.x to XI via JMS adapter, please answer my above queries.
Regards,
Rajeev GuptaHi Swaroop,
you can send me those documents at my gmail-id : [email protected]
Hi All,
one more question - to connect XI server to IBM MQSeries via JMS adapter in ID, do we need to have a MQSeries Client installed on XI server - or - just by configuring JMS adapter, we can send messages from IBM MQSeries to XI server without any MQSeries client on XI server?
Why Channel name is required in JMS configuration data?
Thanks,
Rajeev Gupta -
Since last weekend (3-15-15) I have been unable to send/receive text messages with a friend who has Sprint service. The messages send with no errors on either side, but neither side is receiving the messages. It seems to be only this one person affected by this issue, everyone else that I've tried sending messages to has responded with no trouble. Is anyone else having any similar issues?
Retrohacker, Your text messages are too important to be missed! Let's figure this out, together. Are you able to successfully make and receive calls from your friend? Which phone do you have with us? Any new messaging applications or changes that you can recall on the phone since this issue began? Please share details so we can get to the bottom of this for you. TanishaS1_VZW Follow us on Twitter @VZWSupport If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!
-
Dispaly material with key field customer based on tax classification
Hello all,
Material is classified based on tax classification as products and goods.I need to dispaly these of either for some customers.
Client is saying me to use the table MLAN(Tax Classification for material).
Can anybody suggest me how can i pull the material part/service part(matnr) from the table (MLAN) based on tax classification(TAXKM) with key field customer(KUNNR) when this table does not have customer has key field in it.
Thank you,
SirishaHello all/Brad,
Requirement is , i need to add and dispaly material data in a column with heading as tax classification in ALV Report for the customer.
Ex: Customer 11094 brings material 336047-B21(Product)
Customer 10973 brings material LDMSPMAP-M (Service)
Material is classified as per the tax classification as Product and Service. If tax classification is 1 then it is Product and if the tax classification is 2 then it is Service.
So i'm trying to pull the material(Product/Service) based on tax classification with customer as key field.
Customer is coming from customer master data.
So i have used MARA table which has all three fields (Customer,Material,Tax classification) to get the required information but the table does not have test data for customer.So i told my client to update mara table with customer and tax classification data.
But my client told me to use MLAN table because they have updated the data in this table.But unfortunately this table doesn't have customer field to pull the data.
So that is the reason, i put the above question in the forum.
PLease help me in solving this issue.
Thank you,
Sirisha -
Sender File adapter File Conversion with key fields
Please help me guys, I already spent way too much time on this!
I checked a couple of BLOGs and I think I'm doing the right thing except I'm not getting the result I would expect.
I'm trying to create an IDoc using the from a flat file.
I get the following error:
During the application mapping com/sap/xi/tf/_MM_TEST_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~
The Source file is this:
H
L0015
The file adapter does create the XML below (looks fine):
<ns:MT_SINGLE xmlns:ns="http://PPSC_TO_BO_INVOICE">
<HEADER>
<ID>H</ID>
</HEADER>
<LINE>
<ID>L</ID>
<SITE>0015</SITE>
</LINE>
</ns:MT_SINGLE>
When I test the map in IR, with the XML that this file adapter created (above) it works fine!
Also if I take away the HEADER from the source structure everything works fine and I can create the IDoc, therefore I think something must be wrong in the file conversion, the mapping is so simple there is nothing to fail there.
The file conversion parameters that I have:
Document Name: MT_SINGLE
Document Namespace: http://PPSC_TO_BO_INVOICE
Document Offset:
Recordset Name:
Recordset Namespace:
Recordset Structure: HEADER,1,LINE,*
Recordset Sequence: Ascending
Recordset per Message:
Key Field name: ID
Key Field Type: String (Case-Sensitive)
LINE.fieldNames: ID,SITE
LINE.fieldFixedLengths: 1,4
LINE.keyFieldValue: L
HEADER.fieldNames: ID
HEADER.fieldFixedLengths: 1
HEADER.keyFieldValue: H
What am I doing wrong???
Any help is much appreciated.
Thanks,
Viktor VargaHi Viktor,
Basic rules:
1. Down load XML payload(output From Adapter) and test it in IR mapping program. If it is working there is no reason why it will fail in Runtime. Also Check Cache is up to date.
Generally the problem lies with namespace.
Hope this helps
Regards,
Satish -
FCC configuration in Sender File Channel Without any key field name
Hi Everyone,
We have below flat file generated from ECC using standard tcode.
The flat file is fixed length file and first record is header record followed by line items.
There is no key field name in the file name.
Can we read the file and convert into xml without any key field name?
I want to understand if the FCC configuration for above file can be done without key name or not.
Thanks,
VertikaHello,
AFAIK, using FCC i really doubt u can convert file into xml.
So technically, there are two options either read each line one by one and then do conversions in ur mapping or write a custom module which will read ur input file and convert into xml.
Configuring Generic Sender File CC Adapter
Thanks
Amit Srivastava -
JDBC Receiver Adapter Error with SAPClassNotFoundException
HI Friends,
I have configured the JDBC Receiver Adapter with parameters as
Driver: oracle.jdbc.driver.OracleDriver
Connection: jdbc:oracle:thin:@10.15.96.29:1525:RMOSDB
XI 700, Oracle DB 10.2
I have installed JDBC driver for Oracle as guide How Install and Configure External Drivers for the JDBC & JMS Adapters.pdf. I can see file ojdbc14.jar at D:\usr\sap\<SID>\DVEBMGSNN\j2ee\cluster\server0\bin\ext\com.sap.aii.af.jmsproviderlib.
But Im still getting an error SAPClassNotFoundException as following:
#XI AF com.sap.aii.adapter.jdbc.XI2JDBC@1497c21##0#0#Error#1#com.sap.aii.adapter.jdbc.XI2JDBC#Plain###Accessing database connection 'jdbc:oracle:thin:@10.15.96.29:1525:RMOSDB' failed: com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@10.15.96.29:1525:RMOSDB': SAPClassNotFoundException: oracle.jdbc.driver.Oracledriver#
#XI AF com.sap.aii.adapter.jdbc.XI2JDBC@1497c21##0#0#Error#1#com.sap.aii.adapter.jdbc.XI2JDBC#Plain###JDBC_ERR_207#
#Error#1#com.sap.aii.adapter.jdbc.XI2JDBC#Plain###Accessing database connection 'jdbc:oracle:thin:@10.15.96.29:1525:RMOSDB' failed: com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:oracle:thin:@10.15.96.29:1525:RMOSDB': SAPClassNotFoundException: oracle.jdbc.driver.Oracledriver#
I tried to install JDBC driver again but it was not solve this problem.
Please suggest!
Regards,
CuongHI Cuong,
It seems something wrong with the installation of JDBC driver or in the config parameters for Adapter.
Not sure if driver is case sensitive.
But from the log it shows "oracle.jdbc.driver.Oracledriver".
Try putting "oracle.jdbc.driver.OracleDriver".
regards,
Pinkle -
Configuring iWay Siebel Sender/Receiver adapter in SAP XI.
Hi,
I am evaluating iWay Siebel Adapter for connection between Siebel system and SAP system. I am using both the sender and receiver iWay adapter for both inbound and outbound scenario.
In both the case the transport protocol used is HTTP. I searched a lot but could not find a document which explains the different parameter in the Communication channel for both sender and receiver adapter.
Please let me know if you have some document regarding the same. Also in my present scenario I don't have access to Siebel system so I am using a HTTP client to simulate a Siebel system.
I want to know what should I use in the Listener port in the Sender CC and how to send message using this port from a Local HTTP Client.
Regards,
NileshHi Nilesh,
Check this link on the service marketplace for more information on available 3rd Party Adapters for XI:
https://websmp104.sap-ag.de/~sapidb/011000358700008673832004E/index.htm
http://eai.ittoolbox.com/groups/vendor-selection/eai-select/adapters-to-integrate-sap-xi-and-siebel-639308#
Please see the below threads
iWAY
IWAY Adapter(siebel): Error while using Applicaiton Explorer
XI to mainframe adapter
B2B Adapters
step by step procedure to configure a BAAN adapter
In this thread I have given the connection parameters to connect Siebel using HTTP reciever adapter...
Query String
Siebel - http://www-128.ibm.com/developerworks/rational/library/05/419_siebel/index.html
/people/siva.maranani/blog/2005/09/15/push-data-to-mvc-architectured-application-using-xi
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
See the below links
Integration with Peoplesoft, Oracle and Siebel
/thread/93179 [original link is broken]
XI integration with PSFT/Seibel ?
SAP Siebel Integration
Sap-Siebel integration
XI-Seibel integration using webservices
/people/yomeshp.sharma/blog/2006/06/01/integrating-jdedwards-system-with-xi-using-iway-adapter-part--i
part -II /people/yomeshp.sharma/blog/2006/06/01/integrating-jdedwards-system-with-xi-using-iway-adapter-part--ii
part -III /people/yomeshp.sharma/blog/2006/05/31/integrating-jdedwards-system-with-xi-using-iway-adapter-part--iii
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e2aeb02c-0601-0010-d680-c9be61ffa390
/thread/96443 [original link is broken]
inetgartion of Ep-XI-seibel project
/people/sriram.vasudevan3/blog/2005/03/18/points-to-ponder-over-while-considering-webservices-implementations-vis-a-vis-eai
Regards,
Vinod. -
Issue with Sender Mail Adapter Configuration
Hi All,
We are PI 7.1.1 version. We are unable to see the following parameters in the sender Mail adapter:-
Default XI Parameters : Default Interface Namespace and Default Interface Name.
Also, we are geeting a Nullpoinetr exeception in RWB.
Kindly provide your suggestions.
Thanks & Regards,
Navneeth K.Hi.
I have faced the sane problem. My solution is to use DynamicConfigurationBean module:
AF_Modules/DynamicConfigurationBean Local Enterprise Bean
with
parameters:
message.interface=<Your Interface Name>
and
message.interfaceNamespac=<Your Interface Namespace>
Note that last parameter name is not interfaceNamespace but interfaceNamespac .
It would be great if anyone will explane were Default XI parameters gone and how we can get them back. -
Sender Adapter - Content Conversion Key Field Query
Hi,
I have a flat file of the following structure I am attempting to convert to XML using a file sender adatper:
H1,H2,H3,H4
D1,D2,D3,D4,D5,D6
D1,D2,D3,D4,D5,D6
D1,D2,D3,D4,D5,D6
T1,T2,T3,T4
Within the Content Conversion tab I have a Recordset Structure of:
Header,1,Detail,*,Trailer,1
i.e one header record, multiple detail records and one trailer as per the above example.
It would seem that according to errors generated via Communication Channel Monitoring that this sort of Recordset Structure requires the Key Field Name to be set. I have searched around the forum and looked at the help.sap.com site and I'm struggling to understand what is required here.
Anyone help ?>>It would seem that according to errors generated via Communication Channel Monitoring that this sort of Recordset Structure requires the Key Field Name to be set. I have searched around the forum and looked at the help.sap.com site and I'm struggling to understand what is required here.
Yes you need to set key field value for your Header, Detail and Trailer
Example:
Header.keyFieldValue H1
Detail.keyFieldValue D1
Trailer.keyFieldValue T1 -
JMS Receiver Adapter configuration help
Hi Experts,
In our scenario, we need to integrate MQ series with SAP PI, where in we are using JMS Sender and Receiver adapters to put and get the mssg from correponding IBM MQ queues.
Using Sender JMS Adapter we are consuming a txt mssg by specifying corresponding module configuration parameters, which is for converting into a XML mssg.
The issue is with JMS Receiver adapter, Inorder to get an XML mssg apart from standard/default entries ... do we need to maintain any module configuration parameters?
thnxHi RajSekhar,
We have maintained the below modules in the respective comm channels:
Sender JMS channel:
ConvertJMSMessageToBinary
ConvertBinaryToXMBMessage
MessageTransformBean
CallSapAdapter
Note: Maintained the necessary message transform bean module key parameters in the module configuration
Receiver JMS Channel:
ConvertMessageToBinary
SendBinarytoXIJMSService
Did not alter the by default modules in the Receiver JMS comm channel.
Am i missing any other configuration.
Thnx -
Sender File Adapter - FCC - No incoming field separator - How to do FCC?
Hi,
I have a sender File adapter and I need to do the File Content Conversion but there apparently no incoming field separator and the file ocntains just running text - no data records but just information.
For example the incoming file is something like:
The Hongkong and Shanghai Banking Corporation Limited 27JAN2009 PAGE 1
Incorporated in Hong Kong with limited liability
ABC IAL LIMITED ABU DHABI, UAE
ABC MIDDLE EAST Account No. 001-8888888
ABU DHABI Payment Set AAA
BBB MAIL BOX NO.99 Contact Person ABC LIMITED
7777777777 Telephone
AUTOPAY LIST - PROCESSED
(AUTOPAY-OUT SALARY)
Payment Date 27JAN2009
First Party Narrative . 66666666
Second Party Narrative .
The Message type that I am mapping to contains:
MT_XXXX
WA
Item
Item2
Item3
This is so that the information can be mapped to different field areas and send across to the Receiver Mail Adapter. In the mail i receive, i get the running text. I tried giving the field separator as '0x09' but it is not working.
I have also tried WA..fieldContentFormatting to nothing but again no luck.
I have tried with Recordset Sequence with Ascending and variable and have also tried Recordsets per Message with * and blank - but it did not help.
Please advice.
Regards,
ArchanaHi,
I assumed that it was tab but when I made the change in FCC, it did not work.
I would still like to have a output where it looks like below if more than 2 types of information in 1 line as below:
ABC IAL LIMITED ABU DHABI, UAE
ABC MIDDLE EAST Account No. 001-9999999999999
and not something like:
ABC IAL LIMITED ABU DHABI, UAE
ABC MIDDLE EAST Account No. 001-999999999999
I am not sure what to do here.
Help please.
Regards,
Archana
Maybe you are looking for
-
Problem in f.05 - very urgent
Dear expert, My client has problem in running f.05. In the pas two months ago (Sept, Oct-2007), journal in FS10N not created and my client doing manual posting,but in November 2007, posting works well, means that journal created succesfully. The prob
-
How to find the Data Entered Date and User Name?
Dear Team, An End User feeds a data wrongly in KP26. I would like to find by whom it was entered and when? i.e, user name and Date of particular entry. Regards R.Thillai govindrajan
-
hi, when i am sync my books from my mac to ipad even after 24 hours sync, itunes show "wait for items to copy" and the books in ipad are still not fully loaded. how do i fix this, i have a large collection of books around 12000 books
-
Production Order : OUTPUT Type Configuration for Production Order as EDI
Dear SDN All , OUTPUT Type Configuration for Production Order. <b>Doubt in third Point</b> We have found the IDoc " LOIPRO01 " for Production Order (Please confirm that this IDoc can be used for outbound IDoc for Production Order) And foloowing <b>
-
[U]Can't toggle wifi OFF after ICS update
Hi guys, facing a little problem after updating to ICS on my xperia U, I can't toggle the wifi connection off, not with a ZDBox toggle and not even in the Settings of my phone.. Is this a known problem? What can I do? Update was great, just having th