External RFC Debugging

HI to all!
I have a problem with RFC Debugging with External Debugging.
I have set a Breakpoint at the call of an RFC FB when I Debug form SAP GUI (internal)
I can go into this RFC FB with F5
When I cam from Web Dynpro (external) I can go not into this RFC FB with F5.
If i push button F5 the next code line is after the RFC FB call and not into this RFC FB.
My question is what I have to do to get into this RFC FB by external Debugging
Thanks'
Hermann

hi
good
go through this link,hope this ll give you the idea to solve your problem
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0e9a9d90-0201-0010-478e-991dbea73a30
thanks
mrutyun^

Similar Messages

  • Error in Mapping of external RFC reponse

    Hi experts,
    I have big problems with my current scenario. I tried to call a C-program by using RFC connection.
    <u><b>synchronous RFC scenario:</b></u>
    <b>request:</b>
    <u>Sender SAP-System RFC-Adapter> XI RFC-Adapter> receiver C-program</u>
    on both sides I use RFC-Adapter and the flags of unicode is also set,
    on sender side I have created a simple RFC adapter, this side works without problems.
    On receiver side I have create an external RFC call. Here a RFC destination which is created on my SAP XI sap Gateway is invoked by the RFC Adapter. My C-program registers the program id of this RFC at receiver side. So by testing the RFC connection (transaction SM59) the RFC works fine.
    The request mapping includes on both side the same RFC-structure.
    <b>response</b>
    <u>Sender SAP-System <RFC XI <RFC receiver C-program</u>
    The response mapping includes on both side the same RFC response structure.
    When I execute my scenario by calling the ABAP-Program in my SAP system, it seems that request works fine, but during the response in the integration engine following error occurs:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:377) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:187) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:151) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:92) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0_0.processFunction(MappingServiceObjectImpl0_0.java:131) at sun.reflect.GeneratedMethodAccessor264.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy189.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor931.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:275) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:217) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7803) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2405) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1728) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8164) at com.sap.mw.jco.JCO$Server.work(JCO.java:8284) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8231) at com.sap.mw.jco.JCO$Server.run(JCO.java:8147) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:124) Root Cause: com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:377) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:157) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:534) Root Cause: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:377)(:main:, row=1, col=377) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:377) at com.sap.engine.lib.xml.parser.XMLParser.handleContentReference(XMLParser.java:2327) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2458) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2843) at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:160) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:261) at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280) at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342) at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:155) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:534) -
    at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:144) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:155) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:534) Caused by: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:377) at com.sap.engine.lib.xml.parser.XMLParser.handleContentReference(XMLParser.java:2327) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2458) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2843) at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:160) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:261) at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280) at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342) at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125) ... 4 more</Trace>
      <Trace level="1" type="T">Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_KQ3_TOMATOS_RESPONSE_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:377)
    So could anybody help me.
    Thanks a lot.
    Best regards
    Mario

    Hi Jai,
    thanks for your fast reply.
    I have checked my payload but there is no col. 377. When I copy the following response payload into the mapping test tool it works fine.
      <?xml version="1.0" encoding="UTF-8" ?>
    - <rfc:_-MSG_-4_PM_TOMATOS.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <ET_DIMMARKS_FLOAT />
      <ET_DIMMARKS_INTEGER />
      <ET_DIMMARKS_STRING />
    - <ET_ERRORS>
    - <item>
      <SEQ_NO>-1</SEQ_NO>
      <ERROR_NR>16777216</ERROR_NR>
      <RC>-1518068224</RC>
      <ERROR_TYPE>E</ERROR_TYPE>
      <DESCRIPTION>The data context cannot be found </DESCRIPTION>
      <ERROR_CLASS>PM.TOMATOSX error </ERROR_CLASS>
      <MODULE_NAME>PM.TOMATOSX </MODULE_NAME>
      <MESSAGE>No standard data context is defined. </MESSAGE>
      <INSTANCE_NAME> </INSTANCE_NAME>
      <PM_MARKNAME> </PM_MARKNAME>
      <CALLPOS> </CALLPOS>
      </item>
      </ET_ERRORS>
      <ET_INFOS />
      <ET_MARKS_DIMSIZE />
      <ET_MARKS_FLOAT />
      <ET_MARKS_INTEGER />
      <ET_MARKS_STRING />
      <ET_OBJECTS />
      <ET_PLAUSIS />
      <ET_PROFILES />
      <ET_PROFILE_MODS />
      <ET_RELATIONS />
      <ET_STATISTICS />
      <IT_DIMMARKS_FLOAT />
      <IT_DIMMARKS_INTEGER />
      <IT_DIMMARKS_STRING />
      <IT_MARKS_DIMSIZE />
      <IT_MARKS_FLOAT />
      <IT_MARKS_INTEGER />
      <IT_MARKS_STRING />
      <IT_METHODS />
      <IT_METHOD_PARAMS />
      <IT_OBJECTS />
      <IT_OPTIONS />
      <IT_RELATIONS />
      <IT_SEQUENCES />
      </rfc:_-MSG_-4_PM_TOMATOS.Response>
    So have you any idea, what the problem could be.
    Best regards
    Mario

  • Is BAPI_TRANSACTION_ROLLBACK supported in external RFC applications?

    Hello,
    maybe someone could shed some light into this.
    I am writing an external RFC client application using library librfc32.dll. The application calls a custom RFC module, which inserts a record in a custom Z* table. This RFC module does not invoke, explicitly or implicitly (at least, not that I am aware of) the COMMIT WORK operation.
    After this RFC module call the RFC/BAPI module BAPI_TRANSACTION_ROLLBACK is called. The intent is, of course, to rollback the operation from the previous RFC call. Yet the rollback attempt fails and the inserted record is not removed from the table.
    An ABAP program making the exact same calls to those RFC modules, however succeeds.
    Has anyone an explanation for this behavior? Thank you!

    Hi,
    In case of a WARNING message, the ROLLBACK wont happen automatically whereas in case of an ERROR message, the ROLLBACK would happen.
    But to be on safer side, it is always good to call BAPI_TRANSACTION_ROLLBACK irrespective of the message type ( Warning or Error).
    Same is the case with COMMIT. If you dont give an explicit commit work, the data would be COMMITED once the transaction/process is completed without any error/warning messages.
    Best regards,
    Prashant

  • External RFC problem in BPM

    Hi All,
    i have configured External RFC monitoring using application monitor in BPM.
    the problem is the max wait time given in setup is upto 25 seconds only. i have given the maximum.
    the response time in operations that i am getting is 150  milliseconds maximum which is around .5 or so seconds.
    but the RFC in which connection test is successful is getting red alert.
    can any one pls let me know what exactly is the configuration am missing out.
    Thanks,
    Subhashini.

    Hi
    I am monitoring TRansactional RFC.
    I was interested to know the type of the RFC used(from SM59), for example T, 3, I,G etc. Please let us know the RFC used and type and importantly systems involved to drill further.
    Please check the following:
    1) Logical component assignment against that step.
    2) Existence of RFC on satellite system.
    3) Connection test and Jumpin to that host.
    4) The Read RFC you are using has got enough authorizations on that Satellite system.
    Regards,
    Jagan

  • RFC Debugging

    Hi Experts,
    I have done GOOGLE for How to debug Remote FM. Have found many links and methods of doing so. But unfortunately none of them help me to debug Remote FM.
    Links Like :
    How to Debug SAP RFC , background job , update FM etc.. &amp;laquo; SAP Ignite
    Remote ABAP Debugging
    **************** - Tips - Remote ABAP debugging
    http://www.sap-help.net/Page/abap-development-getting-started/abap-debugger-setup/abap-debugger-rfc-debugging/
    SAP Note 1004248.
    Regards,
    Sagar

    Hi Bhushan,
    Thanks for the prompt reply.
    I have done steps 1 to 3.
    Now for Step 4 do i need to click on Remote Logon button as shown in below screen shot?
    If yes, than i did but i have not got any popup or any other screen.
    After that i have follow Steps 5 to 7, but at break point it doesn't stop.
    Regards,
    Sagar

  • How to send an idoc of lower release to an External RFC server

    Hi All,
    I am sending idocs from the sap system to an external rfc server(written using Sap RFC SDK).
    When an idoc is sent from the Sap system, I receive an IDOC_INBOUND_ASYNCHRONOUS call in the external RFC server with the Idoc data.
    Everything works fine with the latest release of idocs. But if I send an Idoc of lower release number, I am getting the data records properly for the lower release(say 640). But the DOCREL field (in the control record- EDI_DC40) always gives me the latest release number(700)
    In my partner profile, I specify the Segment release number to 640 and even then I am receiving the value 700 in DOCREL.
    What am I missing here? How can I populate the DOCREL field with the appropriate release number?
    Any help would be greatly appreciated.
    Thanks
    PS: Please feel free to move this post to appropriate category, if this is not the one.

    Serigo,
    Thanks for your reply and we are not using XI.
    I have defined in the port definition giving the path name refering to unix like /outbound/<system name>/<directory name>. But I dont know how to define for C:\temp\, if I define the same way as c:\temp\  do I need define anything anywhere else ?
    Kindly let me know.
    Thanks,
    Kalikonda.

  • Reset or Clear SAP user context by external RFC caller program

    Hello,
    I have a SAP system with performance problems due to a SAP user context starts using a lot of memory.
    This user context comes from an External RFC caller program written in Delphi and which uses the SAP RFC SDK provided by SAPGUI 6.40: SAP Automation library, SAPFuntionsOCX, I mean, using methods in the object "SAPFunctions" in SAPFunctionsOCX in file "wdtfuncU.ocx", in SAPGUI directory.
    Everytime we have performance problems, this RFC SAP user context is using near 1400 Mb of extended memory, although there is a lot of free physical RAM memory available, there are free dialog processes and CPU load is low (no more than 30%).
    This performance problem is solved by closing the external program (written in Delphi) which connects to SAP via RFC.
    This external program works for the warehouse management and connects to SAP several times per minute. Due to connection performance and the high frequency with which this external program must connect to SAP, the connection to SAP is not closed after each call to RFC SAP function modules.
    The extended memory used by this SAP RFC user is growing along time. I detected, using ST03 transaction, that these user sessions have always the same transaction code hash, I mean, although the external programs call the same SAP RFC funcion modules several times (¡¡¡ always clearing the variables at the beginning and at the end of de ABAP code, with ABAP commands like REFRESH and FREE ¡¡¡¡) the technical transaction code is the same and I suppose the user context (in extended memory) is not deleted.
    I think it is better than the external program close the context memory (similar to "/n" okcode in SAPGUI).
    But we don't want to close the connection, because the external program connects to SAP with a high frequency, and the logon process is expensive.
    Is there any way to send something similar to "/n" (end of transaction) from the external program? Is there any command in the SAP RFC SDK library (SAPFuntionsOCX or something similar?
    I cannot find any method to do that in the object "SAPFunctions" in SAPFunctionsOCX in file "wdtfuncU.ocx", in SAPGUI directory.
    Old information for Object Classes "SAPFunctions" in SAPFunctionsOCX in file "wdtfuncU.ocx", in SAPGUI directory, is described in the following URL:
    http://help.sap.com/saphelp_45b/helpdata/en/39/7e00d1ac6011d189c60000e829fbbd/frameset.htm
    But I cannot find anything related to something similar to a "/n" in SAPGUI.
    As I have the SAPGUI installed on my desktop, I can see all SAP RFC classes and methods from Excel, by opening the Visual Basic editor.
    I am only asking a way to send to SAP a command to free the user context used for an open RFC session in order to avoid the memory used to be continuously growing, without having to close the RFC session.
    The external program only calls a certain SAP function module periodically and we want to free the user context between calls without logging off. This is the same, very similar, as if we called that function from SAPGUI and we used "/n" in SAPGUI between calls.
    Anyone can help me?
    Thanks and best regards.

    Hello,
    I don't know if this will solve your problem, but you may be using MF 'RFC_CONNECTION_CLOSE' between each call of you RFC function.
    Regards
    Brice
    Edited by: blsapsdn on Apr 15, 2011 5:27 PM

  • RFC Debugging and Cache Admin not available in PPM 5.0

    Hi Experts,
    RFC Debugging  and Cache Administration is not available  in PPM 5.0 as compared to RPM 4.5. Is it due to single ABAP stack model of PPM 5.0 ? Complete transformation from java to ABAP webdynpro components  ?  Any idea on this ?
    Best Regards,
    Siva

    Siva,
    Yes, you are right, As enerything is moved to ABAP stack in SAP PPM 5.0. RFC Debugging and Cache Administration is not required in SAP PPM 5.0.
    Cheers
    Amit

  • Isolate app server from external RFC's, idocs

    There is a server in our SAP R3 landscape that needs to be isolated both from user logon, external communiction like idocs and also load balancing of batch jobs to this server. 
    The user logon is no issue, config via SMLG by not including the server in the logon groups.
    The external idoc coming in is still an issue to be addressed. 
    So is the batch job issue.  This server requires background processes.  But we don't want general batch jobs load balanaced to this server.
    If idocs were balanced to that server, potentially they would wait (because of heavy procesing occuring on this server) and could processes to backup.
    Can these be eliminated via usage of RZ12?  By default a server in the environment will be in that group.
    Could the server effectively be isolated by creating some bogus server logon group and assigning the server to it?
    So 2 issues:
    1. isolate server from idocs
    2. isolate server from having batch jobs load balanced to it.
    Any thoughts appreciated on this matter of isolating a server from the rest of the landscape so that it can be dedicated to a specific process.

    We understand the issues of you as below.
    1. isolate server from idocs (The external idoc coming in is still an issue to be addressed)
    - As u already eliminated the target server from SMLG, User login are managed but why external IDOC's are coming.
    View-1) if the IDOC's are coming from other ABAP System, Check the RFC Connections of  Source ABAP System to This Target ABAP System, Are they using by any chance LOGON group "SPACE".  if yes...pl assign it to a Custom LOGON GROUP of Source which does not include the application server you desire.
    View-2) if the IDOC's are coming directly from an external NON-ABAP System, Analyze where the external RFC server is registered..Secondly.....How the Inbound IDOCS are processed by Function Module....Select " TRIGGER BY BACK GROUND PROGRAM" instead "TRIGGER IMMEDIATELY" to build a control thru which BATCH Server the INBOUND IDOCS are processed.
    2. isolate server from having batch jobs load balanced to it.
    This you can acheive it as Mr.Sunil Bujade  said thru SM61 in this thread.
    3. HTTP Logins to thru that application server
    If your ECC System connected to a Portal , and you are experience some WEB logins (IC) login on this application server ,
    Do not activate the parameters on the application server where you do not desire HTTP Connections, which will stop HTTP Logins.
    icm/server_port_0
    icm/host_name_full
    login/accept_sso2_ticket
    login/create_sso2_ticket
    (or)
    You should Disable / Deactivate ICM of application server said by Mr.Khaiser in this thread ( I think after every restart ).
    If time allows have a look of these Notes.
    SAP Note 0001385751  Deactivating background processing
    SAP Note 0000786412  Determining execution server of jobs w/o target server
    SAP Note 0001359508  Background server groups: Blank server name in server group
    SAP Note 0000519059  FAQ: Background processing system
    A Final Question,
    In which scenario, A server is not for GUI LOGINS, not for Specific BATCH Jobs, not for HTTP Logins,  is required.. May we request a Technical Scenario was required such application server which may be useful to connect to the requirement when similar demand in our landscape.
    Rgds

  • External RFC or external IDOC pdf ?

    hi,
    there used to be a pdf guide on SDN about either external RFC connection with XI
    or non SAP IDOC system connection with XI
    does anyone have this guide or link to it?
    thank you,
    Regards,
    Michal Krawczyk

    Hi,
    is it this one?
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/101da8af-0ac2-2b10-b382-d39af4f1514c
    Regards,
    Kai

  • CAF - External RFC import error

    Hi,
    I am having problems importing an external rfc in my CAF project using 7.11, I enter the single server details and click next, rather than trying to connect it seems to jump straight to the next screen, however when you search for a rfc nothing is returned.
    I am confident that the host name and system number is correct because I can use these details in webdynpro to import a rfc model, has anyone had this problem before? Is there any log which nwds produces which may shed light on why it does not seem to connect.
    Thanks in advance,
    Jon

    Balaji,
    This object is already imported by "wljizi" but he hasn't activated his change list...hence it is not allowing you to re-imprt same object.
    In your IB, Select change list , Pur user name "wljizi" and click on display..
    Right click on  change list and select "Transfe" it will transfer it on your id...now you can import / activate new object.
    Nilesh

  • Call external RFC in a workflow

    Hi!
    I'm going through the tutorials at
    http://help.sap.com/saphelp_46c/helpdata/en/fb/1359c4457311d189440000e829fbbd/frameset.htm.
    I had a question - as one of the steps in the workflow, is it possible to call an RFC on an external system (a destination defined via SM 59), get the response back, and use that response in the next step in the workflow, which again calls another RFC on an external system?
    Thanks,
    Mustansir

    Yes, you can achieve that by using the corresponding methods of the activity defined.
    Regards, IA

  • Not able to call External (RFC) Service in CAF

    Hi,
    When trying to import RFC(ABAP) in CAF for External Service using the wizard, after I give the SAP Logon Information nothing happens Wizard does not move to the next screen after I give the logon credentials and SAP System Data,
    I tried with Single Server and Load Balancing but nothing happens on clicking Next button, moreover when I try to login to SAP system from backend I am able to login on giving logon credntials.
    Pls suggest what could be the problem.
    Vishal

    Hi,
    Have u tried ny using IP address in the place of host name? If not the please try it.
    If you have alrady done then do the following
    First of all close the NWDS and take the backup of your important projects from workspace. Then delete the .metadata folder from workspace. Now open the NWDS and try to create a new CAF project and try to import again. I think it will work.
    If any issue please let me know.
    Thanks
    Chandan

  • Passing message text from external RFC server into SAP EXCEPTION parameter

    In function module CREDIT_CARD_SETTLEMENT the following DYNAMIC function module call exists:
    ------ Send items for settlement to a RFC function -------------------
        CALL FUNCTION l_fnset
             DESTINATION l_rfcset
             EXPORTING   i_ccseth                = i_ccseth
             TABLES      t_settab                = t_settab
                         t_setexd_h              = t_setexd_h
                         t_setexd_i              = t_setexd_i
             EXCEPTIONS  system_failure          = 01 MESSAGE rfc_msg_text
                         communication_failure   = 02 MESSAGE rfc_msg_text
                         call_function_not_found = 03.
    This is the code which calls an external credit card application server.  I'm trying to figure out how, on the server side, I can return a message into the rfc_msg_text variable on the system_failure or communication_failure EXCEPTIONS.
    I’ve found several examples of this construct in ABAP code in the SAP side – but I can’t for the life of me find anything that shows how to set this up in our external server. 
    There are several SAP function modules like RFC_PING that have similar constructs – but I can’t see the compiled C code to tell what command to use to fill in that text.  I can raise the exception, just not fill in the text.
    Any ideas?

    Hi Eric,
    I do not quite understand the problem.
    Is there an external NON-SAP system, that needs to do the call?
    Within any external SAP system (inside the RFC Function Module) you can raise exceptions in the following manner:
    MESSAGE e398(00) WITH par1 par2 par3 par4 RAISING exception_1.
    Message 398 in class 00 contains only & & & & as text.
    Each & is replaced by par1 through par4.
    Suppose par1='Order' par2='1234' par3='invalid' par4=''.
    Then a message would be build like: Order 1234 invalid.
    This all would reside in the remote called function module.
    When you call this module and after any exception in the call the addition MESSAGE rfc_msg_txt was put, then the variable rfc_msg_txt='Order 1234 invalid'.
    But as already stated before, i'm not quite sure what the problem is. Shed some light to it.
    Greetz,
    Rob.

  • Inbound RFC debugging

    Hi All,
      I am using RFC for updating the table in the R/3 system. The tabel get updated in two steps.
    1.In first scenario, I am using message split, one message is for file and other is for RFC. In this table gets updated correctly.
    2. In one more scenario which is File to RFC in which i am calling same RFC for updating the table with some more data based on the condition.  XI it is showing successfull once the scenario is executed, but the table is not updated with the data.
    But when I execute the RFC in the R/3 it is updating the fields based on the condition. How to trace the error.
    I also following the Michal Blog for debugging.https:///people/michal.krawczyk2/blog/2006/01/17/xi-debugging-rfc-calls-from-the-xi-not-possible-who-said-that-
    Is there any other way to solve the problem.
    Regards
    Prakash

    Hi Prakash,
    for analyzation I would modify the coding of the RFC. I would write the message snet into the LOG.
    There are sample function modules where you can see how to write into the LOG.
    The function modules are starting with BAL_LOG*
    Use Se37 to find appropriate unction modules
    Regards Mario

Maybe you are looking for

  • Installation and compatibility issues with photoshop CS4 - Win 8

    I recently purchased a new computer with Windows 8. I am experiencing issues when attempting to install the downloaded and upgrade copy of photoshop CS4. Initially unpacking the software presented issues, but I believe they've been resolved - specifi

  • Kindle Fire HD / Flash player ????

    I have the brand new Kindle Fire HD...I went to watch a video...it said I needed to download flash player.  Here's what I've done so far: 1) tried to download -  No luck 2) checked for "settings" to enable flash - no "flash" listed 3) changed setting

  • Routing of emails with valid Service Ticket Tracking Text

    Hi Experts, System: SAP CRM 2007 (ERMS) If an email is send to the ERMS system with a valid Service Ticket Tracking Text, based on the rule: If Service Ticket Responsible Is Not Equal To "" Then Route to Service Ticket Responsible ( Route To (On Exce

  • I have Dell XPS (windows 8.1): error: "this program won't run on this pc"

    Greetings, I just purchased a Dell XPS with Windows 8.1. I have tried to load Irfanview, Kompozer, FileZilla, and other software that I have run, most on XP and even on MacOS, but the downloaded software will not run or install on my new Windowx 8.1.

  • Where to buy fans???

    My 1g macbook pro have had some serious noise from the right fan. That's from what i see a common thing. i found one place on the internet where you could buy a repalcement, but thery're ou of stock!!! Does anybody know where to buy one?