Debugging with several RFC hops

I have a central application on system B, which is called from system A. The application needs in addition some special data again from A, so there is an RFC jump back to A ti get the required data,
In short: A calls B, B calls A back to get some data. I' able to set a breakpoint in B, and system stops. After that i'm unable to step into the rfc funcion call back to A, it always executs the FM in one step. Setting a breakpoint in A reveals the Message "Debugging not possible".
Am i doing something wrong or is there really a limit regarding the RFC hops? In this case, one RFC is working, but the second back to A doesnt stop at the breakpoint.
Any idea?

hi ruber
good question
try out like this
core code modification required.
in the standard program
SAPMSSY1(subroutine pool)
In the form you need to insert a code like this.
FORM REMOTE_FUNCTION_CALL USING VALUE(TYPE).
  DO.
    CALL 'RfcImport' ID 'Type' FIELD TYPE.
***inserted
    perform check_for_debug in program XXXXXXXXXXXX.
***inserted
    PERFORM (SY-XFORM) IN PROGRAM (SY-XPROG).
    RSYN >SCONT SYSC 00011111 0.
  ENDDO.
ENDFORM.
and the XXXXXXXXXX program is in turn a subroutine pool
form check_for_debug.
  TABLES: *******.
  SY-SUBRC = 0.
  WHILE SY-SUBRC = 0.
    SELECT SINGLE *
           FROM ******
           WHERE UNAME = SY-UNAME
             AND FNAME = SY-XFORM.
    if sy-subrc = 0.
      do 1000 times.
      enddo.
    endif.
  ENDWHILE.
endform.
And in the z table you can create a 2 fields for which you can maintain table maintenance generator and in that you can add your RFC user.
and in these both systems this is should be maintained
and for this a heavy effort was put up by me
is it ok 4 you
try out
all the best

Similar Messages

  • Default system names for several RFCs in a WebDynpro project

    Hi , I have a doubt, currently I am adding several RFCs to a WebDynpro project , all of them with the same "Default system logical name" for model instances and RFC metadata..
    It is ok to give the same "default system logical name" for all my RFCs" or should I give a different name for each RFC I add to my project ?
    Which way do you recommend to configure all RFCs in my project?
    Thanks in advance....

    Hi ,
    check the below link reg Effective Web Dynpro - Adaptive RFC Models , hope it will help you
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de
    Regards,
    Sunitha Hari

  • Print a JTable with several Header and Footers

    Hi everybody,
    my name is Lothar and I come from Germany. My english is not very well, but I hope you understand me an my problem.
    I want to print a JTable, but I want to print a header with several headers and footers.
    For example:
    h3. Header
    h5. 1. Subtitle
    h5. 2. Subtitle
    Table
    h5. 3. Subtitle
    h5. Footer
    But, I do not know how I can do that. Can anybody tell me, how I can solve my problem. Please, explain for a newbie because I have learned Java since two months ;)
    Here the code:
    import java.awt.*;
    import java.awt.event.*;
    import java.text.*;
    import java.util.Date;
    import javax.swing.*;
    public class Beispiel extends JFrame implements ActionListener {
        private JTable table;
        public static void main(String[] args) {
            Beispiel tl = new Beispiel();
            tl.setVisible(true);
            tl.pack();
        public Beispiel() {
            setLayout(new BorderLayout());
            // DruckButton
            JButton print = new JButton("Print");
            add(print, BorderLayout.SOUTH);
            print.addActionListener(this);
            // Tabelle
            add(new JScrollPane(createTable()), BorderLayout.CENTER);
            // schließt das Frame
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        public JTable createTable() {
            // titel
            String[] title = new String[] { "Datum", "Von", "Bis",
                    "Dauerinsgesamt", "Bemerkung" };
            // daten
            String[][] data = new String[][] { { "", "", "", "", "" },
            table = new JTable(data, title);
            table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
            return table;
        public void actionPerformed(ActionEvent e1) {
            MessageFormat header = new MessageFormat("Header");
            MessageFormat footer = new MessageFormat("Footer");
            try {
                table.print(JTable.PrintMode.FIT_WIDTH, header, footer);
            } catch (Exception e2) {
                System.err.format("Cannot print %s%n", e2.getMessage());
    }

    Nobody?
    Can nobody solve my problem?

  • Tutorial SyBase Unwired with SAP RFC

    Hello everyone.
    Does anybody have a tutorial or books how create project with SAP RFC?
    I need to create a project approval Purchase Order (BAPI_PO_GETITEMSREL and BAPI_PO_RELEASE);
    Thank's.

    Hi Leandro,
    You can refer to the following video: http://www.youtube.com/watch?v=1ZcTJYsPzYQ
    It creates a MBO based on a the standard BAPI: "BAPI_FLIGHT_GETLIST" and then a Mobile Workflow Form.
    Althought version is 2.1 I've runned same test in version 2.0 and it worked fine.
    Hope it helps
    Cheers
    Pablo.

  • I::001 Only available with the RFC library from 4.0C onwa

    Hello all!
    I'm using SAP .NET Connector for integration between .NET application and SAP System.
    When I try to work with standard document bapi methods like  BAPI_DOCUMENT_CHECKIN or BAPI_DOCUMENT_CHECKOUTVIEW, I get an error in out RETURN parameter - I::001 Only available with the RFC library from 4.0C onwa
    Please, help if you know how to solve this issue. Any help appreciated, and thanks in advance for the help.
    Best regards,
    Alex

    Hello,
    Is the function module remote enabled? Check the attributes of the function module, see
    [remote enabled function module|http://help.sap.com/saphelp_nw04/helpdata/EN/22/0425f2488911d189490000e829fbbd/frameset.htm]
    Next step to figure out this problem will be calling the function module remote and debugging it, see...
    [external breakpoints|http://help.sap.com/saphelp_nw70/helpdata/en/af/0cb5403fd63426e10000000a1550b0/frameset.htm]
    Regards,
    Marcel

  • Dynamic JCo Connection with Adaptive RFC Model 2

    Hi gurus,
    I'm trying to dinamically change a model data connector inside my web dynpro. I'm using an Adaptive RFC Model 2 to communicate with the R/3 backend. I've found that is possible to change the connector modifiyng the code inside the web dynpro. In detail I've found this example:
    IWDDynamicRFCModel model1 = (IWDDynamicRFCModel) WDModelFactory.getModelInstance(Model1.class);
    I put this code into wdDoInit method but I get the following error:
    "<comp_name>.wdDoInit failed to create or init instance of model 'model_name' in scope NO_SCOPE with instanceId 'null'"
    Furthermore I've used the deprecated Adaptive RFC Model and when I instantiate a model, ModelName m=new ModelName(), I see that the methods m.setJcoClient(client) and m.setSystemName(systemName) are visible, while when I try to do the same with Adaptive RFC Model 2, with my model m, the methods before there aren't.
    So this is my question: is it possible to change data connector dinamically with Adaptive RFC Model 2?
    Thanks a lot

    Dear Lukinho,
    You may try this ;
    try {
    IWDJCOClientConnection clientCon =  WDSystemLandscape.getJCOClientConnection("<name of the JCO connection>");
    String clientName      = clientCon.getClientName();
    String lang          = clientCon.getLanguage();
    String passowrd          = clientCon.getPassword();
    String sysID          = clientCon.getSystemIdentifier();
    String user          = clientCon.getUser();
    //etc...
    } catch (WDSystemLandscapeException e1) {
    // TODO Auto-generated catch block
    e1.printStackTrace();
    I got this code from the thread   [Multiple Client Logon in JCO   |Re: Multiple Client Logon in JCO;
    Also have a look at this thread
    [JCo Destination   |Re: JCo Destination;
    Hope it helps!!
    Warm Regards
    Upendra Agrawal

  • Several PR clubbed to one PO but with several Item lines?

    Hello SAP gurus
    Is it possible to merge several Purchase requisitions in APO into one Purchase Order but with several item lines in ECC?
    If I have 50 PR in APO and CIF them to ECC, I want them to show as one PO with 50 item lines in ECC.
    And I also need to know if it's possible to transfer PR from APO to ECC and set it to "blocked" before it is "approved" in ECC.
    Like an approval workflow would work in MRP.
    I would jump for joy for some answers.
    Christina

    Hi
    It is possible. Please try the below steps.
    1) Create the PO manually with the total qty of both PR.
    2) Go to the delivery schedule tab and there is button to split the delivery scedule, select and split with the required qty
    3) Assign the relevant PR to the respective schedule line.
    Also you can use the option suggested in the previous message.
    Now the PO will have 1 line item but 2 schedule lines
    Hope it helps.
    Thanks / Karthik

  • Debugging with Subpanels

    I am building an application that uses two subpanel controls in its front panel. The main purpose of these is according to the logic of The LabVIEW Style Book: simply to reduce the complexity of the Main VI's block diagram, to keep it at least somewhat readable and manageable.
    The program runs fine, but is beastly to debug for several reasons:
    1. There seems to be no way whatsoever to use debugging tools on a VI running inside a subpanel. At least, LabVIEW has resisted every effort on my part to open the block diagram of a VI running in this matter. Am I right? Or is there some way to do it anyway.
    2. Is there some way, through the use of clones or whatever, to allow a subpanel to operate even if its VI is already open in the editor?
    3. If my program crashes or I have to use the abort button, the VIs running in the subpanels do not stop! And next time I run, I will see the message, "LabVIEW: The VI is not in a state compatible with this operation. Method name:  Run VI." This gets really tedious and annoying. I wonder, is there a way, as my program starts a second time, to have it hunt down and kill any previously open or running instances of those VIs?
    Dear designers of LabVIEW, if you're listening: subpanels are great idea for program cleanliness and organization. But the need to use VI Server to set them up is terrible! Too much machinery required, and too hard to debug. Please, could we have a simpler, cleaner mechanism for the case of subpanels that only ever run one VI?
    Ken

    Hello,
    In regards to:
    1) I have found that putting breakpoints in the subpanel code will make the block diagram appear separate from the instance of the subpanel
    2) This I have not been able to do, which is why the above workaround was used
    3) You can use Application.All Vis in Memory property node to find those VIs, recursively get the references to them and them use the Abort Method upon them. We've built an "Abort all runing Vis'" program that we just keep on the desktop for this purpose (again only for Abort cases). I have also created a LV2 stop global that I can call on program start, which would stop all Vi's into which it is incorporated. A little extra work, but it helps a lot.
    -Mello
    Data Science Automation
    CTA, CLA, CPI
    SHAZAM!

  • Debugging with iPlanet

    Has anyone been able remote debug with JDeveloper 3.1 and iPlanet 4.1? In order to enable JSPs on iPlanet, I had to point iPlanet to the JDK that comes with JDeveloper.
    If anyone could tell me how to configure iPlanet and JDeveloper for this, I would appreciate it.
    Thanks,
    Chris
    null

    I don't have an iPlanet installation here to try this with, however the iPlanet documentation must include information for how to support remote debugging.
    JDeveloper's remote debugging supports both JPDA (Sun's standard for remote debugging, it's an add on component of JDK 1.2.2 and built-in starting with JDK 1.3). as well as OJVM protocol (Oracle's VM specific extensions).
    I'd find out from the iPlanet documentation how to allow a JPDA debugger to attach, and then just let JDeveloper use the standard JPDA mechanism to get this to work. This works on Tomcat, Apache JServ, as well as many other envionments (I debug my Java application on my Linux machine from JDeveloper on my WinNT desktop)
    Hope this helps,
    Rob
    null

  • When I click on the - fire fox disappears from the task bar; it is still open but gone from the task bar, if I click on any icon it opens a new Firefox window, I end up with several windows open but none on the task bar.

    Question
    When I click on the - to minimize fire fox, it does not close the window but the firefox icon disappears from the task bar; it is still open but gone from the task bar, if I click on any other icon it opens a new Firefox window, I end up with several windows open but none on the task bar.

    Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test to see if that helps.
    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.<br>
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • When initiating an e mail to someone with several addresses used in the past the one I use most often does not come up in the first position.  How can I get these multiple e mails prioritized?

    When initiating an e mail to someone with several addresses used in the past the one I use most often does not come up in the first position.  How can I get these multiple e mails prioritized?

    We are talking about the Mail app, right? In the Mail menubar, click on Window and then Previous Recipients:
    That eliminates the previous recipients. If you are talking about the suggestions because there are 10 people with the name 'Steve' in your Contacts, then I do not know how to eliminate those unless you change the name slightly or wait until you type the last name or some other differentiator.

  • Sharing Itunes Library with several users on the same computer

    Hi,
    I'm trying to share the iTunes library on a SP2 system. I placed the Itunes folder on a partition and setted iTunes to use this folder in each user account but...
    When one add musics to the library, thoses musics are not visible once switched to another user account.
    How to really share the same library with several user accounts one the same machine ?
    Thanks

    Note that Otto42's post is from March 2006. This is way before iTunes 7, which allows you to move the iTunes folder.
    His steps will work but are much too involved and unneeded.
    Rather than using TweakUI (and possibly messing up something), just move the entire iTunes folder to a shared directory and hold Shift when starting iTunes, then select Choose library and go to the iTunes folder.
    All changes made by any user will be to all users.
    Note that only one user at a time will be able to access iTunes.

  • Computer won't start up after recent version of mountain lion.  My power Mac was running extmely slow this morning, so i shut down to restart.  As it is starting the screen goes black, says something about debugging with the word panic in parentheses. was

    I upgraded to latest version of mountain lion yesterday, this morning my power Mac was running extremely slowly (while typing, had to wait a second or two for words to appear), I shut down to see if problem would clear up.  When starting up, screen went black with programming jargon, something about debugging with the word panic in parentheses.  Screen then goes back to gray, says Mac encountered a problem and has to restart once I push a key.  Apple logo comes on gray screen, icon keeps circling and nothing happens.  This has happened three times in a row after shutting down and trying to restart.  Any thoughts?

    When verifying disk, said could not repair disk, back up as many files as possible then re format disk.  Computer now doing Internet recovery. Should I. Do the following in this order
    1 restore from back up on time machine
    2 re install osx
    These are the options coming up on osx utilities window

  • I am feeling so ripped off right now. I have wanted a Mac for years and believed the hype about it's stability and I have had more trouble with this Imac 2011 than I have ever had with a pc. It locks up with several software products from APP store.

    I am feeling so ripped off right now. I have wanted a Mac for years and believed the hype about it's stability and I have had more trouble with this Imac 2011 than I have ever had with a pc. It locks up with several software products from APP store. I have already had to have a technician to look at it and really couldn't figure out what the deal was.  I was told that the APP store software should give me no problems but the truth is that it locks up on the software. This machine is only 4 weeks old and I am using 37 g on a 1 T hard drive. There is no reason for it to be locking up. Also, when I try to use the help program, it always tells me that I am not connected to the internet even though I have used both the mail program and the browser with no problem just before that. I successfully used the help program on my pc lots of times. I did not need a $2000. plus machine to just get email. I just wanted to unload on somebody that might understand my pain and after checking out this site...I think there is a few of you out there.

    I was told that the APP store software should give me no problems but the truth is that it locks up on the software.
    The apps downloaded from the Mac App Store are written by third party developers, not Apple. If you have problems  with those apps you need to visit the support area for their websites. Launch the App Store, locate the app name. You should see a support link.
    when I try to use the help program, it always tells me that I am not connected to the internet even though I have used both the mail program and the browser with no problem just before that
    Go to ~/Library/Preferences. Move the com.apple.helpviewer.plist file from the Preferences folder to the Trash. Restart your Mac, try the Help menu.
    If you need help finding that file, hold down the Finder icon in the Dock then click: New Finder Window. From the menu bar top of your screen click: Go > Go to Folder. Type this in exactly as you see it here:   ~/Library/Preferences/com.apple.helpviewer.plist    That will take you right to that file.
    (.plist) files stores information about a particular app or in this case, the Help viewer. Often times deleting the .plist file resolves the issue.
    It's fine to "unload"... we understand that you expect your iMac to be stable but there are times when things go awry. That's why we have these forums so that you can you get help.
    You may want to read up on how to repair the disk if necessary or reintsall Lion >  OS X Lion: About Lion Recovery
    Apple - Find Out How - Mac Basics
    How to "switch" from PC to Mac >  Apple - Support - Switch 101
    I'm sorry you feel, "ripped off", but you are using the world's most advanced operating system and it may take some time to adjust to a new OS.   http://developer.apple.com/technologies/mac/

  • I am on a shared computer with several profiles.  I had to delete my profile and create a new one.  Now, my question.  It transferred to Purchased Items to the new iTunes, so how do I get the rest of the songs to transfer to new iTunes?

    I  am on a shared computer with several profiles.  I had to delete my profile and create a new one.  Now, my question.  It transferred to Purchased Items to the new iTunes, so how do I get the rest of the songs to transfer to new iTunes?

    It sounds like you might have broken links to your content. Either repair these by putting the files you've recovered where iTunes expects to find them or delete the broken entries then go to iTunes Store > Purchased > Music > Not on This Computer, and click the download links.
    If you have an Apple device see also Recover your iTunes library from your iPod or iOS device.
    tt2

Maybe you are looking for

  • Complex structures in Sender File adapter

    Hi Experts I am working on XI 3.0 SP 22. How do we handle the complex structures in sender file adapter in file content conversion. Please help me out. Regards Hari

  • Graphite Airport with new MacBooks and MacBook Pros

    We have a mobile lab that is using some old dual USB iBooks with a graphite airport base station. The iBooks are connecting to the base station without a problem and getting on the internet. In the next room over, a teacher with a MacBook is trying t

  • MobileMe Log in help

    I am having issues logging in to MobileMe on my Macbook Pro.  When I open my system preferences and click on the MobileMe icon I am prompted to enter in my log in.  I enter my @me.com email as the ID and my password in to the MobileMe , it pops up "U

  • Reconciliation Workflow

    Does anyone have a sample of a reconciliation workflow they can share? We need to run recon against AD and remove a role from a lighthouse account if the user is not found in AD. Any help would be appreciated.

  • Whre to install bootcamp 2.1 ?

    where do I install bootcamp 2.1 on the pc side or the mac side ? I comes dl'd as an exe file This is what throws me off. does bootcamp now go directly to pecee or do I still as with the beta versions need to install on the mac side and then burn cd's