HTTP form post from Web Dynpro Java Application without opening new window

Hi Experts,
We are trying to submit form data to an external URL from Web Dynpro Java application. We are achieving this with the following piece of code.
  try
   strPrintContent="<html>"+
     "<head>"+
     "<script type=\"text/javascript\">"+   
     "function myfunc () "+
     "{"+
     "var frm = document.getElementById(\"paymentForm\");"+
     "frm.submit();"+
     "}"+
     "</script>"+
     "</head>"+
     "<body onLoad=myfunc()>"+
     "<form id=paymentForm  method=post action=\""+merchantURLPart+"\">"+
     "<INPUT type=hidden name=username value="+userName+">"+
     "<INPUT type=hidden name=pass value="+passWord+">"+
     "<INPUT type=hidden name=senderid value="+senderID+">"+    
     "<INPUT type=hidden name=dest_mobileno value="+mobile+">"+
     "<INPUT type=hidden name=message value='"+msg+"'>"+
     "<INPUT type=hidden name=response value="+response+">"+
     "</form>"+
     "</body>"+
     "</html>";    
  IWDWebResource webResource = WDWebResource.getWebResource(strPrintContent.getBytes(),WDWebResourceType.HTML);
  IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(webResource.getAbsoluteURL(),"WBSEDCL");
  window.show();
  catch(Exception e)
  wdComponentAPI.getMessageManager().reportException("Error : "+e.toString(),false);
But it opens another window. We dont need that. We have to stay on the same window.  Please suggest what can be done.

Hi,
You can create a HTML file with the request post parameters and the external URL something like this:
public java.lang.String GetRedirecturl( )
// External URL
String html = "<html><head></head><body onload=\"load()\"> " +
"<form id=\"form1\" action=\"https://www.abc.com/xyz.jsp\" method=\"POST\">" +
// Post Parameters
"<INPUT TYPE=\"HIDDEN\" NAME=\"Param1\"VALUE=\""+Param1Value+"\">"+
"<input name=\"sap-wd-resumeurl\" type=\"hidden\"/>" +
"</form> " +
"" +
"<script>" +
"function load(){" +
"var loc = window.location.search.substring(1);" +
"var queryString = loc.split(\"sap-wd-resumeurl=\");" +
"if(queryString.length > 0)" +
"{" +
"var resumeURL = queryString[1].split(\"&\");" +
"if(resumeURL.length >= 0)" +
"{" +
" document.forms['form1'].elements['sap-wd-resumeurl'].value= unescape(resumeURL[0])" +
"}" +
"}" +
"document.getElementById('form1').submit();" +
"}" +
"</script>" +
"</body> </html>";
String redirectUrl = "";
byte[] byteArrayHtmlData = null;
try {
  byteArrayHtmlData = html.getBytes("UTF-8");
} catch (UnsupportedEncodingException e) {
  wdComponentAPI.getMessageManager().reportException("Internal error occurred. Please try after some time",true);
IWDResource htmlResource = WDResourceFactory.createCachedResource(new ByteArrayInputStream(byteArrayHtmlData), "Redirect.html", WDWebResourceType.HTML, true);
redirectUrl = htmlResource.getUrl(WDFileDownloadBehaviour.AUTO.ordinal());
return redirectUrl;
Hope this will be helpful.
Regards,
Anurag

Similar Messages

  • Adobe Form dumps in Web Dynpro ABAP Application but opens up by Report

    Hello Experts,
    I created a form and tested it by creating a report which contains following code,
       call function 'FP_FUNCTION_MODULE_NAME'
            exporting
              i_name     = lv_form_name "my form name
            importing
              e_funcname = iv_function_name.
    *retrieve data in lt_items
      call function iv_function_name
        exporting
          /1bcdwb/docparams  = fp_docparams
          it_item            = lt_items
          is_header          = is_header
          control_parameter  = ls_control_parameters
        importing
          /1bcdwb/formoutput = fp_formoutput
        exceptions
          usage_error        = 1
          system_error       = 2
          internal_error     = 3.
    However when I try to do it on click of a button in my Web Dynpro Application, it dumps (the action has very much the similar code).
    The error is: USAGE_ERROR
    SY-TITLE HTTP Control
    SY-MSGTY E
    SY-MSGID FPRUNX
    SY-MSGNO 111
    Thanks in advance for your help.
    Best regards,
    Abir

    Hi Otto,
    I try to paste the ST22 log below.
    Short text
        Exception condition "USAGE_ERROR" raised.
    Error analysis
        A RAISE statement in the program "SAPLFPCALL" raised the exception
        condition "USAGE_ERROR".
        Since the exception was not intercepted by a superior
        program, processing was terminated.
        Short description of exception condition:
        For detailed documentation of the exception condition, use
        Transaction SE37 (Function Library). You can take the called
        function module from the display of active calls.
    Source Code Extract
    Line  SourceCde
       16 *   Return of PDF is always possible.
       17     IF ie_outputparams-device IS NOT INITIAL AND
       18        ie_outputparams-device <> 'PRINTER'.
       19 *     Devices TELEFAX and MAIL are not allowed in many cases.
       20       IF ie_outputparams-nodialog = c_false
       21         OR ie_outputparams-preview = c_false
       22         OR ie_outputparams-noprint = c_false
       23         OR ( ( ie_outputparams-arcmode = '2' OR ie_outputparams-arcmode = '3' )
       24              AND ie_outputparams-noarchive = c_false ).
       25 *       Dialog or no preview; preview only if no output or archiving requested.
       26         MESSAGE ID 'FPRUNX' TYPE 'E' NUMBER '110'
       27             WITH ie_outputparams-device RAISING usage_error.
       28       ENDIF.
       29     ENDIF.
       30   ENDIF.
       31
       32 * Call the internal interface.
       33   move-corresponding ie_outputparams to l_params.
       34
       35   call function 'FPCOMP_JOB_OPEN'
       36     changing
       37       ie_outpar            = l_params
       38     exceptions
       39       cancel               = 1
       40       usage_error          = 2
       41       system_error         = 3
       42       internal_error       = 4.
       43   case sy-subrc.
       44     when 0.
       45     when 1. raise cancel.
    >>>>>     when 2. raise usage_error.
       47     when 3. raise system_error.
       48     when 4. raise internal_error.
       49   endcase.
       50
       51   move-corresponding l_params to ie_outputparams.
       52
       53 endfunction.
    Contents of system fields
    Name     Val.
    SY-SUBRC 2
    SY-INDEX 7
    SY-TABIX 0
    SY-DBCNT 0
    SY-FDPOS 70
    SY-LSIND 0
    SY-PAGNO 0
    SY-LINNO 1
    SY-COLNO 1
    SY-PFKEY
    SY-UCOMM
    SY-TITLE HTTP Control
    SY-MSGTY E
    SY-MSGID FPRUNX
    SY-MSGNO 111
    SY-MSGV1
    SY-MSGV2
    SY-MSGV3
    SY-MSGV4
    SY-MODNO 0
    SY-DATUM 20101110
    SY-UZEIT 091449
    SY-XPROG SSO2GETPARAM
    SY-XFORM GET_PARAMETER
    Chosen variables
    Name
        Val.
    No.      20 Ty.          FUNCTION
    Name  FP_JOB_OPEN
    IE_OUTPUTPARAMS
        PRINTER XX                                   00#䄀###   #䄀###      X   ##00000000000000   00>
        0000000000000000000000000000000000000000000000004000000040000000000000000000000000000000000000
        0000000000000000000000000000000000000000000000001000000010000000000000000000000000000000000000
        5544545255222222222222222222222222222222222223300000222000002222225222003333333333333322233344
        029E4520880000000000000000000000000000000000000000000000000000000080000000000000000000000000C9
        005000520049004E005400450052002000580058002000200020002000200020002000200020002000200020002000
    SYST-REPID
        SAPLFPCALL
        0000000000000000000000000000000000000000
        0000000000000000000000000000000000000000
        5454454444222222222222222222222222222222
        310C6031CC000000000000000000000000000000
        005300410050004C0046005000430041004C004C002000200020002000200020002000200020002000200020002000
    %_SPACE
        0
        0
        2
        0
        0020
    SY-SUBRC
        2
        0000
        0002
        00000002
    SY-REPID
        SAPLFPCALL
        0000000000000000000000000000000000000000
        0000000000000000000000000000000000000000
        5454454444222222222222222222222222222222
        310C6031CC000000000000000000000000000000
        005300410050004C0046005000430041004C004C002000200020002000200020002000200020002000200020002000
    %_DUMMY$$
        0000
        0000
        2222
        0000
        0020002000200020
    SY-MSGV3
        00000000000000000000000000000000000000000000000000
        00000000000000000000000000000000000000000000000000
        22222222222222222222222222222222222222222222222222
        00000000000000000000000000000000000000000000000000
        0020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000
    SY-MSGNO
        111
        000
        000
        333
        111
        003100310031
    %_VIASELSCR
        0
        4
        04
    SY-MSGV4
        00000000000000000000000000000000000000000000000000
        00000000000000000000000000000000000000000000000000
        22222222222222222222222222222222222222222222222222
        00000000000000000000000000000000000000000000000000
        0020002000200020002000200020002000200020002000200020002000200020002000200020002000200020002000
    SPACE
        0
        0
        2
        0
        0020
    Application Calls
    Index Calls
        1 R=7 P=/sap/bc/webdynpro/sap/INM_WORKCENTER_APP/
    Internal notes
        The termination was triggered in function "ab_jfune"
        of the SAP kernel, in line 3058 of the module
         "//bas/720_REL/src/krn/runt/abfunc.c#3".
        The internal operation just processed is "FUNE".
        Internal mode was started at 20101110091356.
    Lock Shared Objects
    ModeLockRe Area Name
    Instance Name                                                                    Clt Lock Type
    VersionId  Label                Include                                  Line       Time Stamp
             1 CL_WDR_CONF_APPL_SHM
    INM_WORKCENTER_APP.                                                              102 R
           178                 5690 CL_WDR_CONF_APPL_SHBROKER=====CM001               9 20101110091356
             2 CLUR_NW7_MESSAGE_AREA
    E                                                                                R
            10                   10 CLUR_NW7_MESSAGES=============CM003              11 20101110091356
             3 CL_WDR_CFG_COMP_SHM
    INM_WORKCENTER_COMP.AD4B75FF707A473CD26008949EBB0A69.07..E                       102 R
            11                   12 CL_WDR_CFG_COMP_SHBROKER======CM006              29 20101110091359
    Directory of Application Tables
    Name                                     Date       Time       Lngth
        Val.
    Program  SAPMHTTP
    SYST                                       .  .       :  :     00004612
        \0\x0007\0\0\0\0\0\x0001\0\0\0\0\0\x0001\0\0\0\0\0\0\0\0\0
    SY                                         .  .       :  :     00004612
        \0\x0007\0\0\0\0\0\x0001\0\0\0\0\0\x0001\0\0\0\0\0\0\0\0\0
    Program  SAPLHTTP_RUNTIME
    ICFBUFFER                                  .  .       :  :     00005624
    ICFSERVICE                                 .  .       :  :     00004040
        SAP            0000000000000000000000000DFFAEATGKMFLCDXQ04
    Program  CL_HTTP_SERVER================CP
    RSJOBINFO                                  .  .       :  :     00000164
                                        00000000000000
    Program  SAPLLANG
    T002                                       .  .       :  :     00000010
        ES1EN|
    Program  SAPLSSFG
    SSFARGS                                    .  .       :  :     00001734
    Program  CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    INDX                                       .  .       :  :     00003104
        102BMWD_SP_LEVEL           \0\0\0  00000000
    Program  CONTEXT_X_TR_SYS_PARAMS
    CONTEXTB                                   .  .       :  :     00002992
        102EBTR_SYS_PARAMS       000007000100000000000000\0\0\0\0
    TCONT                                      .  .       :  :     00000068
        TR_SYS_PARAMS       20100623230418|
    Program  CL_WDR_TRACE_TOOL=============CP
    INDX                                       .  .       :  :     00003104
        102BMSWD_TRACETOOL_ACTIVEAR\0\0\0  00000000
    Program  SAPLSKWF_NAMESPACE
    SKWF_URLIO                                 .  .       :  :     00000384
        102BBMIME/sap/public/bc/ur/nw5/themes/custom
    Program  SAPLSDCL
    SDOKIOCL                                   .  .       :  :     00000600
    SDOKIOCLT                                  .  .       :  :     00000150
    SDOKLOCL                                   .  .       :  :     00000754
                              00000000000000            0000000000
    SDOKLOTAB                                  .  .       :  :     00000362
    SDOKPHTAB                                  .  .       :  :     00000662
    Program  SAPLISOC
    T002                                       .  .       :  :     00000010
        ES1EN|
    Program  CL_CALENDAR_DEFINITION_CALLER=CP
    INDX                                       .  .       :  :     00003104
        102ARCAL_DEF               \0\0\0  00000000
    Program  CL_WDR_LS_JS_TIMESTAMP========CP
    INDX                                       .  .       :  :     00003104
        102BMCL_WDR_LS_JS_TIME...  \0\0\0  00000000
    Program  CL_WDR_WINDOW=================CP
    RSJOBINFO                                  .  .       :  :     00000164
                                        00000000000000
    Program  CL_WDR_DELEGATING_VIEW========CP
    RSJOBINFO                                  .  .       :  :     00000164
                                        00000000000000
    Program  CL_CGPL_USER_OPTIONS==========CP
    CGPLT_OPT_INDX                             .  .       :  :     00003040
        102OP*           RPM                                \0\0 0
    Program  SAPLBDLS
    T000                                       .  .       :  :     00000214
        102GCC:GTv1-5.IK.PLN Dev CltGDC                      CHF
    Program  SAPLSDEX
    DD07L                                      .  .       :  :     00000120
        /GLB/7PTIR_GLB_PROJSTATUS     A00020000R
    Program  SAPLSSCU
    USR02                                      .  .       :  :     00000942
        102ARAYCHA     \0\0\0\02010032499991231AGCCSC_EU    \0
    Program  SAPLPRGN
    AGR_DEFINE                                 .  .       :  :     00000266
        102TM15_GLB_XX_ZR4026A_PLN01
    Program  SAPLSDOC
    DOKHL                                      .  .       :  :     00000306
        TXLG1B0000062000009
    DOKTL                                      .  .       :  :     00000296
    Program  SAPLSI63
    IWBSETTING                                 .  .       :  :     00000260
    Program  SAPLSR11
    TADIR                                      .  .       :  :     00000464
    Program  SAPLSUGU
    CVERS                                      .  .       :  :     00000102
        SAP_BW                        702       0004      W|
    Program  SAPLSUG2
    SVERS                                      .  .       :  :     00000144
        702
    Program  CONTEXT_X_IWB_CLASS_PROPS
    CONTEXTB                                   .  .       :  :     00002992
        102IBIWB_CLASS_PROPS     000007000300000000000000\0\0\0\0
    TCONT                                      .  .       :  :     00000068
        IWB_CLASS_PROPS     20010206162330|
    Program  SAPLTIW1
    IWTESTFCTS                                 .  .       :  :     00000052
                                  |
    Program  SAPLSDCS
    SDOKDOCSP                                  .  .       :  :     00000148
    Program  SAPLSDSD
    DDSHOFFLD                                  .  .       :  :     00003020
        IF/RPM/TS_ITEM_D_DATA_CUST      YYGLB_SEVERITY
    Program  /1BCWDY/EI2AA7ZECUCSFD0NKHM6==CP
    RSJOBINFO                                  .  .       :  :     00000164
                                        00000000000000
    Program  SAPLSUNI
    TFDIR                                      .  .       :  :     00000268
    Program  SAPLBDS_METHODS
    BDS_LOCL                                   .  .       :  :     00000350
        DEVC_STXD_BITMAP              OTBDS_LOC3  BDS_POC3  BDS_RE
    I really appreciate your help.
    Many thanks and best regards,
    Abir

  • Web dynpro java application to update data in CRM system

    Hello All,
    I need to develop a web dynpro java application which will read and update data in CRM. How can I do this?
    Thanks and Regards,
    Deepti

    First develop RFC / BAPIs to update and read in CRM system.  Call those BAPIs from Web Dynpro Java application using AdaptiveRFC model.
    Cheers,
    ~kranthi

  • Use loadrunner to test Web Dynpro Java Application

    Hi Gurus,
             I'm using Loadrunner 11.0 to do load test to Web Dynpro Java Application. At first, I used web(http/html) protocel script, and I could record the whole business process successfully.  But the script seems very hard to understand. For example, the following script is so complex.
    After this, I tried 'SAP Click and Script'. At this time, loadrunner only record my logon action, while my business operation was not recorded in the script.
    "Body=sap-ext-sid=nYCksrUa3nHq2NIwTPpTKg--LpNoVBU_d2sS7nCHLaG*qQ--&sap-wd-cltwndid=WID1411644055966&sap-wd-norefresh=X&sap-wd-secure-id=kNh-egwklSanOHIGRb7-eA%3D%3D&SAPEVENTQUEUE="
      "ComboBox_Select%EE%80%82Id%EE%80%84aaaa.App_Property_FormCompView.ANLKL%EE%80%85Key%EE%80%84FA040%EE%80%85ByEnter%EE%80%84false%EE%80%83%EE%80%82ClientAction%EE%80%84submit%EE%80%83%EE%80%82urEventName%EE%80%84COMBOBOXSELECTIONCHANGE%EE%80%83%EE%80%81Form_Request%EE%80%82Id%EE%80%84...form%EE%80%85Async%EE%80%84false%EE%80%85FocusInfo%EE%80%84%40%7B%22sFocussedId%22%3A%20%22aaaa.App_Property_FormCompView.ANLKL%22%7D%EE%80%85Hash%EE%80%84%EE%80%85DomChanged%EE%80%84false%EE%80%85IsDirty%EE%80%84fal"
      "se%EE%80%83%EE%80%82EnqueueCardinality%EE%80%84single%EE%80%83%EE%80%82%EE%80%83",
    Could anyone give me the clue or materials about WDJ load test using loadrunner? Thanks very much
    regards.
    zhihua

    Hi Zhihua,
    First delete all the cookies from your browser.
    Close all the internet sessions which are opened in your system. During your script recording
    Open only 1 session which you will be recording for java script.
    The above mention log is the cookies from the internet explorer.
    its of no use for the script you can even delete from the script.
    Regards
    Mohammed

  • Access Web Dynpro Java application through direct URL

    Hi Guys,
    we have a requirement that there is a link in web dynpro abap screen, click on it will open a new ie window running web dynpro java application, so what i did is i have given direct url link for that web dynpro java application:
    as this:
    https://servername:50001/webdynpro/dispatcher/sap.com/ess~lea/TeamView
    but after i clicked on this url, it pop up 1 window, after i entered id & passoword, it is showing this wd java appl, but there is 1 grey image on top of the view & "welcome xxxx"; below that is the actual view from wd java.
    the layout is :
    grey image----
                             welcome xxxxxxxx
    Teamview
    actual ivew
    how to remove the grey image & the "welcome xxx"? it looks like masthead but we dun need it.
    thanks

    Hi Feng,
    Actually what you are seeing using the application URL and after giving the credentials on Portal is a portal screen which carries the theme as well. Therefore, you will be able to see the masthead with header and Portal User Name. So, use the URL generated by preview of a web dynpro iView in your component to avoid the masthead.
    Regards,
    Tushar Sinha,
    Infosys,
    Hyderabad

  • Transport Web Dynpro Java Application

    Hi All!!!
                I want to know, how can we transport Web Dynpro JAVA application fron one server to another (Dev-> QA -> Prd) in NWDI and Non - NWDI Landscape.
    Cheers!!!
    Umang

    Umang,
    Please refer this link and there is a plenty of information available on NWDI:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/f6eb8e9e-0901-0010-8abb-cba5279db9b6
    Quick help here on How to transport  the Software from one Environment to another:
    http://help.sap.com/saphelp_nw70/helpdata/EN/17/2c02a80bb41b4cb9a4da85ab3a4e62/frameset.htm
    Thanks
    Krishna

  • Deploying problem of web dynpro java application

    Hi,
    I have a web dynpro java application with no problem about deploying.
    I copied this application with another name.
    I tryed new application to deploy but sdm aborted with error.
    Error
    19.Tem.2011 10:22:25 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
    [001]Deployment aborted
    Settings
    SDM host : vserver0202
    SDM port : 52018
    URL to deploy : file:/C:/Users/CEMIL~1.BOZ/AppData/Local/Temp/temp27456HF_PERS_RAPOR_BUTCE.ear
    Result
    => deployment aborted : file:/C:/Users/CEMIL~1.BOZ/AppData/Local/Temp/temp27456HF_PERS_RAPOR_BUTCE.ear
    Aborted: development component 'HF_PERS_RAPOR_BUTCE'/'local'/'LOKAL'/'0.2011.07.19.10.22.15'/'0':
    Caught exception during application deployment from SAP J2EE Engine's deploy service:
    java.rmi.RemoteException: Cannot deploy application local/HF_PERS_RAPOR_BUTCE.. Reason: Clusterwide exception: Failed to deploy application local/HF_PERS_RAPOR_BUTCE. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/HF_PERS_RAPOR_BUTCE. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
    Deployment exception : The deployment of at least one item aborted

    Hi,
    Since the exception says "Are all referenced components deployed and available on the engine?"
    Check wether any DC is used as a used DC in the webdynpro component which you are deploying.
    If any used DC is available try to deploy that DC in the server and then deploy ur webdynpro application.
    If all reference DC's are avialable in server, still if you get this error try to rename the component and reload+rebuild the project and deploy it.
    Hope this helps you...
    Regards,
    Saleem Mohammad.

  • Deploying web dynpro java application successfully but not working

    Hi all,
    I have a web dynpro java application. When I deployed in my local portal (7.10 SP6) it is working fine. But when I deployed in another portal (7.10 SP2) it is not working totally. In system default trace I saw below exception:
    Failed to create deployable object 'sap.com/a1sbicbc~unv' since it is not a Web Dynpro object.
    It seems that the web dynpro application was not deployed anymore, but in deployment UI I can see the package was deployed without any errors.
    In this situation, is there any other portal/java engine configuration which may prevent the web dynpro application being deployed? For example deployment or security policy, etc?
    Looking forward for replies.
    B.R.

    Hi,
    Try to undeploy the application from the server
    Then deploy it
    Regards
    Ayyapparaj

  • Web Dynpro Java Application for Handheld Device

    Hi everybody,
    I have been reading some documentation about what is the best option to create an application for handheld device. So this is my landscape. I have SAP Netweaver 7.4 SR1 AS ABAP, and Java instance. So, I want to know whether is possible to create a normal web dynpro java application and then visualize this application on Browser of handheld device. That's all that I have to do? I read that exist another solution Developing mobile application for handhelds. By other side a need to know how to is the integration of this device with this application if exist. This application is going to consume data from SAP Backend system, so I just have to create JCO's for connect this application to this system, right?
    Please, can you help me with that.
    Best Regards.

    Hi Deepti,,
    Refer to the following thread which says that you must retrieve the data from the CRM backend system using standard BAPI's or customer Remote enabled function modules (socalled RFC's) and to access the backend system you will have to set up an RFC connection with CRM system.
    Regarding web dynpro and CRM
    Thanks & Regards,
    Jhansi Miryala

  • Moving from Web Dynpro Java timesheet to Web Dynpro ABAP timesheet

    Hi
    We are in the process of moving from Web Dynpro Java ESS timesheet to Web Dynpro ABAP ESS timesheet.  When using Web Dynpro Java ESS timesheet it is possible to enter time using a daily or weekly view. 
    When using the Web Dynpro version and ensuring the period type is set to weekly view for the data entry profile it is only possible to enter time on the weekly view, the tab for the daily view is no longer available.
    Still using the Web Dynpro version and changing the period type to daily view I can enter time using the daily view and the weekly tab also becomes available, but the weekly tab is read only.
    Do you know if it is possible to make daily and weekly timesheet entry for one data entry profile.
    Thanks
    Mark

    Yes you can have only one view ie weekly or daily as per your CATS profile in CAC1.
    but of course you can select multiple profiles
    Configuration
    The application configuration HRESS_AC_CATS_1 is provided by default and allows you to provide default values for the application parameters. It also allows you to specify the layout and appearance of the application.
    The following application parameters are provided:
    HIDE_CLOCK_TIMES_IN_WEEKLY
    Hides the clock times in the weekly view.
    MULTIPLE_PROFILE
    Enables the selection of multiple data entry profiles from the dropdown list

  • Problem Web Dynpro Java applications using JasperReports

    Hello all,
    We have followed the footsteps of these blogs but we can not make it work.
    Part I --> Part-I: Print Web Dynpro Java applications using JasperReports
    Part II --> Part-II: Print Web Dynpro Java applications using JasperReports
    Part III --> Part-III: Print Web Dynpro Java applications using JasperReports
    Details system: 7.02 SP3
    We believe that the problem is in the library, because it finds them.
    1) We created project as a DC external library with *.jars
    2) Public part DC external library.
    3) Add public part of DC Library into new project DC WebDynpro Java.
    4) Development Component -> Build is OK
    5) Development Component -> Deploy is OK
    6) Test app ERROR.
    When we run the application shows the error:
    The initial exception that caused the request to fail, was:
       java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRDataSource
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at com.unisys.tmb.View01.onActiongenerarPDF(View01.java:161)
        at com.unisys.tmb.wdp.InternalView01.wdInvokeEventHandler(InternalView01.java:140)
        at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
        ... 28 more
    See full exception chain for details.
    Regards,
    Luis.

    Hello John,
    Thanks for the link. We have performed the steps in this blog:
    1) Create DC Project "External Library" with name js/jars:
    - Add *.jars in folder Libraries.[Screenshot Libraries|http://img846.imageshack.us/img846/8395/jsjars.jpg]
    - Add archives (*.jar) to public part with name ExternalLib. Which option to choose?
    a- Provides an API for developing/compiling other DCs (Option chosen)
    b- Can be packaged into other build results (eg SDAs)
    - Development Component -&gt; Build
    Step 1 is OK.
    2) Create "J2EE Server Component / Library" DC with name js/lib:
    - Add Used DC -> public part project ExternalLibrary -> "ExternalLib"
    - Specify both build time and run-time dependency here and strong.
    - Generated SDA file in <var>gen/default/deploy</var> How do we check that it contains <var>js.jar</var>?
    - folder gen/default/plublic/defLib/lib/java then you meet *.jars files again. is OK.
    - Development Component -> Deploy.
    - Go to Visual Administrator. We found the library js/lib, but has no associated *. jar. It is the problem.[Screenshot Visual Administrator|http://img542.imageshack.us/img542/5537/visualadminlib.jpg]
    3) Create "WebDynpro" DC with name pdf_jasper
    - Add used DC (defLib) to WebDynpro DC with option "Build time".
    - WebDynpro References -> Library references --> add <var>jslib
    - Deploy
    - Run error: java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRDataSource
    Regards,
    Luis.

  • Transport Web Dynpro Java applications on 7.4

    Hi Experts
    We have couple of web dynpro java applications running on DEV EP 7.4 system. Now we need to move them to Test/Prod. What are the options to move these? Please note we do not use NWDI, so transport thru NWDI is ruled out.
    One option is to deploy these applications thru NWDS, but we would like to avoid it if possible.
    Are there any other options for transport?
    Thank you
    Aakash

    Thanks Jun
    Any other option apart from Telnet?

  • Trigger Web Dynpro Java application automatically.

    Hi All,
    I don't know if I am asking too much, but I have a requirement as below
    I have a Custom Web Dynpro Java application for which an iView has been created and assigned to a role on the Portal. The user just have to access the role and can run the application.
    Now my requirement is to triggered or run this application without any user intervention on it's own periodically lets say after every 15 days or so. Please somebody let me know if is it possible and how?
    All the help would be really appreciated.
    Thanks and Regards,
    Abhishek

    Check out this
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90a95132-8785-2b10-bda5-90d82a76431e?quicklink=index&overridelayout=true
    and
    Scheduling webdynpro java application
    Hope this helps.

  • Can Web dynpro Java application run as background application

    Hi Experts,
    Is it possible to execute the Web dynpro java application in background without opening the application in a web browser.
    We just want the WD java application deployed on the SAP Web AS server to be invoked and get executed as a background application by some external web application. It should not get open at any point of time in a web browser.
    Can anyone suggest if it is possible?
    Thanks & Regards,
    Anurag

    Hi Anurag,
    Since Web Dynpro is "SAPu2019s standard UI technology based on MVC for developing user interfaces" (see http://www.sdn.sap.com/irj/sdn/nw-wdjava) it is by design not possible to run 'in the background'.
    There are other possibilities to develop server processes per your requirements, such as developing web services or servlet development.
    Web services are the de facto standard for executing business logic on a remote server. However, as I understand your external web application is not capable of sending web service requests, have you tried the servlet approach?
    See http://help.sap.com/saphelp_nwce711core/helpdata/en/3f/f8bc3d8af79633e10000000a11405a/frameset.htm for more info on how to develop a servlet using NWDS.
    Take particular attention to the sub-topic 'Servicing Client Requests' of the above guide
    Hope this helps!
    Best regards,
    Robin van het Hof

  • E-catt on Web-Dynpro Java application

    Hi All,
    Is there any way to use e-catt on Web-Dynpro Java application?
    If any one has use it please guide me the steps?
    Regards

    hi Rohan,
    check this
    http://help.sap.com/saphelp_nw04/helpdata/en/8e/df9f40eb72371be10000000a1550b0/frameset.htm
    Best,
    Ignacio.

Maybe you are looking for

  • Disc image and mounting question .

    Disc utility - file - new > blank disc image . Save as ( so so ) . Volume name (so so ) . Volume size (4.5 gb dvd-r/dvd-ram. ) . Volume format ( mac os extended journal ) . Encryption ( none ) . Partition (cd dvd ) Image format ( spars bundle disc im

  • Finding the ReportRepositoryPath and Report Filename

    I was wondering if the report repository path and report filename of files sent to the report manager are stored somewhere in a table. It seems as if a select statement would be easier than finding the psreports/dbname/data/process id/process name_pr

  • Capitalization Best Practice?

    Dear experts, I am trying to run a capitalization of fixed assets. We have chosen to accrue all costs (GRNs) under several WBS elements, settle them intially under the respective AUCs and finally perform the capitalization. In other words, no direct

  • Use of ExtensionIn

    Hi all, I want to publish a customer field in EKPO by using the extensionin for BAPI_PO_CREATE  or BAPI_PO_CHANGE My customer field on Purchase Order Position is populated within structure CI_EKPODB, the name is ztest and the field is numeric(6). How

  • Ultra slow Broadband Speeds

    Moved house last September where address speed search showed 4Mbps but more or less these speeds have never been achieved as they will drop to low 20Kbps and stay there forever and a day if we follow BT instructions never to switch off the hub. We us