Debug R/3 FM from Portal

Hi,
I have a FM(1) which is called from a FM(2), which is remotely enabled. This remotely enabled FM(2) is called from a portal application. I can not able to debug my FM(1). I enabled external debugging and kept a HTTP breakpoint. But not working. Any clues please let me know.
Thank you,
Surya.

Hi,
Check out below procedure,
To debug in the Web,pls refer the foll steps:
-->Goto transaction SICF.
-->Select service
-->Change service settings and insert parameter ~GENERATEDYNDPRO=1.
-->Find program to debug. E.g. SE93. Enter bbpsc01 à Display and get Program field (SAPLBBP_SC_UI_ITS)
Execute SE38 and enter program name.
-->Turn HTTP Debugging ON. Utilities-Settings-Debugging. Click Actv and username.
-->Add HTTP Breakpoint. Display source code and select Utilities-breakpoints-set.
On “External Debugging” select ‘HTTP Breakpoint’.
-->Remember to remove breakpoints, deactivate debugging and remove parameter GENERATEDYNPRO.
Can run program RSBREAKPOINTS to find which programs you have breakpoints set in.
Regards,
Amit R

Similar Messages

  • Debug ECC 4.0 from Portal- need to put External debugger

    Hi,
    Can anyone who was earlier working in ECC 4.0 tell me how to add an external debugger or debug Smartform from Portal.
    External debugger is an easy option when it comes to ECC 6.0 but there is an issue for which i need to debug ECC 4.0 and i can't find Ext. debugger icon in the Function tool bar.
    Things i have tried till now:
    1. Even master weapon <Do ...enddo- sm51> didn't work
    Thanks,
    Rohan

    (sorry for the double answer. Klaus managed to post just before me :=)
    Hello Deep,
    check out help.sap.com, http://help.sap.com/saphelp_nw04/helpdata/en/cd/8a424089ff2571e10000000a155106/frameset.htm
    In addition search the forum for similar questions, there are quite a lot of good answers in the threads.
    regards,
    Jørgen
    Message was edited by: Jørgen Ruud

  • Debugging the webdynpro abap application from portal.

    I  developed a  WebDynpro  application and integrated in portal. I have to catch some portal events.For that i have written some code in my application. I tried to debug the application from portal  by using all the available break-point types.but we could not .
    Anybody have an idea how to debug a WebDynpro  application from portal.
    Thanks,
    Kumar.

    Hi
    Few links to check:
    External debugging is not working
    Re: Debugging Abap webdynpro appln
    Re: Unable to Debug WD ABAP application
    Dedug is not working in Production Server.
    a) Check on number of R/3 sessions opened at a time.
    b) Check that user ID configured in portal using System Mapping Under 'Delegate User Administration' is the same user for which you are setting external breakpoint in backend system.

  • SAP SRM error when debugging from Portal

    Hi,
    I have put an external debugging point in the backend SRM system and trying to process the Shopping cart from portal. It is giving an error message at the statement where I have put the debug point.
    The error message which I get in st22 is:
    The ITS service "bbpsc02" failed since not template could be found for    
    the screen with the number 131 in the program "SAPMSSY3".                                                                               
    The template was searched in the following ITS services:                  
    "BBPSC01"                                                                               
    Note that for language-dependent templates the language is included       
    in the search.                                                            
    Could you please tell me what should I do for enabling teh debugging from the portal.
    Regards,
    Ravi G
    Edited by: Ravi Kumar Gunda on Jul 21, 2009 5:32 PM

    Hi,
    There is an error in the publishing of template
    Template :"bbpsc02" is not publised in ITS.
    Go to T.code: SE80
    Publish all the templates again and check
    Check with your SAP  BASIS team for the help
    Regards
    Ganesh

  • Debugging from Portal

    Hi,
    We access SRM screens via portal in QA system. We have one issue in contract form. Can I debug the smartform function module from Portal? I kept a cursor in function module and tried. But the portal didnt reach the break-point. But in development system, I could debug.
    Can anyone tell me is it possible to debug from Portal content to SRM gui?
    Thanks in advance.
    Regards,
    Nowsath

    debugging for SAP gui of SRM can be done from ITS templetes of diff services.
    not sure from portal.
    BR
    Dinesh

  • Break points are not triggering in RFC from portal application

    Helllo,
    I am running Biller Direct application from portal, which is triggering a standard SAP RFC FM back end, am trying to debug my execution from portal, for this i put the External Break point, Session break-poiint at the beginning of this SAP RFC FM, but, its not stoppping at ll, here the user is a Web user, not dialog user.
    How can i stop my execution in this SAP RFC FM to check how the structures are populated?
    Thank you

    Hi Raju,
    Please try the below way and check if it works.
    Open the RFC in R/3 i.e.
    SE37 -> give FM NAME -> DISPLAY.
    Click on UTILITIES -> SETTINGS -> CLICK THE TAB debugging.
    In the screen against the field users : give the value 'WEBLOGIN'.
    Uncheck the FLAG 'IP MATCHING'.
    And at the bottom check the check box against the field
    'Session Break Point Activate Immediately'.
    Save these settings.
    Then go to the line at which you want to debug the code and put an external break point over there.
    But, please take care of one thing as we are giving it as a WEBLOGIN, when ever some logs in, it will reach the brteak point and stop there. We have to click F8 to continue. Or else, the portal will be hanged for them.
    Thanks & regards,
    Y Gautham

  • Reg time updation in helpdesk application from portal into r/3 table.

    hi all
    i had a scenario regarding help desk tickets which are raised from portal.
    Before going for my question i would like to explain my scenario.
    this is related to tickets raised by employees from portal,actually this is business logic is designed in ABAP and presentation logic in web dynpro java.the thing is the inputs which is entered by (MEANS TICKETS fields)employee its getting updated properly some times and some time its not updating the time fields it is just give 00:00:00,some with name field also.this data is updated into one table in abap.
    next when the manager approves the leave for certain date at that time it is not taking the updated time from the manager.
    this time fields are taking time automatically from system itself.
    if i want to check this code in WD java which is developed locally we are not having application .that zip file is not available.the application is running depending on the .ear file which is already deployed on j2ee server.
    Now if i want to make this application run properly,with getting updated all  fields properly.as the application is not available i unable to proceed what to do,could any  one please share there ideas on this scenario
    please provide me solution for this.
    regards
    Deepikam
    Edited by: deepika_indian on Dec 28, 2009 7:43 AM

    Hi,
    This error might be of two reasons...
    1. There might be a validation/ logic problem in the front end (web dynpro java)...
    2. There might be a logic problem in the back end program.
    As you cannot check the front end program, do one thing. try executing the scenario in the development box and ask your abaper to debug the execution. So that if there is any logic problem you can find that out...
    If you are sure that there are no problems from the back end side, only option left out is Creating front end program again....
    If you are going to re code your WDJava application, at least this time make sure that you create DC (but not local applications) and back up your application...
    Regards,
    SrinivaS

  • WD Java Remote Debug problem: Release Process from debugging

    Hi Community,
    when I used to debug Web Dynpro Java from the SAP Developer Studio (eclipse) to a remote host (Portal AS NW Java), it works fine for the first run. After disconnecting the remote debug session (server0), I changed the coding and try to debug again with the effect that the old coding is still used from the server process (server0) even though the parameter "Create and Deploy archive" is set (enabled) in the debug configuration. Furthermore the funktionality of "Relase process from debugging" option in the J2EE Engine dosn't react / work.
    I think that the debug session is still running and the Developer Studio is not able to send any "Kill" statement to the server process for ending this session.
    I tried following:
    A. Rebuild Project and Deploy the archive on the "normal" way
    B. Reopen the Developer Studio itself
    C. Start the Project in debugmode again and chose the option "Terminate All"
    ...all without any success.
    The only way is to restart the whole server process server0 again with the same trouble after the first debug.
    Did any of you have a clue or experience to clear or kill the debugsession from the process so that next debugsessions can be started, please reply.
    Thanks
    Used Basic Manuell
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/849170e3-0601-0010-d59e-ddfce735fac5

    So, I'm having the same issue, but it's like I'm chasing down a port. The first time I got these error messages
    Connecting to the database DEV.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP( '555.12.18.288', '5950' )
    ORA-30683: failure establishing connection to debugger
    ORA-12535: TNS:operation timed out
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    Process exited.
    Disconnecting from the database DEV.Our network staff found a bunch of other denials in the firewall logs
    /5185
    /5200
    /5236
    /5815
    /5950 Now that they've those allowed, I tried to start debug again, and this time I got
    Connecting to the database DEV.
    Executing PL/SQL: ALTER SESSION SET PLSQL_DEBUG=TRUE
    Executing PL/SQL: CALL DBMS_DEBUG_JDWP.CONNECT_TCP('555.12.18.288', '6266' )
    ORA-30683: failure establishing connection to debugger
    ORA-12535: TNS:operation timed out
    ORA-06512: at "SYS.DBMS_DEBUG_JDWP", line 68
    ORA-06512: at line 1
    Process exited.
    Disconnecting from the database DEV.What gives? Do I just keep trying until I get all of the ports allowed?
    Thanks,
    ---=Chuck

  • HTTPS connection from portal to external webserver

    Hi,
    I am looking for a way to open a HTTPS connection from portal server to an external webserver. According to <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e2/71c83edf72e16be10000000a114084/content.htm">SAP</a> the code should look like
    KeyStore keystoreCAs = ...
    SecureConnectionFactory factory = new SecureConnectionFactory(keystoreCAs, null);
    HttpURLConnection con = factory.createURLConnection("https://www.mycompany.com");
    Does not look difficult, <b>but how do I create the keystore object</b>? The keystore object should somehow be connected to the portal server's keystore which manages the certificates of trusted Certificate Authorities.
    Any ideas?
    Regards,
    Martin

    Hi,
    meanwhile I solved the problem by my own. The solution slightly simplified is given below.
    javax.naming.InitialContext ctx = new javax.naming.InitialContext();
    java.lang.Object o = ctx.lookup("keystore");          
    com.sap.engine.services.keystore.interfaces.KeystoreManagerWrapper_Stub manager = (com.sap.engine.services.keystore.interfaces.KeystoreManagerWrapper_Stub) o;
    java.security.KeyStore keystoreCAs = manager.getKeystore("TrustedCAs");     
    com.sap.security.core.server.https.SecureConnectionFactory factory = new SecureConnectionFactory(keystoreCAs, null);
    java.net.HttpURLConnection con = factory.createURLConnection("https://www.mycompany.com");
    For connecting via a proxy the host name and port number of the proxy have to be set as System properties using "https.proxyHost" and "https.proxyPort".
    java.util.Properties systemSettings = System.getProperties();
              systemSettings.put("proxySet", "true");
              systemSettings.put("https.proxyHost","192.168.0.1") ;
              systemSettings.put("https.proxyPort", "80") ;
    Additionally you have to make sure that the server's certificate is issued by a trusted Certification Authority (Must have an entry in your Keystore "TrustedCAs"). To verify this use the Visual Administrator and view service "Key Storage".
    Regards,
    Martin

  • How to access a  web service(.wsdl) from portal component.

    Hi ,
    Is there any document/tutorial available on how to access a webservice from portal component ?
    I have found this linkhttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/g-i/how to access a web service.htm...
    but the urls in the link are not working...
    i want  to know the steps to access webs service and sample code if some body has already done that..
    Thanks for the help.
    Lakshmi

    Hi Lakshmi,
    See the links below:
    http://help.sap.com/saphelp_nw04/helpdata/en/f0/581140d72dc442e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a3/918340d990ce62e10000000a155106/content.htm
    Hope this helps.
    Regards,
    Pooja.

  • Access to Entity Service from Portal Application

    Hi Experts,
    I have a hybrid application which will be making use of both Web Dynpro and Portal Applications. I decided to use Entity Services to store my back-end data and can access it fine from the Web Dynpro project. I have included the public part of my CAF project into the Used DCs of my Portal project and while I am able to call the methods of the Entity Service at compile time, at runtime I receive an error message on the page:
    An exception occurred while processing a request
    I know in order to get this to work for Web Dynpro I had to include sap.com/tccolapi.sap.com/cafruntimeuicouplingapilib as a Library Reference and a few Used DCs, but while I have added the Used DCs to the Portal project, I am unsure of how to add the Library Reference. I assume this has to be added to portalapp.xml, but I don't know the syntax.
    Could somehow please reply with how to do this and whether this is all that is required in order to call Entity Service methods from Portal applications?
    Thanks,
    JP

    Hi Smith,
    Write click on the Project then goto the Properties=>Webdynpro References=>Library references
    add
    caf/eu/gp/api
    sap.com/cafruntimeuicouplingapilib
    And add the following DC in your project.
    1> External in caf/eu/gp/api (CAF domain)
    2> caf/eu/gp/api/wd (CAF domain)
    3> com.sap.security.api.sda (SAP-JEE)
    portalapp.xml
    <?xml version="1.0" encoding="utf-8"?>
    <application>
    <application-config>
    <property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal, SAPJ2EE::library:cafeugp~api"/>
    </application-config>
    <components/>
    Check this thread .
    Using CAF GP API in Portal Application project
    Regards,
    Mithu

  • SSO to external website from portal

    We want to do a single sign on to an external website (non-sap). I know for SAP we can do a logontickets. But for non-sap external websites are there ways to do a SSO? Please help.

    please don't cross-post, see SSO to external website from portal
    kr, achim

  • Get date from portal in a web dynpro?

    hi all,
    how get date from portal in a web dynpro???
    thanks.

    new Date(System.getTimeInMillis());
    Good luck, Roelof

  • Null entry (from portal webdynpro)  is not getting updated in R/3?

    Hi Gurus,
    I have a webdynpro application which has user input field where in which user can pass the data and it will get updated once user hit the update button in the view.
    But in some case if user don't enter any value in the above said input box it has to update the r/3 with the blank entry.
    But in my case r/3 system refers the value (which is passed from portal last time) instead of blank entry?
    How to overcome this problem.
    More detailed way:
    If user don't enter any value in the input box then R/3 record has to be updated with the blank entry
    else
    whatever the data user enters in the particular input it has to be updated the r/3 with that value.
    Right now If i pass some value in the input box it properly getting updated in r/3 but next time if I pass the blank entry in the input box it has to update the r/3 with this blank entry (as per the requirement)
    But its not happening like that it referring previously entered data.
    Please help me
    Thanks in Advance
    Dharani

    Hi,
    Suppose you are using a function Module X  which takes input "empno"  ..., and exports name, city , rcode
    Go to se37 ,  check the code ....it can be like this ...
    if empno = .... then
    update .......
    // updated
    else
    // not updated ........
    end if .
    if updated ... u will observer 0 else some other number say 4.
    Now when u  do modelling in your webdynpro application , u can find export parameters know..
    now u can check ...if rcoe = 0 ..updated else ...not updated ...
    by that u can know...
    Thanks,
    Srini

  • Upload Excel File from Portal (R/3 working fine)

    Hi Experts!!
    We have a report in which we are uploading an excel file from presentation server into an itab. When F4 clicked for file path, browser will open for choosing the path. Now, we have created an iView in Portal for this t-code. However, F4 is not working from Portal, rather giving an error 'Please wait. You will be forwarded automatically. This page had to be included for technical reasons.'.
    We need to upload excel file even from Portal too. Can somebody please give me some inputs or suggestions?

    Hi Jigar,
    Now I am able to get into SAP screen. However it's not opening the t-code that I mentioned. I gave some Z t-code ZTEST. Once I check the iView, it is showing SAP screen with the below things:
    Service Type:
    Service ID:
    TCode: ZTEST
    Object Type:
    Key:
    Field 1:
    Val. 1:
    Field 2:
    Val.2:
    Field 3:
    Val 3:
    And at the bottom it's giivng a warning message:
    Object type or object does not exist
    Message no. 1W001
    In iView properties I can see Object Type as com.sapportals.portal.iview. Is this the same Object Type that the message is talkign about? Can you please help me out?

Maybe you are looking for

  • Set and Get parameters using SAP memory.

    I have an ALV grid list that I want to transfer to a detail report when the user doubleclicks.  I have set up a parameter transaction associated with the detail report.  My problem is the transfer does not take place.  After the "CALL TRANSACTION" th

  • Does anyone know when Siri location services will work in the UK?

    I really like the iP4S, and perhaps moving to it from a Blackberry. However, one of the key features of the 4S is Siri and the last time I checked, it didn't have the "there is a pizza place within 5 miles from you" type service. I know it's in beta,

  • Photoshop cc will not open on my creative cloud??

    Hi I was having no problems with opening photo shop on CC, but now all of a sudden I cannot open it?? just nothing happens, I can open bridge though this is fine. Any help, much appreciated! Deborah

  • Inline footnotes in InDesign CC 2014

    In InDesign CS6 there was an easy way to make short footnotes as inline (run-on) footnotes. Increase its first-line indent of the second footnote, and set its leading to zero. I went from CS6 to CC 2014 and I have a problem with inline footontes. Now

  • SQ01 Queries; Any rules / Coding posssible?

    Hi, I must make a query and want to use TX SQ01. When I join the 2 tables I have the issue that the link field has a leading zero in one table and without leading zero in the other table. So the join will not work. I am wondering if there is any opti