PA30 and ESS functionality

This is a functionality question rather than a how-to question.  When I load the "Tax Exempt Prohibited" field in table T5UTZ for our tax authority, the corresponding field in PA30 for infotype 210 becomes protected.  But nothing happens in ESS.  The "Tax Exempt Indicator" on the ESS W4 page remains and editable drop-down box.  Wouldn't you expect the Tax Exempt field in both PA30 and ESS to become protected?  This is something I've had problems with before.  I can change text values and drop down box contents via ABAP R3 code changes, but I can't affect attributes (protected, invisible) even though there is SAP documentation that shows you how to do it.
http://help.sap.com/saphelp_erp60_sp/helpdata/EN/43/319dd48c4d0b19e10000000a1553f6/frameset.htm

Vivek,
  I understand we can make it read only. But i think the requirement is to remove entries from the dropdown list without affecting the backend. In other words making changes to the domain EXEMP.

Similar Messages

  • Integrate SAP postal code in PA30 and ESS scenario

    Hai Experts,
    does anyone have a manual how to integrate SAP postal code in PA30 and ESS scenario.
    SAP does have postal code tables which by customizing can be integrated in SAP HCM.
    I need to know which customizing i need to do to activate the postal functionality en the progam to read and updat the SAP tables with the postal codes and address data delivered by out national post host!
    Grtz en thanks in advance
    RIchard

    This solution is for NL country localization:
    Activate NLADR feature with X; "For infotype Address Data (0006) this will result in the system checking the postal code for a given address."
    The rest of what you need is in MP00064N include logic subroutines verify_address_nl.
    *&      Form  verify_address_nl
          Verification of address data in infotype 6 against the address
          data in Central Address Management.
         -->P_STRAS  Streetname
         -->P_HSNMR  Housenumber
         -->P_PSTLZ  Postal code
         -->P_ORT01  City
         -->P_LAND1  Country
    FORM verify_address_nl  USING    p_stras
                                     p_hsnmr
                                     p_pstlz
                                     p_ort01
                                     p_land1.
    Hope it helps,
    Regards,
    Antoine

  • PA30 and ESS behave differently when updating other bank details

    I am trouble shooting an issue with maintaining other bank details in ESS. In PA30 when a other bank details record is updated SAP code just updates the record with new data. it will change the date changed to sy-datum with no changes to the begda and endda,
    In the case of ESS a new enrty is created in created in the PA0009 so now we have 2 active banks. please help

    Hi,
    You need to implement BADI "HRXSS_PER_BEGDA"
    Please find the following SPRO path
    Personnel Management-> Employee Self-Service -> Service-Specific Settings -> Own Data -> Change Default Start Date
    Change Default Start Date
    Use
    In this IMG activity, you can specify a certain date as the default value for the start date of data records in the Own Data area. You can specify the following dates:
    A date that will be displayed as the start date on the overview page
    A date from which the user can maintain his or her personal data
    You can thus specify whether a user can change only present and future dates or if he/she can also change data records whose validity periods are in the past.
    For example, if a customer wants to allow their employees to maintain their family dependents information as of the previous year, the customer can implement this BAdI specifying the date from which employees can maintain their family data.
    Requirements
    The current system date is currently set as the default value. You can overwrite this setting with a date of your choice.
    Activities
    To change the default start date, you can use the Business Add-In (BAdI) HRXSS_PER_BEGDA. You can set the date in the DEFAULT_DATE method.
    Parameters of the method DEFAULT_DATE:
    MOLGA (Importing)
    PERNR (Importing)
    INFTY (Importing)
    SUBTY (Importing, optional)
    BEGDA (Changing)

  • Problem with PA20, PA30, and PA40

    Hi!
    I cannot use transactions PA20, PA30, or PA40 in our development system.  When I try, I crash and get a dump.  It fails here:
    IF NOT pernr_tab[] IS INITIAL.
      SELECT pernr ename AS name begda endda FROM pa0001
        INTO CORRESPONDING FIELDS OF TABLE l_pernr_date_tab
          FOR ALL ENTRIES IN pernr_tab
            WHERE pernr = pernr_tab-pernr AND
                  sprps EQ space.
    This is the error:
    Error analysis
        An entry was to be entered into the table
         "\FUNCTION=HR_GET_TEXT_FOR_OBJECTS\DATA=L_PERNR_DATE_TAB" (which should have
        had a unique table key (UNIQUE KEY)).
        However, there already existed a line with an identical key.
        The insert-operation could have ocurred as a result of an INSERT- or
        MOVE command, or in conjunction with a SELECT ... INTO.
        The statement "INSERT INITIAL LINE ..." cannot be used to insert several
         initial lines into a table with a unique key.
    Nobody else has this problem.  My guess is that I had done a search of EE's at one time, and something or someone in the list is causing the crash.
    Is there a way for me to clear something out so that I can run PA20, PA30, or PA40without this list?
    Or - If you now of another reason why I may be having this issue and nobody else is, can you suggest a fix? 
    Thanks!
    Jo

    I was able to find a solution to this problem through OSS note 416695.
    There is an SAP program named RH_DELETE_COL_USER_SETTINGS.  I ran it, entered my Logon ID, and had it delete "last object selection" and "search variants." 
    Once I did that, I was able to get into pa20, pa30, and pa40 again.  (I.e., my hit list with the "bad employee" was gone.)

  • Reports available in the Business Package for MSS and ESS

    Hi,
    I have searched sdn.sap.com throughout looking for a comprehensive list of reports available in the business packages for both MSS and ESS, i got a little bit of joy and found some of the MSS reports but not all on sdn.sap.com, can anyone please advise where i would find such information on both these packages, just to re-iterate, i am looking for a list of reports these business packages offer? any help much appreciated.
    Thanks
    John
    P.s any documents can be sent to [email protected]

    @John
    (1) ESS- We built our own custom PORTAL role/workset in which one of the worksets we created is called "Tools and Forms". Under that workset, we placed various pages/iViews that either are simple URL iViews that link to external documents and such (like vacation request forms since they do not do online leave requests yet) as well as a couple ot t-code iViews that run reports in ECC for the employee. Nothing very mind blowing there. Just some content creation on the portal side.....oh, and some config on the backend to create a Homepage Framework Area Page and all for it (I liked that part!)
    (2) Wow....talk about perfect timing...I just had to document the way MSS sees the MDT reports in it's "reporting" area yesterday! haha Here goes the quick explaination....in configuration for MDT, you have various "scenarios". These kinda determine which "groups" of reports will show in MDT. For MSS for the Reporting webdynpro/service, the scenario is RPT0 (in ECC 5.0, at least). Soooo if you look at the function CODES assigned to RPT0, you will see several for Training and one for Accounting (Cost Centers)...you can reference the function CODES listed back to the "pool"/library of function codes a bit up/previous in the same config area for MDT(I think it is called "Define Function Codes"). However, there is one more piece you will see listed under RPT0....it is a DIRECT call to function MODULE "HR_HIS_READ" (this was a bugger to find because I could not find the "Maternity" report listed in the function codes and had to figure out where the heck it was coming from! haha). Anyways....what the function MODULE actually does is call the HR Information System (HIS) passing it the RPT0/MSS scenario. This returns the particular reports for Employee Data and Time&Attendance. You can see this if you run the HR_HIS_READ function directly and enter RPT0 for the second input value (first and third are not needed or you can just enter "*". Sooooo that is how the "magic" happens. Hope that explained it. From there, you can simply config you own scenario/reports to add into MSS if you like.
    Hope this helped!

  • ESS functionality

    Does ESS functionality allow for employees to update their own qualifications?
    Can this also be performed during the Performance Appraisal?

    Hello,
    Yes it is possible to update the qualification profile of an employee via his (OSA) appraisal.
    You need to enable this in the template configuration. On the tab-writer 'Processing' you select it under 'Follow-up process'.
    These are the processes that run after an appraisal is completed. We deliver 4 with the standard that update the qualification profile. Just select one of them that fits your requirement.
    HRHAP00_FOLLOW_UP_01
    Adjust qualifications starting from validity start date of the appraisal
    HRHAP00_FOLLOW_UP_02
    Adjust qualifications starting from validity end date of the appraisal
    HRHAP00_FOLLOW_UP_03
    Adjust qualifications incl. note starting from validity start date of the appraisal
    HRHAP00_FOLLOW_UP_04
    Adjust qualifications incl. note starting from validity end date of the appraisal
    Regards and Groetjes,
    Maurice

  • GUI_DOWNLOAD and UPLOAD Function Modules?

    Hi All,
    What exactly done by GUI_DOWNLOAD and UPLOAD Function Modules?
    Akshitha.

    What you exactly want know?
    Here is the Sap documentation for both FM:
    FU GUI_UPLOAD
    Short Text
    Upload for Data Provider
    Functionality
    The module loads a file from the PC to the server. Data can be transferred binarily or as text. Numbers and date fields can be interpreted according to the user settings.
    Example
    Binary upload: No conversion or interpretation
                begin of itab,
                      raw(255) type x,
                end of itab occurs 0.
               CALL FUNCTION 'GUI_UPLOAD'
               exporting
                  filetype =  'BIN'
                  filename = 'C:\DOWNLOAD.BIN'
               tables
                 data_tab = itab.
    Text upload
               begin of itab,
                     text(255) type c,
               end of itab occurs 0.
               CALL FUNCTION 'GUI_UPLOAD'
               exporting
                  filetype = 'ASC'
                  filename = 'C:\DOWNLOAD.TXT'
               tables
                 data_tab = itab.
    Parameters
    FILENAME
    FILETYPE
    HAS_FIELD_SEPARATOR
    HEADER_LENGTH
    READ_BY_LINE
    DAT_MODE
    CODEPAGE
    IGNORE_CERR
    REPLACEMENT
    CHECK_BOM
    VIRUS_SCAN_PROFILE
    NO_AUTH_CHECK
    FILELENGTH
    HEADER
    DATA_TAB
    Exceptions
    FILE_OPEN_ERROR
    FILE_READ_ERROR
    NO_BATCH
    GUI_REFUSE_FILETRANSFER
    INVALID_TYPE
    NO_AUTHORITY
    UNKNOWN_ERROR
    BAD_DATA_FORMAT
    HEADER_NOT_ALLOWED
    SEPARATOR_NOT_ALLOWED
    HEADER_TOO_LONG
    UNKNOWN_DP_ERROR
    ACCESS_DENIED
    DP_OUT_OF_MEMORY
    DISK_FULL
    DP_TIMEOUT
    Function Group
    SFES
    FU GUI_DOWNLOAD
    Short Text
    Download an Internal Table to the PC
    Functionality
    Data transfer of an internal table form the server to a file on the PC. The Gui_Download module replaces the obsolete modules Ws_Download and Download. The file dialog of the download module is available in the class Cl_Gui_Frontend_Services.
    Further information
    TYPE-POOLS: ABAP.
    Binary download table
    DATA: BEGIN OF line_bin,
             data(1024) TYPE X,
          END OF line_bin.
    DATA: data_tab_bin LIKE STANDARD TABLE OF line_bin.
    Ascii download table
    DATA: BEGIN OF line_asc,
             text(1024) TYPE C,
          END OF line_asc.
    DATA: data_tab_asc LIKE STANDARD TABLE OF line_asc.
    DAT download table
    DATA: BEGIN OF line_dat,
             Packed   TYPE P,
             Text(10) TYPE C,
             Number   TYPE I,
             Date     TYPE D,
             Time     TYPE T,
             Float    TYPE F,
             Hex(3)   TYPE X,
             String   TYPE String,
          END OF line_dat.
    DATA: data_tab_dat LIKE STANDARD TABLE OF line_dat.
    Get filename
    DATA: fullpath      TYPE String,
          filename      TYPE String,
          path          TYPE String,
          user_action   TYPE I,
          encoding      TYPE ABAP_ENCODING.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
       EXPORTING
         WINDOW_TITLE         = 'Gui_Download Demo'
         WITH_ENCODING        = 'X'
         INITIAL_DIRECTORY    = 'C:\'
      CHANGING
         FILENAME             = filename
         PATH                 = path
         FULLPATH             = fullpath
         USER_ACTION          = user_action
         FILE_ENCODING        = encoding
      EXCEPTIONS
         CNTL_ERROR           = 1
         ERROR_NO_GUI         = 2
         NOT_SUPPORTED_BY_GUI = 3
         others               = 4.
    IF SY-SUBRC <> 0.
      EXIT.
    ENDIF.
    IF user_action <> CL_GUI_FRONTEND_SERVICES=>ACTION_OK.
      EXIT.
    ENDIF.
    Download variables
    DATA: length TYPE I.
    Binary download
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                         = fullpath
           FILETYPE                         = 'BIN'
        IMPORTING
          FILELENGTH                       = length
        TABLES
          DATA_TAB                         = data_tab_bin
       EXCEPTIONS
         FILE_WRITE_ERROR                = 1
         NO_BATCH                         = 2
         GUI_REFUSE_FILETRANSFER         = 3
         INVALID_TYPE                     = 4
         NO_AUTHORITY                     = 5
         UNKNOWN_ERROR                   = 6
         HEADER_NOT_ALLOWED              = 7
         SEPARATOR_NOT_ALLOWED           = 8
         FILESIZE_NOT_ALLOWED            = 9
         HEADER_TOO_LONG                 = 10
         DP_ERROR_CREATE                 = 11
         DP_ERROR_SEND                   = 12
         DP_ERROR_WRITE                  = 13
         UNKNOWN_DP_ERROR                = 14
         ACCESS_DENIED                   = 15
         DP_OUT_OF_MEMORY                = 16
         DISK_FULL                        = 17
         DP_TIMEOUT                       = 18
         FILE_NOT_FOUND                  = 19
         DATAPROVIDER_EXCEPTION          = 20
         CONTROL_FLUSH_ERROR             = 21
         OTHERS                           = 22.
    Ascii download
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                         = fullpath
           FILETYPE                         = 'ASC'
        IMPORTING
          FILELENGTH                       = length
        TABLES
          DATA_TAB                         = data_tab_asc
       EXCEPTIONS
         FILE_WRITE_ERROR                = 1
         NO_BATCH                         = 2
         GUI_REFUSE_FILETRANSFER         = 3
         INVALID_TYPE                     = 4
         NO_AUTHORITY                     = 5
         UNKNOWN_ERROR                   = 6
         HEADER_NOT_ALLOWED              = 7
         SEPARATOR_NOT_ALLOWED           = 8
         FILESIZE_NOT_ALLOWED            = 9
         HEADER_TOO_LONG                 = 10
         DP_ERROR_CREATE                 = 11
         DP_ERROR_SEND                   = 12
         DP_ERROR_WRITE                  = 13
         UNKNOWN_DP_ERROR                = 14
         ACCESS_DENIED                   = 15
         DP_OUT_OF_MEMORY                = 16
         DISK_FULL                        = 17
         DP_TIMEOUT                       = 18
         FILE_NOT_FOUND                  = 19
         DATAPROVIDER_EXCEPTION          = 20
         CONTROL_FLUSH_ERROR             = 21
         OTHERS                           = 22.
    DAT download
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          FILENAME                         = fullpath
           FILETYPE                         = 'DAT'
        IMPORTING
          FILELENGTH                       = length
        TABLES
          DATA_TAB                         = data_tab_dat
       EXCEPTIONS
         FILE_WRITE_ERROR                = 1
         NO_BATCH                         = 2
         GUI_REFUSE_FILETRANSFER         = 3
         INVALID_TYPE                     = 4
         NO_AUTHORITY                     = 5
         UNKNOWN_ERROR                   = 6
         HEADER_NOT_ALLOWED              = 7
         SEPARATOR_NOT_ALLOWED           = 8
         FILESIZE_NOT_ALLOWED            = 9
         HEADER_TOO_LONG                 = 10
         DP_ERROR_CREATE                 = 11
         DP_ERROR_SEND                   = 12
         DP_ERROR_WRITE                  = 13
         UNKNOWN_DP_ERROR                = 14
         ACCESS_DENIED                   = 15
         DP_OUT_OF_MEMORY                = 16
         DISK_FULL                        = 17
         DP_TIMEOUT                       = 18
         FILE_NOT_FOUND                  = 19
         DATAPROVIDER_EXCEPTION          = 20
         CONTROL_FLUSH_ERROR             = 21
         OTHERS                           = 22.
    Parameters
    BIN_FILESIZE
    FILENAME
    FILETYPE
    APPEND
    WRITE_FIELD_SEPARATOR
    HEADER
    TRUNC_TRAILING_BLANKS
    WRITE_LF
    COL_SELECT
    COL_SELECT_MASK
    DAT_MODE
    CONFIRM_OVERWRITE
    NO_AUTH_CHECK
    CODEPAGE
    IGNORE_CERR
    REPLACEMENT
    WRITE_BOM
    TRUNC_TRAILING_BLANKS_EOL
    WK1_N_FORMAT
    WK1_N_SIZE
    WK1_T_FORMAT
    WK1_T_SIZE
    WRITE_EOL
    FILELENGTH
    DATA_TAB
    FIELDNAMES
    Exceptions
    FILE_WRITE_ERROR
    NO_BATCH
    GUI_REFUSE_FILETRANSFER
    INVALID_TYPE
    NO_AUTHORITY
    UNKNOWN_ERROR
    HEADER_NOT_ALLOWED
    SEPARATOR_NOT_ALLOWED
    FILESIZE_NOT_ALLOWED
    HEADER_TOO_LONG
    DP_ERROR_CREATE
    DP_ERROR_SEND
    DP_ERROR_WRITE
    UNKNOWN_DP_ERROR
    ACCESS_DENIED
    DP_OUT_OF_MEMORY
    DISK_FULL
    DP_TIMEOUT
    FILE_NOT_FOUND
    DATAPROVIDER_EXCEPTION
    CONTROL_FLUSH_ERROR
    Function Group
    SFES

  • Not able to sign into Blackberry Protect. Backup and Restore function not working. "Your device isn't associated with a Blackberry ID"

    Not able to sign into Blackberry Protect.  Backup and Restore function not working. Message is: "Your device isn't associated with a Blackberry ID."  My Blackberry Messenger and Blackberry World is working fine so I am sure its not an ID issue on the phone.  I can sign into Link, Blackberry.com and Protect.  I see my device in Protect but cannot send messages or view it on a map.  Times out with cannot reach device message.  BB Protect on Device has a swirling circle beside the on/of switch.  Cannot turn off.  
    I have deleted Link and re-installed.
    I have reset phone to default(factory) and signed in. 
    OS level is 10.2.1.3062
    BB Link is 1.2.3.56
    Solved!
    Go to Solution.

    I managed to figure this out myself. I had to delete the device from the Blackberry Protect website.  protect.blackberry.com.  I wiped my device again and signed in with my Blackberry ID.  I dont know if the step of wiping was necessary as I did not try my backup with the current configuration on the device following the delete.  Restore is in progress for me!

  • 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.

  • Pinch open and close function not working after upgrade

    I'm having trouble with the pinch open and close function on my trackpad. It was working fine until I installed the new Google upgrade and now it doesn't seem to be working. Any suggestions. The other functions are working fine.

    Click on the Apple icon at the top left of the screen. Select "System Preferences", then "Trackpad".
    Be sure to select:
    "Pinch Open and Close" in the "Two Finger" Menu...
    Sly

  • Display Like and Share functionality in SharePoint 2013 search result

    Hello Experts,
    I dont Know whether i am asking a good question or bad one . but i am not very much expert in search.
    I have to display No of Likes , Share functionality in SharePoint Search Results. 
    i know little basic about how display templates works. i want to implement these like and share functionality as actions  in Item_common_hoverpanel_Actions template. show that i can see in preview.
    please if any body can help me . i will be highly thankful to you.
    Mukesh

    This will be difficult. The number of likes has a managed property called LikesCount but it is not populated by the search crawler. So your JavaScript will have to read the "LikesCount" field of the corresponding list item. That would be a
    lot of code to execute in the item display template just to display the number of likes. You could have a button that displayed a callout that would get the information and display it. The Sharing could be done via JavaScript in your item display template
    using a REST call. You can see an example of code to do that here:
    http://sharepointfieldnotes.blogspot.com/2014/09/sharing-documents-with-sharepoint-rest.html?showComment=1428595550241#c3227376854590814312
    Just remember the user must have permission to share these documents, so your code will have to handle this.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • When I try to send a link to a page from Safari, I get a message saying that sending the message to the server failed.  It places a copy in the outbox.  All other email and safari functions work properly.  Ipad 2 IOS 7.1

    My Ipad2 works fine except when I try to email myself a link to a safari webpage.  I get an error message saying that the message failed to connect to the server.  It says that a copy of the message has been left in the outbox.  I cannot get the message from the outbox.  All other email and safari functions work as expected.
    I have cleared data and cookies, powered down, and done a reset.  Nothing seems to help.

    Typing in additional text seems to get the job done.  This seems to be a feature of the latest IOS update, I have never had the problem before the last update.
    I use the box with the arrow just to the left of the URL block at the top of the page to send myself links to pages of interest.  Adding the extra text seems like a pointless step, but it does work.
    Thanks.

  • MacBook Pro battery had accumulated more than a 1000 charges, and stopped functioning unexpectedly. Went and got the battery replaced. Just saw that SMC Firmware 1.6 update deals with this. Possible to get my money back?

    MacBook Pro battery had accumulated more than a 1000 charges, and stopped functioning unexpectedly. Went and got the battery replaced. Just saw that SMC Firmware 1.6 update deals with this. Possible to get my money back?

    The firmware update corrects an error that may occur, however the techs would have checked the condition of the battery prior to installing a new one.  If the battery was questionable, the firmware update was really not too important.
    You can check the battery condition by going to the apple, left side of the menu bar, About This Mac, More Info, System Report, Hardware, Power and see what it says about Cycle Count, Condition, Capacity: Condition anything but Normal needs to be checked and may need to be replaced.
    The cycle count of 1,000 charge cycles is the typical life of a Lithium-Ion battery, the point at which the capacity drops to 80% of the as built capacity.

  • MONTH and YEAR functions.  Please help...

    Can anyone tell me why the YEAR and MONTH functions will only accept the format dd-MMM-yyyy (ex. 01-JAN-2009)
    The calendar prompt will only retun the format dd/mm/yyy (ex. 01/01/2009). This renders the calender pretty useless.
    I am really in need of some help on this. Does anyone know how to get the value returned from the calendar in a prompt into a format that can be used by the YEAR and MONTH functions?
    Thank you in advance

    Hi,
    Can you do those things at DB Level.. addition of YEAR and MONTH columns to Table.. because doing CAST to DATE operation will work at DB Level..
    Ex: In Answers if you give YEAR(CAST('01-03-2009' AS DATE)), it is erroring out because default allowed date format of BI is different from the one specified.. Though it is issuing correct SQL which is working at DB level.. donno how to change the default format of BI..
    So, what I can suggest is an alternative, which is at DB level.. if it is apt for you.. then
    Following statement gives you YEAR value..
    TO_NUMBER(TO_CHAR( cast('01-03-2009' as DATE), 'yyyy'), '9999')
    This is the statement taken from Manage Session of BI..
    -Vency

  • SSRS countrow Aggregate error(Aggregate and lookup functions cannot be used in query parameter expressions.)

    Below expression works fine with text box but gives error in dataset expression.
    ="SET FMTONLY OFF select  "+ join(Parameters!Column.Value,",") +" FROM pamcustom.dbo.vw_HFL_HFD_HotfileData INNER JOIN pamcustom.dbo.HFL_HFB_HotFileBatch  on BatchID = HFB_intBatchID where BatchID ="+Parameters!BatchId.Value+"
    and "+Parameters!cmbTranType.Value+" "+ iif(CountRows("DS_Aml_Mnr_Iss_Desc")=Parameters!Mnr_Iss_Desc.count," "," and aml_mnr_iss_desc in "+"('" & join(Parameters!Mnr_Iss_Desc.Value,"','")
    & "')")+iif(CountRows("ds_ReportingCategory")=Parameters!ReportingCategory.count," "," and ReportingCategory in "+"('" & join(Parameters!ReportingCategory.Value,"','") & "')")+iif(CountRows("ds_NAICSubGroup")=Parameters!NAICSubGroup.count,"
    "," and naicsubgroup in "+"('" & join(Parameters!NAICSubGroup.Value,"','") & "')")+iif(CountRows("ds_PortTrading")=Parameters!PortTrading.count," "," and porttrading in "+"('"
    & join(Parameters!PortTrading.Value,"','") & "')")+iif(CountRows("ds_GL_LE")=Parameters!GL_LE.count," "," and gl_le in "+"('" & join(Parameters!GL_LE.Value,"','") &
    "')")+iif(CountRows("ds_coagroup")=Parameters!cmbCoaGrp.count," "," and coagroup in "+"('" & join(Parameters!cmbCoaGrp.Value,"','") & "')")+iif(CountRows("Portfolio")=Parameters!cmbPort.count,"
    "," and portfolio in "+"('" & join(Parameters!cmbPort.Value,"','") & "')")+IIf(IsNothing(Parameters!txtSecID.Value)," "," and secid in ('"+Replace(Parameters!txtSecID.Value,",","','")+"')")+iif(IsNothing(Parameters!minPortFilter.Value)
    and IsNothing(Parameters!MinPort.Value)," "," and portfolio "+Parameters!minPortFilter.Value+Parameters!MinPort.Value)+iif(IsNothing(Parameters!maxPortFilter.Value) and IsNothing(Parameters!MaxPort.Value)," ","
    and portfolio "+Parameters!maxPortFilter.Value+Parameters!MaxPort.Value)+iif(IsNothing(Parameters!minCoaFilter.Value) and IsNothing(Parameters!txtMinCoa.Value)," "," and portfolio "+Parameters!minCoaFilter.Value+Parameters!txtMinCoa.Value)+iif(IsNothing(Parameters!maxCoaFilter.Value)
    and IsNothing(Parameters!txtMaxCoa.Value)," "," and portfolio "+Parameters!maxCoaFilter.Value+Parameters!txtMaxCoa.Value)
    I guess the error " Aggregate and lookup functions cannot be used in query parameter expressions." is because I am using CountRow to ensure that if all values of multi select all selected i will not use that filter in where clause.
    Pls. guide...

    Hi, Include your parameter total count in the dataset for parameter and instead of using countrows() function use the count from dataset in the expression.
    Hope this helps.........
    Ione

Maybe you are looking for

  • Unable to set some Signatures back to IDS 4 Default.

    I am in the process of performing the upgrade on the 4210 from 4.x to 5.x. When trying to set the signature back to the IDS 4 defaults the "param src" field still shows the Sensor rather then IDS 4 Defaults. The "prop src" shows the "IDS 4 defaults".

  • Can't Remove HD

    I hope someone can help with this. I have a Powermac G5 with 2 HD's in the top and bottom bays. I can't remove the bottom drive because it's really wedged in there. I can't remove the top drive first because of the bottom drive. I've tried to wiggle

  • Photos show as pdf's-Help Please!!

    All my photo files show up as PDF'S. The icons for all the photos on my hard drive are pdf's. ( the red adobe icon) This includes e-mails of word docs- they also must be opened with adobe reader.. I have to save as-then open with Adobe reader in orde

  • Array help for demand meter

    I am making a power demand meter that will warn when too much kW is being used. It counts pulses per minute and I am have problems with my arrays. Every minute I would like to record the current pulse count into an array to get 15 entries (minutes).

  • Db transactions show nothing

    Hi All, In one of our sap system when i tried performance monitoring and some database transactions after a long time now, i observed that no data is shown there. We need to apply any SQL server patch ? Thanks & Regards Subba Rao