on 06-05-2006 7:32 AM
Hi All,
Scenario: .Net <> XI <> SAP CRM (Synchronous call)
In this scenario, I am passing an URL string from XI to importing parameter of RFC (SAP CRM), which should pick the file, based on the URL string passed and save the attachment in CRM.
When I try to pass the URL string from Test Interface of RFC, it saves an attachment in CRM, but when I am passing the same URL string from XI to importing parameter of RFC, it is giving me response as attachment failed.
Later I did the Debug to understand whether the URL string which I was passing was correct or not. But to my surprise, while doing Debug, it saved the attachment in CRM.
Could anybody help me on resolving this problem.
Thanks in Advance
Ashish.
hi,
what you need to do it to try debugging
your scenario with real message
have a look at those two weblogs:
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
- from me
/people/sravya.talanki2/blog/2006/02/28/simulating-xi-messages-proto - from Sravya Talanki
you also mention that you've tried debugging
did you do it like this?
/people/michal.krawczyk2/blog/2006/01/17/xi-debugging-rfc-calls-from-the-xi-not-possible-who-said-that-
if you use this method you can be sure that
you'll get the same results (except for authorization)
as with the call from XI
BTW
you're not using any BAPI or anything
that needs to be commited explicitly ?
these might help you to debug your scenario
even better as it's not possible that once it works
and once it doesn't
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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
I did the map testing with real data only.
Yes, I did the debug of RFC call using your weblog on "XI : Debugging RFC calls from the XI not possible? Who said that"
While Debugging the scenario, the attachment was saved in SAP CRM. But when I execute it directly, it is not saving the attachment in SAP CRM.
BAPI has the commit statement, which is getting executed while debugging.
Me too wondering, why it's behaving this way...
Regards,
Ashish.
Hi,
so maybe it has somehting to do with the authorizations?
can you try checking if the user that is used to do
the rfc call to CRM has the same authrozation
as the one that you use in debugging ?
this is probably the only difference...
just put your user in the RFC login data if you can
to test - or you can try logging authrozation
requests in the CRM system to check if there are no
auth errors
REgards,
michal
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.