Problem with onBlur=validate_int_range javascript function

Hi i have a java script function which is use to check for the range of the integer i enter.
The function works fine but the problem is once i click ok on the validation boxes that come up when i enter a wrong value it allows me to click the submit box.But if i click back on the text box then the validation box appears again.
The report code is
to_clob(HTMLDB_ITEM.text(5, pref_val,15,30,'onBlur="validate_int_range('||pref_name||','''||pref_expr||''');"style="width: 220px;"',pref_name)),
and the javascript function is
<script language="JavaScript1.1" type="text/javascript">
function validate_int_range(pref_name, range) {
var pos = range.indexOf('-');
var start_val, end_val;
var actual_val = pref_name.value;
var non_digits = /\D/;
if ( non_digits.test(actual_val) ) {
alert('Validation Fail: only digits allowed. ' + range);
if ( pos > 0 ) {
start_val = range.substr(0,pos);
end_val = range.substr(pos+1, range.length-pos+1);
if ( eval(actual_val) < eval(start_val) ) {
alert('Validation Fail: smaller value than ' + start_val );
if ( eval(actual_val) > eval(end_val) ) {
alert('Validation Fail: larger value than ' + end_val);
function validate_rule(pref_name, exp) {       
var actual_val = pref_name.value;
expression = new RegExp(exp);
if ( ! expression.test(actual_val) ) {
alert('Validation Fail: Rule ' + exp);
</script>

>thanks you so much for the code, I'll test it out and
reply with >the
>results.
Shouldn't that be "Thanks so much for the Cod"?
"Dave Bar" <[email protected]> wrote in message
news:e28c7t$hk1$[email protected]..
> ahh yes, you are right..
> I should have said OR instead of AND.
> If Field is blank OR range is not between 1900 &
2006. Thanks for catching
> and pointing that out.
>
> thanks you so much for the code, I'll test it out and
reply with the
> results.
> Thanks
> -Dave
>
>
>
>
> "Lionstone" <[email protected]> wrote
in message
> news:e28b1a$fu5$[email protected]..
>> That's probably because you asked for a fish to help
you out
>>
>>> Can some kind sole help with a modified version
to also check for an
>>> entered
>>> number range?
>>
>> and fish can't type.
>>
>> You're off on the logic though, since something is
not likely to be both
>> blank and outside a certain number range. If it's
blank or outside the
>> range, either condition is sufficient for an error,
right?
>> You also want to make sure that no letters, etc, are
entered, because
>> that will mess up your comparisons to the other
numbers. Keeping in mind
>> that javascript validation can be defeated by
sneezing and you'll need to
>> re-validate on the server, this will be closer to
right (not tested).
>>
>> var ThisYear = ThisForm_Right.DOB_Year.value;
>> ThisYear = ThisYear.replace(/[^/d]/g,"");
>> if(ThisYear.length == 0)
>> {
>> alert("Please enter the year of your DOB.");
>> ThisForm_Right.DOB_Year.focus();
>> return false;
>> }
>> else
>> {
>> ThisYear = parseInt(ThisYear);
>> if((ThisYear < 1900) || (ThisYear > 2006))
>> {
>> alert ("The year of your DOB must be between 1900
and 2006.");
>> ThisForm_Right.DOB_Year.focus();
>> return false;
>> }
>> }
>>
>>
>
>

Similar Messages

  • Having problem with calling external javascript functions in LV

    Hi,
    I found this VI: http://lavag.org/topic/10304-discuss-calling-external-javascript/, which I believe can be really helpful for my work. The problem is I can't get it to run based on the following problem:
     - Apparently the "ScriptControl" cannot be loaded
    I am using LabView 8.6, and this vi has been produced in a 8.0 version. Do you think this is the problem? If not, what could cause this problem running this VI?
    Thanks,
    Diogo

    Hi,
    To start I am using this examplo from the google code page.
    <!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
        <title>Google Maps JavaScript API Example</title>
        <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=abcdefg&sensor=true_or_false"
                type="text/javascript"></script>
        <script type="text/javascript">
        function initialize() {
          if (GBrowserIsCompatible()) {
            var map = new GMap2(document.getElementById("map_canvas"));
            map.setCenter(new GLatLng(37.4419, -122.1419), 13);
            map.setUIToDefault();
        </script>
      </head>
      <body onload="initialize()" onunload="GUnload()">
        <div id="map_canvas" style="width: 500px; height: 300px"></div>
      </body>
    </html>  
    It loads a basic map, and is saved in a html file created for example in Notepad. Basically as I said the VI is very simple, see next image.
    But like I said, this strategy does not allow labview to interface dinamically with the javasscript code in the html file. Doing it this way, I would have to constantly update the code in the file with new coordinates and loading the map again. This causes the mentioned flickering problem that I also had with static maps.
    Diogo

  • Problem with tpcall and tpgetrply functions

    Hi,
    I have a problem with tpcall() and tpgetrply() functions.
    In this example (invoke tpcall()):
    FBFR32 *buf;
    FLDLEN32 buflen;
    buf = a_buffer.getBuffer(); /* getBuffer() returns FBFR32* */
    buflen = a_buffer.getLongitud();
    /* at this point: buf == a_buffer.getBuffer() */
    if (tpcall(a_contenedor.getServname(),
    (char*)a_contenedor.getBufferPeticion()->getBuffer(),
    a_contenedor.getBufferPeticion()->getLongitud(),
    (char**)&buf,
    (long*)&buflen,
    0) == -1)
    if (tperrno != TPESVCFAIL)
    LANZAR_EXCEPCION(CADENA_WHAT_SB,
    "Error en funcion Execute(), llamada tpcall()",
    tpstrerror(tperrno))
    /* at this point: buf != a_buffer.getBuffer() */
    tpcall() function change the memory address of buf. What is the problem? Is wrong my code? Is a problem with tuxedo version?
    My tuxedo version is:
    tmadmin -vINFO: BEA Tuxedo, Version 8.0, 32-bit, Patch Level 306
    INFO: Serial #: 650522264137-773290431251, Expiration NONE, Maxusers 150
    INFO: Licensed to: Telefonica Moviles Espa?a, S.A.
    INFO: 56-bit Encryption Package
    Thanks,
    ANTONIO.

    There's nothing wrong with your code or tuxedo. tpcall (and tpgetrply) can change the address of the return buffer if it needs to allocate more memory to hold the data. This is the reason why you pass a pointer to the buffer as the output buffer parameter to tpcall and tpreturn. Everything is working as expected.

  • Problem with active noise cancellation function : ...

    My nokia 6720 have problem with active noise cancellation function. It seem not working because it also have noise when this function is active. So, I try to disable this function and found that the noise is reduce (but still not clear). How do I correct this problem?
    Thanks.
    P.S. Firmware version is 012.008

    "I must must achive a segnificant attenuation of the noise in a closed volume using some NI devices ..."
    At first glance I would say "probably can be done using an FPGA as a target" since the FPGA can close a very fast loop.
    But to do that with a microphone input on a PC running Windows...
    I suspect that would be an exercise in futility.
    Anyone out there been able to turn around a microphone input fast enough to something like this?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Sudden problems with image behaviors, javascript on Yahoo servers

    I have been posting my website with Yahoo Small Business for 10 years and have never had a server-side issue (to my knowledge).  Until now.
    It should first be pointed out that all my sites are basic HTML, constructed using Dreamweaver 8 on an old Sawtooth PowerMac that runs OS X.3.8.  I am behind the times and know it. 
    I have a 2011 iMAC, but can't afford to upgrade my imaging software.  If adobe cared anything about aspiring designers, they would come down to earth with the pricing (why should current students, educators and private business be given such a massive advantage in pricing?).  Sorry, I'm just being truthful.  I do not use style sheets (though it would be helpful to learn since the web is run by them now).
    Recently, I completely redesigned my personal website.  When I tested it on my old mac, everything functioned as desired.  When tested on my new mac, everything functioned as desired.  When viewed online after uploading to the server, the page appears to load in full, but none of the image behaviors work.  Correction, the "mailto:" link works, but it was assigned in the property inspector rather than the behaviors inspector.  So I have no rollovers and no operative links beyond email.
    I sent the site files to a friend so he could check the site.  He posted it to the server he uses and all the functions on the page work correctly.  This is where I came to suspect that the problem is with the Yahoo servers and not my coding.
    Here is the link to the page that does not work correctly:
    http://www.boughnermultimedia.com
    Here is the link to the page that does work correctly:
    http://www.ericsearsandeyes.com/fboughner
    In Safari, I checked the error console and the following message appears for all java script behaviors:
    ReferenceError: Can't find variable:
    If someone here could check my source code and let me know where Yahoo is having problems with my code, it would be greatly appreciated.
    Thanks.

    Your code is corrupted.  If you view source in browser, you'll see your code is compressed into one long line. This will surely cause JavaScripts to fail.
    Your friend's version works because the code is not compressed.
    In DW, go to Edit > Preferences > Code Format >
    Which Line Break Type are you using? 
    Nancy O.

  • Problem with onBlur="window.focus()"

    Hi,
    inside the body tag of a popup widow i have used onBlur="window.focus()" and it is working fine i.e. when i tried to click on parent window the focus transfers back to popup window but i tried this by clicking like hundred times it fails i.e. the focus transfers to parent window.
    Does this function depends on number of click.
    manish

    Hi,
    No the problem is still there and it is not related to no of clicks because today for the just first time it failed.
    U have written
    "except maybe you can use onBlur and onFocus to set a variable to indicate the state and use setInterval to constantly check that every couple seconds as a backup to push it forward."
    i have not used this setInterval. ok let me tell u how i have used.
    In the parent page when it popups a window i have set a flag(global var.) to true and in the body tag (of parent itself) i used "onFocus="javascript:chkChildWin()""
    <script language="Javascript" >
    function chkChildWin()
    if(childFlag)
              cal_setFocus()// method to set the focus to popupwindow
    </script>and inside the popup window body tag i used
    onBlur="window.focus()"
    when user selects some thing from popup window or it closes the popup window then variable is reset to false. and as it is clear from the above mentioned code that parent window checks this flag on its focus method.
    sometimes it work fine and sometimes it does not.
    I don't know how to solve a problem which is not consistent, i mean this occurs randomly.
    plz help me out
    manish

  • Problem with dynamic LOV and function

    Hello all!
    I'm having a problem with a dynamic lov in APEX 3.0.1.00.08. Hope you can help me!
    I have Report and Form application. On the Form page i have a Page Item (Popup Key LOV (Displays description, returns key value)).
    When i submit the sql code in the 'List of vaules defention' box. I get the following message;
    1 error has occurred
    LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.
    When i excecute the code below in TOAD or in the SQL Workshop it returns the values i want to see. But somehow APEX doesn't like the sql....
    SELECT REC_OMSCHRIJVING d, REC_DNS_ID r FROM
    TABLE(CAST(return_dns_lov_fn(:P2_DNS_ID) AS dns_table_type)) order by 1
    returns_dns_lov_fn is a function, code is below;
    CREATE OR REPLACE FUNCTION DRSSYS.return_dns_lov_fn (p2_dns_id number)
    RETURN dns_table_type
    AS
    v_data dns_table_type := dns_table_type ();
    BEGIN
    IF p2_dns_id = 2
    THEN
    FOR c IN (SELECT dns_id dns, omschrijving oms
    FROM d_status dst
    WHERE dst.dns_id IN (8, 10))
    LOOP
    v_data.EXTEND;
    v_data (v_data.COUNT) := dns_rectype (c.dns, c.oms);
    END LOOP;
    RETURN v_data;
    END IF;
    END;
    and the types;
    CREATE OR REPLACE TYPE DRSSYS.dns_rectype AS OBJECT (rec_dns_id NUMBER, rec_omschrijving VARCHAR2(255));
    CREATE OR REPLACE TYPE DRSSYS.dns_table_type AS TABLE OF dns_rectype;
    I tried some things i found on this forum, but they didn't work as well;
    SELECT REC_OMSCHRIJVING display_value, REC_DNS_ID result_display FROM
    TABLE(CAST(return_dns_lov_fn(:P2_DNS_ID) AS dns_table_type)) order by 1
    SELECT REC_OMSCHRIJVING display_value d, REC_DNS_ID result_display r FROM
    TABLE(CAST(return_dns_lov_fn(:P2_DNS_ID) AS dns_table_type)) order by 1
    SELECT a.REC_OMSCHRIJVING display_value, a.REC_DNS_ID result_display FROM
    TABLE(CAST(return_dns_lov_fn(:P2_DNS_ID) AS dns_table_type)) a order by 1
    Edited by: rajan.arkenbout on 8-mei-2009 14:41
    Edited by: rajan.arkenbout on 8-mei-2009 14:51

    I just had the same problem when I used a function in a where clause.
    I have a function that checks if the current user has acces or not (returning varchar 'Y' or 'N').
    In where clause I have this:
    where myFunction(:user, somePK) = 'Y'
    It seems that when APEX checked if my query was valid, my function triggered and exception.
    As Varad pointed out, check for exception that could be triggered by a null 'p2_dns_id'
    Hope that helped you out.
    Max

  • Problem with instantiation in static function

    I have a problem with instatiation of objects in a static function. When I do something like this,
    public static void test1() {
    String s = new String();
    everything works fine, but when I try to do the same with a internally defined class, I get the error "non-static variable this cannot be referenced from a static context".
    My code looks roughly like this:
    public static void test2() {
    Edge e = new Edge();
    class Edge {
    public int y_top;
    public double x_int;
    public int delta_y;
    public double delta_x;
    The compiler complains with the mentioned error message over the creation of a new Edge object and I don't have the slightest clue why... :| When I put the class Edge into an external file, it works.
    Can anyone help me out there?

    Your class Edge is a member of the instance of the current class. You don't have an implicit instance of the current class (the "this" reference) in a static context, therefore you get the error.
    You need to either declare Edge as static, move it outside your class, or create an explicit instance of the outer class which you use to create instances of Edge ("Edge e = new YourMainClass().new Edge()")

  • Problem with Reload in javascript

    Hi All,
    In my application, When you click on delete icon i am calling javascript function as shown below:
    function DeleteSchedule(vjobid,vscheid)
    if(confirm('Are you sure you want to delete?'))
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=deleteSchedule',0);
    get.add('F103_JOBID',vjobid)
    get.add('F104_SCHID',vscheid)
    gReturn = get.get();
    alert(gReturn);
    location.reload(true);
    In the above function at the end i am calling location.reload(true) which intrun the entire page will gets reload and the record is getting deleted succesfully.
    Now the problem if the commit that particular location.reload functionality the page will not be refereshed even though the record is geeting deleted from backend.
    How we can overcome the above problem without the reload, since in my application there can either insert/update/delete records.
    For ex: In one situation if i had a new record and before clicking on sumbit button i will try to delete the old record, now in that case the new record what i had added is not stored since in delete functionality the reload concept is called.
    Hope u have got my problem!!
    Thanks in Advance,
    Anoo..

    Hi,
    Try change location.reload(true); to
    doSubmit('REQUEST_FOR_INSERT');Br,Jari

  • Problem with bfilename(directory_name,file_name) function

    Hi all,
    I have a problem with this function. I have built and pl/sql program in order to send an email wich includes "pdf" file.
    I have found that bfilename function works fine when you want to send a pdf file.
    However, when I execute this query
    SELECT bfilename('/usr/tmp', 'pdf_report.pdf') dato
    FROM dual;
    The result shows in the screen : /usr/tmp//pdf_report.pdf (NoExist)
    I don't know why the path includes double "//".
    Then, I wanted to open the file in this way
    bfile_len := dbms_lob.getlength(bfile_handle);
    pos := 1;
    dbms_lob.open(bfile_handle,dbms_lob.lob_readonly);
    an error occurs :
    ORA-22285: non-existent directory or file for GETLENGTH operation.
    I infere that the problem is "//" but I don't know why it happened.
    Can I use another function in order to send a pdf file inside an email ? Or can I change a blob type column in order to replace "/" insted of "//" ?.
    I appreciate your help.
    Best Regards,
    Mariano.-

    Hi Damorgan,
    I did what you told me but the error still appears.
    I created my directory in the database. But when the program executed the line with the "fileopen sentence" the error appeared again.
    I saw that the directory contained '//' instead of '/'. Can I use another function in order to send a pdf file inside an email ?
    Thanks for your cooperation and patience.
    Best Regards.
    Mariano.-

  • Problem with CFMX web service function return

    I made a post yesterday about a web service function I was
    writing, as it turns out my post was extremly incorrect for my
    problem. With this web service function I can return an array just
    fine, I can return one instance of an object just fine, however,
    when I try to return an array of the object I keep getting the
    error:
    Could not perform web service invocation "SelectGames"
    because AxisFault faultCode: {
    http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode: faultString: [org.apache.axis.AxisFault : ; nested
    exception is: coldfusion.xml.rpc.CFCInvocationException:
    [java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
    have been modified. Please refresh your web service client.]];
    nested exception is: coldfusion.xml.rpc.CFCInvocationException:
    [org.apache.axis.AxisFault : ; nested exception is:
    coldfusion.xml.rpc.CFCInvocationException:
    [java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
    have been modified. Please refresh your web service client.]]
    faultActor: faultNode: faultDetail: {
    http://xml.apache.org/axis/}stackTrace:
    AxisFault faultCode: {
    http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
    faultSubcode: faultString: [org.apache.axis.AxisFault : ; nested
    exception is: coldfusion.xml.rpc.CFCInvocationException:
    [java.lang.IncompatibleClassChangeError : Dependent CFC type(s)
    have been modifie..
    which basically means that the CF server needs restarted.
    However if I restart the CF server, no matter how many times I am
    still getting this error. If I change up my web service function to
    return just a normal array of integers or strings, or I change it
    to return one instance of the arbritrary complex type it all works
    just fine. I am still a little new on this subject and any
    enlightenment would be great. If anyone has found a way around this
    please let me know.
    Here is my complex type:
    <cfcomponent>
    <cfproperty name="Game_id" type="numeric">
    <cfproperty name="gameDate" type="date">
    <cfproperty name="Starttime" type="string">
    <cfproperty name="Place" type="string">
    <cfproperty name="Level" type="string">
    <cfproperty name="Sport" type="string">
    <cfproperty name="Gender" type="string">
    <cfproperty name="Opponent" type="string">
    <cfproperty name="Type" type="string">
    <cfproperty name="Link" type="string">
    </cfcomponent>
    I loop trhough a query and set a cfobject of the types above,
    then I append that object to an array and try t o return the array.
    Here is the basics of the loop:
    <cfset theArray = arrayNew(1)>
    <cfobject component = "games" name = "test>
    <cfloop query ...>
    <!--- set values to test ---->
    <cfset arrayApend(theArray, test)>
    </cfquery>
    <cfreturn theArray>
    my return type is array, I think the problem is I need to
    specify the return type to be an array of arbritray complex types
    which is impossible to do in CF. Anyone find a way to get around
    this?? Any feed back at all would be greatly appreciated.

    Yes, I have tried it and return type any does not work in
    this situation since this function is being consumed by a web
    service. It needs to be in the form of an array of arbritrary type
    that is defined in a cfc file. Since this is WSDL the returntype
    has to be specified to every last bit.

  • Problem with Generic datasource from function

    I developed generic datasource from function module.
    But I have problem with the select options.
    First one is order number  OBJECT_ID type char 10. When I input Object_ID = 45755 , no data selected.
    When input 0000045755, one data record selected.
    But I called functiion CONVERSION_EXIT_ALPHA_INPUT to conevet the input data. And I found  45755 was converted to 0000045755, but no record selected.
         LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'OBJECT_ID'.
            MOVE-CORRESPONDING L_S_SELECT TO L_R_OBJECT_ID.
            APPEND L_R_OBJECT_ID.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT         = L_R_OBJECT_ID-high
      IMPORTING
       OUTPUT        = L_R_OBJECT_ID-high
             CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT         = L_R_OBJECT_ID-low
      IMPORTING
       OUTPUT        = L_R_OBJECT_ID-low
          ENDLOOP.
    Another problem is CREATED_AT, which type is DEC 15,  how could I handle it ?  input is yyyymmdd, I tried to add '000000', but can't select any data.
    Thanks for any help.

    code is :
    FUNCTION ZACTIVITY_PLAN_PARTNER.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_REQUNR) TYPE  SRSC_S_IF_SIMPLE-REQUNR
    *"     VALUE(I_DSOURCE) TYPE  SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
    *"     VALUE(I_MAXSIZE) TYPE  SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
    *"     VALUE(I_INITFLAG) TYPE  SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
    *"     VALUE(I_READ_ONLY) TYPE  SRSC_S_IF_SIMPLE-READONLY OPTIONAL
    *"     VALUE(I_REMOTE_CALL) TYPE  SBIWA_FLAG DEFAULT SBIWA_C_FLAG_OFF
    *"  TABLES
    *"      I_T_SELECT TYPE  SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
    *"      I_T_FIELDS TYPE  SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
    *"      E_T_DATA STRUCTURE  ZACTIVITY_PLAN_PARTNER OPTIONAL
    *"  EXCEPTIONS
    *"      NO_MORE_DATA
    *"      ERROR_PASSED_TO_MESS_HANDLER
    Example: DataSource for table SFLIGHT
      TABLES: CRMD_ORDERADM_H.
    Auxiliary Selection criteria structure
      DATA: L_S_SELECT TYPE SRSC_S_SELECT.
      DATA:   BEGIN OF ACTIVITY,
                       OBJECT_ID       type CRMT_OBJECT_ID_DB,
                       PROCESS_TYPE    type CRMT_PROCESS_TYPE_DB,
                       OBJECT_TYPE     type CRMT_SUBOBJECT_CATEGORY_DB,
                       CREATED_BY      type CRMT_CREATED_BY,
                       CREATED_AT      type CRMT_CREATED_AT,
               END OF ACTIVITY.
      DATA: ZACTIVITY   LIKE TABLE OF ACTIVITY WITH HEADER LINE,
            Zorder   LIKE TABLE OF ZORDER_S WITH HEADER LINE,
            d_start type c length 15,
            d_end type c length 15
    Maximum number of lines for DB table
      STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
    counter
              S_COUNTER_DATAPAKID LIKE SY-TABIX,
    cursor
              S_CURSOR TYPE CURSOR.
    Select ranges
      RANGES: L_R_OBJECT_ID FOR CRMD_ORDERADM_H-OBJECT_ID,
              L_R_CREATED_AT FOR CRMD_ORDERADM_H-CREATED_AT,
              L_R_date for ZACTIVITY_PLAN_PARTNER-ZPLAN_DAT.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
      IF I_INITFLAG = SBIWA_C_FLAG_ON.
    Check DataSource validity
        CASE I_DSOURCE.
          WHEN 'ZACTIVITY_PLAN_PARTNER'.
          WHEN OTHERS.
            IF 1 = 2. MESSAGE E009(R3). ENDIF.
    this is a typical log call. Please write every error message like this
            RAISE ERROR_PASSED_TO_MESS_HANDLER.
        ENDCASE.
        APPEND LINES OF I_T_SELECT TO S_S_IF-T_SELECT.
    Fill parameter buffer for data extraction calls
        S_S_IF-REQUNR    = I_REQUNR.
        S_S_IF-DSOURCE = I_DSOURCE.
        S_S_IF-MAXSIZE   = I_MAXSIZE.
        APPEND LINES OF I_T_FIELDS TO S_S_IF-T_FIELDS.
      ELSE.                 "Initialization mode or data extraction ?
    First data package -> OPEN CURSOR
        IF S_COUNTER_DATAPAKID = 0.
          LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'OBJECT_ID'.
            MOVE-CORRESPONDING L_S_SELECT TO L_R_OBJECT_ID.
            APPEND L_R_OBJECT_ID.
         ENDLOOP.
    if  L_R_OBJECT_ID-option is initial.
      L_R_OBJECT_ID-option = 'EQ'.
      L_R_OBJECT_ID-sign ='I'.
      endif.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT         = L_R_OBJECT_ID-high
      IMPORTING
       OUTPUT        = L_R_OBJECT_ID-high
             CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        INPUT         = L_R_OBJECT_ID-low
      IMPORTING
       OUTPUT        = L_R_OBJECT_ID-low
          LOOP AT S_S_IF-T_SELECT INTO L_S_SELECT WHERE FIELDNM = 'CREATED_AT'.
            MOVE-CORRESPONDING L_S_SELECT TO L_R_CREATED_AT.
            APPEND L_R_CREATED_AT.
          ENDLOOP.
          OPEN CURSOR WITH HOLD S_CURSOR FOR
          SELECT OBJECT_ID FROM CRMD_ORDERADM_H
                                  WHERE OBJECT_ID  IN  L_R_OBJECT_ID
                                  AND          CREATED_AT IN L_R_CREATED_AT    and
                                        PROCESS_TYPE EQ 'Z220'.
        ENDIF.                             "First data package ?
    Fetch records into interface table.
      named E_T_'Name of extract structure'.
        FETCH NEXT CURSOR S_CURSOR
                   APPENDING CORRESPONDING FIELDS
                   OF TABLE E_T_DATA
                   PACKAGE SIZE S_S_IF-MAXSIZE.
        IF SY-SUBRC <> 0.
          CLOSE CURSOR S_CURSOR.
          RAISE NO_MORE_DATA.
        ENDIF.
        S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
      ENDIF.              "Initialization mode or data extraction ?
    ENDFUNCTION.

  • Visualization problem with some website javascript

    Hi to everyone,
    i note visualization problem with some website, it seems some javascript.
    If i visit for example the website
    www.filesonic.com
    I don't tha image in the middle of the website and if i click on "login" no windows appear.
    This is happen with different browser and for example if open the javascript debug with Safari under the section "console" i see this error:
    Failed to load resource: the server responded with a status of 404 (Not Found)
    jquery.history.js:194
    ReferenceError: Can't find variable: jQuery
    global.it.js:2
    ReferenceError: Can't find variable: $
    http://www.filesonic.it/:111
    ReferenceError: Can't find variable: $
    How can i solve it?
    It is not just a problem of this website but also some other
    Javascript update 1 is installed and it is activated in java preferences and also in browser preferences
    Regards

    I think I had a similar problem
    https://discussions.apple.com/message/25094902#25094902
    Solution was:
    https://discussions.apple.com/thread/4222662

  • Problems with output using html2fo function

    Hello,
    I have a problem with output when using html2fo function.
    My sample xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <RTECODE>
    <![CDATA[
    <table border="1">
    <tr>
    <td>row 1, cell 1</td>
    <td>row 1, cell 2</td>
    </tr>
    <tr>
    <td>row 2, cell 1</td>
    <td>row 2, cell 2</td>
    </tr>
    </table>
    ]]>
    </RTECODE>
    Can anybody explain why the rtf template output is different in pdf, rtf, excel ? It looks ok only in pdf.
    Thanks in advance.

    Check these
    http://docs.oracle.com/cd/E23943_01/bi.1111/e22254/create_rtf_tmpl.htm#CHDCEEIJ
    https://blogs.oracle.com/xmlpublisher/entry/html_in_xml_support
    If helps mark
    Edited by: Srini VEERAVALLI on Feb 25, 2013 10:04 AM

  • Problem with Adobe Send Email functionality

    I have come across an issue in Adobe Reader 9 where if a PDF doucment loads with an IE frame, and you click the 'Send Email' button, the subject line is blank.
    Example URL: http://sc.openoffice.org/excelfileformat.pdf
    On clicking the Send Email button -> Send Copy
    Does anyone know a workaround to get the subject line populated?
    In addition, with previous versions of Abode (6,7,8) the subject line defaults to the name of the PDF instead of the PDF title? Is there a way of changing this?
    Any help would be most appreciated.

    I'm sorry to hear that you're having a problem with sending your files through Adobe Send.  Can you provide more details?
    What type of file are you sending?
    When you download the file yourself, is it blank?
    Are all recipients having the same problem?
    Do the recipients get a Preview of the file?
    Are they seeing the blank document as a Preview as well as after downloading?
    Would it be possible for you to send the file to me through Adobe Send?  I will provide you with my email address in a Private Message.

Maybe you are looking for

  • EMac to iMac - How do I transfer data when USB ports don't work?

    I just bought a new iMac to replace my old eMac and I need to transfer the data from the eMac to the iMac - here's the problem - the USB ports on the eMac aren't working, the devices work fine like keyboard & mouse but the USB ports are dead. I can't

  • The app Spaces keeps me from using two applications at the same time.

    I set up Spaces but now experience a bad side-effect. When I need to have Two files/folders/whatever in use because I want to place something from X into Y, I cannot do it because Spaces only lets One application on the desktop at the time; it shoos

  • IMac Display / Fans Stopped Working

    So, I've read up on a lot of the other iMac issues with displays going out. However when attaching an external display still nothing shows up. But I've noticed the lower left fan is also not spinning (yes I am authorized to remove parts). So I remove

  • Device Manager lists AT-GPIB/TNT instead of AT-GPIB

    I installed the AT-GPIB using the Atwin271 file, and then followed up with the Compatibility Release. The hardware and software diagnostics both succeed, and MAX is able to talk to the device. In the Device Manager, though, it lists the AT-GPIB/TNT a

  • Embed src issue / Div moving

    Alright, two problems here. My website is at http://www.theepicenter.org/pagetemp.htm. First: I did a check on my code at validator.w3.org. It keeps telling me that there are errors on Line 113 with the <embed> element (this is the "destination finde