File to Proxy synchronous scenario
Experts,
I am working on a File to proxy synchronous scenario.
I am doing the content conversion at the sendre side by using java program as input structure is very complex so have to go fr java code. Its a txt file at sender side.
Once I read the file in XI, am doing a graphical mapping ( just one to one mapping) then using the server proxy , a service entry is getting created then response am sending to the receiver.
My question is , can I use graphical mapping as I am using a java class for content conversion? both in one scenario is possible?
I have developed a java code for content conversion and it is working fine. How to use this .jar file in XI?
Can Any one help me wz thsi one?
Thanks in Advance
Virendra
My question is , can I use graphical mapping as I am using a java class for content conversion?
You can use as long as the structure generatde by the JAVA program is same as the source-message structure of the message mapping.
I have developed a java code for content conversion and it is working fine. How to use this .jar file in XI?
In my opinion this should be the adapter module....as the conversion needs to be done in the channel and inclucing it as a mapping wont help.
Regards,
Abhishek.
Similar Messages
-
SOAP - XI- PROXY synchronous scenario
Hi Experts,
I have a
SOAP -
XI -
PROXY Synchronous Scenario
I have done the following things ESR and ID
ESR:
1. Created DT and respective MT for Request and Response.
2. Created Service Interfaces with Synchronous mode with respective MT's.
3. Created Two separate MM with respective Request and Response MT's.
4. Created Operation Mapping and call both Request and Response Mappings in it.
Integration Directory (ID):
1. Configured considering Sender SOAP and Receiver ECC Services.
2. Configured CC with required parameters in Sender SOAP CC and Receiver XI CC.
3. Generate wsdl from Sender agreement and save it as a local file.
I am getting error in receiver agreement. Do I need to specify any Module parameters in Module TAB for Sender CC or Receiver CC to synchronous scenario.
Please hep me out.
ThanksHi Ram,
I am getting error in receiver agreement. Do I need to specify any Module parameters in Module TAB for Sender CC or Receiver CC to synchronous scenario.
It looks like you did not create a receiver agreement, or if you did, it did not match the interface that is given or configured in Interface Determination. Can you recheck your configuration?
Regards,
Mark -
SOAP to Proxy synchronous scenario
Hi,
Hope you are all doing well.
I have a SOAP to Proxy synchronous scenario. As part of this scenario, the data structure of the response sent by SAP is different from the response sent back to the SOAP requester. Hence I have used request message mapping between the SOAP request sent by requester and the one passed on to SAP and response message mapping between the response sent by SAP and the one passed on to the requester. Both the message mappings are incorporated in a single Interface mapping.
The problem is that the interface is behaving like a asynchronous one, i.e., request is passing over to SAP but though the proxy is giving a response back, the same is not coming over to XI.
It would be really helpful if you can let me know what might have gone wrong.
regards
DebansuHi,
you should have that:
1. Two Message Mapping:
1.1. a Message Mapping for request (called MM_request) , from MT_SOAP_request to MT_Proxy_request.
1.2. a Message Mapping for response (called MM_response) , from MT_Proxy_response to MT_SOAP_response.
2. One Operation Mapping (in PI 7.1) or Interface Mapping (in PI 7.0) from SI_SOAP to SI_ Proxy with:
2.1 in the tab "request", so from MT_SOAP_request to MT_Proxy_request , give your Message Mapping "MM_request".
2.2 in tab "response" , so from MT_Proxy_response to MT_SOAP_response, give your Message Mapping "MM_response".
3. In you Directory, you define a flow like that:
from SI_SOAP to SI_ Proxy by using your Operation Mapping.
If I missed nothing, that's all.
MT = Message Type
MM = Message Mapping
SI =Service Interface in PI 7.1 or Message Interface in PI 7.0.
regards.
Mickael
Edited by: Mickael Huchet on Oct 19, 2011 4:07 PM -
File to RFC synchronous scenario stopped Picking the files
Hi Experts,
We have a File to RFC synchronous scenario. Till yesterday night it is working fine.
But suddenly it is stooped working.In moni, i can see the failed messages with the Mapping error " Can not create target element, values missing in the queue context "
No Payload in moni / communication channel monitoring / Message monitoring. I've noticed that, wrong files placed in the To-be- processed files and the adapter picked those files and failed in mapping.
I tried by stop and start the communication channel / did some dummy changes in the communication channel and activated. cleared the cache.
But still the communication channel is not working.when i stop and start the communication channel it will try to process the wrong files and failed.
Give me your valuable inputs to resolve this issue.
Regards
Bhargava krishnaHi Bharghav,
Please go through the below,
Symptom
FTP Adapter is being used in the business scenario for message processing.
During file processing it is noticed, that the FTP sender channel stops
polling. There is no error in the channel monitor or the trace/log files
and the polling jobs are correctly displayed in the AFW scheduler table.
The issue is observed after a network connection issue with the FTP server.
In order to remove the hanging locks from the FTP Adapter, the parameter
'ftp.timeout' setting is required to be set, which releases the lock once
the timeout value is expired. But in the above situation, the value for the
'ftp.timeout' is not taken properly while establishing the data connection
by File Adapter.
Other terms
FTP Adapter, sender, FTP, adapter, timeout, stalled, network, hang, polling
Reason and Prerequisites
Program error
Solution
The hanging situation has now been improved by code changes. Please see
section "SP Patch Level" of this note for a list of updated software
components.
To get this correction available in your Support Package you need to apply
the patch matching to your Support Package version as per the instructions
in the NetWeaver Support Package Stack guide which can be found on the SAP
Service Marketplace as described in SAP Note 952402.
Thanks & Regards
Uday.S -
File to Proxy Synchronous interface help
Hi guys/experts,
I have file to proxy scenario.
I have created the objects in IR. When coming to ID, i got stopped in receiver agreement.
Followings are the IR objects
Data Types
DT_File_Send - Sending data
DT_File_Receive - Receive response data
DT_Prxy_Receive - Proxy receive
DT_Prxy_Response - Proxy response data
Messsage Types
MT_File_Send - Sending data
MT_File_Receive - Receive response data
MT_Prxy_Receive - Proxy receive
MT_Prxy_Response - Proxy response data
Message Interfaces
MI_File - Outbound - Synchronous
OUtput Message - MT_File_Send
Input Message - MT_File_Receive
MI_Proxy - Inbound - Synchronous
Input Message - MT_Prxy_Receive
Output Message - MT_Prxy_Response.
Message Mapping
MM_File_2_Proxy
MM_ProxyResponse_2_File
Interface Mapping
IM_File_Proxy
When coming to the intergration directory, i am able to create the objects for File to Proxy direction, but for the resposne from the proxy, when i try to create the receiver agreement, i am not able to select the message interface.
Can anybody pls advise me how to complete the response direction..
Thanks in advance
Mani.When coming to the intergration directory, i am able to create the objects for File to Proxy
direction, but for the resposne from the proxy, when i try to create the receiver agreement, i am not able
to select the message interface.
check if your development is as per this wiki:
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file%2528without+bpm%2529&
In this wiki the flow is FILE <-->XI <-> RFC .....while yours is FILE <> XI <---> PROXY......so the sender is the same....just replace the RFC with your Proxy and check.
Regards,
Abhishek.
Edited by: abhishek salvi on Jun 9, 2009 4:00 PM -
Message flow in SAP PI 7.31 JAVA only for ABAP Proxy synchronous scenario with Oracle DB
Dear Experts,
I am working on a synchronous scenario Sender ABAP Proxy <===> SAP PI 7.31 JAVA only <===> Oracle Database.I have successfully
configured all the proxy configurations as well both Sender SOAP and JDBC receiver channels are showing no error when pinged from
Cc monitoring in NWA.
1.During testing at Tx SPROXY , I am triggering a message and after 5 minutes I receive an PARSING error message with 2 messages in ECC
local IE i.e. Tx SXMB_MONI.
Note : In NWA , I can see only 1 message that too in cancelled status.
2.Seeing the trace of the messages I assume that the messages have not moved from sender ECC system. I am still confused with flow of message
from the Message Audit log. Audit log of error messages.Could any one share the full Audit log of a successful message generated in SAP PI 7.31 JAVA only.
3.I observed that the QIN Scheduler status in ECC is in INACTIVE status. There is no queue id for 2 messages generated in ECC. Does
it should in ACTIVE status in Tx SMQR..
Regards
RebeccaHi Thomas,
Valuable inputs..
1. Since I don't have any audit log for successful message, would you be able to share referring to the
below screenshot whether the message was put into receiver JDBC adapter and JDBC adapter tried to retrieve the Select response from Oracle Database.
2.I have done some setting in Advance mode of the receiver JDBC to increase the time out and other parameters as per SAP note but still the issue is same. If you perhaps have some experience in such scenarios, please share some input so that I can ask the Oracle Database administrator exactly what is required from our side.
3.Regarding the slow response from Oracle , there was some suggestion that the datatype of the request and response should match the column name of the Oracle database. I did that.. Do you have any more suggestion that may be hampering the generation of the response message from the Oracle like SAP note or document.
Regards
Rebecca -
FILE to SOAP synchronous scenario - config of SOAP channel
Hi All,
I have a scenario where I want PI to pull some files from 3rd party application.
Adapters to be used: SOAP receiver, FILE adapters.
I am aware of the use of Request/Response beans in File sender channel and the File receiver channel to dump the received files in a particular location.
I need help with the configuration of the SOAP channel.
The files to be pulled will be Encrypted.
Summary:
File sender(RequestResponse & ResponseOneWay Beans) , File receiver( to receive the files), SOAP receiver.
Need help with the config of SOAP.
Kindly let me know your views.
Thanks,
Pratibha.Hi,
Let me put it in detail steps:
In forward flow we will be sending an IDoc. It will be processed and later an Acknowledgement file will be generated.
Now, we want to PULL this Ack file. If the other party had to push the Ack file, the scenario would have been simple.
But, we want to poll for this file and then pull it.
So, we would have something like this:
1. FILE SENDER sends a sample file.
2. We will be applying the beans in file sender to make it a synchronous scenario. So, the Ack file will be received at the location mentioned in the corresponding FILE RECEIVER adapter.
3. We have a SOAP RECEIVER which should send the ACK file in response.
I have configured the same scenario where the RECEIVER was HTTP adapter. The 3rd party had provided us the URL and ENT-APRF value. When I used to send the sample file via FILE SENDER to this HTTP receiver, I was able to retrieve the ACK file via the FILE RECEIVER.
Now, I wish to configure the same using RECEIVER SOAP adapter.
I need to know about the config at SOAP end i.e. how and where the ACK file will be available at the SOAP end for the FILE sender to pull the file.
Ack files will be encrypted..
Any views/suggestions will be of great help.
Thanks,
Pratibha. -
File-bapi-proxy sunchronous scenario
Dear experts,
I am working ona scenario.
Sender will drop the required file on XI directory and XI will pull the file and map it with the BAPI u2013 and crate service entries in SAP r/3 via abap proxy. If errors are encountered during the process they are returned to the client in a report or as erroneous file via abap proxy.
I have created 2 MESSAGE types
a) MT_Get_Request
b) MT_Get_Response
Also have imported a standard BAPI i.e BAPI_EntrySheet_Create
question is : How to create teh synchrounous message interface
1) one message will be OUTBOUND SYNCHRONOUS
OUTPUT MESSAGE : MT_Get_Request
input message : MT_Get_Response
how will be the other inbound synchronous?????
Would it be
Outpit Message : BAPI_EntrySheet_Create
Input Message : BAPI_EntrySheet_Create.Response ?????????
or ?????
Experst, please explain me the design . Each answer will be appreciated
Thanks
VeeruHi Viru,
Would it be
Outpit Message : BAPI_EntrySheet_Create
Input Message : BAPI_EntrySheet_Create.Response ?????????
or ?????
YEs you can use the BAPI interface as a synchronous interface, with BAPI_EntrySheet_Create and BAPI_EntrySheet_Create.Response as the request response message type...
alternatively, you can create an inbound synchronous interface and use the bapi as its input (BAPI_EntrySheet_Create) and output (BAPI_EntrySheet_Create.Response) message type.
Also since the sender is a file you may need to use the ResponseOnewayBean as mentioned in this wiki page:
http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without+BPM%29
http://wiki.sdn.sap.com/wiki/display/HOME/UsingRequestResponseBeanModuleinFILE+Adapter
Regards
Suraj -
Werb services to proxy- synchronous scenario
Hi experts,
Can anyone help me with the detailed scenario of synchronous WEB SERVICES TO PROXY step by step. I tried searching in sdn but no luck.
Also tell me here that XI will expose the Outbound Interfaces as a Web Service Interface. how the Web Service Description (WSDL File) will be generated for the Interfaces in Integration directory?
Also mapping is not required here.
Thanks
Veeruwhat types of business systems have to create for this webservices to proxy kind of scenario
you dont need multiple business systems....just create one business system in SLD and then import it into ID.
Assign the inbound message interface to this business system and configure your scenario.
Check if a Business System already exists for this SAP system....if there is another Proxy/ IDOC/ RFC scenario developed for this SAP system then there should be a Business System created...just re-use the same.
If you need help on how to create SLD then just make a simple search on SDN.....you will find good blogs/ documents.
On the Sender side (WS) you need to create Business Service in ID.
Regards,
Abhishek. -
File to Soap synchronous Scenario
Hi Experts,
I have designed an synchronous File to SOAP scenario in PI 7.31. I am able to send the request am getting the response to target path also correctly but am not able to see the msg in SXMB_MONI.am not using ICO am using dual stack in PI 7.31 plz help on this.
Regards,
Rajendar KHi Rajendar, what does your configuration look like? (e.g. Service Interfaces, Oparation Mapping)
I'm trying to do the same but SOAP response message is not getting back into IE. I have LOGGING_SYNC already set to 1.
Thanks, Aaron -
File to RFC synchronous scenario
Hello Friends,
I have a file to RFC scenario.
Sender is sending file synchronously and based on conditions within file i have to make call to various ECC instances and returning responses.
I am using BPMmulticastparallel. Implemented conditional receiver determination and the correlation.
Does anyone have such scenario example.
Kindly share.
Edited by: vishal kharat on Aug 5, 2011 2:47 PMHi Mr.
You can follow this example, regarding BPM implementation:
http://www.riyaz.net/blog/a-step-by-step-guide-to-bpm-asynch-sync-bridge/technology/sap/170/
For XPath Receiver Determination, follow this links:
http://wiki.sdn.sap.com/wiki/display/XI/XpathConditioninReceiverDetermination
http://wiki.sdn.sap.com/wiki/display/XI/EnhancedReceiverDeterminationinSAP+XI -
Respone message in an synchronous scenario
Hi,
I want to create a scenario:
third party system (via WebService) <-> SAP PI <-> SAP (ABAP Proxy)
I have a SOAP to Proxy synchronous scenario.
Its an synchronous outbound and an synchronous inbound interface.
It is possible to transfer the response message from the inbound interface to the outbound interface?
The response message is a very elemetary mesage (only a key).
With the message from the third party system I will insert data in the SAP system. The new key I will return to the third party system via the response messages.
Any help please?Surely you will have two mappings in place.One mapping will correspond to the request message, while the other one will correspond to the response.When you are doing the mapping for response, then however do it in reverse manner. For example suppose in your case System A is the sender and System B is receiver. Then you make two message types for each system,one for request and one for response.In the mapping for request, the message type of System A will be source and that of system B will be target because request is going from A to B. However in the response mapping, as the response is coming from B to A, in the mapping you will have the message type for system B as source structure and that of System A in target..And you will add both of these mappings in the Operation mapping in the message mapping tab.
-
Proxy to File Synchronous Scenario
Hello,
My scenario is
SAP System ----->(Proxy) PI -------->(File) FTP
Synchronous Scenario
I have been using the RequestResponseBean and ResponseOnewayBean module in the Sender Request Adapter channel to convert the file adapter from Asynchrounous to Synchronous scenario.
While Triggering Data From Proxy the receiver request channel is placing the file in the FTP.
But the sender Response channel is saying that "No suitable Sender agreement found" error.
Also in the Audit log :SOAP: call failed com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: 204 .
Getting the above error.
Also I need the Sender Response Channel to pick the file after 10 minutes of placing the file in the FTP by the receiver Request channel.
Please help on this.My question is , can I use graphical mapping as I am using a java class for content conversion?
You can use as long as the structure generatde by the JAVA program is same as the source-message structure of the message mapping.
I have developed a java code for content conversion and it is working fine. How to use this .jar file in XI?
In my opinion this should be the adapter module....as the conversion needs to be done in the channel and inclucing it as a mapping wont help.
Regards,
Abhishek. -
No response message in Proxy to JDBC synchronous scenario
Dear Team,
I am working on synchronous scenario Sender ABAP proxy <===> SAP PI 7.31 <===> Oracle Database.All the necessary proxy configuration has been successfully tested.
Business Scenario:
ABAP proxy will send a single Vendor Id to Oracle DB as request and in return , it has to retrieve all the columns related to Vendor as response.Oracle Database stores all the Vendor information.There are 11 columns including the vendor Id in the view for the Vendor records.
Design :
For Request structure:
a-->Created MT for Sender ABAP Proxy with only 1 field for Vendor Id.
b-->Created MT for Receiver JDBC with Action as SELECT , Table with "View Name" , Access with Constant Blank for all 11 column and Key as Vendor Id.
I have been following the link and Bhavesh Kantilal document.
http://help.sap.com/saphelp_nw73/helpdata/en/44/7b7171fde93673e10000000a114a6b/content.htm?frameset=/en/44/7b7855fde93673e10000000a114a6b/f
rameset.htm¤t_toc=/en/ca/b977f1c7814201954f20bb87ad7aab/plain.htm&node_id=71
For Response structure:
Created MT for Receiver JDBC with All the column names.
Created MT for target ABAP ECC with the same 11 column name of JDBC response.
Note :
1.Database team shared a excel file as a sample payload which has all the column names of a vendor and I created my DT with the same naming conventions as they are maintaining in their database i.e. Column names are in CAPs, in the same order and even the special characters in the column name.
2. The PING test connection for Cc works fine to database.
Please read out my queries as the I am not receiving any response from Oracle DB and gives error as timeout exception:
1.Since I am trying to retrieve all the column of the view , am I doing the correct procedure of putting all the column name in the JDBC request structure and making a Select statement. Can I add < * > to fetch all the column name and if so where can I add it.
2. Whats the difference between SELECT and SQL_QUERY and on what circumstances I can add it?
3. How can I test ICO in ID?
4. Can I use any SOAP tool to test the messages? Is there any functionality in NWA to test the messages directly to JDBC .
Hope all your inputs can improve my design part.
Regards
RebeccaHi Rebecca,
Did you go through all of these links below?
PROXY to JDBC- SYNC
Proxy to JDBC Sync, with Idoc Receiver
JDBC to PROXY Sync Scenario | SCN
JBDC Receiver Insert Statement Response
Re: Synchronous JDBC select
receiver JDBC structure
Regards,
Jannus Botha -
Synchronous scenario for SOAP to PROXY
Dear Experts,
I will be working on the following scenarios.
XI will expose the Outbound Interfaces as a Web Service Interface. Web Service Description (WSDL File) will be generated for the Interfaces in Integration directory. DSS (decision support system) will use this WSDL file to define the data types and develop the Web Application. The Web Application sender sends the request message (Start Date, End Date and Table name) synchronously to XI using SOAP Adapter as communication channel. XI sends the message to SAP R/3 via ABAP Proxy. The ABAP Proxy extracts the data from SAP R/3 and sends the data back to XI . XI further passes on the data to DSS.
Request
Sender Application: DSS
Target Application: SAP R/3
Sender XI Adapter: SOAP
Receiver XI Adapter: XI
Response
Sender Application: SAP R/3
Target Application: DSS
Sender XI Adapter: XI
Receiver XI Adapter: SOAP
It's a synchronous interface. Please help me out right from the SLD design. I just want an idea how to proceed with this.
How many mapping will have to do? also very important point , can any one help me out, how to write an ABAP proxy for the same. I will have rewards for every answer as time is very very less and work is more.
Thanks
VeeruViru ,
So the Business systems will Web as ABAP for ECC and other will be third party. I am right.
Yes
Can u suggest me how to proceed with the mapping. Any snap shots for this scenario?
Mapping will be simple using Mapping editor in IR .
If u have please provide me.
for your refernce :
Few proxy based scenarios :
http://help.sap.com/saphelp_nw04/helpdata/en/2b/f49b21674e8c44940bb3beafd83d5c/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/a5/1b5342d8a7be30e10000000a155106/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/a5/1b5342d8a7be30e10000000a155106/frameset.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
http://help.sap.com/saphelp_bw30b/helpdata/en/64/30063c66171b3de10000000a11402f/content.htm
I am working on XI 3.0 for this scenario. how to handle the webservices here.
for Web service based scenarios :
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
Regards ,
Maybe you are looking for
-
does anybody have codes for any of the following reports? · Report for Sales Orders due for delivery. · Revenue Reports based on Order Types. · Report for list of Pending Purchase Orders, Cancel Purchase orders. · Interactive Report t
-
Incorrect Memory Information for Canon EOS 7D on BB
I hate to keep pointing out your errors, but I also hate to see you have people angry at you. I sort of didn't believe that Canon would move away from CF (compact flash) cards for this camera yet in the overview and specifications you talk about : B
-
Rejection of WBS settlement step in SAP PS
Dear Experts, I have on e new requirement to ignore WBS settlement step from SAP PS flow. Current scenarion ;- WBS --> Network --> Activity --> Material Po -->Budgeting --> Release budget -->PO creation --> GRN --> GI --> MIRO -->AS01 --> CJIC -->
-
Accessing Apps on different Apple devices
I have an iPhone 4 and the new iPad - each of them is set up individually with different email addresses and Apple IDs. How can I access an App I purchased on my iphone through my iPad? As I cannot delete my iCould accounts and start from scratch to
-
Macbook does not boot to anything
Previously my Macbook Pro 8,2 (15" Early 2011) was fine, but then it was not booting to Mac OS X, thus I removed the hard disk and test it, I found out that the hard disk was dead. I didn't had enough money to buy a new hard drive, so I put inside my