Reg: Deselect/UnFocus on field

Hello Guru's,
I have a requirement to restrict the file types when adding attachment in Adobe Interactive Form.
Below is the code I have in Validate Event:
It is setting focus when adding document which is not PDF, but when I correct it and give a valid PDF document the focus is still on the field.
Please help me to remove the focus when I attach a PDF file.
if( this.rawValue == null )
else{ var fileName = this.rawValue;
var ext = fileName.substr(fileName.lastIndexOf('.')+1);
if(ext == "PDF" || ext == "pdf")
else
app.alert("Please select a valid PDF file");
FilePath.validate.nullTest = "error";
xfa.host.setFocus("InteractiveForm.SubForm.row_3.FilePath");
Thanks,
Pramod

hi
it seem there is a problem with java code, i believe when the file is attached to the form the value of field is not changed yet, you can try your code in CHANGE event instead of validate and see how it works.
there is another example of java code that you can fit to your requirement.
    function checkFile(fieldObj)
        var FileName  = fieldObj.value;
        var FileExt = FileName.substr(FileName.lastIndexOf('.')+1);
        var FileSize = fieldObj.files[0].size;
        var FileSizeMB = (FileSize/10485760).toFixed(2);
        if ( (FileExt != "pdf" && FileExt != "doc" && FileExt != "docx") || FileSize>10485760)
            var error = "File type : "+ FileExt+"\n\n";
            error += "Size: " + FileSizeMB + " MB \n\n";
            error += "Please make sure your file is in pdf or doc format and less than 10 MB.\n\n";
            alert(error);
            return false;
        return true;
hope this helps,

Similar Messages

  • How to deselect refrence table fields in Maintenance view.

    Hello,
            Could any one tell me how to deselect all fields here except mara .
    In the first link as below it shows the table selection tab in maintain view window.
    http://postimage.org/image/6701iidlh/
    When i click Relationships after selecting one base table , i get the second link as u see below
    http://postimage.org/image/p7wpknnht/
    I m unable to deselect the referenced tables Could some one throw light on this.
    Thanks
    Edited by: sarat on Nov 23, 2011 11:50 AM

    HI ,
    Find the below thread ,
    Hiding primary key field in Table maintenance generator
    It will help you to deselect refrence table fields in Maintenance view.  
    Regards,
    Saravana.S

  • Reg the Sort Key field in Vendor Master Record

    Hi MM Gurus,
    I have the requirement of displaying the Purchase Order number & Line Item number in the Accounting document of the Goods Receipt. i.e., in the "Assignment" field.
    I have made the necessary configuration in FS00 for the specific GL account & also specified 014 code in the corresponding Vendor master record.
    However, once I post the GR document, and checked the "Assignment" field, it displays only the Purchase Order number and not the Line item number.
    Kindly help me on this.
    Best Regards
    Sudhi

    Have you posted the above document after set 014 in FS00 ?
    Can you test the same in your practice client.
    Check the document for more details Sort Key Functionalities and the wiki content How to update Assignment field in FBL*N report - ERP Financials - SCN Wiki
    (Note: The changes of FS00 as 014 will not effect old documents)

  • Reg:FB02 - payment terms field shouldbe disable

    Dear all,
    When i am doing the transaction by using FB02 tcode for open items once i am maintaining  the payment terms for that document number , after that no one cant able to change that document number payment terms field should be disable mode.
    But  i cant get this feature for open items. But i can get this feature for cleared items. Once that document get cleared , automatically the payment terms field also going to disable mode.
    This same feature should be needed for open items also, once the payment terms field entered, it will leads to go to the non editable mode. 
    Helpful answers will be rewarded.
    Thanks,
    Sankar M

    Hi Enrique,
    I think it is because of Field Status .So Check the Field Status Variant in SPRO.
    Path:Financial Accounting (New)->Accounts Receivable and Accounts Payable->Business Transactions->Outgoing Invoices/Credit Memos->Make and Check Document Settings->Define Field Status Variants
    Check for your Field Status Variant assigned for your company code then the Field Status Group.Hope you can see the Field Payment Term check whether it is Suppressed or not else make it Optional or Required according to your requirement.
    Hope this might help you
    Regards
    Andrew

  • REG SETTING AN AUDISP FIELD VALUE TO NEVER IN IW32

    Hi all,
    I have a case in which on save of PM order i go to an exit, in which i am getting all the details in the exit , except the "RESBD-AUDISP" where the scenario is to change this field value (its values are 1,2 and 3) based on few conditions and reflect back in the order.
    So, i am unable to proceed further.
    Even tried BAPI_ALM_ORDER_GETDETAIL but it will not fetch the data from the order but it ll fetch from the database which is not useful to me,
    So, if any one helps me out in this it will be gr8.
    Thanks,
    Srinivas Chakravarthy.
    Edited by: Srinivas Kalyan Chakravarthy on May 30, 2009 8:07 AM

    hi
    i have a issue similar to ur problem. please tell me how can we modify audisp value in production order.

  • Reg Modification of a field in internal table.

    Hi
    i have requirement like this. I have a header and an items in a report. In header, i need to display the no. of . items(count). In my report i am displaying the records before moving to internal table(Direct write). Also i want to download that report into a CSV file.
    Regards
    Ravi

    hi,
    Check out this sample code
    report ztest.
    data: begin of itab occurs 0,
    fld1(10) type c,
    fld2(10) type c,
    fld3(10) type c,
    end of itab.
    data: begin of iout occurs 0,
    rec(1000) type c,
    end of iout.
    parameters: p_file type localfile default 'C:\test.csv'.
    data: file type string.
    start-of-selection.
        * Build the ITAB
    itab-fld1 = 'A'.
    itab-fld2 = 'B'.
    itab-fld3 = 'C'.
    append itab.
    itab-fld1 = 'D'.
    itab-fld2 = 'E'.
    itab-fld3 = 'F'.
    append itab.
    itab-fld1 = 'G'.
    itab-fld2 = 'H'.
    itab-fld3 = 'I'.
    append itab.
        * Build the output internal table from ITAB
        * Concatenate all fields into IOUT-REC
    loop at itab.
    concatenate itab-fld1 itab-fld2 itab-fld3 into iout-rec
    separated by ','.
    condense iout-rec no-gaps.
    append iout.
    endloop.
        * Now Download
    file = p_file.
    call function 'GUI_DOWNLOAD'
    exporting
    filename = file
    tables
    data_tab = iout
    exceptions
    others = 22.

  • Reg: Error in BMEIN field while doing BOM master upload in direct input met

    Hi ABAPERs,
         I am  doing BOM master upload using direct input method of LSMW.
    It is showing one error while the time of execution that 'The BMEIN field is not an input field'.
    But in my input file they have given the data for BMEIN field so I can not remove that field.
    I am not able to ressolve that issue. Can any one please help me regarding this.
    Thanks and Regards
    Deepa

    goto transaction code and check the BMEIN field in the screen level. if it is disable mode it will not accept and get the error.
    for this ask to functional people to chnage the customization for this filed.
    currently the field is disable mode in screen level ,so chage the BMEIN field is optional through custmozation....

  • Reg:CO-PA Value Field

    Hi guru's
    I activated one Value field to my operation concern, but i was not assigned any where,
    Now i wanted to deactive that value filed how it will possiable...
    Rgds
    Srinu

    Sloved

  • Reg Message Lov Input Field In Query Region Search.

    Hi ,
    I have a issue to implement a Message Lov Input Field in Query Region Search(AutoCustomizationSearch).
    Please Help on this Issue
    Thanks & Regards
    Santhu

    Santhu ,
    Please Let us know the step you have followed to achieve this , and what is the error you are getting .
    Regards ,
    Keerthi

  • Reg. T190H table, field KOMAS ($)  in LIS

    In table T190H, field KOMAS($) .Can anyone explain for whch condition we are using this field?

    Hello Prabu,
    Please remember that whenever you design a table in the layout, you should not drag the table directly from DATA VIEW. Instead you should drag only the DATA part of the Table since doing this way keeps the DATA part in a sub form. Then you wrap a parent sub form and bind it with the table if you want to. Sub forms will give you a lot of flexibility for defining run time attributes.
    Now you can follow the detailed steps given below to design a table in an efficient manner and also resolve the Overflow issue of the field.
    DATA sub form
    Step 1) In layout editor you will be able to see a table in data view tab.
    Step 2) Don't drag the whole table. Instead, drag only the data part of the Table in the content area sub form in the design view(body page)tab.
    Step 3) Select this DATA sub form and in the object palette give content as flowed and Uncheck the "Allow Page breaks within content".
    Step 4) In Flow direction, give Western text.
    Step 5) In Binding tab, Check the "Repeat sub form for each data item".
    Table sub form
    Step 1) Wrap the DATA sub form in a parent sub form. So this parent sub form will be a Table sub form.
    Step 2) Click on the parent sub form under which the DATA sub form is available. Select this parent sub form and in the object palette give content as flowed. In Flow direction, give Top to bottom. And check the "Allow Page breaks within content". In place give Following previous and in After give Continue filling Parent.
    Step 3) If needed, you can do the binding in the Binding section by selecting the internal table name.

  • Reg:How to add fields to the scripts in detail

    How to add fields to the scripts in detail.
    Plz give me one example help me out.

    Hi
    add fields to the scripts by sending that field between  two &s.
    for example if u want to add lifnr of lfa1 table then pass field like this.
    &wa_lfa1-lifnr&.here wa_lfa1 is work area for internal table it_lfa1.
    if name1 then &wa_lfa1-name1&
    in this way you can add fields to the script under any window.
    i am sending one example program for scripts.
    &--structure declaration--
    TYPES:BEGIN OF ST_LFA1,
          LIFNR TYPE LFA1-LIFNR,
          NAME1 TYPE LFA1-NAME1,
          LAND1 TYPE LFA1-LAND1,
          ORT01 TYPE ORT01,
          REGIO TYPE REGIO,
          END OF ST_LFA1.
    TYPES:BEGIN OF ST_EKKO,
          EBELN TYPE EKKO-EBELN,
          BUKRS TYPE EKKO-BUKRS,
          AEDAT TYPE EKKO-AEDAT,
          ERNAM TYPE EKKO-ERNAM,
          BSTYP TYPE EKKO-BSTYP,
          LIFNR TYPE EKKO-LIFNR,
          END OF ST_EKKO.
    TYPES:BEGIN OF ST_EKPO,
          EBELN TYPE EKPO-EBELN,
          EBELP TYPE EKPO-EBELP,
          LOEKZ TYPE EKPO-LOEKZ,
          AEDAT TYPE EKPO-AEDAT,
          MATNR TYPE EKPO-MATNR,
          NETWR TYPE EKPO-NETWR,
          END OF ST_EKPO.
    &--internal table,work area declaration--
    DATA:WA_LFA1 TYPE ST_LFA1,
         IT_LFA1 TYPE STANDARD TABLE OF ST_LFA1,
         WA_EKKO TYPE ST_EKKO,
         IT_EKKO TYPE STANDARD TABLE OF ST_EKKO,
         WA_EKPO TYPE ST_EKPO,
         IT_EKPO TYPE STANDARD TABLE OF ST_EKPO.
    &--data declaration--
    DATA:TOTAL TYPE EKPO-NETWR,
          V_EBELN TYPE EKKO-EBELN.
    data: v_item(20) type c.
    &--parameter for purchase document number--
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS P_PURDOC LIKE V_EBELN.
    SELECTION-SCREEN END OF BLOCK B1.
    START-OF-SELECTION.
      PERFORM GET_DATA_FROM_EKKO.
      PERFORM GET_DATA_FROM_LFA1.
      PERFORM GET_DATA_FROM_EKPO.
    &--grand total--
      LOOP AT IT_EKPO INTO WA_EKPO.
        TOTAL = TOTAL + WA_EKPO-NETWR.
        CLEAR WA_EKPO.
      ENDLOOP.
    &--open form--
      CALL FUNCTION 'OPEN_FORM'
       EXPORTING
        DEVICE                            = 'PRINTER'
        FORM                              = 'Z_50886_VENDOR'
        LANGUAGE                          = SY-LANGU
       EXCEPTIONS
         CANCELED                          = 1
         DEVICE                            = 2
         FORM                              = 3
         OPTIONS                           = 4
         UNCLOSED                          = 5
         MAIL_OPTIONS                      = 6
         ARCHIVE_ERROR                     = 7
         INVALID_FAX_NUMBER                = 8
         MORE_PARAMS_NEEDED_IN_BATCH       = 9
         SPOOL_ERROR                       = 10
         CODEPAGE                          = 11
         OTHERS                            = 12
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    &--write form for header details--
      READ TABLE IT_EKKO INTO WA_EKKO INDEX 1.
      CALL FUNCTION 'WRITE_FORM'
       EXPORTING
         ELEMENT                        = 'HEAD'
         WINDOW                         = 'HEADER'
       EXCEPTIONS
         ELEMENT                        = 1
         FUNCTION                       = 2
         TYPE                           = 3
         UNOPENED                       = 4
         UNSTARTED                      = 5
         WINDOW                         = 6
         BAD_PAGEFORMAT_FOR_PRINT       = 7
         SPOOL_ERROR                    = 8
         CODEPAGE                       = 9
         OTHERS                         = 10
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    &--write form for item details--
      LOOP AT IT_EKPO INTO WA_EKPO.
      concatenate wa_ekko-ebeln wa_ekpo-ebelp into v_item.
        CALL FUNCTION 'WRITE_FORM'
         EXPORTING
           ELEMENT                        = 'ITEM'
           WINDOW                         = 'MAIN'
    EXCEPTIONS
       ELEMENT                        = 1
       FUNCTION                       = 2
       TYPE                           = 3
       UNOPENED                       = 4
       UNSTARTED                      = 5
       WINDOW                         = 6
       BAD_PAGEFORMAT_FOR_PRINT       = 7
       SPOOL_ERROR                    = 8
       CODEPAGE                       = 9
       OTHERS                         = 10
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDLOOP.
    &--write form for vendor details--
      READ TABLE IT_LFA1 INTO WA_LFA1 INDEX 1.
      CALL FUNCTION 'WRITE_FORM'
       EXPORTING
         ELEMENT                        = 'VENDOR'
         WINDOW                         = 'ADDRESS'
       EXCEPTIONS
         ELEMENT                        = 1
         FUNCTION                       = 2
         TYPE                           = 3
         UNOPENED                       = 4
         UNSTARTED                      = 5
         WINDOW                         = 6
         BAD_PAGEFORMAT_FOR_PRINT       = 7
         SPOOL_ERROR                    = 8
         CODEPAGE                       = 9
         OTHERS                         = 10.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    &--write form for grand total--
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
        WINDOW                         = 'TOTAL'
    EXCEPTIONS
       ELEMENT                        = 1
       FUNCTION                       = 2
       TYPE                           = 3
       UNOPENED                       = 4
       UNSTARTED                      = 5
       WINDOW                         = 6
       BAD_PAGEFORMAT_FOR_PRINT       = 7
       SPOOL_ERROR                    = 8
       CODEPAGE                       = 9
       OTHERS                         = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    &--close form--
      CALL FUNCTION 'CLOSE_FORM'
       EXCEPTIONS
         UNOPENED                       = 1
         BAD_PAGEFORMAT_FOR_PRINT       = 2
         SEND_ERROR                     = 3
         SPOOL_ERROR                    = 4
         CODEPAGE                       = 5
         OTHERS                         = 6
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *&      Form  get_data_from_ekko
    FORM GET_DATA_FROM_EKKO .
      SELECT EBELN
             BUKRS
             AEDAT
             ERNAM
             BSTYP
             LIFNR
          FROM EKKO INTO TABLE IT_EKKO WHERE EBELN = P_PURDOC.
    ENDFORM.                    " get_data_from_ekko
    *&      Form  get_data_from_lfa1
    FORM GET_DATA_FROM_LFA1 .
      IF NOT IT_EKKO[] IS INITIAL.
        SELECT LIFNR
               NAME1
               LAND1
               ORT01
               REGIO
               FROM LFA1 INTO TABLE IT_LFA1 FOR ALL ENTRIES IN IT_EKKO WHERE
                    LIFNR = IT_EKKO-LIFNR.
      ENDIF.
    ENDFORM.                    " get_data_from_lfa1
    *&      Form  get_data_from_ekpo
    FORM GET_DATA_FROM_EKPO .
      IF NOT IT_EKKO[] IS INITIAL.
        SELECT EBELN
               EBELP
               LOEKZ
               AEDAT
               MATNR
               NETWR
               FROM EKPO INTO TABLE IT_EKPO
               WHERE EBELN = P_PURDOC.
      ENDIF.
    ENDFORM.                    " get_data_from_ekpo

  • Reg: "Reason for ordering" field in Scheduling Agreement.

    Hi guys,
    I am not getting the field "Reason for Ordering" in Scheduling Agreement.(ECC 6.0).
    I am getting the same field in PO in "Retail" tab.
    Any body can help me in this aspect.
    Kannan

    Hi,
    This field is not available for Scheduling Agreement. It is only available for Purchase Order.
    Even you will not get this in Field selection also.

  • Reg FV60 personnel number field

    Hi All,
    when using the FV60 transation for parking an invoice along with G/L account number, it parks w/o throwing any error.
    When i try to post the invoice, it throws the error that the personnel number is a required field.
    Could somebdy tell me agaist which table i need to check the corresponding personnel number for tht particular G/L account?

    Hi ,
    Go to OBC4 and make required modification for taht FSG (you can get that from FS00 nad Control Data), and additional account assignement-Personnel number as Optional,
    Before doing that so please verify the actual requirement with your Client do they want to have a required entry while making actual Posting or not?
    Paartha

  • Enhancement failure of  "0FI_AR_4 " :  No data of field "ZWBANK "

    1. Enhance Extraction Structure of "0FI_AR_4 "  with the field of "ZWBANK ". (rsa6)
    2. Deselect the "Hide field" of "ZWBANK "
    3. RSA3 -> Extract the "0FI_AR_4 " -> "ZWBANK " appears,  no data.
    4. Function Enhancement of  "0FI_AR_4 " (rsa6) -> Project "ZBW220" -> "Components" -> "EXIT_SAPLRRS0_001" ->   
        "INCLUDE ZXRSRU01"
    5.  ABAP :
    *0FI_AR_4 DATASOURCE
    DATA S_AR LIKE DTFIAR_3.
    CASE I_DATASOURCE.
      WHEN '0FI_AR_4'.
       LOOP AT C_T_DATA INTO S_AR.
         l_tabix = sy-tabix.
           SELECT SINGLE WBANK
           FROM BSED
           INTO S_AR-ZWBANK
            WHERE belnr = S_AR-BELNR
            AND   buzei = S_AR-BUZEI
            AND   bukrs = S_AR-BUKRS
            AND   gjahr = S_AR-GJAHR.
         IF SY-SUBRC = 0.
          MODIFY C_T_DATA FROM S_AR INDEX l_tabix.
         ENDIF.
         CLEAR l_tabix.
       ENDLOOP.
       CLEAR S_AR.
    ENDCASE.
    6. check ->  "No syntax errors found"
    7. RSA3 -> Extract the "0FI_AR_4 " -> "ZWBANK " appears,
        But still  no data !!
    How could this happen? and how to debug using RSA3 ?
    Thanks!
    Edited by: peteron on Sep 1, 2010 6:30 PM

    Hi there,
    For using the debug go to your code after the WHEN of the datasource and click on CtrlShiftF9.
    Then go to transaction rsa3 and execute the extractor.
    This will lead to the debug code.
    Your code seems fine, but here's how I've would done it:
    *0FI_AR_4 DATASOURCE
    DATA S_AR LIKE DTFIAR_3.
    DATA: zzwbank LIKE bsed-WBANK.
    CASE I_DATASOURCE.
    WHEN '0FI_AR_4'.
    LOOP AT C_T_DATA INTO S_AR.
    clear zzwbank.
    SELECT SINGLE WBANK
    FROM BSED
    INTO zzwbank
    WHERE belnr = S_AR-BELNR
    AND buzei = S_AR-BUZEI
    AND bukrs = S_AR-BUKRS
    AND gjahr = S_AR-GJAHR.
    IF SY-SUBRC = 0.
    s_ar-zwbank= zzwbank.
    MODIFY C_T_DATA FROM S_AR.
    ENDIF.
    ENDLOOP.
    ENDCASE.
    Regards,
    Diogo.

  • How to make a text field required at run time when the user clicks the checkbox ?

    I got a form where , there are several checkboxes and text fields associated with that checkboxes.If the use clicks on the check box then the associated
    text fields should become required.I have tried the change event and the click event for the checkboxes.It gives error in the onChnage event and I got some weird results in the on click event .Sometimes if the user click the check box , then for the 1st time the field doesnt become required , then the user onclicks the check box and when the user clicks the checkbox for the second time the field becomes required,but if i deselects the highlighted field option and selects it again the field becomes required even if the user onchecks it I am totally confused !!! Adding to it i have also written the wrong code still i achieved the desired result ?? How it can be possible . I am writing the codes below , please help me as i am working under a deadline from the client.
    onChange event :
    var newVal = this.boundItem(xfa.event.newText);
    if(newVal == 0)
        xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.Purchasecost3_1" ).validate.nullTest = "disabled";
      else
         xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.Purchasecost3_1" ).validate.nullTest = "error";
    For the onClick event :
    var a = xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row2.CostItemRecovere d_OnlyEnergyCharges").rawValue;
    //app.alert(a);
    if(a == 0)
        xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck_ L1_1").validate.nullTest = "error";
      if(a == 1)
          xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck_ L1_1").validate.nullTest = "disabled";
       Please help someone !!!

    I used the onchange event and wrote the code for it. I got the result . But there is a problem.All these fields are in a table and it's a dynamic table where you can add rows dynamically at the run time .I have other change event for some fields in this table .All are working fine when i add the row.But for this check box the required fields are not validated as required at the run time . I am here giving the code , Please help me .
    form1.Subform0.Subform1.Subform9.Subform10.Table48.Row2.CostItemRecovered_OnlyEnergyCharge s::change - (JavaScript, client)
    if(this.rawValue == "1")
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck_ L1_1").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck_ L2_1").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row5.ComplianceCheck_ L1_2").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row5.ComplianceCheck_ L2_2").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row6.ComplianceCheck_ L1_3").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row6.ComplianceCheck_ L2_3").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row7.ComplianceCheck_ L1_4").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row7.ComplianceCheck_ L2_4").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row8.ComplianceCheck_ L1_5").mandatory= "error";
      xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row8.ComplianceCheck_ L2_5").mandatory= "error";
    else
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck_ L1_1").mandator = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck_ L2_1").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row5.ComplianceCheck_ L1_2").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row5.ComplianceCheck_ L2_2").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row6.ComplianceCheck_ L1_3").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row6.ComplianceCheck_ L2_3").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row7.ComplianceCheck_ L1_4").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row7.ComplianceCheck_ L2_4").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row8.ComplianceCheck_ L1_5").mandatory = "disabled";
    xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row8.ComplianceCheck_ L2_5").mandatory = "disabled";

Maybe you are looking for

  • Has anyone had issues with Novations Automap & Logic

    Hi I recently posted in regard to Logic behaving very sluggishly & trying to discover why. I am not entirely sure, but it seemed to have started after I installed Novations Automap. I found that the Input/Playback VU meters were freezing for sometime

  • Report painter issue -relating to transactional currency

    Hi Floks, I have seviour problem in Report painter . i copied one existing z report its working on CO currency based i modified little more its comming as transactional currency[GBP,USD,AED] based equivalent to CO currency [USD].  my requirement is T

  • Contract that changes in the system

    Hi Gurus,     In our system the contract is made as  1 carton= 100 bottles but it gets changed in the system as 1 carton = 250 bottles and the PO GR, IR is done based on that. Please help how to handle this. Krishna

  • Netprice in inforecord

    Hello all! In the Inforecord there is the possibilty to enter different conditions. We have Z000 for gross price and ZR00 for discount. The problem here is, that just the info out of Z000 will be taken to calculate the netprice of the inforecord in f

  • Photos Deleting and New Pictures

    I just got a new hard drive and I was able to load new music onto it and the old photos wont go away! cause I want to load new ones. But theres an error msg coming up it says: cannot be updated. An unknown error occurred (-50) Does anyone know anythi