Linking RFC
I'm writing an application connected to SAP with RFC.
If I link the LibRfc32.lib to the project and I call RfcOpenExt the program works perfectly.
I would prefer connect the library LibRfc32 dinamically with LoadLibrary and get the function with GetProcAddress,
but, in this case , the connection doesn't work and I find the file dev_rfc.trc with the following message
ERROR file opened at 20050211 155040 ora solare Eur, SAP-REL 640,0,54 RFC-VER 3 715405 MT-SL
T:3792 ======> Unknown options->mode parameter
I'm sure that the parameters are the same in all the calls.
Can anyboby help me?
Thanks
Roberto
Hi Roberto,
See the following link:
RFC SDK on Windows with GCC
Regards,
Rob.
Similar Messages
-
Use RFC Lookup in Graphical Mapping for Database Update
Hello,
I am wondering whether the RFC Lookup function in graphical mapping provides the same functionality as a general RFC function call.
In detail I would like to update a database table using a RFC which just takes some input parameters but does not use any output parameters. Would this work too as the name "lookup" implies that it might just be possible to read something?HI,
Refer these links:
RFC Lookup by michal
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm
DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
Regards,
Nithiyanandam -
Hi All,
I have a file to RFC scenario. I keep getting the below error: Any Ideas?
Danny,
Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.af.rfc.util.bapi.BapiException: Parameter with name RETURN not found.: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.af.rfc.util.bapi.BapiException: Parameter with name RETURN not found..is this BAPI an SYNC one
check this link
RFC adapter Call BAPI error
Re: Invoice Not getting posted -
Receiver RFC synchronouse scenario question:
Dear All,
I have a doubt in Receiver RFC sync scenario. for example file to XI to RFC.
Question: when ever Response RFC is triggered in R/3 Side. How the data reaches XI.
By just creating Synch Communication channel for the RFC in XI, will the data to come to XI for RFC respose.
How when a Respose RFC is Triggered in R/3 Server, how the data points or reaches XI port?
How the Auto Triggered RFC Respose data points to XI and Comes to XI in a Synchronous RFC Receiver scenario.
PS: I am not from ABAP background. if any code has to be written in R/3 side for making the response RFC point to XI, please provide a generalized code also if possible.
Please Advice,
Prakash.RFC destination,port at XI would help to get response data
No need to write any code,because RFC provide sync communication.
use links RFC Scenario using BPM --Starter Kit
https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
Exposing BAPI as Web Services through SAP XI
RFC Scenario using BPM --Starter Kit
The specified item was not found.
The specified item was not found.
HTTP to RFC - A Starter Kit -
Configuring receiver RFC adapter to use RFC destination
Hello,
I have been doing some digging, but I can't find a solid answer on how to configuring a receiver RFC adapter to use an existing RFC destination to call a 4/6C R/3 backend system... Our scenario is to WS --> SOAP --> RFC which is up and running in production just fine on NW 7.0, SP12.
I ask this question because we, as a company, do not like to maintain passwords in multiple systems. That is necessary when we use the receiver RFC adapter now since SNC is a distant pipe dream for us and we would like to use an existing RFC destination that is set up to call the backend system using a logon ticket.
I checked the relevant links I could find below, but I can not resolve the answer from them. Has anyone set this up successfully? This link (RFC Destination type RFC Receiver Adapter?) mentions it briefly, but it does not go into any length on how to set it up.
Thanks!
John
http://help.sap.com/saphelp_srm40/helpdata/fr/33/c6e63b60c25767e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/33/c6e63b60c25767e10000000a11402f/content.htm
Re: Asynchronous RFC callHi John !!
I suggest you to create a new user, without dialog access in your ECC system to be used exclusively by the XI system to access ECC. And then, always use this user in all RFC receiver adapter communication channels.
Regards,
Matias. -
Ack from ERP System in case of RFC
Hi Experts,
Good Morning !!!
while Implementing Soap to RFC Scenario..
How can we get System ack and Application sys Ack?
Is there any Manual configurations are required ?
if there any procedure
please tell me..
Thanks in Advance
Regards,
RaviHi,
If you want to use RFC adapter to receive acknowledgements you should use ccBPM, without this you can achieve this.
Or
You can go for ABAP proxy
So first decide your approach.
Refer the below link
RFC - PI - FTP
Thanks
Bhargava Krishna -
RFC SDK - timeout for RFC execution
Hi!
I was wondering if there was a way, when using the RFC SDK in client mode, to prevent a RFC call from taking more than a specified time to execute on the server.
Can I use the API RfcCallReceiveTimed?
Thanks,
MustansirSee note 1056696 - Compiling and Linking RFC Programs with the SAP NW RFC SDK
HP-UX (PA-RISC, 64 bit)
aCC -DSAPonUNIX -DSAPonHPPA -DSAPwithUNICODE +DD64 -Aa +W392,829,818,887 -DSAPwithTHREADS -mt -w +O2 -DNDEBUG +inst_compiletime -c <program>.cpp
aCC -Wl,+n,-z -Wl,-a,default +DD64 -o <program> <program>.o libsapnwrfc.sl libsapucum.sl [and possibly libicudecnumber.sl]
Markus -
Errors compiling program with RFC SDK 700 for ECC 6.0
Hi,
We are getting an error when trying to compile a program on HP_UX HP9000. We downloaded the RFC SDK for 700. The command we are using is:
cc sapsockets.c librfc.a -o sapsockets -lm -lcl +DA2.0W
The error we receive is:
ld: Unsatisfied symbol "xdr_string" in file librfc.a[cpictlib.o]
ld: Unsatisfied symbol "__nw__FUl" in file librfc.a[cpictlib.o]
ld: Unsatisfied symbol "__dl__FPv" in file librfc.a[cpictlib.o]
ld: Unsatisfied symbol "xdr_free" in file librfc.a[cpictlib.o]
ld: Unsatisfied symbol "[Vtable]key:__dt__21__versioned_type_infoFv" in file librfc.a[cpictlib.o]
ld: Unsatisfied symbol "__PureVirtualCalled" in file librfc.a[cpictlib.o]
ld: Unsatisfied symbol "__dla__FPv" in file librfc.a[cpictlib.o]
ld: Unsatisfied symbol "__nwa__FUl" in file librfc.a[cpictlib.o]
ld: Unsatisfied symbol "__ConstructMarkedArray__FPvUiUlPFv_vT4" in file librfc.a[cpictlib.o]
9 errors.
I don't have much experience in this area. Sorry I couldn't supply more information.
Any help is appreciated.
Thanks,
DomenickSee note 1056696 - Compiling and Linking RFC Programs with the SAP NW RFC SDK
HP-UX (PA-RISC, 64 bit)
aCC -DSAPonUNIX -DSAPonHPPA -DSAPwithUNICODE +DD64 -Aa +W392,829,818,887 -DSAPwithTHREADS -mt -w +O2 -DNDEBUG +inst_compiletime -c <program>.cpp
aCC -Wl,+n,-z -Wl,-a,default +DD64 -o <program> <program>.o libsapnwrfc.sl libsapucum.sl [and possibly libicudecnumber.sl]
Markus -
Configuring RFC destination for control recipe
Hi,
There was a very good document in SDN which explains in detail how an external control recipe destination has to be configured with RFC destinations etc. written by somebody from IBM.
I cant find the document in the forum now.
Can any body please help me on this?
Thanks in advance.Dear,
Please check these links,
[RFC destination |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3861e693-0e01-0010-e791-9b44d2693e6c]
[Link2|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/201769e0-3174-2910-e287-baa58d198246]
[LINK3|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208c4788-7f02-2a10-da80-bbaf7a202780]
Regards,
R.Brahmankar -
Hi we recently upgraded from PPM 5.0 SP 9 to SP11.
Along with that we did below updates as well.
NW 7.02 SP10 --> NW 7.41 SP03
ECC 6.0 EHP5 --> ECC 6.0 EHP7
During creation of Item we are getting below error
Exception occurred in the update of the application object
Some points I have checked already:
1. New configuring: the complete new set of configuration right from New Portfolio type to item type and related master data.
2. Authorization: I have ACO_SUPER and also ACL access ADMIN and Write at Portfolio and Top bucket, which shows as Inherited. tried adding Create manually at lowest bucket.
3. Old Portfolio's (before upgrade): face same issue for new create however the old ones I can update and save works fine.
4. Basis: There is no Trace we could find relevant, No ST22 dump.
5. Trace: show CuaOwnLuwErrorReset which Im not sure nor is our Basis guy.
6. Market place: Tried searching service market place for CuaOwnLuwErrorReset, No use, tried with spaces too.
7. Basis: Tried verification of Database tables
8. Old Items > Financial Planning shows dump at CX_RPM_DB_UPDATE, developers are checking it out.
9. Developments: No BAdI is called during save.
Any pointers highly appreciated
Rgds,
NiranjanRavi,
Thanks for the pointers. But from configuration perspective its all good I believe.
Answers in bold
1) Is this issue persisted before upgrade also?
NO. Earlier it was working fine.
2) Have you enabled automatic project creation in the item type?
a) If yes, then can you check with an item creation where automatic project creation in not enabled.
Already tried creation of Item only. Same error. With Check box or without. With template or without.
b) If issue persists only with automatic project creation,then are you trying to create PPM project or PS project?
PS is not in picture now, as its linked to release strategy of cProjects (PPM project)
c) If PS project, can you check for the object links RFC connections?
The cProjects (PPM project) and PS RFCs are fine. We are on same server so its all good. NONE is what is verified in SM59 already
Rgds,
Niranjan -
Hello friends,
Is it possible to decide at runtime to which web application server the request should send to depending on one of field in sender file?
e.g in file adapter we could specify the file name at runtime. I am not sure whether would it be possible , becoz WSDL contains location tag specifying where webservice resides....
i would appreciate for any kind of help
thanks,
PranavHI,
Yes it is possible to maitain the UDF to create the URL based on sender Data. see my links and also below link
RFC and SOAP scenarios-/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
Dynamic configuration payload - https://media.sdn.sap.com/javadocs/NW04/SPS15/pi/com/sap/aii/mapping/api/DynamicConfiguration.html
Dynamic Configuration of Some Communication Channel Parameters using Message Mapping - /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
Dynamic configuration in adapter modules - /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules
Also see the below links for ref
RFC to SOAP
/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/piers.harding/blog/2004/07/18/you-dont-need-to-use-soap-to-keep-your-rpc-clean
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
/people/david.halitsky/blog/2006/08/25/soa-vs-rfc-it-doesnt-have-to-be-charles-bronson-vs-henry-fonda
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=rfc%20to%20soap%20scenario&cat=sdn_weblog
Regards
Chilla -
How do I lock for access to IMG in dev. systems, except via the SolMan?
Hi all.
For years I have heard that it should be possible to "technically suggest" to config users that they must go via the SolMan to execute the configuration of satellite systems.
Can anyone tell me how to setup this, or even better point out a config guide for this?
Thanks in advance!
PerHi
It works as follow:
You create RFC between SOLMAN and Satellite system.
Make configuration about system landscape in SMSY and SOLAR_PROJECT_ADMIN
Here you have to link RFCs with Trusted option
then you can access Satellite system via SOLMAN
For trusted network, you need to have same user id in both SOLMAN n Satellite system...
The password of satellite system id is system generated and not known to consultants
thus they have only option of logging in to SOLMAN to access Satellite system.
For more info:
http://help.sap.com/saphelp_sm40/helpdata/en/ae/64c33af662c514e10000000a114084/frameset.htm
Niranjan
Let me know if it helps !!! -
Using generated wsdl file to other scenario
Hi...
I have done one scenario like giving
Input File: Fname,Lname,Address
Output file: FullName,address.
using BPM.
After doing the sceanrio i have generated the wsdl file. I have tested the wsdl file using infopath.It is working fine.
Then i have done anothe scenario like File_webservice_File sceanrio. In this scenario, i have used the wsdl file which i have generated before using BPM. while executng the scenario, output is not coming. i have used 2 receiver communication channels for soap and for file.For soap, i have given the target url and soap action of the wsdl file which i have generated.In moni i can see the 3 messages. for one message it is showing checked flag, but for other 2 messages, it is not showing any flag. Can you please tell, where i have done wrong.Hi Leelaratnam,
try to refresh the queue ie SMQ1 and SMQ2 and even referesh the cache
chk for this links
RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part III
Thanx
Sampath -
Dear Solution Manager Experts.,
I have a Silly Doubt . I configured the Solution manager help desk configuration in my system. When ever I'm trying to create the Notification ( i feel that this is only support message ) through T. Code Motif_create system is giving run time error. Hopefully this would be fixed with some settings.
My doubt is when ever we Save the support message where it reaches...??? what is mediation of CRM in this system. in solution manger what is the linking RFC's to be created and where to be given. im very confuse in this area where the Links going on.....
in Solution manger , do we need to give any other system RFC connections..??? and how it is communicated to the user and support help desk team....
Please clarify this doubts . so that i can get clear picture
Waiting for your valuable reply.
Thnx & Reg
Pavan G KulkarniIssue resolved by BASIS team ..thnx
-
How to set up environment for web dynpro Java?
We want to develop applications in Java Web Dnpro.
What do I need to configure in SAP R3 to use Web Dynpro Java?
I can develop applications on the SAP NetWeaver Developer Studio and only perform a configuration in SAP ECC ?
Or do I need to install SAP EC Composition Environment ?
Can I develop and set up RFC connections to integrate with my application in Web Dynpro Java?
Please help me,
Regards,
VivianeDear Viviane,
In the webdynpr java application, you can use the data from SAP system. like you can use RFC's, Bapi's in your webdynpro application.
Refer to [Linking RFC to Web Dynpro|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/761eba66-0401-0010-b982-d5f5bd9e8f90?quicklink=index&overridelayout=true] and http://wiki.sdn.sap.com/wiki/display/WDJava/WelcometoWebDynproJava%21
Best Regards
Arun Jaiswal
Maybe you are looking for
-
I just bought a MBA and I need to move my photos and itunes to an external hard drive (from my old MacBook Pro) because they won't fit on the Air. I got the photos moved fine and I followed an online tutorial to move the necessary files for itunes,
-
How do I connect a G4 350mhz as a hard drive?
I have an old G4 350mhz and would like to use it as storage. Does anyone know how I would do this or is there a better use for it? Thanks
-
After updated my Q10 10.2.1.537 the battery always shown 0%
After updated my Q10 to release 10.2.1.537 the battery always shown 0%, now cannot send out e-mail or dial out call!!! Help pls!!
-
Cache remote interface stub in clustered env
Hi, Can we put in cache the interface remote stub of a ejb session stateless? Which can be the impact when a serveur crashes ? Can we use the reference in cache in an multithreaded environment (a reference used simultaneously by several threads)? Tha
-
Questions are: 1. How many voting disks do we need per cluster (considering we have a redundant Fibre-channel connections)? 2. How many OCR disks do we need and what is the recommended access (OCFS2 or RAW)? 3. How do we calculate the bandwidth neede