Async/ Sync without BPM where Async channels are different.
Hi Guys,
I've created a couple of async/ sync bridges without BPM for File to Web Service to File and for JMS to Web Service to JMS.
Is it possible to use two different types of asynchronous communication channels when creating an async/ sync bridge? I've tried to create a File to Web Service to JMS queue, but it fails with the following error appearing on the File communication channel.
Error: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
All the best,
John
Hi John,
Actually the fact that you get this error in the sender file CC makes me think is it purely related to the communication channel configuration. Try to make sure if your scenario works without the additional RequestResponseBean in the receiver (so as a simple Async scenario). When you have that one working, try to add the RequestResponseBean.
Hope this helps,
Greg
Similar Messages
-
Hi Experts, Just wondering if this scenario is possible? Client Proxy (Async) -> Web Service (Sync) -> Server Proxy (Async) I've read some blogs about the bridge using module processor (RequestResponseBean/ResponseOnewayBean). But usually, I only see the sender being synchronous given that Async cannot be mapped to a Sync interface.The reason behind this scenario is to take advantage of the queueing mechanism of Async and to make the scenario loosely coupled. Do we have other ways to do this without BPM and coding? Thanks in advance.
Hi Mark
I think it's possible. You have to use request response bean in the receiver adapter.
The response bean will trigger a new interface and you have to configure one more ICO to map
that response to final async server proxy.
Generic PI Async-Sync Bridge Configuration for Any Adapters
You have to use virtual receiver for second scenario. -
Correlation issue in JMS adapter - SYNC/ASYNC scenario without BPM
Hi,
I am working on a SYNC/ASYNC scenario with JMS adapter without using BPM. My scenario is SOAP<>PI>JMS. I configured the interface as below:
1. SOAP Sender channel
2. JMS Receiver Channel writing to Queue A.
Module used: a. RequestOneWayBean
b. WaitResponseBean
Correlation Settings:
a. Set JMS Correlation ID to "XI Message ID"
b. Store JMS CorrelationID of request (Checked)
c. Set JMS Property to "JMS Correlation Id"
d. Value = "XI MEssage ID"
3. JMS Sender channel reading from queue B ( I am exporting the message from queue A and importing into queue B)
Module used: a. NotifyResponseBean
Correlation Settings:
a. Set XI MEssage Id to "GUID"
b. Set XI Conversation ID to "Stored JMS COrrelationID of Request"
I can see the cid in the message from queue A. But I observed thhat the header format of the message in Queue A is "MQSTR".
ISSUE:
1. While writing the message to queue A, below adapter log details(part b) concerned me:
a. Message '8747a7c2-2b06-11df-8055-005056a70ed6' successfully processed by channel
b. Could not create acknowledgements for message '8747a7c2-2b06-11df-8055-005056a70ed6'
I am not sure why I am receiving the message that " could not create acknowledgements"
2. While reading the message from the sender channel,I consistently get the error message as below:
a. XI message ID corresponding to JMS message with ID 'ID:414d51205341504449442e514d202020c67b954b20005602'
will be created as a new GUID with value '21bca916-424f-41f6-3347-c71090392b58'
b. Error while processing message '21bca916-424f-41f6-3347-c71090392b58'; detailed error description:
com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: found no correlation ID: RecoverableException:
found no correlation ID at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105) ...
Below are the blogs which I have already gone through:
1. JMS Synchronous Scenario without BPM - Correlation Settings and Transactional JMS Session
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b028f6f6-7da5-2a10-19bd-cf322cf5ae7b
2. Note: 1086303
3. Sync / Async Bridge without BPM
In the note, they mentioned something about header being "MQRFH2". BUt in our case, the header is "MSSTR". Not sure whether it makes any difference.
Please help.
Edited by: GP on Mar 9, 2010 4:24 AMHi,
detailed error description:
com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: found no correlation ID: RecoverableException:
found no correlation ID at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105) ...
This error would generally arose when there are multiple messages, got stuck in the outbound queue. Try to stop both the sender and receiver JMS comunication channels and clear both the inbound and outbound queues.
Once all the messages in the queue are cleraed, try posting the message again.
Regards,
Swetha. -
Normal report and ALV report, where exactly both are differs?
For Normal report and ALV report, where exactly both are differs, I mean from which part the process / coding will differ, pls le me know..?
Akshitha.Hi Akshitha,
In Normal reports we use formatting techniques to display the report list. We define heading and size everything to display report list. But where as in alv we need not to use any formating there are some function modules which will automatically display output list in LIST and GRID format.
In Normal report we cannot make changes to the output list where in ALV report we can change the ALV output display dynamically. You can find lots of options for the ALV list such as you can download output list into Excel sheet and Sorting options Acending and decending order in ALV but in normal report We need to write syntax in the report to display output list in sorting order. The ALV report is very easy way to display the output compared to Ordinary report.
Check below some links which will help you to understand about ALV. If you know about Normal report you can campare by userself the difference.
Simple ALV report
http://www.sapgenie.com/abap/controls/alvgrid.htm
http://wiki.ittoolbox.com/index.php/Code:Ultimate_ALV_table_toolbox
ALV
1. Please give me general info on ALV.
http://www.sapfans.com/forums/viewtopic.php?t=58286
http://www.sapfans.com/forums/viewtopic.php?t=76490
http://www.sapfans.com/forums/viewtopic.php?t=20591
http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
2. How do I program double click in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=11601
http://www.sapfans.com/forums/viewtopic.php?t=23010
3. How do I add subtotals (I have problem to add them)...
http://www.sapfans.com/forums/viewtopic.php?t=20386
http://www.sapfans.com/forums/viewtopic.php?t=85191
http://www.sapfans.com/forums/viewtopic.php?t=88401
http://www.sapfans.com/forums/viewtopic.php?t=17335
4. How to add list heading like top-of-page in ABAP lists?
http://www.sapfans.com/forums/viewtopic.php?t=58775
http://www.sapfans.com/forums/viewtopic.php?t=60550
http://www.sapfans.com/forums/viewtopic.php?t=16629
5. How to print page number / total number of pages X/XX in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=29597 (no direct solution)
6. ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
http://www.sapfans.com/forums/viewtopic.php?t=64320
http://www.sapfans.com/forums/viewtopic.php?t=44477
7. How can I set the cell color in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=52107
8. How do I print a logo/graphics in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=81149
http://www.sapfans.com/forums/viewtopic.php?t=35498
http://www.sapfans.com/forums/viewtopic.php?t=5013
9. How do I create and use input-enabled fields in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=84933
http://www.sapfans.com/forums/viewtopic.php?t=69878
10. How can I use ALV for reports that are going to be run in background?
http://www.sapfans.com/forums/viewtopic.php?t=83243
http://www.sapfans.com/forums/viewtopic.php?t=19224
11. How can I display an icon in ALV? (Common requirement is traffic light icon).
http://www.sapfans.com/forums/viewtopic.php?t=79424
http://www.sapfans.com/forums/viewtopic.php?t=24512
12. How can I display a checkbox in ALV?
http://www.sapfans.com/forums/viewtopic.php?t=88376
http://www.sapfans.com/forums/viewtopic.php?t=40968
http://www.sapfans.com/forums/viewtopic.php?t=6919
Go thru these programs they may help u to try on some hands on
ALV Demo program
BCALV_DEMO_HTML
BCALV_FULLSCREEN_DEMO ALV Demo: Fullscreen Mode
BCALV_FULLSCREEN_DEMO_CLASSIC ALV demo: Fullscreen mode
BCALV_GRID_DEMO Simple ALV Control Call Demo Program
BCALV_TREE_DEMO Demo for ALV tree control
BCALV_TREE_SIMPLE_DEMO
BC_ALV_DEMO_HTML_D0100
<b>Please Reward if useful<b>
Regards,
sunil kairam. -
Sync/Async JMS without BPM - No receiver specified in message object
Hi All,
My scenario is Proxy - JMS - Proxy. I have chosen to do this without BPM and had followed closely to the instructions given in various help documents/blog/forum threads. During testing, the proxy returns a system fault 'No receiver specified in message object'. In RWB it indicates that the correlation is correct and the JMS Receiver adapter is getting the response, below is part of the audit log:
2009-08-03 18:12:32 Information WRB: retrieving the message for de80831d-97f5-08f1-bdaf-00145e6883af ...
2009-08-03 18:12:33 Information WRB: retrieved the message: ApplicationResponse
2009-08-03 18:12:33 Information WRB: leaving WaitResponseBean
2009-08-03 18:12:33 Information MP: leaving
2009-08-03 18:12:33 Information The message was successfully delivered to the application using connection JMS_http://sap.com/xi/XI/System.
2009-08-03 18:12:33 Information The message status was set to DLVD.
When I check SXMB_MONI in XI-ABAP, I see 2 messages with status 'System Error - Restart not possible' and 1 with status 'Log Version'. The message with status 'Log Version' is the respond. The other 2 messages has the following error:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <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="MAPPING">NO_RECEIVER</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>No receiver specified in message object</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
It seem to me that the system does not know where to go/what to do next after returning to the JMS Receiver adapter. I am at a lost what could have gone wrong. Here is how I've done my configuration.
Repository
- Sync Sender Interface for R/3 Backend
- Sync Receiver Interface for MQ
- Async Sender Interface for the reply
Directory
- 1 CC for JMS Recevier
- 1 CC for JMS Sender (for the respond)
- 1 CC for Proxy Sender
- 1 Interface Determination
- 1 Receiver Determination
- 1 Receiver Agreement for JMS Receiver
- 1 Sender Agreement for the reply
Any help is appreciated. Thanks.Hi Prateek,
This is what was tried in my first case. I did exactly what was given in that link.But since the Message id being 32 bytes and length of correlation id is 24 bytes id is getting truncated.
So its not working fine.
@ke i am having a look at the note will update you on this
Thanks for your response
Rgds
Aditya -
Async-Sync-Async Bridge Without BPM
HI Folks,
I have a requirement as
u201CAn Asynchronous SOAP request is triggered to PI and then should get records from a (JDBC)database and write the result to a fileu201D
It is of Aync-Sync-Async Bridge and i have to do without BPM
I know by using some module parameters at sender communication channel we can do this.
But my query
1)Is that for SOAP sender communication channel can we provide the same module parameters
Number - ModuleName - Type - ModuleKey
1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
2- CallSapAdapter-Local Enterprise Bean - 2
3-AF_Modules/ResponseOnewayBean-3
Parameters
ModuleKey - ParameterName - ParameterValue
1 - passThrough - true
3-receiverChannel - Receiver File Adapter Name
3-receiverService - Receiver Business Service/ System
2) Does the SOAP support the without BPM scenarios
3)Scenario is like Soap --> JDBC -->File (Async - Sync - Async) and how abt for Soap --> RFC -->File (Async - Sync - Async)
Thanks in Advance
LemonFor your requirement , you can handle this scenario without BPM in two ways.
1) Async sync bridge without BPM. You are going to use request response bean and one way response bean module to achieve this. very simple. See this [link|http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without%20BPM)]
In the sender SOAP channel you have to configure first request response bean, second callsapadapter and third onewayresponse bean. Refer this link. Simply follow file sender configuration for your soap sender or RFC sender.
Note: one receiver agreement , one receiver determination, one interface determination. only two receiver channels one jdbc and one file.
2) You can create SOAP to File asynchronous. Using quality of service EO and creating service interface asynchronous mode. In the mapping area do JDBC lookup. If your version is 7.1 then this lookup is available. This is pretty simple no need to do async to sync pattern.
Hope that helps. -
Sync / Async Bridge without BPM
Hi All,
I was trying to implement the Sync / Async Bridge without the BPM. I am trying a HTTP to JMS Sync / Async Bridge. I have followed the following link and done exactly the same as shown in the document
http://help.sap.com/saphelp_nw04/helpdata/EN/45/20d2b4c20a0732e10000000a155369/content.htm
I have used a Java application which will poll the request queue and then place the message in the response queue with the same correlation ID frm the request queue.
After following the above link the response message was not appearing, the message were going to deilvering status and after some time i found that they were cancelled without errors
I searched in the forums for many solutions but what i found was this thread which stated that since the XI message ID is 32 bytes and Correlation ID is only 24 bytes its difficult for Modules to identify the response since the correlation is truncated.
JMS: Synch/Async bridge - how to configure
I tried changing the configuration in the reciver JMS channel to XI Conversion ID instead of Message ID and this also doesnt give me fruitfull results. The message was not being placed in the request queue, it gave an error saying that the conversion id was null. Though in the thread it seems to have worked for him.
After this i planned to dynamically generate a Correlation ID (a dummy one) of 24bytes and i sent it to the request queue this time the message was retrived from the response queue only to find that the correlation ID this time has been converted to some other format
Corrletion ID sent to the request queue: ABCDEFGHIJKLMNOPQRSTUVWX
Corrlation ID coming in the response queue : 4142434445464748494a4b4c4d4e4f505152535455565758
Can anyone put some light on what i exactly need to do or tell me why the conversion ID worked for Daneil in the thread and it gave me an error saying that the Conversion id is null
Rgds
AdityaHi Prateek,
This is what was tried in my first case. I did exactly what was given in that link.But since the Message id being 32 bytes and length of correlation id is 24 bytes id is getting truncated.
So its not working fine.
@ke i am having a look at the note will update you on this
Thanks for your response
Rgds
Aditya -
Async - Sync in BPM - Multiple Retries
I have an asyncronous interface from CRM which goes into BPM and makes a synchronous call into the destination application and expects a response. However if there is a connection failure from the HTTP adapter to the destination application, I want to try a further 10 times to try to get a connection at 2 minute intervals before failing the process and triggering an alert.
This part is working ok :
The first send fails and raise an exception (system exception) and the exception handler is invoked. In the exception handler branch I have set up a loop to try a resend at 2 minute intervals.
However when the first retry fails the process stops. I do not have a further exception handler branch for the retry block as I just wish to keep retrying at 2 minute intervals.
This leads me to believe that I need to have each retry in a block of its own and have an exception handler branch for each of the retries.
Can someone please confirm this is the case ?
This seems very inefficent to have to do it this way.
Does anyone have an alternative method to fufil this requirement of retrying a fixed number of times at a fixed interval ?
Note that I cannot use IS_RETRY_LIMIT in configuration as this is only for asynchronous processing. This is async - sync processing.
Thanks
Colin.hi,
>>However when the first retry fails the process stops. >>I do not have a further exception handler branch for >>the retry block as I just wish to keep retrying at 2 >>minute intervals.
since this is a sychronous call, Xi wll only ry once and if hte call fails, i will mark he call as failed, tere is no way you can so a retry.
instead, i have a suggestion for you in terms of design. Make the http call asych with in the BPM. But establish a correlation using correlation editor. So have a send step and recieve step for recieving the response asychornously based on the corelation id.
now go to visual admin -> server -> SAP XI adapter yo will see retry interval and retry limit. here change these values to ur choice, default being 3 times afer 5 minutes.
by doing these changes you are ensuring that if the message fails the first time, Xi will put this message as waiting, and will retry to submit based on the setting u made to the XI adapter.
cheers,
naveen -
Idoc to SOAP Async - Sync - stuck @ bpm bridge
Hi there,
i'm implementing an SAP -
Idoc / Async ---> PI -
> Soap / Sync communication, the idea is that i update the Idoc Status back on erp using and status idoc, i got the whole scenenario working but the Async - Sync bridge part with the status idoc, i've been reading a lot but i cant seem to find a good tutorial that helps me implement the bridge, i found this tutorial :
https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29
do you guys think i can make a workround so i dont have to do a bridge, because performance is a BIG issue on this scenario and i've read that BPM degrades performance,
Thanks in advance for all the input ill get
Best Regards,
Roberto.Hi Roberto,
Idoc doesnot support the synchrnous call. What you can do is send an ALEAUD IDOCs back as response. Please see this document for this:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe?overridelayout=true
/people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
Also search in SDN for ALEAUD and you may get some more information.
Regards,
---Satish -
Idoc to soap sync without bpm. is it possible? Helping me..
Hi Experts,
i have a small clarification Idoc to soap sync interface in sap pi 7.0. i created IDoc to Soap sync using BPM but some times the signals are stuck due to load issue in swpr, while reprocess those signals all going successfully to the receiver. So We are trying to eliminate BPM.
I just wanted to know Idoc to Soap sync scenario without BPM is possible or not in SAP PI 7.0?
if it is possible kindly send me the links
Regards,
Kiran polaniHi Kiran,
Could you please let us know the exact requirement. How do you want to send the response back to IDOC?
ASync - Sync Bridge with IDOC sender is not possible in PI 7.0.
If It is something like IDOC --> SOAP --> IDOC , And If the SOAP request is small then you can use SOAP Lookup in IDOC to IDOC Scenario.
In The mapping You can do a lookup and get the response from SOAP(Webservice) and map that to your Target IDOC.
This is one possible way for you without BPM in PI7.0.
Please let me know if you need more details about this.
Thanks
Jyothi A -
SOAP-XI-RFC sync without BPM scenario: How to catch timeout exception in PI
Hi all
I made a scenario where a Webservice request was placed via XI to RFC in CRM.
This is all done without BPM.
Now the request came up that I have to handle undhandled exceptions from RFC such as Fatal Error, Dump in CRM etc in PI so that customer can get the idea of what happend in the Backend rather PI failing in the monitoring. I did that in CRM by catching all the exception and sending a common error message to PI.
But another requirement is to handle Message Timeout of the RFC in PI for e.g. If the request goes to the RFC and due to the volume of the data, it gets Timed Out then neither PI nor CRM can handle this and it results in PI failing to catch this excpetion.
I tried Fault message type but that does not help either.
Can I get some expert advice.
Regards
NainaInclude your Send_to_RFC step inside a Block...have a deadline branch for this and an Exception Branch....in deadline branch have control step (thro Exception)....in Exception Branch have a Mapping and a Send Step....this mapping will produce a message (define separate DT for this) having constant values (like timeout occured message)
If you are fine with alert message...then instead of Mapping and Send step in Exception include a Control Step (thro alert)....alert message can be "timeout occured in receiving RFC response"
Regards,
Abhishek. -
Hi All,
I am looking to create a view which returns new or modified data (differences) based on a comparison between two tables.
The EMP_SOURCE table stores all employee data including duplicate staff numbers (STAFFNO):
CREATE TABLE [dbo].[EMP_SOURCE](
[FULLNAME] [varchar](255) NULL,
[JOBTITLE] [varchar](255) NULL,
[LOCATION] [varchar](255) NULL,
[COUNTRY] [varchar](255) NULL,
[STAFFNO] [varchar](255) NULL
) ON [PRIMARY]
GO
The EMP table stores unique staff numbers. This is the table used by the application.
CREATE TABLE [dbo].[EMP](
[EMP_ID] [int] NOT NULL,
[EMP_NAME] [varchar](255) NULL,
[EMP_TITLE] [varchar](255) NULL,
[EMP_OFFICE] [varchar](255) NULL,
[EMP_COUNTRY] [varchar](255) NULL,
[EMP_NUMBER] [varchar](255) NULL,
CONSTRAINT [PK_EMP] PRIMARY KEY CLUSTERED
[EMP_ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
We are looking to migrate data from EMP_SOURCE to EMP but only records which are new in EMP_SOURCE and do not exist in EMP or records which are different in EMP_SOURCE from EMP.
EMP_SOURCE:
FULLNAME
JOBTITLE
LOCATION
COUNTRY
STAFFNO
John Smith
Manager
London
UK
1087
Beth King
Analyst
New York
USA
2095
Karl Bent
Manager
Chicago
USA
1106
Beth King
Junior
Washington
USA
2095
Harry Kline
Consultant
Manchester
UK
2341
EMP:
EMP_ID
EMP_NAME
EMP_TITLE
EMP_OFFICE
EMP_COUNTRY
EMP_NUMBER
1
John Smith
Manager
London
UK
1087
2
Beth King
Analyst
New York
USA
2095
3
Karl Bent
Manager
Washington
USA
1106
Based on the above comparison, EMP_SOURCE table has the following differences:
FULLNAME
JOBTITLE
LOCATION
COUNTRY
STAFFNO
Harry Kline
Consultant
Manchester
UK
2341
Karl Bent
Manager
Chicago
USA
1106
Differences in red. Beth King should be completely ignored because of duplicate staff numbers (EMP_NUMBER).
Any help to create a view which returns only the differences from EMP_SOURCE would be appreciated.
INSERT INTO EMP (EMP_ID, EMP_NAME, EMP_TITLE, EMP_OFFICE, EMP_COUNTRY, EMP_NUMBER)
VALUES (1, 'John Smith', 'Manager', 'London', 'UK', '1087');
INSERT INTO EMP (EMP_ID, EMP_NAME, EMP_TITLE, EMP_OFFICE, EMP_COUNTRY, EMP_NUMBER)
VALUES (2, 'Beth King', 'Analyst', 'New York', 'USA', '2095');
INSERT INTO EMP (EMP_ID, EMP_NAME, EMP_TITLE, EMP_OFFICE, EMP_COUNTRY, EMP_NUMBER)
VALUES (3, 'Karl Bent', 'Manager', 'Washington', 'USA', '1106');
INSERT INTO EMP_SOURCE (FULLNAME, JOBTITLE, LOCATION, COUNTRY, STAFFNO)
VALUES ('John Smith', 'Manager', 'London', 'UK', '1087');
INSERT INTO EMP_SOURCE (FULLNAME, JOBTITLE, LOCATION, COUNTRY, STAFFNO)
VALUES ('Beth King', 'Analyst', 'New York', 'USA', '2095');
INSERT INTO EMP_SOURCE (FULLNAME, JOBTITLE, LOCATION, COUNTRY, STAFFNO)
VALUES ('Karl Bent', 'Manager', 'Chicago', 'USA', '1106');
INSERT INTO EMP_SOURCE (FULLNAME, JOBTITLE, LOCATION, COUNTRY, STAFFNO)
VALUES ('Beth King', 'Junior', 'Washington', 'USA', '2095');
INSERT INTO EMP_SOURCE (FULLNAME, JOBTITLE, LOCATION, COUNTRY, STAFFNO) VALUES ('Harry Kline', 'Consultant', 'Manchester', 'UK', '2341');HI Manc !
You may use the below code to get your desired output;
CREATE TABLE [dbo].[EMP_SOURCE](
[FULLNAME] [varchar](255) NULL,
[JOBTITLE] [varchar](255) NULL,
[LOCATION] [varchar](255) NULL,
[COUNTRY] [varchar](255) NULL,
[STAFFNO] [varchar](255) NULL
GO
CREATE TABLE [dbo].[EMP](
[EMP_ID] [int] NOT NULL,
[EMP_NAME] [varchar](255) NULL,
[EMP_TITLE] [varchar](255) NULL,
[EMP_OFFICE] [varchar](255) NULL,
[EMP_COUNTRY] [varchar](255) NULL,
[EMP_NUMBER] [varchar](255) NULL
INSERT INTO EMP (EMP_ID, EMP_NAME, EMP_TITLE, EMP_OFFICE, EMP_COUNTRY, EMP_NUMBER)
VALUES (1, 'John Smith', 'Manager', 'London', 'UK', '1087');
INSERT INTO EMP (EMP_ID, EMP_NAME, EMP_TITLE, EMP_OFFICE, EMP_COUNTRY, EMP_NUMBER)
VALUES (2, 'Beth King', 'Analyst', 'New York', 'USA', '2095');
INSERT INTO EMP (EMP_ID, EMP_NAME, EMP_TITLE, EMP_OFFICE, EMP_COUNTRY, EMP_NUMBER)
VALUES (3, 'Karl Bent', 'Manager', 'Washington', 'USA', '1106');
INSERT INTO EMP_SOURCE (FULLNAME, JOBTITLE, LOCATION, COUNTRY, STAFFNO)
VALUES ('John Smith', 'Manager', 'London', 'UK', '1087');
INSERT INTO EMP_SOURCE (FULLNAME, JOBTITLE, LOCATION, COUNTRY, STAFFNO)
VALUES ('Beth King', 'Analyst', 'New York', 'USA', '2095');
INSERT INTO EMP_SOURCE (FULLNAME, JOBTITLE, LOCATION, COUNTRY, STAFFNO)
VALUES ('Karl Bent', 'Manager', 'Chicago', 'USA', '1106');
INSERT INTO EMP_SOURCE (FULLNAME, JOBTITLE, LOCATION, COUNTRY, STAFFNO)
VALUES ('Beth King', 'Junior', 'Washington', 'USA', '2095');
INSERT INTO EMP_SOURCE (FULLNAME, JOBTITLE, LOCATION, COUNTRY, STAFFNO) VALUES ('Harry Kline', 'Consultant', 'Manchester', 'UK', '2341');
SELECT FULLNAME,JOBTITLE,LOCATION,COUNTRY,STAFFNO FROM EMP_SOURCE
EXCEPT
SELECT EMP_NAME,EMP_TITLE,EMP_OFFICE,EMP_COUNTRY,EMP_NUMBER FROM Emp
Please let me know if this doesn’t work for you. Hope I have answered you correctly.
Thanks,
Hasham -
Hi experts,
could you please suggest if is it possible to implement asyn sync scenario without
using BPM. If answer is yes then how to go about it
My Scenario is : File ->RFC ->File
thanks in advance
francisHi-
This thread from Bhavesh is very useful
File - RFC - File without a BPM - Possible from SP 19. -
Can we capture HTTP response for async message without BPM?
We are in the process of migrating an XI 2.0 scenario to XI 3.0.
The scenario is as follows in XI 2.0 - SAP sends an IDoc to XI which is mapped to an HTTP request and sent to an endpoint. The HTTP response is captured and shown in SXMB_MONI.
When we migrate this scenario to XI 3.0, we do not see the HTTP response in MONI. It looks like since the incoming message (IDoc) is triggering an asynchronous message flow, the HTTP receiver is ignoring the HTTP response payload if it sees a 200 OK status code. Ideally, we would like for the HTTP response to be captured in MONI just as in XI 2.0.
Is there a way to capture the HTTP response without using a BPM to make the HTTP synchronous call? It appears that there is nothing in the HTTP receiver communication channel that we can change (to change it from asynchronous to synchronous).
Thanks for your help,
Jay Malla
SAP XI Consultant
Licensed To CodeIt looks like the problem I am having might be due to a bug in SP15. It looks like i should see the HTTP response in MONI by default. Some other people had this problem with SP 15. Here is the posting:
Re: SXMB_MONI does not show payload after upgrade to SP15
Regards,
Jay -
Collect where itab structures are different...
Hi Experts,
I have a problem where by i'm trying to collect identical lines from an internal table.
What ive done in the past is to move the header line one by one and then collectther esults into a itab that has the same stucture as the contents being moved into it.
However, i'm trying to collect identical lines where by i have 4 columns usign the above steps but doesnt seem to be working. Any help would be greatly appreciated.
Thanks - DJ
DATA: BEGIN OF gt_data OCCURS 0,
material(13) TYPE C,
quantity TYPE i,
unique_no(18) TYPE C,
description(40) TYPE c,
END OF gt_data.
DATA: BEGIN OF gt_putput OCCURS 0,
material(13) TYPE C,
quantity TYPE i,
unique_no(18) TYPE C,
description(40) TYPE c,
END OF gt_output.Hi
Try the below code
DATA: BEGIN OF gt_data OCCURS 0,
material(13) TYPE C,
quantity TYPE i,
unique_no(18) TYPE C,
description(40) TYPE c,
END OF gt_data.
DATA: BEGIN OF gt_putput OCCURS 0,
material(13) TYPE C,
quantity TYPE i,
END OF gt_output.
sort gt_data.
loop at gt_data .
gt_putput-material = gt_data-material .
gt_putput-quantity = gt_data-quantity.
collect gt_putput.
endloop.
Let me know, if you need further help
Regards
MD
Edited by: Madhan Doraikannan on Sep 25, 2008 10:18 AM
Maybe you are looking for
-
Interactive alv report with migo miro and purchase order
hi all to make my alv interactive i put the following code.... i dont know whether it is correct or not coz i hav not done alv before FORM display. CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-cprog is_la
-
How to append records to a field symbols?
Hi all, is there a way to append records from an internal table fto a field symbol of type table.
-
How to increase local storage size of an application in ipad
Dear, I am trying to increase the local storage size of an application with ios. Can any one please help how to increase the local storage size using the JavaScript or any other media. Thank you, Inadvance
-
After disasters in iDVD `05, should I bother with `06? Is it repaired?
Hello, I appreciate any help possible, but am particularly interested in comments from "Len Goff" and "John Beatty1." This question involves a small experiment. I found errors in iDVD 5 that went unrepaired (yes, I did report them, once). There was n
-
Imac thunderbolt ports ain't work.
what can i do? how to repair thunderbolt ports?