2004s Java Web vs. ABAP Web Problem

Hi, I have a BEx Query that outputs a time field.  I'm using this time field to display an actual duration of how long something took to run.  Example:  HH:MM:SS  (I know it can't be over 24hrs in time)
When I execute the report using ABAP Web it is appearing as I would like, but when using JAVA Web it's showing up wrong.
ABAP Web Shows 00:00:30 for 30 Seconds
JAVA Web Shows 19:00:30 for 30 Seconds.
By default the Query builder executes the JAVA Web so I'm only seeing the incorrect results.  Any ideas what would cause this and/or how to get Query Builder to execute the ABAP Web?
THanks!

Murray,
could it be that the WAS JAVA is showing the time of completion for the same ?
Arun

Similar Messages

  • Web Dynpro ABAP == Web Dynpro Java

    Hi Gurus,
    I've written a Web Dynpro Abap Application to maintain CRM Opportunities, working with Transaction-ID and everything (read&write) works fine.
    Now, I'd like to write the same Application in Web Dynpro Java.
    I'm quite new in WDJ and thus would like to have some good Howtos & Guides (using the NWDI, CMS, CBS & DTR on a remote J2EE Engine) - e.g. how do I get information out of FMs I used in Abap, like CRM_ORDERADM_H_READ_OB when writing code in Java?
    Thanks in Advice,
    Farid
    (help will always be rewarded)

    Hi,
    I've deleted the model, restarted the j2ee engine, created a new model in a new package, importet Z_R_CRM_ORDER_SAVE an get the following message:
    [code]
    [Warning]:     Creating a connection with Metamodel language <en> failed.  Continuing with language <DE>
    [Fatal]:     com.sap.mw.jco.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx
    [Info]:     Creating Model: MyNewModel
    [Info]:     Creating Model Class: Z_R_Crm_Order_Save_Input
    [Info]:     Creating Model Class: Z_R_Crm_Order_Save_Output
    [Info]:     Creating Model Class Property: Cv_Log_Handle
    [Info]:     Creating Model Class Property: Cv_Log_Handle
    [Info]:     Creating Model Class: Crmt_Exception
    [Info]:     Creating Model Class: Balmsghndl
    [Info]:     Creating Model Relation: Crmt_Exception:Msg_Handle
    [Info]:     Creating Model Class Property: Log_Handle
    [Info]:     Creating Model Class Property: Msgnumber
    [Info]:     Creating Model Relation: Z_R_Crm_Order_Save_Output:Et_Exception
    [Info]:     Creating Model Class Property: Guid
    [Info]:     Creating Model Class Property: _Class
    [Info]:     Creating Model Class Property: Code
    [Fatal]:     java.lang.ClassCastException: com.sap.dictionary.types.mdi2metamodel.model.SimpleType
    [Info]:     Creating Model Class: Crmt_Return_Objects_Struc
    [Info]:     Creating Model Relation: Z_R_Crm_Order_Save_Output:Et_Saved_Objects
    [Info]:     Creating Model Class Property: Guid
    [Info]:     Creating Model Class Property: Object_Id
    [Fatal]:     java.lang.ClassCastException: com.sap.dictionary.types.mdi2metamodel.model.SimpleType
    [Info]:     Creating Model Class Property: Iv_No_Bdoc_Send
    [Info]:     Creating Model Class Property: Iv_Save_Frame_Log
    [Info]:     Creating Model Class Property: Iv_Update_Task_Local
    [Info]:     Creating Model Relation: Z_R_Crm_Order_Save_Input:Output:Z_R_Crm_Order_Save_Output
    [/code]
    and same problem as discribed above (no IT_OBJECTS_TO_SAVE etc.), even after restarting the j2ee engine a second time after importing.

  • Report Result differs between Java Web and ABAP Web

    Hi Experts,
    We have a BW Report in BI NW 7.0.  When we run the report in Bex (ABAP Stack) or ABAP Web the default results are different from the Java Web Results.  There are no selection differences.
    Please help me if I miss any settings or any corrections required.
    Thanks in advance.
    Deepthi.

    Hi,
    The function Calculate Results as ... could not be applied everywhere.
    Recalculation of a resutls row is always based on the amount of detail cells subordinate to this cell, which is the finest details of a drilldown. It is not possible to recalculate resutls in hierarchical lists. This means that calculation of a results cell is not performed if a row or column with an expand symbol is subordinate to it. With recalculation, the newly calculated result has to change with each expansion of a node subordinate to it. This is not supported for technical reasons and would only confuse the user.
    Note, however, that Calculate Results as -> Suppress Results is always executed, because the problem above does not apply in that case.
    Notification Number BRAIN 141
    Please refer the notes
    Note 1071067 - "Calculate Singlve Value as" in list without drilldown
    Note 997421 - Calculate as 'Supress Result' on hierarchy nodes
    Note 857895 - 'Suppress results' for the display hierarchy
    Note 853058 - Calculate Results/Single Values as ... priority rules
    Hope this helps.
    Regards
    Srikanth

  • Different behaviour of F4 searchhelp BADI in Java Web and ABAP Web

    I implemented the Badi RSR_VARIABLE_F4_RESTRICT_BADI to restrict the values in the F4 search help of variables in a query.
    When executing the query in ABAP Web or in the BEx Analyzer in Excel everything works fine.
    The variable popup shows up and when I hit F4 on a characteristic it jumps in the code once and determines the values I want to see
    BUT: When I execute the same query in Java Web runtime, the Badi is executed 6 (SIX) times before even displaying the variable screen Anyone has got an idea?
    As I am determining the results in the search help depending on transactional data in a cube it's a big mess when executing this piece of code 6 times even if I do not need it at that stage.....
    As a small workaround i created a constructor for the implemented class, as this is only called once at runtime, but this cannot be the solution.

    Hi Stefan,
    Have a read of this article:
    http://sapdiary.com/index.php?option=com_content&view=article&id=12787:restricting-the-value-help-in-the-variables-screen-of-a-query&catid=81:data-services&Itemid=81
    Also double check you are honouring the spirit of all the input parameters.
    The symptom you describe occurred in the older solution using a customer exit (function module) when the "Variable Name" parameter was used incorrectly in the code, hence it did not behave as the API expected.
    When you have it in debug mode and are looking at all the available variables in memory (global and local) do any of them change between the six calls?
    Hope this helps,
    John.

  • Question about meta-data of Web Dynpro ABAP / Web Dynpro Java

    Hello together,
    everywhere I can read, that Web Dynpro meta-data is platform independent.
    I´ve read into a book, that the meta-data of Web Dynpro Java is saved as XML and
    that Web-Dynpro Java Runtime generates runnable classes and sourcecode out of this...
    - What about Web-Dynpro ABAP? Is Meta-code in ABAP is saved in XML too?
    - just for theory: is ist possible to take the meta-data of a Web-Dynpro ABAP component and
      generate a Web-Dynpro Java Component out of this?
    I tried to find it out but i failed... In table WDR_RR_LOAD (is this the right one?) I found only the
    field data. But this is a RAWSTRING and I don´t know how to make I "readable".
    I must know this for my thesis for my studies, not for work.
    Thank you very much !!!!
    Greetings,
    Oliver

    Me again,
    I am not sure if I understood it right...
    The meta-data which describes the visual part of a view is saved as XML and
    would be rendered i.e. in the webbrowser... Right?
    What about the meta-data of the Web Dynpro application?
    Is this meta-code into an other structure or XML too?
    Thank you very much.
    Many Greetings,
    Oliver

  • SAP Web AS ABAP + Java system

    Hello All,
    I am looking at the installation guide of SAP XI. I did not understand one thing from that guide. it says
    <b>"If you want to install the component SAP Exchange Infrastructure:Prepare the SAP Web AS ABAP + Java system for SAP Exchange Infrastructure"</b>
    I would appreciate if anyone of you can clarify what is <b>SAP Web AS ABAP + Java system</b>.
    What I have been thinking all these days is we could have either Java(J2EE) or ABAP Web Application Server.
    I don't understand what this ABAP + Java system is ?
    Thanks in Advance

    Hi Vanaja,
    in the world of WAS 6.40 you can install it as three variant.
    1. ABAP standalone (with it own SID) e.g. for R/3
    2. Java stanalone (with it own SID) e.g. for EP 7.0
    3. ABAP + Java as an Add in (Java and ABAP has the same SID)
    For XI you have to install a so called double stack WAS 6.40 or SAP Web AS ABAP + Java System or ABAP + Java Add in. All this describe the same variant of the installation.
    Normally you will have one database where J2EE-Scheme and
    the ABAP-Schema is on the same database. I would really
    suggest you to read the installation master SR1 there you
    will get the understanding what is the difference.
    regards,
    Ly-Na Phu

  • BI setup: WebAS ABAP Setting - Java to ABAP communication problem

    Hello,
    i've got a problem during intallation of BI in Netweaver 2004s. The Diagnostics & Support Desktop Tool reports errors in WebAS ABAP Settings. These errors are:
    - "Web Template Validation failed due Java to ABAP communication problem (return code:ERSBOLAP018)"  with the suggested solution "Check Connector Connection of System Object in Portal System Landscape". What does it mean?
    - "Call ABAP->Java for function RSWR_RFC_SERVICE_TEST failed for destination <destination>" and "Call ABAP->Java for function RSRD_MAP_TO_PORTAL_USERS failed for destination <destination>" with suggested solution "Check the data of the destination in transaction SM59. Check that the target host is running and has registered a program id in the gateway." Run of transaction SM59 returns no errors.
    Further i've take a look in the log 'dev_jrfc.trc' and there i found the errors:
    - Exception thrown by application running in JCo Server
    java.lang.RuntimeException: Bean RSRD_MAP_TO_PORTAL_USERS not found on host <host>
    - Exception thrown by application running in JCo Server
    java.lang.RuntimeException: Bean RSWR_RFC_SERVICE_TEST not found on host  <host>
    - Exception thrown by application running in JCo Server
    java.lang.RuntimeException: Bean RSWR_PREEXECUTION_PROXY not found on host  <host>
    Can these errors be the cause of the WebAS ABAP Setting error displayed in the Diagnostics & Support Desktop Tool? How they can be solved?
    Thanks for your help,
    Martin

    Hello Chetan,
    thanks for your response. Maybe i've described my problem not clear enough. There is no problem of installation and usage of support & dektop tool, but of installation of BI. The support & dektop tool indicates the errors described above with no other hints. My questions is, if anybody knows, what is the cause of the errors and what i must do, to install BI correctly.
    Cheers,
    Martin

  • How can I call a java object from Web dynpro ABAP application?

    I made Web dynpro ABAP application and posted it to SAP EP.
    For certain business purpose, we need to call external 3rd party java object using 3rd party's java api in Web dynpro application.
    Is there anybody who experienced this kind of java interface issue?
    I know Web dynpro Java environment can fully support this kind of requirement. but regarding Web dynpro ABAP, I couldn't find any clue for this.
    Any comment or suggestion would be greatly appreciated.
    Thanks,
    Raymond, ABAP Consultant

    if you have jco configured, then you can make calls to java api from ABAP .
    check out this weblog.
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    Raja

  • Error while installing Java on Web AS ABAP on AS/400

    Hi ,
    I am trying installation of Java Add-Ins on Web AS ABAP.
    Installation is being done on IBM iSeries server having operating
    system OS/400.
    But when I am supplying JDK path in setup , It is showing me
    error "Directory given in path is not a valid JDK directory."
    I went through all the relevent notes but it could not resolve the
    problem.
    This error has not occurred while I have done installation on
    development system , And Whole installation has been completed
    successfully on Development system. But on production system it is
    giving this error.
    By going thourgh SAPInst_dev.log, It seems me that It is an error in
    creating a new stub job by TMKSVR.
    Find the following sample log for your reference from sapinst_dev.
    TRACE [synxctask.cpp:345]
    CSyTaskImpl::start(false)
    OS4Trace: "E:\QIBM\ProdData\Java400\jdk14/bin/java" does not exist or
    is no Windows executable. Checking remote iSeries host.
    TRACE [synxctask.cpp:448]
    CSyTaskImpl::start(false)
    OS4Trace: "/QIBM/ProdData/Java400/jdk14/bin/java" is an existing IFS
    object. Creating remote iSeries process.
    TRACE [synxctask.cpp:592]
    CSyTaskImpl::start(false)
    OS4Trace: Could not create new TMKSVR stub job named "java".
    INFO 2006-08-17 14:59:13
    CJSlibModule::writeInfo_impl()
    Execution of the command "E:\QIBM\ProdData\Java400\jdk14/bin/java '-
    version'" finished with status TST_ERROR.
    INFO 2006-08-17 14:59:13
    CJSlibModule::writeInfo_impl()
    Execution of the command "E:\QIBM\ProdData\Java400\jdk14/bin/java '-
    version'" finished with return code -1. Output:
    This is some portion of error.
    Following sentance seems to me , which may be root .
    <b>CSyTaskImpl::start(false)
    OS4Trace: Could not create new TMKSVR stub job named "java".</b>
    And I checked in log files for TMKSVR , There are not stub log files
    has been created for this command. So it seems new stub job is not
    being created.
    I am not able to proceed for installation due to this error.
    Please suggest some solution at the earliest.
    Regards,
    Rajesh Patel
    mail to : [email protected]
    (m) 001-619-886-4149

    Dear, Please check my guide regarding this problem at
    http://scn.sap.com/community/netweaver-administrator/blog/2012/07/12/install-tmksvr-and-create-an-installation-share-for-ibm-as400
    Best Regards.

  • Web Dynpro ABAP - Java stack required?

    Hey everyone,
    We are currently planning an upgrade to ECC 6.0 and Netweaver 2004s. A source of debate during this planning has been whether or not to install the Java stack in our upgraded system.
    I'm an ABAP developer, so I'm really looking forward to using Web Dynpro ABAP. Does anyone know if the Java stack is required to effectively use Web Dynpro ABAP? It seems like the two should be independent...but I just want to be sure.
    Thanks in advance!!
    Chad

    No, you do not need the java stack to run WDA applications.  It runs purely on the ABAP stack.  You can develop your WDA app in SE80 and run it.  It will run in a browser from the ABAP stack.  If you have a portal, then you know that this runs on the java stack.  Also, your portal is probably not running on the same box as your backend ERP system.  If you running a portal, I would suggest installing both the java stack as well as the ABAP stack for you portal to run on.  Then you will be able to use WDA to create applications to run in your portal.
    So to sum up,  the portal runs on the java side, if you have both stacks running under your portal you can development WDA and WDJ applications, which both can run on that same engine.  To answer you question, you DON'T need the java stack to develop and run your WDA application, but if you want it to run in a portal, then you need a java stack to run the portal on top of.  This can be a completly separate box and a standalone java stack.   Did I confuse you even more?
    REgards,
    Rich Heilman

  • Problem with Table display in Adobe Form of Web Dynpro ABAP

    Hi Team,
    I'm trying to display a table in Adobe Print Form (not interactive). The table is bound to the context node in the Web Dynpro ABAP where the cardinality is 0:N. I get a short dump. Don't know what to do here. I'm able to display individual fields from my context successfully. Looks like something is missing when I try to display a table. Any pointers to display a data table in Adobe? Any step by step example you know of where I can find out what I did wrong? Many thanks for your time
    We are on support pack SP06 on 2004S release.
    DUMP INFORMATION:
    Short text                                                               
        Access via 'NULL' object reference not possible.                 
    What happened?                                                           
        Error in the ABAP Application Program  The current ABAP program "CL_WD_ADOBE_SERVICES==========CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
    An exception occurred that is explained in detail below.                    
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "CREATE_PDF" "(METHOD)", nor was it propagated by a RAISING clause.

    Hi Thomas,
    We upgraded our system(2004S) to SP10 so that we can use the ADOBE form printing in Web Dynpro ABAP but could not apply note 1034425 because of the validity constraints in SNOTE. All the pre-requisite notes are already in the system apart from one note 1029721 which talks about supporting input helps. We don't want to use input helps in our system and cannot upgrade to SP11 because of problems with Business functionality.
    Questions:
    1) Is note 1034425 absolutely dependent on 1029721?
    2) If NOT, can someone please correct the validity so that we can implement using SNOTE.
    3) Would it be OK if we manually apply the changes specified in 1034425 without implementing 1029721?
    4) If all of the above is not applicable, is there any other note which fixes the above mentioned short dump.
    Your help in this matter will greatly help us in using the ADOBE services provided by SAP WDA.
    Thanks much

  • ABAP Web Dynpro V/S JAVA Web Dynpro

    We need to pick developing technology between ABAP Web Dynpro v/s JAVA Web Dynpro. Is technology better than other in terms of security, scalability? There is lot of documentation on the web but it is very old and out dated. I am pretty sure things have changed quite a bit with recent versions of SAP. Any feedback is greatly appreciated.
    Thanks.
    PS: I Used Web Dynpro for ABAP at my previous client for SAP SRM without a problem.

    Dear Sap Fan      
    This has been a long and interesting debate on SDN.
    You will find plenty of posts discussing this matter.
    But there's no clear winner, I warn you.
    ;o)
    This one in particular is very good:
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e0e4940c-035c-2b10-0b9d-eb8f99674f4e]
    But you can also check these others:
    [webdynpro java or abap;
    [Webdynpro Java or ABAP;
    [Webdynpro Java or ABAP;
    [Webdynpro Java or Abap ?;
    More and more you see clients migrating from WD4J to WD4A.
    Guess SAP is also heading into that direction, perhaps because Oracle bought SUN sometime ago.
    I'm comfortable on both environments I have to say.
    I have more than 10 years with development.
    I know ABAP from inside out.
    I also know JAVA and I'm certified with this technology.
    But I personally prefer WD4A.
    Why ?
    Because you don't need to use NWDI.
    Because you don't need to configure JCO's.
    Because you integrate seamlessly the development with the transport framework (requests, etc..)
    Because debugging is great.
    Because plenty of traditional ABAP tools (trace, logs, performance analysers, etc..) can also be used with WD4A
    Because you don't need to worry with NWDS...just type SE80 and you're there... ;o)
    And I could go on and on....
    But then again, it all depends:
    Do you have a lot of good in-house JAVA knowledge ?
    Do you use a lof of Custom JAVA development in your company ?
    Are you planning to use standard SAP (ESS/MSS or others for example) ?
    I'm not saying that WD4A is "better" than WD4J.
    There's no such thing.
    Each option has its pros and cons.
    You also can't tell that WD4J is more secure or scalable than WD4A. Or the opposite.
    And, believe me, WD4J is still going strong with a lot of customers.
    But things are changing, and for me WD4A would make more sense if you want to be aligned with SAP.
    Now and in the future.
    Kind Regards
    /Ricardo Quintas

  • ABAP Web Service client proxy - generation problems

    Hi!
    I tried to create an ABAP web service client proxy for many different web services -
    for instance some of that listed at <a href="http://www.xmethods.net/">http://www.xmethods.net/</a> .
    Almost on 99% of the WSDLs the client proxy generation failed.
    For istance "<extension> not supported", or "<message...> must have at least one part",... .
    Could anybody tell me what restrictions are to web services you can create a
    ABAP client proxy for ?
    In the SAP Web AS Java Stack there is no problem at all to generate a
    client proxy for almost all of the xmethod-WebServices !
    Is the ABAP Web Service proxy generation for production use ?
    Regards
    Frank Ruggaber

    Resolved through SAP Help. Refer SAP note# 0001403271.

  • ABAP Web Services problem

    Hello everybody. I'm trying to publish a Web Service created in ABAP (R/3 6.0 release) in my JAVA WAS trial version 2004s. I'm following the ABAP Web Services tutorials (6.40) but when I try to create the Virtual Interface, in the SE80 from the context menu of Enterprise Services, there's no Virtual Interface option. Can anyone tell me how do I set up a Virtual Interface in 6.0 release of R/3 or how can I make it available in the context menu of SE80? Thanks in advance.

    Better try the methods get_asList... for tables.

  • Web Dispatcher configuration (ABAP+Java vs. ABAP+Portal)

    We are using an internal Web Dispatcher to allow the connections from different networks.
    This Webdispatcher entry we add to WAS configuration within Portal system object
    By defintion of ABAP+Java double stack we do not have any problems and the test
    http://webpispatcher:port/sap/bc/ping is successful.
    When we have a ABAP system + Portal (Java) we only can test the connection
    http://webpispatcher:port/
    When we execute the test
    http://webpispatcher:port/sap/bc/ping we get an error, because the url goes to Java stack.
    We also detected that on Web Dispatcher configuration for ABAP+Java we have ABAP and J2EE server groups and  application servers.
    For ABAP+Portal we have only J2EE groups on Web Dispatcher configuration.
    Question:
    Which SAP parameter (e.g. ms/server_port_0, icm/HTTP/j2ee_0) or Web Dispatcher parameter (ms/http_port) is responsible for generation of ABAP groups (e.g. PUBLIC) within Web Dispatcher?

    Which SAP parameter (e.g. ms/server_port_0, icm/HTTP/j2ee_0) or Web Dispatcher parameter (ms/http_port) is responsible for generation of ABAP groups (e.g. PUBLIC) within Web Dispatcher?
    In ABAP the logon group is handled by the ICF. In SICF you specify within the actual services(properties) which logon group that service should use for load balancing. As far as I remember though there is an exception if you are using an "end-to-end" ssl configuration where you can specify the destination logon group using wdisp/HTTPS/dest_logon_group parameter.
    rdisp/mshost is the parameter on your web dispatcher that points to your message server to get a list of available logon groups.
    Nelis

Maybe you are looking for