Code verification

I am trying to get the playhead to move to a frame labeled
"features" when the cursor is held over a MC called features_mc.
The code below seems right but upon testing the movie I get an
error message that says "The class or interface 'MouseEvent' could
not be loaded." (it refeferences the function line). What am I
doing wrong?
Thanks,
Al
stop();
features_mc.addEventListener(MouseEvent.ROLL_OVER,
featuresText);
function featuresText(event:MouseEvent):void
gotoAndStop("features");
}

This would be the easiest way to do it:
features_mc.onRollOver =function(){
gotoAndStop("features");

Similar Messages

  • Where do I change the default Mobil phone # used by apple to send code verification.

    Where do I change the default Mobil phone # used by apple to send code verification. They use a cell number that is not valid. I changed it on my profile in the cloud but still they showing the old one for sending SMS code for keychain verificatio. Any idea where to change?

    Here:
    https://appleid.apple.com

  • Problems with iMessage and Apps requesting code verification

    Hi all,
    I've just bought an iPhone 4S and tried to activate iMessage and other apps like Viber and Whatsapp with no luck
    Each time I tried to activate iMessage, i was charged an international SMS, and got an "Unsuccessful Activation" or "Error Occurred" message! Even with a great Wi-Fi\3G connections!
    For Viber and Whatsapp, no verification code were receipt yet, I'm still waiting for ever!!
    I'm not sure if it was a configuration mismatch\ or an internet connection or even a malware issue!!
    Please Help!!
    Thanks in advance,
    Ibrahim

    Hi OCRSnob,
    Thanks for visiting Apple Support Communities.
    I would try steps 1, 3 and 5 of the iPhone Troubleshooting Assistant:
    http://www.apple.com/support/iphone/assistant/phone/
    Before restoring your phone (step 5), you may also want to try troubleshooting your data connection:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    iOS: Troubleshooting Wi-Fi networks and connections
    http://support.apple.com/kb/ts1398
    Best Regards,
    Jeremy

  • User Exit for Company Code verification

    Helo All.
    I have to add a validation that Company code of the sales organisation should be same as company code of the plant from where the product is sourced.
    Is there any User Exit for this?
    Thanks in advance.

    hi,
    please tell me what the T-code for this one
    Regards,
    Vijay

  • Unable to diactivate code verification after lock even after deleting echange mailbox from my iphone, the diactivate code on settings remains grayed

    Hi,
    I spent days searching for a clear and efficient solution for this: I've configured microsoft exchange on my iphone so I can access my job emails. The problem is that this obliges you to set a lock code on your phone. I tried to delete completely the exchange mail account, the "diactivate code" in the phone settings is still greyed!
    I found stories about using the exchange management cosole but this thins is simply unconfigurable (keeps telling "Initialization failed" after asking clear and understandable information like a "friendly name for the exchange forest" and the "FQDN or URL of the server running the remote PowerShell")
    Need urgent assistance!!
    Thanks

    Try also removing the profile that was installed.
    Settings>General>Profile>Remove

  • Source code Verification in different systems  ?

    Hi gurus
    I am having a custom user exit. I have to check whether the source code is same in both the Sand box and Configuration box?
    How to compare between the systems ?
    Please guide me. Urgent
    Thanks
    Meenakshi . N
    Edited by: Meenakshi.Nakshatrula on May 1, 2008 8:20 PM

    Meenakshi,
    Go to SE38 in any one of the two systems you want to compare against each other.
    Display your source code.
    Go to Utilities --> Versions --> Version management
    Now you should see the various version of your source code. Choose the version you want to compare - I suppoer you might want to choose the current / active version.
    Press the button in the top icon bar that says REMOTE comparison
    This will pop-up a box. Put in the logical ID of your Target sys OR put in the RFC destination ID for your target system, and press the little green tick mark.
    This brings you back to a similar looking screen as earlier.
    Again press the button that says REMOTE comparison - that's it.
    SAP will compare the chosen source code versions in the two systems, and give you a comparison in a split-screen format, color-coded format.
    Remember to assign points if found useful.
    Regards
    Gulshan

  • Asset Code Verification.

    Dear All,
    I have stuck into an issue and need a comprehensive response.
    I work in an Educational Institute, where a lot of assets exists.
    In an educational institute a chair is considered to be an asset.
    If i order 300 chairs, i have to take asset code from my finance department.
    My query over here is that do i have to issue 300 asset code or my work can be done with 1 asset code for 300 chairs.
    When i receive 300 chairs, i want to keep them in my central store for the sake of issuance. At this point, do i have to make 300 reservations or only 1 reservation is required for issuance of 300 chairs.

    Hi
    Usually furniture with low value "individually cheap " would capitalize but we group them in one asset no .. so i would recommend to make one asset no. for all 300 chair with Qty 300 if all has the same description..
    Regards
    Mahmoud El Nady

  • I accidentally lost the code to set up SMS on iPad.  How do I get that back?

    I was trying to set up SMS on my iPad when I accidentally lost the code verification from my computer screen.  How do I get this back?  I've deactivated the phone number (at least un-checked it) then re-activated it and it hasn't come back.

    Notes is an app that comes pre installed on your iPad.
    Looks like a yellow writing tablet with brown across the top.

  • Converting Forms 6i to 10g on Linux

    I hope this will help ...
    REQUIREMENTS ANALYSIS
    The Comet6i application is be migrated to 10g in two phases.
    •     Phase-I : Migrated from Comet6i Application to 10g on W2K Server.
    •     Phase-II : Made the Comet10g Application Linux Compatible.
    PHASE I
    In the Phase-I, the COMET6i application is migrated to 10g on Win2K Server. The following tasks are to be carried out during this phase.
    1.     Source Code Verification
    2.     Upgrading of Comet Application objects to 10g
    3.     Migration of 10g specific forms to be done individually
    4.     Check for the completeness of the process.
    Pre-requisites
    i.     Developer/200010g IDS is installed on all COMET Workstations.
    ii.     Change the Windows Registry value of TNS_Admin = M:\OraXP\NET80\admin
    Step 1: Source Code Verification
    Checked out the COMET6i version3.5 of the application source code from Harvest comet6i repository. Excluded any unnecessary files from the application. Created an excel/spreadsheet that contains all of the files sorted by category (forms, libraries, menus, graphics, utilities and reports).
    Step 2: Upgraded Application
    I.     Did the code changes in 6i forms
    1)     RUN_PRODUCT: Every occurrence of run_product in forms has been replaced with CALL_REPORT procedure which is in the attached Library Comfun.pll.
    2)     V$SESSION: Wherever there is a query for selecting OSUSER from V$session has been replaced with :GLOBAL.ntuser.
    3)     WIN_API: WIN_API.get_windows_username replaced with :GLOBAL.ntuser.
    II.     Upgraded the forms from 6i to 10g in batch mode.
    Upgrading of COMET Application is done in the following sequence:
    1)     Library files (.pll/plx): Opened each library file in iDS and compiled it. This created the 10g version of each library.
    2)     Form files (.fmb/.fmx): Started with form files that do not have references (List : MST021, MST027, DEFAULT, MODEL, MST046). Opened these forms individually in the iDS and generated it.
    3)     Migrated all the remaining forms to 10g in batch mode using Oracle utility frmcmp.exe .
    Step 4: Checked for the completeness.
    1)     UNIT TESTING: Unit testing was done after complete migration of the forms 6i to forms10g on Win2K Server and following problems were fixed.
    2)     CANVAS & FIELDS WIDTH: When we upgraded to 10g forms, some of the fields’ width was changed and canvases were overlapping to each other. This was due to non-existence of the parent property classes. We ensured that every master form is present in the directory before up gradation.
    3)     FILE NAME EXTENSION: We have renamed every form / report / icons / libraries to upper case and extension of the files in lower case for uniformity across modules. (eg: STK001.fmb, STK01.rdf, COMFUN.pll)
    PHASE II
    In the Phase-II, the COMET10g application is made Linux Compatible.
    Issues
    Following issues are identified for carrying out this task.
    1.     Case sensitivity of Linux
    2.     OS Related Function Calls and Built-Ins
    3.     Batch Commands
    4.     HOST Commands
    Solutions
    The possible solution to the above mentioned issues are:
    1.     Case Sensitivity : It is suggested that all forms, reports as well as libraries to use UPPER CASE to eliminate this issue. This will provide uniformity in coding.
    2.     OS Related Function Calls: OS routine calls such as WIN_API routines has to be changed to corresponding Linux function calls
    3.     Batch Commands : Batch commands used in the forms has to be changed to Linux shell scripts.
    4.     HOST Commands : These commands are to be changed to corresponding Linux commands.
    Steps
    1.     Generated XML for 10g forms in batch mode.
    1)     frmf2xml.bat: Using Oracle 10g utility frmf2xml.bat; all 10g forms were converted into XML format for editing purpose.
    2.     Utility developed to address the case-sensitivity issue of linux.
    1)     A basic utility is developed to change the following keywords in the XML file.
    2)     FORM Calling Routines : All the form-names were changed to upper-case in CALL_FORM, NEW_FORM & OPEN_FORM built-ins.
    3)     PROPERTY VALUES CHANGES: Values of LibraryLocation, ParentModule, ParentFileName, and IconFilename are changed to upper case to ensure compatibility with Linux OS.
    3.     Fixed the basic problems in the XML file itself using the utility.
    4.     Converted the XML back to fmb.
    1)     frmxml2f.bat: Oracle’s frmxml2f.bat utility is used to convert xml files back to FMB format. All master forms are done individually and rest all files in batch mode.
    5.     Generated the fmx on Linux in batch mode.
    1)     Created a directory structure in Linux for Comet Development.
    2)     WINSCP Utility: Copied all fmb files to Linux server using WINSCP utility.
    3)     frmcmp_batch.sh: Oracle’s frmcmp_batch.sh shell script used to compile all the fmb to generate fmx i.e. runtime in Linux environment.
    6.     Icon files are bundled to a jar file.
    1)     icons jar file: Icon files were bundled to a jar file with the support of DBA.
    2)     UI_ICON_Extension: Utility search to change the registry to show icons / bmp / gif files as icons
    7.     Copied the reports to Linux server.
    1)     rwconverter Utility: All COMET 6i reports are upgraded to 10g using Oracle utility rwconverter.exe in batch mode, and then copied to Linux Server using WINSCP facility.
    8.     Tested the application for functionality.
    1)     UNIT TESTING: Unit testing was done on each form for testing the functionality and data flow by COMET TEAM. The following points are to be taken care, before going to live:

    i think you better hire a professional consultant for this kind of help, seeing that the requirements are a bit complicated.

  • Problem in N-STEP Approval BADI

    Hi ,
    I'am new to Workflows,I need your guidance in finishing
    the Item_level Approval BADI.
    I'am working on N-Step Approval Badi(Item Level Implementation)
    I have pasted the code here.There will be Multiple levels(Max 15 Levels) of Approvals.
    When a new Shopping cart is created this BADI is not working.
    Can you please suggest me, am i missing  something in the code.?.I'am also new to ABAP but i hope i'am managing with it.
    Please Help me out.
    METHOD if_ex_bbp_wfl_approv_badi~get_remaing_approvers .
    Interface parameters:
    OBJECT_ID                  TYPE  CRMT_OBJECT_ID                "Import
    OBJECT_TYPE                TYPE  CRMT_SUBOBJECT_CATEGORY       "Import
    GUID                       TYPE  BBP_GUID_32                   "Import
    ACTUAL_APPROVAL_INDEX      TYPE  SWH_NUMC10                    "Import
    APPROVAL_HISTORY_TABLE     TYPE  BBP_WFL_APPROVAL_HISTORY_BADI "Import
    APPROVAL_TABLE             TYPE  BBPT_WFL_APPROVAL_TABLE_BADI  "Export
    NO_FURTHER_APPROVAL_NEEDED TYPE  BOOLEAN                       "Export
      INCLUDE <swfcntn01>.                  "Workflow
      DATA:
        ls_header                   TYPE bbp_pds_sc_header_d,
        lt_item                     TYPE TABLE OF bbp_pds_sc_item_d,
        ls_item                     TYPE bbp_pds_sc_item_d,
        lt_account                  TYPE TABLE OF bbp_pds_acc,
        ls_account                  TYPE bbp_pds_acc,
        lt_partner                  TYPE TABLE OF bbp_pds_partner,
        ls_partner                  TYPE bbp_pds_partner,
        lc_partner                  TYPE but000-partner,
        lt_result_tab               TYPE TABLE OF swhactor,
        ls_result_tab               TYPE swhactor,
        lc_cost_ctr                 TYPE bbp_pds_acc-cost_ctr,
        lv_co_code                  TYPE bbp_pds_sc_item_d-be_co_code,
        lt_prodcat                  TYPE TABLE OF zmwfprodcat,
        ls_prodcat                  TYPE zmwfprodcat,
    Inserted by Rakesh Palle for Assets DR # D0001055958
        lt_asset                    TYPE TABLE OF zmwfprodcat,
        lt_final                    TYPE TABLE OF zmwfprodcat,
        ls_asset                    TYPE zmwfprodcat,
        ls_final                    TYPE zmwfprodcat,
        lv_asset                    TYPE c,
    End of insertion DR # D0001055958
    Being D0001055958
        lt_order                    TYPE TABLE OF zmwfprodcat,
        ls_order                    TYPE zmwfprodcat,
        lv_order                    TYPE c,
    End D0001055958
        lt_sets                     TYPE TABLE OF zmwf_sets,
        ls_sets                     TYPE zmwf_sets,
        lt_roles                    TYPE TABLE OF str_agr2,
        ls_roles                    TYPE str_agr2,
        lt_users                    TYPE TABLE OF str_agrs,
        ls_users                    TYPE str_agrs,
        lc_persnumber               TYPE usr21-persnumber,
        ls_approver                 TYPE bbp_wfl_approval_table_badi,
        ls_approver_check           TYPE bbp_wfl_approval_table_badi,
        lv_guid                     TYPE crmd_orderadm_h-guid,
        lv_call_value1    TYPE bbp_wfl_app_property,
        ev_app_obj_guid   TYPE bbp_guid_32,
        lc_sobid                    TYPE req_name,
        lc_objid                    TYPE hrp1001-objid,
        lc_objid_s                  type hrp1001-objid,
       lt_appr_def       TYPE TABLE OF bbpt_wfl_lia_def,
       lt_approver       TYPE TABLE OF bbp_wfl_approval_table_badi,
        lc_slapprover               TYPE hrv1222a-low,
        li_limit                    TYPE bbp_limit,
        li_last_level               TYPE zmwfprodcat-appr_level,
        li_stepno                   TYPE i,
        lv_index                    type i,
        lc_stepno(3)                TYPE c,
        lc_first(1)                 TYPE c,
        lc_pass(1)                  TYPE c,
        li_last_setid               LIKE ls_prodcat-setid,
        c_cost_centre      TYPE bbp_wfl_app_criterion  VALUE 'COST_CTR',
        li_stop_amt                 LIKE ls_header-total_value,
        li_set_amt                  LIKE li_stop_amt,
        lt_cost_ctr                 type table of zitem_costctr,
        ls_cost_ctr                 type zitem_costctr,
       ls_approval_item  TYPE bbps_wfl_item_approval,
       lt_approval_items TYPE TABLE OF bbps_wfl_item_approval.
    Business objects type (local constants)
      CONSTANTS:
        c_shop          TYPE crmt_subobject_category VALUE 'BUS2121',
        c_aprover_value TYPE zmwf_setty VALUE 'AV',
        c_comp_value    TYPE zmwf_setty VALUE 'CD',
    **// Begin D0001055958
        c_ac_value      TYPE zmwf_setty VALUE 'AC',
        c_ad_value      TYPE zmwf_setty VALUE 'AD',
        c_oc_value      TYPE zmwf_setty VALUE 'OC',
        c_od_value      TYPE zmwf_setty VALUE 'OD',
    **// End D0001055958
        c_yes(1)        TYPE c VALUE 'X',
        c_no(1)         TYPE c VALUE ' ',
        c_requisitioner TYPE bbp_pds_partner-partner_fct VALUE '00000016'.
    **********begin of change D0001034557
      TYPES : BEGIN OF ty_swhactor,
                otype TYPE otype,
                objid TYPE actorid,
              END OF ty_swhactor.
      DATA : lt_user TYPE TABLE OF ty_swhactor,
             ls_user TYPE ty_swhactor,
             v_guid TYPE BBP_GUID_32.
    ***********end of change D0001034557
    ***********begin of change D0001043944
      DATA : lt_prodcat2  TYPE TABLE OF zmwfprodcat,
             new_approval_table TYPE BBPT_WFL_APPROVAL_TABLE_BADI,
             wa_new_approval_table TYPE BBP_WFL_APPROVAL_TABLE_BADI.
    ***********end of change D0001043944
    *****Change by suresh D0001110145
      data ws_set type zmwf_sets.
      data cd_flag.
    *****End of change by suresh D0001110145
      DEFINE set_approval_level.
        if lc_first = 'X' or
           ls_prodcat-appr_level gt li_last_level or
           ls_prodcat-setid ne li_last_setid.                  "D0001055958
          add 1 to li_stepno.
          clear lc_first.
        endif.
        ls_approver-approval_index = li_stepno.
      END-OF-DEFINITION.
      DEFINE set_approval_level_2.
        if lc_first = 'X' or
           ls_asset-appr_level gt li_last_level.
          add 1 to li_stepno.
          clear lc_first.
        endif.
        ls_approver-approval_index = li_stepno.
      END-OF-DEFINITION.
      DEFINE set_approval_description.
        write li_stepno to lc_stepno left-justified.
        concatenate 'Approval step #'
                    lc_stepno
                    into ls_approver-approval_description.
      END-OF-DEFINITION.
      CLEAR: lt_prodcat[], ls_approver.
      CLEAR: li_stepno.
      break-point.
    map input data to local data
    map char32 to raw16
      MOVE guid TO lv_guid.
      break-point.
      IF object_type = c_shop.
    get the details of the shopping cart
        CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
          EXPORTING
            i_guid      = lv_guid
            i_object_id = object_id
          IMPORTING
            e_header    = ls_header
          TABLES
            e_item      = lt_item
            e_account   = lt_account
            e_partner   = lt_partner.
    Modification for Item-Level Approval-Start
        select * from zitem_costctr
        into table lt_cost_ctr.
        lv_index = actual_approval_index.
        if lv_index = 0.
           lv_index = 1.
        endif.
        LI_STOP_AMT = LS_HEADER-TOTAL_VALUE.
    Modification for Item-Level Approval-End
        LOOP AT lt_item INTO ls_item.
    Modification for Item-Level Approval-Start
        if actual_approval_index le lv_index.
          ls_approval_item-approval_item_guid = ls_item-guid.
          READ TABLE lt_account INTO ls_account
                 WITH KEY p_guid = ls_item-guid.
          if sy-subrc is initial.
            READ TABLE LT_COST_CTR INTO LS_COST_CTR
            WITH KEY COST_CENTER_NO = LS_ACCOUNT-COST_CTR.
            LV_CALL_VALUE1 = LS_ACCOUNT-COST_CTR.
            CALL FUNCTION 'BBP_WFL_DIN_APP_OBJ_GET'
              EXPORTING
                sc_guid           = ls_header-guid
                criterion1        = 'COST_CTR'
                value1            = lv_call_value1
                iv_item_value     = ls_item-value
                iv_add_value      = 'X'
              IMPORTING
                approval_obj_guid = ev_app_obj_guid
              TABLES
                item_app_obj      = item_approval_obj.
            ls_approval_item-approval_object_guid = ev_app_obj_guid.
            LS_APPROVAL_ITEM-APPROVAL_ITEM_GUID = LS_ITEM-GUID.
            APPEND ls_approval_item TO lt_approval_items.
         approval_table[]      = lt_approver[].
    Get the Object ID of user
           SELECT SINGLE objid
                  INTO lc_objid
                  FROM hrp1001
                  WHERE sobid = ls_cost_ctr-CC_MANAGER_ID
                    AND otype = 'CP'
                    AND plvar = '01'.
           IF sy-subrc NE 0.
             EXIT.
           ENDIF.
           SELECT SINGLE objid
                  INTO lc_objid_s
                  FROM hrp1001
                  WHERE sobid = lc_objid
                    AND otype = 'S'
                    AND plvar = '01'.
           IF sy-subrc NE 0.
             EXIT.
           ENDIF.
    Get the Approver's Limit
            CLEAR li_limit.
            lc_sobid = ls_cost_ctr-CC_MANAGER_ID.
            CALL FUNCTION 'BBP_BW_GET_APPR_LIMIT'
              EXPORTING
                i_userid     = lc_sobid
              IMPORTING
                e_appr_limit = li_limit.
            IF LI_LIMIT > LS_ITEM-VALUE. "LI_STOP_AMT.
              SELECT SINGLE persnumber
                     INTO lc_persnumber
                     FROM usr21
                     WHERE bname = lc_sobid.
              IF sy-subrc IS INITIAL.
                SELECT name_text
                       INTO ls_approver-name
                       FROM adrp
                       UP TO 1 ROWS
                       WHERE persnumber =  lc_persnumber
                         AND date_from  LE sy-datum
                         AND date_to    GE sy-datum.
                ENDSELECT.
              ENDIF.
              ADD 1 TO li_stepno.
              ls_approver-approval_index = li_stepno.
              ls_approver-approval_agent = lc_SOBID.
              set_approval_description.
              APPEND ls_approver TO approval_table.
              CLEAR ls_approver.
            ELSE.
              do.
    Get the Object ID of user
                CALL FUNCTION 'BBP_WFL_DIN_APP_OBJ_GET'
                  EXPORTING
                    sc_guid           = ls_header-guid
                    criterion1        = 'COST_CTR'
                    value1            = lv_call_value1
                    iv_item_value     = ls_item-value
                    iv_add_value      = 'X'
                  IMPORTING
                    approval_obj_guid = ev_app_obj_guid
                  TABLES
                    item_app_obj      = item_approval_obj.
                ls_approval_item-approval_object_guid = ev_app_obj_guid.
                LS_APPROVAL_ITEM-APPROVAL_ITEM_GUID = LS_ITEM-GUID.
                APPEND ls_approval_item TO lt_approval_items.
                CLEAR : LC_OBJID,LC_OBJID_S.
                SELECT SINGLE objid
                       INTO lc_objid
                       FROM hrp1001
                       WHERE sobid = ls_cost_ctr-CC_MANAGER_ID
                         AND otype = 'CP'
                         AND plvar = '01'.
                IF sy-subrc NE 0.
                  EXIT.
                ENDIF.
                SELECT SINGLE objid
                       INTO lc_objid_s
                       FROM hrp1001
                       WHERE sobid = lc_objid
                         AND otype = 'S'
                         AND plvar = '01'.
                IF sy-subrc NE 0.
                  EXIT.
                ENDIF.
    Get the SL Approver
                SELECT SINGLE low
                         INTO lc_slapprover
                         FROM hrv1222a
                         WHERE plvar  =  '01'
                           AND otype  =  'S'
                           AND objid  =  lc_objid_s
                           AND begda  LE sy-datum
                           AND endda  GE sy-datum
                           AND attrib =  'SLAPPROVER'.
                IF sy-subrc NE 0.
                  EXIT.
                ENDIF.
    Get the Approver's Limit
                CLEAR li_limit.
                lc_sobid = lc_slapprover+2.
                CALL FUNCTION 'BBP_BW_GET_APPR_LIMIT'
                  EXPORTING
                    i_userid     = lc_sobid
                  IMPORTING
                    e_appr_limit = li_limit.
                SUBTRACT '.01' FROM li_limit.  "D0001093425
                IF li_limit GT 0.
    Add the approver to the list
                  SELECT SINGLE persnumber
                         INTO lc_persnumber
                         FROM usr21
                         WHERE bname = lc_sobid.
                  IF sy-subrc IS INITIAL.
                    SELECT name_text
                           INTO ls_approver-name
                           FROM adrp
                           UP TO 1 ROWS
                           WHERE persnumber =  lc_persnumber
                             AND date_from  LE sy-datum
                             AND date_to    GE sy-datum.
                    ENDSELECT.
                  ENDIF.
                  ADD 1 TO li_stepno.
                  ls_approver-approval_index = li_stepno.
                  ls_approver-approval_agent = lc_slapprover.
                  set_approval_description.
                  APPEND ls_approver TO approval_table.
                  CLEAR ls_approver.
                ENDIF.
    If the limit is greater than the stop amount, exit - we are finished
                IF li_limit GE li_stop_amt.
                  EXIT.
                ENDIF.
              ENDDO.
             endif.
             endif.
          ENDIF.
        endloop.
        data : cc type BBP_STEP_DESCRIPTION value 'CoCentre_Approvers'.
        if actual_approval_index le lv_index.
        CALL FUNCTION 'BBP_WFL_DIN_FILL_APPROVER'
          EXPORTING
            iv_approval_index   = lv_index
            ic_step_description = cc
            iv_criterion1       = 'COST_CTR'
          TABLES
            it_approval_def     = lt_appr_def
            it_approval_object  = item_approval_obj
            et_approver         = lt_approver
            it_approval_items   = lt_approval_items.
        endif.
        item_approval_table[] = lt_approval_items[].
        approval_table[]      = lt_approver[].
      endif.
    Modification for Item-Level Approval-End
    Use the product category to link to the Product Category Approval
    table and use the corresponding approver(s) for the total shopping
    cart value.
         SELECT *
                INTO TABLE lt_prodcat
                FROM zmwfprodcat.
                WHERE catid    LIKE  ls_item-category_id.
         IF sy-subrc IS INITIAL.
    ****begin of change D0001034557
    ***//Buyer to be the first approver
           MOVE lv_guid TO v_guid.
           READ TABLE lt_account INTO ls_account
                        WITH KEY p_guid = ls_item-guid.
    ****Begin of change by suresh for adding codition for buyer determination
    ****for company codes 7000 and greater D0001110145
           clear cd_flag.
           select single * into ws_set
                           from ZMWF_SETS
                            where setid = 'FCD1'.
           if ( ls_item-be_co_code GE ws_set-val_low and
                ls_item-be_co_code LE ws_set-val_high ).
             cd_flag = 'X'.
           endif.
           IF ( ls_item-itm_type = 'LIMI' OR
            ls_item-product_type = '02' OR
              ls_account-acc_cat = 'AS' ) AND
              cd_flag is initial.
    *****end of changes by suresh D0001110145
    Begin of changes by Suresh-EBDK902401
    Added the Object Type and Object ID
             CALL FUNCTION 'BBP_PDH_WFL_GET_PURCHASER_LIST'
                  EXPORTING
                    IV_GUID                 =   v_guid
        IV_OBJECT_TYPE                      =  'BUS2121'
        IV_OBJECT_ID                        = OBJECT_ID
              IV_GET_FIRST_PURCH_FROM_GROUP     =  'X'
                  TABLES
                    ET_USER                       =  lt_user.
    ***End of changes by Suresh-EBDK902401
             LOOP AT lt_user INTO ls_user.
               LOOP AT lt_prodcat INTO ls_prodcat.
                 IF NOT ls_prodcat-bname IS INITIAL.
                   CONCATENATE 'US' ls_user-objid INTO
                                 ls_approver-approval_agent.
                   READ TABLE approval_table INTO ls_approver_check
                      WITH KEY approval_agent =
    *ls_approver-approval_agent
                   IF SY-SUBRC NE 0.
                     set_approval_level.
                     set_approval_description.
                     ls_approver-name = ls_approver-approval_agent.
                     APPEND ls_approver TO approval_table.
                     CLEAR ls_approver-name.
                   ENDIF.
                 ENDIF.
                 CLEAR ls_prodcat.
               ENDLOOP.
               CLEAR ls_user.
             ENDLOOP.
           ENDIF.
           CLEAR ls_account.
    ****end of change D0001034557
    ****begin of change D0001043944
    **//Special Approvers to be right after the buyer
           IF NOT ls_item-z_spl_approval IS INITIAL.
             SELECT *  INTO TABLE lt_prodcat2
                           FROM zmwfprodcat
                           WHERE setid = ls_item-z_spl_approval.
             SORT lt_prodcat2 BY catid appr_level.
             LOOP AT lt_prodcat2 INTO ls_prodcat.
               IF NOT ls_prodcat-bname IS INITIAL.
                 CONCATENATE 'US' ls_prodcat-bname INTO
                               ls_approver-approval_agent.
                 READ TABLE approval_table INTO ls_approver_check
                    WITH KEY approval_agent = ls_approver-approval_agent.
                 IF SY-SUBRC NE 0.
                   set_approval_level.
                   set_approval_description.
                   ls_approver-name = ls_approver-approval_agent.
                   APPEND ls_approver TO approval_table.
                   CLEAR ls_approver-name.
                   li_last_level = ls_prodcat-appr_level.
                   li_last_setid = ls_prodcat-setid.
                 ENDIF.
               ENDIF.
               CLEAR: ls_prodcat,ls_approver_check.
             ENDLOOP.
           ENDIF.
    ****end of change D0001043944
           LOOP AT lt_prodcat INTO ls_prodcat.
             IF NOT ls_item-category_id CP ls_prodcat-catid.
               DELETE TABLE lt_prodcat FROM ls_prodcat.
             ENDIF.
           ENDLOOP.
    Inserted by Rakesh Palle for Assets DR # D0001055958
           LOOP AT lt_prodcat INTO ls_asset WHERE setid = 'AS01'.
             APPEND ls_asset TO lt_asset.
           ENDLOOP.
    Begin D0001055958
           LOOP AT lt_prodcat INTO ls_order WHERE setid = 'OR01'.
             APPEND ls_order TO lt_order.
           ENDLOOP.
    End D0001055958
           DELETE lt_prodcat WHERE setid = 'AS01' OR setid = 'OR01'.
           "D0001055958
    End of insertion DR # D0001055958
           SORT lt_prodcat BY catid setid appr_level ASCENDING.
           lc_first = 'X'.
           SELECT *
                  INTO TABLE lt_sets
                  FROM zmwf_sets
                  FOR ALL ENTRIES IN lt_prodcat
                  WHERE setid = lt_prodcat-setid.
    SORT lt_prodcat BY catid setid appr_level ASCENDING.
          lc_first = 'X'.
           LOOP AT lt_prodcat INTO ls_prodcat.
    Check the set data
             IF NOT ls_prodcat-setid IS INITIAL.
               READ TABLE lt_account INTO ls_account
                    WITH KEY p_guid = ls_item-guid.
    ***// Changed by Rakesh Palle to get ACC_STR & COST OBJ
    ***// if cost ctr is initial DR # D0001055958
               IF ls_account-cost_ctr IS INITIAL.
                 IF ls_account-acc_str IS INITIAL.
                   CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                     EXPORTING
                       input  = ls_account-cost_obj
                     IMPORTING
                       output = lc_cost_ctr.
                 ELSE.
                   CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                     EXPORTING
                       input  = ls_account-acc_str
                     IMPORTING
                       output = lc_cost_ctr.
                 ENDIF.
               ELSE.
                 CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                   EXPORTING
                     input  = ls_account-cost_ctr
                   IMPORTING
                     output = lc_cost_ctr.
               ENDIF.
    ***// End of insertion DR # D0001055958
    Check for valid Cost Center (set type = space)
               lc_pass = c_no.
               LOOP AT lt_sets INTO ls_sets
                    WHERE setid =  ls_prodcat-setid
                      AND setty =  space.
                 IF ls_sets-val_low = lc_cost_ctr OR
                    ( ls_sets-val_low  LE lc_cost_ctr AND
                      ls_sets-val_high GE lc_cost_ctr ).
                   lc_pass = c_yes.
                   EXIT.
                 ENDIF.
               ENDLOOP.
               IF sy-subrc IS INITIAL AND
                  lc_pass  = c_no.
                 CONTINUE.
               ENDIF.
    ***// Inserted by Rakesh Palle for Company code verification
    Check for valid Company Code (set type = CC)
               LOOP AT lt_sets INTO ls_sets
                    WHERE setid =  ls_prodcat-setid
                      AND setty =  c_comp_value.
                 IF ls_sets-val_low = ls_item-be_co_code OR
                    ( ls_sets-val_low  LE ls_item-be_co_code AND
                      ls_sets-val_high GE ls_item-be_co_code ).
                   lc_pass = c_yes.
                   EXIT.
                 ENDIF.
               ENDLOOP.
               IF sy-subrc IS INITIAL AND
                  lc_pass  = c_no.
                 CONTINUE.
               ENDIF.
    ***// End of Insertion for Company code verification
    ***// Inserted by Rakesh Palle for Asset Company code verification
      Check for valid Asset Company Code (set type = AD)
      DR # D0001055958
               IF lv_asset = 'X'.
                 LOOP AT lt_sets INTO ls_sets
                      WHERE setid = ls_prodcat-setid
                        AND setty = c_ad_value.
                   IF ls_sets-val_low = ls_item-be_co_code OR
                      ( ls_sets-val_low  LE ls_item-be_co_code AND
                        ls_sets-val_high GE ls_item-be_co_code ).
                     lc_pass = c_yes.
                     EXIT.
                   ENDIF.
                 ENDLOOP.
                 IF sy-subrc IS INITIAL AND
                    lc_pass  = c_no.
                   CONTINUE.
                 ENDIF.
    ***// End of Asset Company code verification
    ***// Check for valid Cost Center (set type = AC)
                 LOOP AT lt_sets INTO ls_sets
                      WHERE setid =  ls_prodcat-setid
                        AND setty =  c_ac_value.
                   IF ls_sets-val_low = lc_cost_ctr OR
                      ( ls_sets-val_low  LE lc_cost_ctr AND
                        ls_sets-val_high GE lc_cost_ctr ).
                     lc_pass = c_yes.
                     EXIT.
                   ENDIF.
                 ENDLOOP.
                 IF sy-subrc IS INITIAL AND
                    lc_pass  = c_no.
                   CONTINUE.
                 ENDIF.
               ENDIF.
    ***// End of Asset Cost Center
    ***// Inserted by Rakesh Palle for Order Company code verification
    Check for valid Order Company Code (set type = OD)
               IF lv_order = 'X'.
                 LOOP AT lt_sets INTO ls_sets
                      WHERE setid = ls_prodcat-setid
                        AND setty = c_od_value.
                   IF ls_sets-val_low = ls_item-be_co_code OR
                      ( ls_sets-val_low  LE ls_item-be_co_code AND
                        ls_sets-val_high GE ls_item-be_co_code ).
                     lc_pass = c_yes.
                     EXIT.
                   ENDIF.
                 ENDLOOP.
                 IF sy-subrc IS INITIAL AND
                    lc_pass  = c_no.
                   CONTINUE.
                 ENDIF.
    ***// End of Order Company code verification
    ***// Check for valid Order Cost Center (set type = OC)
                 LOOP AT lt_sets INTO ls_sets
                      WHERE setid =  ls_prodcat-setid
                        AND setty =  c_oc_value.
                   IF ls_sets-val_low = lc_cost_ctr OR
                      ( ls_sets-val_low  LE lc_cost_ctr AND
                        ls_sets-val_high GE lc_cost_ctr ).
                     lc_pass = c_yes.
                     EXIT.
                   ENDIF.
                 ENDLOOP.
                 IF sy-subrc IS INITIAL AND
                    lc_pass  = c_no.
                   CONTINUE.
                 ENDIF.
               ENDIF.
    ***// End of Order Cost Center
    ***// DR # D0001055958
    Check for SL Approver Value
               LOOP AT lt_sets INTO ls_sets
                    WHERE setid =  ls_prodcat-setid
                      AND setty =  c_aprover_value.
                 IF NOT ls_sets-val_low CN '1234567890 .'.
                   TRANSLATE ls_sets-val_low USING ', '.
                   CONDENSE ls_sets-val_low NO-GAPS.
                   li_set_amt = ls_sets-val_low.
                   IF ls_header-total_value LT li_set_amt AND
                      li_set_amt GT li_stop_amt.
                     li_stop_amt = li_set_amt.
                   ENDIF.
                 ENDIF.
               ENDLOOP.
             ENDIF.
             CHECK ls_prodcat-val_from LE ls_header-total_value
               AND ls_prodcat-val_to   GE ls_header-total_value.
    Begin D0001055958
             IF lc_pass  = c_no.
               CONTINUE.
             ENDIF.
    End   D0001055958
    Handle Approver Name - Explicit
             IF NOT ls_prodcat-bname IS INITIAL.
               CONCATENATE 'US' ls_prodcat-bname INTO
                           ls_approver-approval_agent.
               READ TABLE approval_table INTO ls_approver_check
                    WITH KEY approval_agent = ls_approver-approval_agent.
               IF sy-subrc NE 0.
                 set_approval_level.
                 set_approval_description.
                 ls_approver-name = ls_prodcat-name_text.
                 APPEND ls_approver TO approval_table.
                 CLEAR ls_approver-name.
                 li_last_level = ls_prodcat-appr_level.
                 li_last_setid = ls_prodcat-setid.          "D0001055958
               ENDIF.
             ENDIF.
    Handle Approver Names - Derive from Role
             IF NOT ls_prodcat-agr_name IS INITIAL.
               ls_roles-agr_name = ls_prodcat-agr_name.
               APPEND ls_roles TO lt_roles.
               CALL FUNCTION 'BBP_READ_USERS_OF_ROLES'
                 TABLES
                   roles              = lt_roles
                   users_of_roles     = lt_users
                 EXCEPTIONS
                   no_users_available = 1
                   OTHERS             = 2.
               IF sy-subrc IS INITIAL.
                 LOOP AT lt_users INTO ls_users.
                   SELECT SINGLE persnumber
                          INTO lc_persnumber
                          FROM usr21
                          WHERE bname = ls_users-uname.
                   IF sy-subrc IS INITIAL.
                     SELECT name_text
                            INTO ls_approver-name
                            FROM adrp
                            UP TO 1 ROWS
                            WHERE persnumber =  lc_persnumber
                              AND date_from  LE sy-datum
                              AND date_to    GE sy-datum.
                     ENDSELECT.
                   ENDIF.
                   CONCATENATE 'US' ls_users-uname INTO
                               ls_approver-approval_agent.
                   READ TABLE approval_table INTO ls_approver_check
                      WITH KEY approval_agent = ls_approver-approval_agent.
                   IF sy-subrc NE 0.
                     set_approval_level.
                     set_approval_description.
                     APPEND ls_approver TO approval_table.
                     CLEAR ls_approver-name.
                     li_last_level = ls_prodcat-appr_level.
                     li_last_setid = ls_prodcat-setid.       "D0001055958
                   ENDIF.
                 ENDLOOP.
               ENDIF.
               REFRESH: lt_roles, lt_users.
             ENDIF.
           ENDLOOP.
         ENDIF.
       ENDLOOP.
    Add the SL approvers
       CLEAR lc_sobid.
    Get the requisioner - in case the cart is created 'on behalf of'
       READ TABLE lt_partner INTO ls_partner
                  WITH KEY partner_fct = c_requisitioner.
       IF sy-subrc IS INITIAL.
         SELECT SINGLE partner INTO lc_partner
                FROM but000
                WHERE partner = ls_partner-partner_id.
         CALL FUNCTION 'RH_STRUC_GET'
           EXPORTING
             act_otype      = 'BP'
             act_objid      = lc_partner
             act_wegid      = 'BP_US'
           TABLES
             result_tab     = lt_result_tab
           EXCEPTIONS
             no_plvar_found = 1
             no_entry_found = 2
             OTHERS         = 3.
         READ TABLE lt_result_tab INTO ls_result_tab WITH KEY otype = 'US'.
         lc_sobid = ls_result_tab-objid.
       ENDIF.
    If the above code failed for any reason use the Created By user as the
    requisioner
       IF lc_sobid IS INITIAL.
         lc_sobid = ls_header-created_by.
       ENDIF.
    Set the stop amount to the total value of the cart
       IF li_stop_amt IS INITIAL.
         li_stop_amt = ls_header-total_value.
       ENDIF.
       DO.
    Get the Object ID of user
         SELECT SINGLE objid
                INTO lc_objid
                FROM hrp1001
                WHERE sobid = lc_sobid
                  AND otype = 'S'
                  AND plvar = '01'.
         IF sy-subrc NE 0.
           EXIT.
         ENDIF.
    Get the SL Approver
         SELECT SINGLE low
                  INTO lc_slapprover
                  FROM hrv1222a
                  WHERE plvar  =  '01'
                    AND otype  =  'S'
                    AND objid  =  lc_objid
                    AND begda  LE sy-datum
                    AND endda  GE sy-datum
                    AND attrib =  'SLAPPROVER'.
         IF sy-subrc NE 0.
           EXIT.
         ENDIF.
    **break-point.
    Get the Approver's Limit
         CLEAR li_limit.
         lc_sobid = lc_slapprover+2.
         CALL FUNCTION 'BBP_BW_GET_APPR_LIMIT'
           EXPORTING
             i_userid     = lc_sobid
           IMPORTING
             e_appr_limit = li_limit.
         SUBTRACT '.01' FROM li_limit.  "D0001093425
         IF li_limit GT 0.
    Add the approver to the list
           SELECT SINGLE persnumber
                  INTO lc_persnumber
                  FROM usr21
                  WHERE bname = lc_sobid.
           IF sy-subrc IS INITIAL.
             SELECT name_text
                    INTO ls_approver-name
                    FROM adrp
                    UP TO 1 ROWS
                    WHERE persnumber =  lc_persnumber
                      AND date_from  LE sy-datum
                      AND date_to    GE sy-datum.
             ENDSELECT.
           ENDIF.
           ADD 1 TO li_stepno.
           ls_approver-approval_index = li_stepno.
           ls_approver-approval_agent = lc_slapprover.
           set_approval_description.
           APPEND ls_approver TO approval_table.
           CLEAR ls_approver.
         ENDIF.
    If the limit is greater than the stop amount, exit - we are finished
         IF li_limit GE li_stop_amt.
           EXIT.
         ENDIF.
       ENDDO.
    ENDIF.
    Inserted by Rakesh Palle for Order
    DR # D0001055958
    IF lv_order = 'X'.
       lc_first = 'X'.
       LOOP AT lt_order INTO ls_order.
         CHECK ls_order-val_from LE ls_header-total_value
           AND ls_order-val_to   GE ls_header-total_value.
    Handle Approver Name - Explicit
         IF NOT ls_order-bname IS INITIAL.
           CONCATENATE 'US' ls_order-bname INTO
                       ls_approver-approval_agent.
           READ TABLE approval_table INTO ls_approver_check
                WITH KEY approval_agent = ls_approver-approval_agent.
           IF sy-subrc NE 0.
             set_approval_level_2.
             set_approval_description.
             ls_approver-name = ls_order-name_text.
             APPEND ls_approver TO approval_table.
             CLEAR ls_approver-name.
             li_last_level = ls_order-appr_level.
           ENDIF.
         ENDIF.
    Handle Approver Names - Derive from Role
         IF NOT ls_order-agr_name IS INITIAL.
           ls_roles-agr_name = ls_order-agr_name.
           APPEND ls_roles TO lt_roles.
           CALL FUNCTION 'BBP_READ_USERS_OF_ROLES'
             TABLES
               roles              = lt_roles
               users_of_roles     = lt_users
             EXCEPTIONS
               no_users_available = 1
               OTHERS             = 2.
           IF sy-subrc IS INITIAL.
             LOOP AT lt_users INTO ls_users.
               SELECT SINGLE persnumber
                      INTO lc_persnumber
                      FROM usr21
                      WHERE bname = ls_users-uname.
               IF sy-subrc IS INITIAL.
                 SELECT name_text
                        INTO ls_approver-name
                        FROM adrp
                        UP TO 1 ROWS
                        WHERE persnumber =  lc_persnumber
                          AND date_from  LE sy-datum
                          AND date_to    GE sy-datum.
                 ENDSELECT.
               ENDIF.
               CONCATENATE 'US' ls_users-uname INTO
                           ls_approver-approval_agent.
               READ TABLE approval_table INTO ls_approver_check

    hi,
    let me know the following things
    1) how many levels are working ? is the workitem send to the second approver (or) not?
    is the issue occuring with the first approver?
    2) are you using the index value correctly in your approval badi? please check out.
    Badi is called during each approval stage 
    3)  what is the value of approval_state in the workflow container ? 
    if the value is 5 --> it will go to the next approver.
    4) have you been able to debug --> the approval process --> this will enable you to find root cause of the issue.
    check out FM
    BBP_WFL_DIN_APPR_CONTAINER_SET --> this is the point where the approval update happens --> when the approver approves (or) rejects the cart.

  • I want to use my apple credit instead of my credit card for apple tv to purchase a movie

    Apple tv keeps asking me for my credit card security code to rent a movie. I want to use my apple credit.

    If you have credit then it will automatically use that, the code verification is simply for security purposes.

  • EFAX UK INVALID ZIPCODE ESTATION c510a - **URGENT** PLEASE HELP!!

    COULD A SENIOR HP TECH SUPPORT OR MARKETING REP TAKE OWNERSHIP OF THIS COMPLAINT URGENTLY AND RESPOND WITH A FIX ASAP. THANKYOU
    THIS IS THE SECOND C510A I HAVE BOUGHT IN THE UK WITH THE EXACT SAME PROBLEM!!
    PROBLEM:
    Efax UK does not work with my estation c510a tablet printer. I bought this printer at a premium price to be used as advertised ie including the fax. But so far the fax will not work.
    SUMMARY OF STEPS TAKEN TO DATE
    1.The sign up page when registering efax on the zeen tablet will not accept my UK postcode. It returns "invalid postcode" regardless of me trying several different UK postcodes (zip code) WITH ALL FIELDS ENTERED CORRECTLY AND EUROPE/DUBLIN CHOSEN. I AM IN LONDON.
    2.Zeen has been updated to latest firmware. Country has been changed to UK English in settings, as has the time to GMT.
    3.I have trouble shooted with HP UK technical support and so far they are unable to find an answer.
    4.I have called efax uk and they say it is an HP issue not their concern.
    This is the second estation c510a I bought, the first one was purchased 4 months ago from a different retailer (bestbuy Lakeside thurrock) and had the same problem so I returned it as not being fit for purpose. I bought the second one thinking HP would surely have resolved this silly critical issue by now but they havent or at least I am not yet aware of a fix.
    If someone, anyone, could tell me how to get the fax on this printer to work you would save me doing a return or exchange and I would be most grateful.
    Otherwise it seems absolutely atrocious to me (as a consumer and a HP fan) that HP could put out a printer and not have a fix for its advertised function??? I am sure I am not an isolated case. It seems an absolute fundamental mistake that senior HP executives ought to address with a matter of urgency as it risks damaging HP's business reputation and customer goodwill in the future as well.
    COULD A SENIOR HP TECH SUPPORT OR MARKETING REP TAKE OWNERSHIP OF THIS COMPLAINT URGENTLY AND RESPOND WITH A FIX ASAP. THANKYOU

    We have been working with J2 Global Communications and have determined a 2 step solution with respect to the issue you reported.   One is immediate that you can do today.  The second is long term.
    The issue: The postal code verification during eFax registration is too strict and doesn't allow the user to omit the space, or use lower case characters, in a UK postal code.
    Immediate solution – UK only
    As you stated, we assume your Region code/country code setting in the device is UK.   To double check from Home, choose Settings Menu, then Settings, Preferences, Language & Keyboard.    During registration for eFax services in the eFax application, input your postal code into the field exactly as you provided it to us with a space between the “outward” and the “inward” portions of the postal code.  IG3 9SJ 
    We have verified via our testing that for the postal code to be successfully accepted it must be in all caps and input as shown with the space between the two portions of the postal code.    Note: For all UK customers, adhere to the same rules of All caps and a space as well between your postal district and your delivery office/area.
    Long term
    We have made improvements to the eFax application to be included with an update scheduled for April.   HP and J2 are discussing a review of the server side logic and potential changes to be even more tolerant and open to variances in postal codes where/if needed.
    Please let us know if the immediate resolves the issue for you.  Thanks very much. 
    I am an HP employee.

  • ASO question using Level0 member in a condition

    Dear friends,
    Issue with a ASO Formula, here case statement when using level 0 is not working,
    we need to use one of the dimension(Entity_) all level 0, rest of the dimensions using one member.
    Thanks in advance.
    Regards
    Jay
    Case
    when (([Dim1],[Dim2],[Dim3],[Dim4]) = 1) /*Here the code verifies for a condition for the combnitation of Dim1,Dim2,Dim3,Dim4 to value 1*/
    and
    Islevel([enity].[PB],0) /* Here it has to work for all entities*/ (having issue at this point)
    else
    [01] /* If not 1 the value is set to 01*/
    end

    You might try:
    Case When Islevel([enity].currentmember,0) Then
    Case When(([Dim1],[Dim2],[Dim3],[Dim4]) = 1) Then
    I don't see what you want to claculate here
    Else
    1
    End
    End
    A couple of things,
    1. you don't have a formula if the embeded case is true
    2. What do you want to do if it is not level zero? In some cases you will need to add a else between the two end statements and have a formula like
    sum([Entity].currentmember.children,[this member name])
    3. you referenced [entity].[db]. IS that a level 0 member? do you want all level 0 entity members, or just the ones under it? Depending on what you want, the syntax of the first case statement changes.

  • Validatedata.js in 11.1.2

    Hi All
    I'm having an issue with ValidateData.js file in 11.1.2
    I created a code given below
    function validateForm(){
    if (equalsIgnoreCase(applicationName,"Visa")) {
    if (equalsIgnoreCase(formName,"02. New Asset Requests with Threshold")) {
    var variable_name_1 = "Test"
    var variable_name_2 = "Form validation"
    /* Example #1 */
    /* This will display the value of a variable in a message box. */
    alert(variable_name_1);
    /* Example #2 */
    /* This will display some text and the value of a variable in a message box. */
    alert("This is variable name 1: " + variable_name_1);
    /* Example #3 */
    /* This will display some text and the value of a variable in a message box with two lines. */
    alert("This is variable name 1: " + variable_name_1 + "\n" +
    "This is variable name 2: " + variable_name_2);
    return true;
    I exploded the Planning.ear file and added the above given code in ValidateData.js file repacked and restarted Hyperion Planning service. When i clicked on save nothing happend.. i even tried re-deploying, but no luck.
    Also i tried to use the same code in 11.1.1.3 changed ValidateData.js under
    E:\IBM\WebSphere\AppServer\profiles\AppSrv01\installedApps\CERA-WIN2K3-WASCell01\planning.ear\HyperionPlanning.war\custom
    Restarted Planning....still when i click on save nothing happens....
    Can someone tell me whether i'm missing any steps?

    Hi All
    this is my original ValidateData.js file
    function customOnLoad()
    if (equalsIgnoreCase(applicationName, "Visa"))
    // It is possible to limit your custom JavaScript to specific Applications,
              if (equalsIgnoreCase(formName,"02A. New Asset Threshold")||
    equalsIgnoreCase(formName, "02. New Asset Requests with Threshold"))
         // Provides an alert when user opens up the form 02. New Asset Requests or 02A. New Asset Threshold
              alert("There are thresholds defined for Asset Classes.");
    //          + ".\n" + "Please select the required Asset Class cell in the right corner form." + ".\n" + "Threshold values for the selected class will be displayed");
    function customCellEnterPre(row, col, cell)
         // This function will be called when focus enters any data cell but before any built in logic
         // Return values:
         //          true: Continue with remaining logic
         //          false: Skip remaining logic
         var valid = true;
         if (equalsIgnoreCase(applicationName,"Visa"))
              if (equalsIgnoreCase(formName,"02A. New Asset Threshold")||
    equalsIgnoreCase(formName, "02. New Asset Requests with Threshold"))
                   // You can access row or column indices into the grid by providing arrays of member names
                   var correctTimeCol = findColByMemberNames(new Array("Threshold"));
                   var correctAccountRow = findRowByMemberNames(new Array("Windows"));
                   // You can trigger specific logic if the cell matches some pre-defined collection of member names
                   // The following code verifies that the row and column correspond to the intersection defined by the
                   // members
                   if ((row == correctAccountRow) && (col == correctTimeCol)) {
                        alert("Values for this Asset Class should be greater than 1200" + ".\n" + "If wrong values are entered system will not consider the Asset Class.");
         return(valid);
    Now when i launch the form...i'm not getting any messages. but if i click on Windows cell, it is giving me the message.
    Can someone please let me know what could be the possible issue for customOnLoad function

  • Regarding SQL ...

    Hello ABAP gurus,
    Please help me out in solving following doubt.
    Fieldname: Tax-code1 (STCD1), Tax-code2( STCD2), Vendor number(LIFNR)
    Table name: LFA1.
    I am working on uniqueness for tax code verification for vendors.
    Lets say that tax code1 (STCD1) value for a particular vendor is in v_tax1 and tax-code2 (STCD2) value for vendor is in v_tax2.
    I want to check tax-code1 value for this vendor number (LIFNR) against tax-code1 values for all the other vendors numbers in table LFA1.
    Hence in simple terms I want to see if value of v_tax1 exists for any other vendor's Tax-code1  scanning the whole LFA1 for all the other vendors and comparing with their respective taxcode1s (STCD1).
    If an entry exists then raise error.
    Same thing I want to do for tax-code2, tax-code3..
    Please let me know how do I perform this using SQL ?
    Relevant points will be awarded..

    Hi
    You can perhaps do this using a subquery in the  select stmt.
    select lifnr stcd1 from lfa1 as a
    into table itab
    where lifnr in s_lifnr
    and exists ( select stcd1 from lfa1 as b
                 where blifnr <> alifnr
                 and bstcd1 = astcd1 ).
    Regards
    Kalpana
    Message was edited by: Kalpana Tyagi

Maybe you are looking for

  • How do I get an Element to have multiple blinking properties?

    How do I get an element to have more than one blink property?  Provide an example if possible...Thanks. Message Edited by mgoldh1 on 07-11-2005 11:42 AM

  • Passing data to event handler function

    I am trying to pass value to the event handler function but I am getting the following error. Can someone please tell me what I am doing wrong? 1067: Implicit coercion of a value of type void to an unrelated type function here is the code private fun

  • Lost S/N

    I lost the card that comes with Premiere Elements 11 used to get the license key/Is there some way I can get the license key? [Title Edited for clarity - Hunt]

  • Backing up photos to an external hard drive.

    I use two hard drives as backup. In addition to time machine I use a Seagate to back up my photos and music. My first back to the external drive was about six months ago. I backed up my music today and it gave me the options to add just the songs sin

  • What is the differnce between MDM 5.5 SP04 and SP05

    I do have both service pack versions SP 04 n 05 but what does SP05 offer over SP04 version.