Can SAP R/3 send RFC response to Xi
Hi ,
I have one scenario where Sap has to trigger an RFC call and shouls send the response to XI and the Xi should write that response to file .
How to send just response of RFC to XI ??
hi,
you need to execute an RFC
with destination XI (in background)
so the data will reach the XI (and then you can save as file)
but you can only do it with RFC request
so once you execute your first RFC and you'll get a rensponse
you need to map the reponse to a request of a new RFC
and execute the new one which will take the data to the XI
basically that's all
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
Similar Messages
-
Send RFC Response by mail -async
Hi
I have JMS -> XI -> RFC Secnario ( asynchronous )
i want to send the response of rfc by mail adapter to a user
how can this process developed in BPM ? can u give me any examples?
thx,Shaigo through the blog below, which talks about the almost similar concepts
that blog uses File --> RFC --> File but in your scenario you'll have to use
JMS --> RFC ---> Mail. But the procedure to follow is the same in both cases.
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
--Archana -
Users will use form to fill in stats for enquiries so they want to keep form open, complete a form, click button to submit by email, then click another button to clear form, form now ready to accept form's responses. They dont' want to keep opening form each time form needs to be completed.
Hope you help.
Thanks SandraHi,
Thanks for your response, not sure what you mean by a loop. I put together
a draft form to show staff in our Knowledge Centre the sort of thing
Livecycle Designer can do.
(See attached file: Library Request Form_pub_0001.pdf)
They are currently writing out on form and manually putting into excel to
keep stats on the requests.
Due to current Global Financial Crisis my section does not want to spend
extra money at the moment seeking assistance from our tech heads. So we
are looking for least work no expense option for keeping stats. I am a PA
who just happens to have Livecycle program on my computer.
We use Lotus Notes so I thought the staff could save copy of Library
request form in the stationery folder. The staff using the form want to be
able to do the following:
1. open the Library request form at the beginning of the day;
2. when a request comes in, complete the form and click on Send by email
button
3. click on a Clear Data button to clear all data from all fields so the
form is open ready for when the next request comes in.
Staff are time poor and, as this is only one of their numerous duties, they
don't want to keep going to a location and opening a file which can be very
slow on some days
Each day form may be filled out by approximately 15 staff who may receive
anything from 0 - 4 requests a day.
I am not a tech head so script writing is a deep, dark mystery. Can you
help using the form above as an example for achieving step 3 above.
Thanks,
Sandra Smith
Personal Assistant
PricewaterhouseCoopers Australia
Office: ++61 (2) 8266 9069
Fax: ++61 (2) 8286 9069
[email protected]
http://www.pwc.com/au
Kacyndra
<[email protected]
> To
Sandra K Smith/AU/TLS/PwC@AsiaPac
08/08/2009 12:25 cc
AM
Subject
Livecycle
Please respond to Designer 8 - Is it possible to have
clearspace-200985 button to clear fields after user
0098-481178-2-216 has clicked submit by email button
[email protected]. so user can reuse form to send
adobe.com another response with different
answers?
if i understand this correctly, you just want everything cleared whena
buttons is pressed?
you can either do it individually:
on button click:
mytextField.rawData=""
or do a loop, using child/paretns.. -
Can we disable the 'Do not send a response' option for invitations?
Our organization recently migrated to Outlook \Exchange 2010 from Lotus Notes\Domino R7.0.4. Users are getting frustrated with the many limitations, or hopefully our lack of understanding, related to calendaring in Outlook.
Current Issue:
Employees can select "Do Not Send a Response" to meeting invitations, but still accept the invitations for their personal calendars. This can be very frustrating to the invitee, who is attempting to orchestrate complex meetings, since they do not
get updates for invitees who have accepted the meeting using this option.
It is plausible that all invitees could accept a meeting, but choose not to send a response. The originator of the meeting may than cancel the meeting, thinking, "what's the point, no one accepted it". The originator or an Admin staff should have
the ability to disable the "Do not Send a Response" option or at least have the option to require a response if desired.
Additionally, when invitees do send a response, it would be nice to have an option not to see response in the form of an email, but simply as an update to the Calendar 'Attendees' status, to avoid inbox clutter.
Lotus Notes had these functions at least 10 years ago, so I'm sure we are just overlooking a setting or configuration. Any guidance Microsoft support or readers can provide would be greatly appreciated.Hi,
We can disable that option via GPO.
Please refer to Disable user interface items and shortcut keys in Office 2010:
http://technet.microsoft.com/en-us/library/cc179143(v=office.14).aspx
After adding the Office 2010 GPO templates to the domain, in Group Policy Management go to:
User Configuration / Polices / Administrative Templates / Microsoft Outlook 2010 / Disable Items in User Interface / Custom
Add the following Policy ID's: 19987, 19995 and 19991.
This will disable the three menu items "Do Not Send a Response" below the buttons Accept, Tentative and Decline. When the mouse pointer points to the disabled ("grayed out") menu item a message is shown telling the user that this menu is disabled by the
administrator.
If you are not used to the email response, simply create a rule to move all these responses to a single folder and clean them up periodically:
http://office.microsoft.com/en-in/outlook-help/manage-email-messages-by-using-rules-HA010355682.aspx
Regards.
Melon Chen
TechNet Community Support
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Sender RFC Adapter AND Rec. File Adapter
Hi
Workflow of my scenario is like this :
<b>SAP R/3 ---> Sender RFC Adapter ---> XI Server -
> Rec. File Adapter -
> Legacy System</b>
I am using Async Inbound interface for this as I dont need any response back & I just need to create file.
I am just picking some data from BAPI & creating a file on a folder in Legacy System.
Now during execution, file is getting created but I am getting dump on SAP R/3 and even when I am using Async communication, response is coming back from Legacy Business System ( service ) & giving an error " <i>No Mapping Program Found</i> " in sxmb_moni.
Kindly suggest how can I avoid getting response from Legacy System. Pls. take note again I am using Async Inbound Interface.
Regards
- Lalit -Hi Lalit,
When your RFC is called from R/3 by default it would be in Sync mode. When this is in Sync mode it obviously will expect a response and where as in your scenario XI dose'nt give any response and there is no mapping for that and I think that is the reason you are getting that error.
So when your Sender RFC is triggered it will like this in ABAP
CALL Function "Function Name" <SM59 Destination>
and this is Sync call. To make it Async i should be
CALL Function "Function Name" IN BACKGROUND TASK <SM59 Destination>
Hoep this helps
Thanks,
Prakash -
Can I configure JDBC Sender to process the RFC response message?
Dear All,
We're working on an integration scenario of synchronous messaging from database to RFC. Is there any way to update or insert the record(s) onto the source database according to the BAPI response?
Any inputs are welcome. Many thanks for your time and support.
Regards,
MatthewHi Chun,
As far as I know you will not be able update the database back based on RFC response in a synchronous way though you have option of selecting BE in sender JDBC adapter.
This is sentence from SAP training material...
"In the case of a JDBC sender, the database table is queried via a SELECT statement. The message is by definition asynchronous hence the QoS should be set as EO or EOIO. "
The only option i can think of is JDBC Sender(async)->BPM->RFC(synch)->response mapping to JDBC receiver structure->JDBC receiver to update the table.
Also check these threads...
JDBC source in a Synchronous BAPI call.
Re: JDBC Sender Synchronously?
Anand
Message was edited by: Anand Torgal -
Sender RFC adapter - Tight coupling to an SAP client
Hi ,
We are using a sender RFC adapter to receive a RFC request from SAP , process the request in XI and then send back a response to SAP.
Our requirement is that , this request may come from different SAP clients(client 100, 130 , 200 etc). Looks like RFC adapter configured under a Business System in XI cannot listen to calls from multiple clients and works for only one client. We get dumps in SAP when invoking this RFC from other clients.
Also i hear that the same program id cannot be used in two different RFC sender adapters, meaning i have to create a different RFC destination , create a different program id for each client in SAP.
Is there a way around for this issue ?
Thanks
SaravanaHi Saravana,
you may try a little workaround:
configure your rfc adapter only with client 100
and try invoking RFC from clients: 130 , 200
on the client 100 first (with a dummy RFC on client 100)
and then from this dummy RFC on client 100 you can start your standard RFC with your rfc adapter
don't know any other way:)
Regards,
michal -
Hi All,
JDBC(Sender)-XI-RFC (Request)
RFC (Response)-XI-JDBC(Receiver).
Need some solution for sending email for successfully completion of scenario after updating SQL DB Table.
Let me explain the scenario:
We are pooling the SQL DB table to pull the records and map the records to RFC request parameters, after successful Posting the entries in R3 HR, RFC response contain the same with E (Error) S (Success) records status, we are updating the same in SQL DB table, I implemented the complete scenario without BPM with the help of module processor in Sending JDBC Adapter, scenario is working fine but now we have to send the successful mail to our support team with status contain Number of success, Error and total records as email.
I need the solution how to implement the same requirement in current scenario.
Is their way to do something with the RFC receiver adapter module addition to send the successful mail or generating Alert with all the description?
I am at PI 7.0 SP12 with HP unix box.
Thanks in Advance for creative idea
With Regards
SunilHi Bhavesh,
Thanks for your help and your blog is really helpful. I implemented the UDF for generating Email Alert but this alert is generating before Updating the SQL Database, is their any way to generate alert after updating the SQL.
Actually in my scenario we are sending the data from SQL to R3 by RFC and again updating the SQL status whatever the RFC return, after successfully updating SQL we need to send success email to support people but if we are sending the email before updating the DB then their will be problem.
JDBC receiver after updating the SQL DB returns the response with No. of row updated but how to capture this response, if we can capture this response then we can send email through email adapter even their is one more problem, In my scenario I am counting the number of rows with status S and E and sending the same in alert email but if are sending email after updating the SQL DB where can hold the row count value and use it while sending the email.
Implemented the scenario without using BPM..i am using sender JDBC module processor for Syn-Asyn bridge.
Even I do not find the link to reward point. Please let me know how to do it.
With Regards
Sunil -
SAP PI7.11 adapter RFC sender issue after migrating to SAP ECC6
Hi,
After the migration of our backend from SAP 4.700 x 200 to SAP ECC6 unicode (kernel 7.20)), we have a issue of connexion to our SAP PI 7.11.
A part of the field in ECC6 are not well mapped by the abapter sender RFC to the xml in PI.
I join a screen shot what I have in SAP ECC6 (inquiryECC6.jpg) and the result in SAP PI 7.11in xml format ofcourse (Inquiryxml.jpg).
Is there someone who can help me?
Regards.
Eric KoralewskiIn SM59, there is a new tab <unicode>.
In that tab, I checked the unicode checkbox and that's ok.
Regards -
Hi ,
my scenario is RFC->XI->JDBC. I made necessary settings(RFC destination,
sender RFC adapter,sender agreement and Integration design
objects).Then I wrote following code;
CALL FUNCTION 'BAPI_BUS2054_GETDATA'
IN BACKGROUND TASK
DESTINATION DEST
EXPORTING
I_PROJECT_DEFINITION = P_POSID
I_LANGUAGE =
I_MAX_ROWS =
TABLES
IT_WBS_ELEMENT =
ET_WBS_ELEMENT = IT_TAB1
ET_RETURN = IT_TAB_R
EXTENSIONIN =
EXTENSIONOUT =
COMMIT WORK.
When I executed this program I got no errors and it was processed
successfully.However inbound message payroad(t-cd:SXI_MONITOR)in XI
was empty,like this;
<?xml version="1.0" encoding="UTF-8" ?>
<rfc:BAPI_BUS2054_GETDATA xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<I_LANGUAGE />
<I_MAX_ROWS>0</I_MAX_ROWS>
<I_PROJECT_DEFINITION>210Z001000</I_PROJECT_DEFINITION>
<ET_RETURN />
<ET_WBS_ELEMENT />
<EXTENSIONIN />
<EXTENSIONOUT />
<IT_WBS_ELEMENT />
</rfc:BAPI_BUS2054_GETDATA>
So I executed program again in debugger mode, and there are no records
in ET_WBS_ELEMENT...
Then,for the verification I rewrote my code like this and executed again;
CALL FUNCTION 'BAPI_BUS2054_GETDATA'
EXPORTING
I_PROJECT_DEFINITION = P_POSID
I_LANGUAGE =
I_MAX_ROWS =
TABLES
IT_WBS_ELEMENT =
ET_WBS_ELEMENT = IT_TAB1
ET_RETURN = IT_TAB_R
EXTENSIONIN =
EXTENSIONOUT =
It finished successfully and there are records in ET_WBS_ELEMENT...
How can I get return table record 'in background task'? Does anyone
have ideas?
Best Regards,
YukHi,
Thanks for your reply.However I got new error message...
I delete 'in background task' from the source code and retry execution. Then my
application system(ERP2005) returned following error message;
Runtime Errors CALL_FUNCTION_REMOTE_ERROR
Short text
"call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:
What happened?
Error in the ABAP Application Program
The current ABAP program "Z_BAPI_RFC_CONNECT" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
The error occurred during an RFC call to another system.
In the target system, a short dump has been written as well.
More detailed information on the error cause can be found there.
Error analysis
An error occurred when executing a REMOTE FUNCTION CALL.
It was logged under the name "RFC_EXTERNAL_ABORT"
on the called page.
Trigger Location of Runtime Error
Program Z_BAPI_RFC_CONNECT
Include Z_BAPI_RFC_CONNECT
Row 21
Module Name START-OF-SELECTION
Line SourceCde
1 *&----
20
>>>>> CALL FUNCTION 'BAPI_BUS2054_GETDATA'
22 * IN BACKGROUND TASK
23 DESTINATION DEST
24 EXPORTING
25 I_PROJECT_DEFINITION = P_POSID
26 * I_LANGUAGE =
27 * I_MAX_ROWS =
28 TABLES
29 E_WBS_ELEMENT = IT_TAB1
30 ET_WBS_ELEMENT = IT_TAB1
31 ET_RETURN = IT_TAB_R
32 * EXTENSIONIN =
33 * EXTENSIONOUT =
34 .
35
36
37 COMMIT WORK.
38
39
40 IF WA_TAB1 <> ''.
This message is proccessed in XI but status is 'system error-Restart Not Possible'.
Does anyone have ideas? -
High RFC response time in SAP BW system
Hello all,
How to analyze and fine tune high RFC response time in SAP BW system ?
Regards,
ArchanaHi
Kindly Check follows
1. Check the RFC connections are correctly Configured or not? You can execute the program “RSRFCTRC” and get a full log of the RFC connections details
2 you can check the BW queries are right optimized? Is this any network issues?
3. In which time are you facing the high rfc response? (During the 24 hours which time)?
4. Kindly refer the SCN & SAP Notes for overall system performance
Short Notes on PERFORMANCE MONITORING - ABAP Development - SCN Wiki
1063061 - Information about response time in STAD/ST03
948066 - Performance Analysis: Transactions to use
Regards
Sriram -
How can I not wait for a RFC response
Hi everyone, i want to execute an RFC and not wait for the response, i don´t care, so, is there a way to achieve this ? thanks
Hello Isaac,
If you are calling the RFC from WebDynpro then you have to wait for the RFC response. However, there is a way that you can get early response from a RFC.
Suppose you are using RFC1 in your program and it contains business logic. Now, don't directly call the RFC1, instead, write another RFC2 which calls RFC1 asyncronously. This way, when you call RFC2 it automatically call RFC1 and does not wait for any response for RFC1
You can call RFC1 from RFC2 asynchronously:
CALL FUNCTION RFC1 STARTING NEW TASK taskName
Your WD application will immediately get a response from RFC2 while RFC1 still executing.
To know more about asynchronous RFC refer [Parallel Processing with Asynchronous RFC |http://help.sap.com/saphelp_nwpi71/helpdata/en/22/0425c6488911d189490000e829fbbd/content.htm]
Hope this helps
Abhinav -
Can SAP send e-mail to external mail with attached file?
Hi ABAP Guru.
Can SAP send the E-Mail to external mail server? (e.g. Hotmail, Yahoo and so on.)
And Can the E-Mail sent with attached file?
And How to do that?
Please give me your advice.
Thank you and Best Regard,
Nattapash C.Thank you very much! Amit Gujargoud.
And I'm so sorry for my question that not clear for you and everyone.
What I need to know is How to do with ABAP Code.
I found the Function Module
'SO_DOCUMENT_REPOSITORY_MANAGER' with method 'SEND' is being used for my case.
but I don't know what field of structure RECIPIENTS (Table parameter of this Func. Module) that used for define recipient's E-Mail Address.
Does anyone know the field or Have any method to solved my case?
Please give me your advice.
Thank you and Best regard.
Nattapash C. -
Hi One & All
While we are working on Delegate(provider) for JAXWS client handler in Weblogic10 , we have some technical issues and need some assistance.
Problem Description
In OUTBound of a provider, how can we stop the provider invoking its endpoint and send a response back?
Example:
I have a provider with some handlers configured for both IN and OUT flows. When the Jaxws provider is making a request, the OUTBound Handler gets invoked and in this Handler I would like to stop invoking actual endpoint and send back my own response. That means I should be able to tell the Handler chain to stop further processing of this flow, set a response message into message exchange and invoke the IN flow. How do I do that?
This kind of mediation/interception is possible in standard specifications like JAX-WS, Servlets etc… wondering if Weblogic10 JAXWS provides any sort of this kind.
Also we would like to know who is invoking a provider endpo int in JAXWS stack in weblogic10? Is it an OUTBound handler at the end of handler chain or some other transport component after the handler chain?
Thanks in Advance
Suresh
Edited by: user12494412 on Jan 22, 2010 7:06 AMI completely agree with this....I have used Windows and Skype for many years. I recently installed an older version of Skype to run on Windows 8.1 because the new version is SO AWFUL. As much as I prefer the older version (6.14), the daily number of SPAM CONTACT requests is rediculous and most are just variations of the same spammer. Maybe it is time to look for a replacement for both?
-
Hi,
I have RFC XI BPM Jdbc scenario, in which, I am raising an exception when database connection fails, and sending a message back to the RFC like "failed". But I am not getting any mapping error in the repository, but couldnot map at runtime....when I see in the Technical Workflow, I see "Mapping NOt found".
Could you please help on this issue.
Thanks,
Raj.hi Raj,
>>>>and sending a message back to the RFC like "failed".
you need to map jdbc request to RFC.response
in the <b>exception branch</b> to do the mapping correctly
(this is the only way)
remember to refresh the cache (SXI_CACHE)
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
Maybe you are looking for
-
Re-installing Final Cut Studio 2 on Snow Leopard?
Hello All, I had reason to uninstall Final Cut Studio 2 off my machine because of problems with Compressor and Motion. I followed the Apple help doc on how to uninstall FCS2. However when I go to re-install from the main install disc, it runs fine un
-
I am frustrated having paid for "Clean My Mac" which I run regularly and using tips like cleaning the cache in Terminal view. It is still getting slower. Can I clean off the disk and reinstall from my Time Machine, or will it re load the problem to
-
Index.xml is missing in numbers file
I am trying to open a file that I created and worked on for long time month ago and now it's saying its invalid and can't be open, saying that index.xml is missing, how can I fix it? Please help me it's an important file and contains very important i
-
Lenovo Energy Management - Where is my Dust Removal button?
Hello. After installation my Windows 8.1 which i downloaded from Microsoft DreamSpark i installed all drivers from a CD which came with my laptop in a box. I installed Lenovo Energy Management and I had button to remove dust. After updating my system
-
ANE for iOS 7.1.2?
I use Adobe Product Store from Adobe Gaming SDK and Milkman Game IAP ver 1.0.9 and both got reject from Apple say that it doesn't ask user information to buy IAP. Please help.