Executing HR Forms

Hi,
When trying to execute the Process from tcode HRASR_DT it is givig a dump, can some one help me to solve this?
   The exception 'CX_PARAMETER_INVALID_RANGE' was raised, but it was not caught
    anywhere along
   the call hierarchy.
   Since exceptions represent error situations and this error was not
   adequately responded to, the running ABAP program
    'CL_ABAP_TSTMP=================CP' has to be
   terminated.
Information on where terminated
    Termination occurred in the ABAP program "CL_ABAP_TSTMP=================CP" -
     in "SUBTRACT".
    The main program was "RPASR_TEST_PROCESS_EXECUTION ".
    In the source code you have the termination point in line 13
    of the (Include) program "CL_ABAP_TSTMP=================CM002".
    The termination is caused because exception "CX_PARAMETER_INVALID_RANGE"
     occurred in
    procedure "SUBTRACT_TIMESTAMPS" "(METHOD)", but it was neither handled locally
     nor declared
    in the RAISING clause of its signature.
    The procedure is in program "CL_HRASR00_PROCESS_UTILITIES==CP "; its source
     code begins in line
    1 of the (Include program "CL_HRASR00_PROCESS_UTILITIES==CM00H ".
SourceCde
method SUBTRACT .
  Data: ex type ref to CX_PARAMETER_INVALID.
  Data: Secs1 type TZNTSTMPL,
        Secs2 type TZNTSTMPL.
*input check
  try.
    Secs1 = Tstmp2Secs( Tstmp1 ).
  catch cx_parameter_invalid into ex.
    ex->parameter = 'TSTMP1'.
    raise exception ex.
  endtry.
  try.
    Secs2 = Tstmp2Secs( Tstmp2 ).
  catch cx_parameter_invalid into ex.
    ex->parameter = 'TSTMP2'.
    raise exception ex.
  endtry.
  R_Secs = Secs1 - Secs2.
endmethod.

Country settings were incorrect, we corrected them and its working fine.

Similar Messages

  • Error while executing adobe form

    Hi All,
          I am working on an adobe form in development system everything is working perfectly, But the form is giving an exception ()when executed in quality system .I did remote comparison of both layout and interface and there are no changes.
         What i observed is when i execute the form in SFP in dev system it is creating an FM , But in quality system execution of form in SFP is giving me error saying "Error in include information for function module /1BCDW/0000000007" and when i try to check this FM in SE37 it says it does not exist.
      Please let me know if anyone has faced similar issue before and if you have found the solution.
    Regards,
    Anjana Rao

    Hi friend,
    Its simple.
    The same problem exists in Smart forms also.
    What you need to do is you need to give the Adobe form name to the function module "FP_FUNCTION_MODULE_NAME".
    It will return you a name just you need to substitute that in the form call.
    Because for each and every system the function module number generated for the Adobe form differs.
    Just see the link below its for smart form, just adapt the same for Adobe forms, see my post and use the above function module instead of the one in the link [Smartform error|http://forums.sdn.sap.com/thread.jspa?threadID=2127306&messageID=11037853#11037853]
    Do this it will solve your problem.
    If any queries please revert back to me i will help you.
    Thanks,
    Sri Hari
    Edited by: srihari.kumar on Feb 13, 2012 3:52 PM

  • GUI crashes while Executing  ADOBE Form

    Dear Expert,
    Please resolve my Problem,
    whenever I am trying to Execute Adobe Form, GUI is getting Crashed, Whereas when ever Basis Person is opening on his System he is able to Execute ADOBE Form, He told that there is a memory Problem, Memory Required For Executing this adobe Form should be at least 1GB RAM, But i have 504 MB RAM. Please tell me is it the Reason For Crashing GUI whenever Executing Adobe Form or Something Else.
    On my system i have Adobe Reader 9.
    Regards
    Shelly Malik

    Check your installation using [Adobe Document Services Configuration Guide|http://help.sap.com/saphelp_NW70EHP1/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm] and also check OSS [ Note 944221 - Troubleshooting if problems occur in forms processing|https://service.sap.com/sap/support/notes/944221]
    Regards,
    Raymond

  • Where does form execution continue after executing NEW-FORM-INSTANCE triggr

    I am debugging a form and trying to find where a certain Procedure is being called. I'm unable to locate the procedure by searching in the "Find and Replace in Program Units". I cannot execute the form in Debug mode because of the Oracle environment. So I have embedded message alerts in strategic triggers in the form. I have followed execution to track the offending call statement and executed after the exit from NEW-FORM-INSTANCE trigger and before the NEW-BLOCK-INSTANCE triigger of the primary block.
    Where should i look next? Where would program execution go after NEW-FORM-INSTANCE?
    Thanks,
    Uday

    I cannot execute the form in Debug mode because of the Oracle environment. Not sure I understand this. Can you run your form from the Forms Builder? If yes, then you should be able to run the form using the debugger. If no, then I recommend you use the "Remote Debugging" feature of Forms and debug your form while it is running on the application server. So long as the CLASSPATH on the server is setup correctly, all you need to do is pass DEBUG=YES in the URL. For more details on using Remote Debugging, see My Oracle Support document id: 221399.1 (Debugging Applications Remotely).
    Craig...

  • Errors in Execute Oracle Forms and Reports

    Hello for all. I have several problems trying to execute Oracle Forms and Oracle Reports on version 10g. In Oracle Forms the problem is: Message file orms\msg\fmcus.msb not found and this file I've got it inside of file /forms.
    With Report says to me:
    Error. AppName:rwbuilder.exe, AppVer:10.1.2.0, ModName:ca.dll, ModVer:10.1.2.0, Offset:0001d168

    MichaelFerrante,Thank you for your help.
    I have already used the HS services to connecto to external databases from our main Oracle database, and the solution works fine.
    But unfortunally for this particular client he cannont have installed a Oracle database due to internal policies restrictions.
    I can not migrate the full application to another technology like ADF in less than 6 or 8 months.
    Do you thifnk that there is any other solution?
    Mensagem editada por: user10660669

  • Report(3.0) not executing from Forms 6.0.

    Hello
    I am trying to run a report (developed in Report designer 3.0) from a form (developed in Form Builder 6.0) as follows :
    -- message ('Before Report...');
    -- run_product (REPORTS, 'proj', SYNCHRONOUS, RUNTIME, FILESYSTEM, listid ) ;
    -- message ('After Report...');
    DECLARE
    repid report_object ;
    rep VARCHAR2(100);
    BEGIN
    message ('Before Report...');
    repid := find_report_object('PROJ');
    rep := RUN_REPORT_OBJECT(repid);
    message ('After Report...');
    END;
    I have tried both of these methods (Run_Product and Run_Report_Object) but nothing works. What is the difference between Run_Product and Run_Report_Object for report processing point-of-view ? It is displaying both messages but giving no error. The Properties of PROJ node in 'REPORTS' class are as follows :
    Name : PROJ
    File-Name : <full-path>/proj.rdf
    Execution Mode : RunTime
    Communication Mode : Synchronous
    Data Source Block : Null
    Query Block : Null
    Report Destination Type : Screen
    Destination Name : Null
    I am not able to see the results even by executing in form builder.
    Any help will be appreciated.
    Manish

    Hi Shay
    Thanks for your reply. I have compiled the report (repname.rdf) in Report Builder 6.0 and trying to execute it from a form, developed in Form Builder 6.0, as follows :
    PROCEDURE run_report IS
    list_id ParamList;
    run_date date;
    repid report_object ;
    repout varchar2(100) ;
    BEGIN
    run_date := sysdate;
    list_id := Create_Parameter_List('input_params');
    Add_Parameter(list_id, 'DESTYPE', TEXT_PARAMETER, 'FILE');
    Add_Parameter(list_id, 'DESNAME', TEXT_PARAMETER, '/home/mgupta/orep.ps');
    -- Run_Product(REPORTS, 'Full-Path/repname.rdf', synchronous, runtime, filesystem, list_id);
    repid := find_report_object('repname');
    repout := run_report_object(repid);
    Destroy_Parameter_List(list_id);
    END;
    I have tried both methods (Run_Product and Run_Report_Object) but nothing works. What is the difference between Run_Product and Run_Report_Object for report processing point-of-view? Note that I have given full path for Run_Product while report-name is given for Run_Report_Object. The full path is also given in the property palette report. It is displaying both messages but giving no error. The Properties of REPNAME node of 'REPORTS' class in Object Navigator of specified form are as follows :
    Name : REPNAME
    File-Name : <full-path>/repname.rdf
    Execution Mode : RunTime
    Communication Mode : Synchronous
    Data Source Block : Null
    Query Block : Null
    Report Destination Type : Screen
    Destination Name : Null
    This report is running fine if I execute it in Report Builder but not running thru form.
    Any help will be appreciated.
    Manish

  • RunAtServer script in XDP not executed in Form Server

    Hi, Expert,
    I authored the form template in Designer 7.1 and generated PDF using SOAP client call 'renderForm()' successfully on Form Server with JBoss 3.x.
    The problem is that the script in the template written in Designer set as 'RunAt=Server' never gets executed in Forms Server (the script is triggered in the event like 'form:ready' and 'layout:ready').
    Is there any special options which shd be set in renderForm() call or the properties of XDP?
    Any help is highly appreciated.
    Thanks in advance
    John

    Hi, Rob,
    Thank you very much for the reply.
    I call the renderForm() is like:
    IOutputContext context = formServer.renderForm(
    args[0], // name of XDP file
    "PDFForm", // for interactive form
    xmlBytes, // merged XML data
    "CacheEnabled=False", // runtime options
    null,
    "http://localhost:8080/",
    "http://localhost:8080/", // sTargetURL
    "file:///d:/formsapi", // path of XDP file
    null);
    The script in XDP run at server in form:ready is like:
    if (txtProductId.rawValue == null || txtProductId.rawValue == "") {
    // hide it
    txtProductId.presence = "hidden";
    Thanks again
    John

  • How can you execute a form without connecting to database?

    Hello,
    Is it possible to run a form without connecting to database? If Yes, how?
    Thanking you very much
    Thobula Rakesh

    Hello Form Friends,
    After R&D I found that, it is very much possible to execute a form without connecting to Database.
    Example:
    Step 1: Create a new form 'Form1'
    Step 2: Create a block 'Block1' and add button'But1'. Write a exit_form built-in on when-button-pressed trigger on 'But1' and compile it.
    Step 3: Create a on-logon trigger at form level and just give a message('on-logon');
    Step 4: Execute the form.
    The form executes perfectly without asking any connection to the database. On-Logon trigger initiates a logon process to non-oracle data source.
    Regards
    Thobula Rakesh
    Gati Intellect Systems Ltd

  • Exception while executing adobe forms

    Hi Experts,
      I am new to adobe forms.
      I have created one simple adobe form.But while executing the form it is throwing one exception like
    ADS: SOAP Runtime Exception: CSoapExceptionTransport :(100101)
    What can I do for resolving this issue.
    Please suggest me a solution..
    Thanks in advance

    hi,
    when you install the credential file...
    there is one sha1 field.
    ensure that it is left blank.
    ie. the sha1 field has to be left blank for reader rights.
    i hope this helps,
    Regards,
    jaya rama kumar

  • While open_form module is hanging when I execute my form?

    Hi Gurus,
        While executing my form it's hanging, particularly in the open_form(load-form function module in it when exporting stxl values here it's hanging,
      plz give some useful solution
    with regards.
    Thambee.

    Dear;
    This is not the problem of Oracle it is because of VIRUS in your computer, because of this virus it is not execute any exe file in your PC, Plz check it.

  • How to execute a Forms in 10g Version?

    Hi,
    I installed Oracle 10g with Developer Suite 10g.
    I created a Data Block (based on emp table which is in scott user) and I am trying to execute this form by giving
    http://hst-pcs3101.corp.satyam.ad:8889/forms90/f90servlet?form=e:\demo\emp.fmx&userid=scott/tiger&otherparams=useSDI=yes&lookAndFeel=oracle&colorScheme=blue
    But no response in the Internet Explorer.
    If anyone tell the solution then it will be greate.
    Thanks,
    Sailaja

    Hi,
    OC4J already started.
    Thanks,
    Sailaja

  • Forms deployment from an icon to executing a form

    I'd love to have the knowledge of what is necessary to execute a form, starting from a windows icon/shortcut on the desktop. It's easy enough to execute the form from forms builder, but I'd like to setup an end user's route. I'm curious whether you need the application server installed, where/when the login process takes place, and anything else involved. Thanks!

    Mike,
    if you are talking about Oracle9i Forms and above, then you must have an application server to run the application.
    The Forms Developer building environment comes with an integrated HTTP server that is used for testing applications, thus not requiring an Application server. Unfortunately the Oracle Developer Suite is certified for development and testing only and not meant to provide client-server support.
    Generally and to answer your question, starting an application from an icon on the desktop only requires you to create a shortcut for the browser (e.g. IE) and then add the Forms application URL to it.
    e.g. internetexplorer http://server:port/forms90/f90servlet?config=myapp
    Frank

  • Query button will not execute on form portal (9.0.4)

    I have a master-detail form that will not execute the query or reset buttons. The query will work if I use a link to execute the form. It was working ok. If I create a new form the query button still won't execute.

    There was a plugin that was causing the problem. Went to Internet Options.
    Click the Advanced tab.
    Under Browsing, click to clear the Enable third-party browser extensions (requires restart) check box.
    Restarted Internet Explorer.
    It works. Thanks for the help!

  • Invalid Cursor Error when executing a form

    I am getting the following error
    "Error Executing Cursor
    ORA-01001: invalid cursor"
    when I try to "Submit" information in a form based on the procedure below. What's the problem?! The procedure compiles fine.
    create or replace procedure MARKETING_FORM_2_7
    (ToAdd in Varchar2,
    FromAdd in Varchar2,
    Subject in Varchar2,
    SenderName in Varchar2,
    Branch in Varchar2,
    Phone in Varchar2,
    Address in Varchar2,
    Suggestion in Varchar2,
    SalesPromo in Varchar2,
    TradeshowPrep in Varchar2,
    SalesMaterials in Varchar2,
    DirectMail in Varchar2,
    CounterDays in Varchar2,
    BranchCustData in Varchar2,
    Other in Varchar2,
    ProjectName in Varchar2,
    Purpose in Varchar2,
    Audience in Varchar2,
    WhoPay in Varchar2,
    Deadline in Varchar2,
    Progress in Varchar2,
    EmployeeUpdate in Varchar2,
    WESCOWin in Varchar2,
    DescribeWin in Varchar2,
    PotentialValue in Varchar2,
    PartBranches in Varchar2,
    SignifPeople in Varchar2,
    SpecialFactors in Varchar2)
    is
    mailhost Varchar2(15) :='CLAPTON';
    mail_conn utl_smtp.connection;
    crlf varchar2(2):=chr( 13 )||chr( 10 );
    mesg varchar2(5000);
    begin
    mail_conn := utl_smtp.open_connection(mailhost,25);
    mesg:= 'From: <'||FromAdd||'>' ||crlf ||
    'To: '||ToAdd || crlf ||
    'Subject: '||Subject || crlf ||
    '' ||crlf||
    'Name: '||SenderName || crlf ||
    'Branch: '||Branch || crlf ||
    'Phone: '||Phone || crlf ||
    'Address: '||Address || crlf ||
    'Comment or Suggestion: ' || Suggestion || crlf ||
    'Sales Promotion Assistance: '|| SalesPromo || crlf ||
    'Tradeshow Assistance: '|| TradeshowPrep || crlf ||
    'Sales Materials or Presentations Assistance: '|| SalesMaterials || crlf ||
    'Direct Mail Assistance: '|| DirectMail || crlf ||
    'Counter Days Assistance: '|| CounterDays || crlf ||
    'Customer Database Assistance: '|| BranchCustData || crlf ||
    'Other: '|| Other || crlf ||
    'Project Name: '|| ProjectName|| crlf ||
    'Purpose: '|| Purpose || crlf ||
    'Indended Audience: '|| Audience || crlf ||
    'Who Will Pay?: ' || WhoPay || crlf ||
    'Deadline: '|| Deadline || crlf ||
    'Progress Made: ' || Progress || crlf ||
    'Mailing List Update: ' || EmployeeUpdate || crlf ||
    'WESCO Win: '|| WESCOWin || crlf ||
    'Win Description: ' || DescribeWin || crlf ||
    'Contract Value/Potential Sales: '|| PotentialValue || crlf ||
    'Participating Branches: '|| PartBranches || crlf ||
    'Significant Contributors: '|| SignifPeople || crlf ||
    'Special Factors: '|| SpecialFactors;
    utl_smtp.helo(mail_conn, mailhost);
    utl_smtp.mail(mail_conn, FromAdd);
    utl_smtp.rcpt(mail_conn, ToAdd);
    utl_smtp.data(mail_conn, mesg);
    utl_smtp.quit(mail_conn);
    end;

    Try executing the procedure independently (say from sqlplus) to see whether the procedure works fine.
    Alternatively, try commenting out the calls to the utl_smtp packages to see whether the procedure works.

  • Oracle ADF Find and Execute in form

    Hi,
    I have followed the blog for creating a form which allows for searching. I am executing the Find operation on the viewiterator to enter into query mode at the time of launching the form (in pagephaselistener calling managed bean method and the method executes the OperationBinding.execute to execute the find operation). The view does not have any bind variables, It is a simple view on the table with out any mandatory fields. Then I executed "execute" operation using OperationBinding based on an event in the page by entering the query criteria on the page for a textfield. This is working fine and it is returning the matching records for the query criteria. So far it is good.
    http://andrejusb.blogspot.com/2008/09/jdeveloper-11g-crud-in-adf-form.html
    But the problem is when there are mandatory fields. My expectation is to execute the query based on the event in the UI even the mandatory fields are not filled. Let us say If the view object is having 4 mandatory columns and the user enters only 1 column it should perform the query and populate the fields. Could you please sugggest.
    The behavior should be some thing similar to Oracle forms enter query and execute query modes for the same form fields.
    Thanks and Regards,
    S R Prasad

    You're hitting a bug. See ADF Faces Classical Search Form works only with Entity base VO  in JDev 11? for a workaround suggestion.

  • Adobe form: error while executing the form

    Hi all,
    I am working on SAP interactive (editable) form (ECC 6.0).When I am executing my driver program, I am getting the following error:
    "com.adobe.ProcessingException: Could not retrieve"
    My driver program code is as below:
    l_outputparams-pdfchangesrestricted = 'X'.
      l_outputparams-connection = 'ADS'.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = l_outputparams
      fp_docparams-langu   = 'EN'.
      fp_docparams-country = 'US'.
      fp_docparams-fillable = 'X'.
      CALL FUNCTION l_name
        EXPORTING
          /1bcdwb/docparams  = fp_docparams
    If I remove
    fp_docparams-fillable = 'X'
    line then I am not getting any error.
    Can anybody please tell me how to remove the error.
    thanks in advance.
    Rajesh.
    Edited by: Rajesh K on Jul 31, 2008 12:48 PM

    Hi Rajesh,
    Your code doesnt seem to have a problem, For interactive reports you need to set attrivute fillable to 'X'.
    I guess they is a problem with something else.
    l_outputparams-pdfchangesrestricted = 'X' , this is not a field of this structure "SFPOUTPUTPARAMS" right??
    Regards,
    Nisrin.

Maybe you are looking for

  • Can I send a preview of an iWeb website to a PC user prior to going live?

    I have a completed site in iWeb that needs to be previewed by another member of my group prior to publishing the site live. He is a PC user. Is there a way to show him a preview of the site prior to uploading it to ftp and going live? thanks! Todd

  • Can't transfer files to External Hard Drive

    I'm trying to transfer files to an external hard drive, Free Agent, which I was freely able to do from my pc. Get Info on the hard drive gives me, Sharing & Permissions: You can only read. I went into Sharing in System Pref. Added the hard drive and

  • I DESPERATLY NEED HELP TRANSFERING SONGS FROM IPOD TO ITUNES LIBRARY

    hi my computer crashed downstairs and i need help moving all my songs from my ipod to my itunes library, on the other computer...will someone please help me?

  • Guidance on how to work with more REST services

    You have already seen examples of REST services like Bing Search, Bing Translator and Yammer working in Project Siena Beta2. We now have a blog post outlining how to author a WADL configuration file for accessing REST services: http://blogs.technet.c

  • Excel and flex

    Hi frnds            i am another new bie in flex, from 2 days i have a problem wherei am getting values from excel sheet converting to xml using java and using dat xml in flex list box and now the problem is left listbox i have those values and i m c