User Created in OIM 11.1.1.5 with null value for mandatory field.

Hi,
We had updated one UDF as mandatory field on OIM user form. We can see the * in front of that field. Now if we create the user using web console (Using UI), we are not able to create the user without giving some value in that UDF as it is mandatory. However if we created the user with UDF value as null using Trusted recon, User sucessfully created in OIM. I had attached the screen shot for that user which create in OIM with UDF value as null.
Is any thing else also need to do to make UDF as mandatory field.
Regards,
Sid

I am not sure this is a bug. Such mandatory checks will often only apply to administrative changes from the GUI. You may not always be able to enforce the same quality of data in reconciled data as you wish to impose for changes made through OIM, and it may prove an issue in some cases if such users could not be reconciled. In this case the use will go into OIM, but you will be forced to populate a value in the mandatory field if you later try to update them in OIM.

Similar Messages

  • Check for mandatory fields while creating EP users using code .. :|

    Hello All,
    I have a code using which I can create user accounts/EP users on Portal, am working on EP6 SP9 & SP12.
    <u>My query</u>:
    1. <i>From Portal's perspective</i> -> While creating EP users, there are few mandatory fields like user-id, FirstName, LastName, Email-id and Password. If any of the above fields is null/empty, Portal would give us an error message.
    2. <i>From coding perspective</i> -> Here, only the user-id is required. Even if I do not enter/fill any of the above mentioned mandatory fields (except user-id), user account is created.
    In case wherein FirstName/LastName is not mentioned, Portal shows the userid in the Welcome Frame, i.e. Welcome <user-id>. Tried this by commenting the statements contains the methods related to setting/accepting FirstNme and LastName of user.
    <b>I want to know if this is all rite?
    If no, then please guide me as to how can I set mandatory fields in my code.</b>
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu,
    >>please guide me as to how can I set mandatory fields in my code??
    In ur jsp file or in the controls code add the following attribute
    <hbj:label id="userIdLabel"
               text="User ID"
               labelFor="userIdInput"
               design="HEADER3"
               required="true"/>
    and to check the mandatory entry for that field do this in the submit button
    <hbj:button id="insert"
                text="Submit"
                design="emphasized"
                onClick="save"
                onClientClick="if(!isMandatory()) htmlbevent.cancelSubmit=true;;"/>
    and in the javascript write the client validation code.
    Hope this helps.
    Regards,
    Joshua Kiran

  • How can I create a hashmap() with multiple values for the same key?

    I am trying to write an application that will us something like a Map() with multiple values but some have the same key. Is this possible?

    i had the same question. just create a List, add all the values u want to it, and then put the List into the map like u would a normal single value. e.g.
    List list = new ArrayList();
    list.add(value1);
    list.add(value2);
    map.put(key, list);
    i bet u r doing the same course as i am =)

  • User exit for confirmation of production order for mandatory fields

    While confirming the production order ( CO11 & order type -PP01) , production order should not be saved/confirmed without entering the mandatory field (No. of employees), which is the mandatory field set in the config of "define field selection for confirmation"
    It is allowing if user does't click on the tab (personal/additional data).
    Without entering the mandatory fields in any tab system should not allow user to confirm the order
    How to apply this lock ?
    Also while doing the production confirmation (Co11N) ,user should not have the rights to changes ,adds or delete the component and its quantity OR if user make the changes , suystem should not allow to post the confirmation?How to make this in SAP?
    regards,
    Ramesh Bandi

    Hi,
    You can check the user exit CONFPP05 (Customer Specific Input Checks when Saving) and its function exit  EXIT_SAPLCORF_105 in the transaction code SMOD.
    With this enhancement you can update your own data after saving the confirmation. You cannot change the confirmation itself.
    In this enhancement it is strictly FORBIDDEN to send error messages or other dialogs, otherwise data inconsistencies could occur, for which SAP accepts no liability.
    You can check with your ABAPer's.
    please check & revert back to me.
    Regards,
    Mohan.R

  • Permitting user to choose value for a field only from F4

    Hi all,
       I have the following requirement in table maintenance generator.
       There is a custom field in the Z table for which table maintenance is generated to which a search help is attached.
       Now in the maintenance screen(SM30) i get a F4 value help for this field and also user can input values in this field. But the requirement is that the user should be able to select values only from F4 and should not be able to input any values.List box is not accepted.
    Thanks & Regards,
    Shafiq

    Hi Jon,
       Thank you once again. The issue is solved using the 'DYNP_VALUES_UPDATE' function module.
    I will put the code here for others to refer.
    ****ON THE SCREEN FLOW LOGIC*****
    PROCESS ON VALUE-REQUEST.
      FIELD /rb05/wwr_cr_t-mvgr4 MODULE value.  "Field on which F4 is required
    ****MODULE IMPLEMENTATION********
    *&  Include           /RB05/LYBW_WWRTTTI01
      DATA:
        l_fldval            LIKE help_info-fldvalue,
        l_repid             LIKE sy-repid,
        l_repid1            LIKE d020s-prog,
        l_dynnr             LIKE sy-dynnr,
        l_dynnr1            LIKE d020s-dnum,
        lt_return           LIKE ddshretval OCCURS 1,
        ls_return           LIKE ddshretval,
        ls_dynpread         LIKE dynpread,
        lt_dynpread         LIKE dynpread OCCURS 1,
        cnt                 TYPE i VALUE 0.
    MODULE value INPUT
      MODULE value INPUT.
        GET CURSOR LINE cnt.
        l_repid = sy-repid.
        l_dynnr = sy-dynnr.
        l_repid1 = sy-repid.
        l_dynnr1 = sy-dynnr.
        CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
          EXPORTING
            tabname           = space
            fieldname         = space
            searchhelp        = '/B05/OWWRW58'
            shlpparam         = '/B05/S_WWRW58'
            dynpprog          = l_repid
            dynpnr            = l_dynnr
            dynprofield       = '/RB05/WWR_CR_T-MVGR4'
            stepl             = 0
            value             = l_fldval
            display           = 'F'   "Force
          TABLES
            return_tab        = lt_return
          EXCEPTIONS
            field_not_found   = 1
            no_help_for_field = 2
            inconsistent_help = 3
            no_values_found   = 4
            OTHERS            = 5.
        IF NOT sy-subrc IS INITIAL.
          MESSAGE s398(00) WITH 'Call to Searchhelp failed'
            space space space.
          EXIT.
        ENDIF.
        CLEAR : ls_dynpread, lt_dynpread, ls_return.
        BREAK-POINT.
        READ TABLE lt_return INTO ls_return WITH KEY retfield = '/RB05/WWR_CR_T-MVGR4'.
        IF sy-subrc EQ 0.
          ls_dynpread-fieldname  = '/RB05/WWR_CR_T-MVGR4'.
          ls_dynpread-stepl      = cnt.
          ls_dynpread-fieldvalue = ls_return-fieldval.
          APPEND ls_dynpread TO lt_dynpread.
        ENDIF.
        READ TABLE lt_return INTO ls_return WITH KEY retfield = 'TXTSH'.   "Filling the related field
        IF sy-subrc EQ 0.
          ls_dynpread-fieldname  = '/RB05/WWR_CR_T-GB'.
          ls_dynpread-stepl      = cnt.
          ls_dynpread-fieldvalue = ls_return-fieldval.
          APPEND ls_dynpread TO lt_dynpread.
          CALL FUNCTION 'DYNP_VALUES_UPDATE'
            EXPORTING
              dyname               = l_repid1
              dynumb               = l_dynnr1
            TABLES
              dynpfields           = lt_dynpread
            EXCEPTIONS
              invalid_abapworkarea = 1
              invalid_dynprofield  = 2
              invalid_dynproname   = 3
              invalid_dynpronummer = 4
              invalid_request      = 5
              no_fielddescription  = 6
              undefind_error       = 7
              OTHERS               = 8.
        ENDIF.
      ENDMODULE.                    "value INPUT
    P.S: Points alloted.
    Message was edited by:
            Shafiq

  • Create URL with multiple values for one parameter

    Post Author: cbamberg
    CA Forum: General
    While I have no problems to create the URL to open a report with a single value for a parameter from my Java application, I don't know how to format multiple values for a parameter when I want to pass the "&prompt0=" value. The values I want to pass are numbers, not strings.
    Anyone can help?

    Hi gayatri,
    you need to select both the product id and custname.put a count on the prodid column and write a condition of count>1 and apply it.
    Thanks
    Hari

  • Problem with default value for Billing when creating Business Partner

    In Sales Area data - Billing screen we want to default a value for Price List Type when creating a Busines Partner.
    We implemented  BADI 'BUPA_FRG0030_UPDATE'  and followed suggestions from another thread :
    Defaulting Currency Value to 'USD' during BP Creation.
    But This only seems to work when you change an existing BP.
    If we use FUNCTION 'CRM_BUPA_FRG0030_SAVE' in the BADI this function is called again by the system when saving the BP and causes a dump.
    Also the UPDATE functions only seem to work when you change an existing BP and not when creating one.
    Any suggestions if we can use another BADI or other function modules/methods ?
    Or some sample coding for implementing BUPAFRG0030_SAVE'  the correct way ?
    Thanks for the help,
    Steve

    Brent,
    When I use the latest build 10.1.3.3.81, this gets generated:
    <managed-property>
    <property-name>defaultValues</property-name>
    <map-entries>
    <map-entry>
    <key>ManagerId</key>
    <value>#{'#{jhsTypeConverter.stringToNumber['100']}'}</value>
    </map-entry>
    </map-entries>
    </managed-property>
    Which is slightly better, but still failing because the single quotes get mixed up.
    This should be generated:
    <managed-property>
    <property-name>defaultValues</property-name>
    <map-entries>
    <map-entry>
    <key>ManagerId</key>
    <value>#{"#{jhsTypeConverter.stringToNumber['100']}"}</value>
    </map-entry>
    </map-entries>
    </managed-property>
    which can be achieved by changing the defaultValuesBean.vm template like this:
    <managed-property>
    <property-name>defaultValues</property-name>
    <map-entries>
    #foreach ($defaultValue in $group.defaultValues.keySet())
    <map-entry>
    <key>$defaultValue</key>
    #if ($group.defaultValues.get($defaultValue).startsWith("#{"))
    <value>#{"$group.defaultValues.get($defaultValue)"}</value>
    #else <value>$group.defaultValues.get($defaultValue)</value> #end
    </map-entry>
    #end
    </map-entries>
    </managed-property>
    Steven Davelaar,
    JHeadstart team.

  • Creating a Material with different values for fields in Transaction MM01

    Hello All,
    While creating a material i will be giving a Profit Center in Sales:general/plant view, which i can see in Costing1 View. If i change this in this View it automatically changes in the other View. Is there any way to give different values in the two views or then what is the significance in showing the same field again in two different views.
    Thanks,
    Shashidhar.

    Hi,
    Its just a way of showing the data in different views for user. It doesn't have any significance.
    Regards,
    Sudheer.

  • OIM 11G, DSML integration failing  with null pointer exception

    Hi,
    we are facing the similar probelm while sending a request from TIBCO BW to OIM 11G (Which is weblogic)
    The below request from TIBCO is not working and thowing a NULL POINTER EXCEPTION
    <?xml version="1.0" encoding="UTF-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header>
    <ns:OIMUser xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://xmlns.oracle.com/OIM/provisioning" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/">
    <ns:OIMUserId>xelsysadm</ns:OIMUserId>
    <ns:OIMUserPassword>Welcome123</ns:OIMUserPassword>
    </ns:OIMUser>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <ns0:processRequest xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://xmlns.oracle.com/OIM/provisioning">
    <sOAPElement xmlns="">
    <ns:modifyRequest xmlns:ns="urn:oasis:names:tc:SPML:2:0" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" returnData="data">
    <ns:psoID ID="Users:21"/>
    <ns:modification name="Users.User ID" operation="add">
    <ns:value>Richard1</ns:value>
    </ns:modification>
    </ns:modifyRequest>
    </sOAPElement>
    </ns0:processRequest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    But if we change the <sOAPElement xmlns=""> to <sOAPElement> (removing the empty namespace) we can able to fire this soap.
    Could you please let me know are there any patch, workaround for this issue.
    Thanks
    Madhu

    I don't think OIM 11g supports DSML profile and may be that's the reason you are getting NPE.
    See: http://docs.oracle.com/cd/E14571_01/doc.1111/e14309/spmlapi.htm#CHDCBJAI
    It states:
    "SPML has two profiles: the XSD profile and the DSML profile. This release of Oracle Identity Manager makes use of the XSD profile."

  • AD security groups listed in user groups in Config Manager however not listed when selecting values for the "System Resource - System Group Name" query

    Morning All,
    We are in the process of setting up our SCCM 2012 infrastructure and are experiencing issues with our device collection querys based on AD security groups.
    I can see the security groups are being updated per adsgdis.log - i can see the computers that are members of the groups in AD are being recorded in the same log. Issue is when we build the device collection query - click the value button for the string,
    only 2 of the 18 AD security groups are displayed.  These are 2 AD groups we setup initially to test.
    We have since added several additional yet they only appear to populate as user groups in config manager.
    The same goes for additional OUs that we have created with AD.
    When i click the value button only the initial 10 OUs that were created are populating in the list of applicable OUs.
    We have the discovery methods Group Discovery & System Discovery enabled and set to search the parent OU recursively
    I'm wondering if there might be an SQL issue with this as it initially worked but stopped...
    Additionally we added an OU recently that now appears in in the Values options in the query but the ones added previously and additionally after are not showing up....
    Any help is appreciated.
    Thanks,
    Jeff

    Given the adsgdis.log lists the new pc and the group it's assigned to it appears the AD group discovery is working.
    Have the following excert from the adsgdis.log
    INFO: Processing discovered group object with ADsPath = 'LDAP://************.****.COM/CN=Software - Microsoft Project Professional 2010 x64,OU=Software,OU=US-West,DC=*****,DC=com' SMS_AD_SECURITY_GROUP_DISCOVERY_AGENT 10/4/2012 7:08:13 AM 8180
    (0x1FF4)
    INFO: DDR was written for group '*****\Software - Microsoft Project Professional 2010 x64' - E:\Program Files\Microsoft Configuration Manager\inboxes\auth\ddm.box\userddrsonly\asg8ud94.DDR at 10/4/2012 7:8:12. SMS_AD_SECURITY_GROUP_DISCOVERY_AGENT 10/4/2012
    7:08:13 AM 8180 (0x1FF4)
    INFO: DDR was written for system 'THURMANWIN7VM' - E:\Program Files\Microsoft Configuration Manager\inboxes\auth\ddm.box\adhh8419.DDR at 10/4/2012 7:8:12. SMS_AD_SECURITY_GROUP_DISCOVERY_AGENT 10/4/2012 7:08:13 AM 8180 (0x1FF4)
    Here you can see it processes the new members in the Software - Microsoft Project Professional 2010 x64 group and captures Thurmanwin7vm as a member.
    I did find some log entries that reference permission issues with objects in the SQL database and have opened a case with MS to get that looked into.  Hopefully that will be where the issue lies.

  • Creating xslt dataview in a app part with visual studio for office 365 :

    Hi,
    I have a requirement for creating a app part which contains a list data view in office 365. Basically app part does not support dataview so i have started working with xslt data view inside a app part.
    I have a sharepoint hosted app which contains a list. Now i am not getting a reference or a starting point to develop xslt dataview inside my app part.
    Need help :)
    thanks in advance.
    Regards:
    Sanjay Joshi

    Hi indrajeet,
    Thank you for your code. I incorporated your code in my page. Below is my code and xslt data view web parts.
    That code works fine. But i am not able to manage the title of the collumn in data view. And reading xslt code in sharepoint 2010 designer is very typical. Please help me how can i manage below problem.
    <WebPartPages:AllowFraming ID="AllowFraming" runat="server" />
    <WebPartPages:WebPartZone runat="server" FrameType="Standard" ID="full" Title="loc:full">
    <WebPartPages:XsltListViewWebPart ID="XsltListViewWebPart2" runat="server" ListUrl="Lists/Expense" IsIncluded="True" NoDefaultStyle="TRUE" Title="Test List" PageType="PAGE_NORMALVIEW" Default="False" ViewContentTypeId="0x"><xsl>
            <xsl:stylesheet
            version="1.0"
            exclude-result-prefixes="x xsl cmswrt cbq" 
            xmlns:x="http://www.w3.org/2001/XMLSchema"
            xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
            xmlns:cmswrt="http://schemas.microsoft.com/WebPart/v3/Publishing/runtime"
            xmlns:cbq="urn:schemas-microsoft-com:ContentByQueryWebPart">
            <xsl:output method="xml" indent="no" media-type="text/html" omit-xml-declaration="yes"/>
           <xsl:key name="Grouping" match="Row" use="@ExpenseType" />
          <xsl:template match="/">
              <table id="ExpenseDetail" border="1" cellpadding="1" cellspacing="1" width="100%">
                 <tr class="ms-vb">
                      <td align="left" valign="middle" width="15px">Title</td>
                      <td align="left" valign="middle" width="15px"> EmployeeID</td>
                     <td align="left" valign="middle" width="15px">Employeeloginname</td>
                      <td align="left" valign="middle" width="15px">ExpenseDescription</td>
                     <td align="left" valign="middle" width="15px">TotalExpense</td>
                      <td align="left" valign="middle" width="15px">ApprovedBy</td>
                      <td align="left" valign="middle" width="15px">IsEmployeeActive</td>
                     <td align="left" valign="middle" width="15px">ApproverComments</td>
                </tr>
                </table>
         <xsl:for-each select="/dsQueryResponse/Rows/Row[generate-id(.)=generate-id(key('Grouping',@ExpenseType))]/@ExpenseType">
          <xsl:sort />
             <table border="1" cellpadding="1" cellspacing="1" width="100%">
               Group By Expense Type : <xsl:value-of select="."/>
                <xsl:for-each select="key('Grouping', .)">
                <tr class="ms-vb">
                    <td align="left" valign="middle" width="15px"><xsl:value-of select="@Title" /></td>   
                    <td align="left" valign="middle" width="15px"><xsl:value-of select="@EmployeeID" /></td>
                    <td align="left" valign="middle" width="15px"><xsl:value-of select="@Employeeloginname" /></td>
                    <td align="left" valign="middle" width="15px"><xsl:value-of select="@ExpenseDescription" /></td>
                    <td align="left" valign="middle" width="15px"><xsl:value-of select="@TotalExpense" /></td>
                    <td align="left" valign="middle" width="15px"><xsl:value-of disable-output-escaping="yes" select="@ApprovedBy" /></td>   
                    <td align="left" valign="middle" width="15px"><xsl:value-of select="@IsEmployeeActive" /></td>
                    <td align="left" valign="middle" width="15px"><xsl:value-of select="@ApproverComments" /></td>
               </tr>
              </xsl:for-each> 
            </table>  
        </xsl:for-each>  
            </xsl:template>
    </xsl:stylesheet>
    </xsl>
    </WebPartPages:XsltListViewWebPart>
    </WebPartPages:WebPartZone>
    Please help on managing the collumn name. Not sure how to keep my xslt in the page so that dataview look good.
    Regards:
    Sanjay

  • Can't create a new account at ePrintCenter - trouble with the server for 2 weeks.

    Hi. I'm trying to create an account at ePrintCenter and all the time getting mesage 'Возникла проблема с сервером. Проблема будет устранена в ближайшее время. Приносим извинения за неудобства.' (A trouble with the server, wait, bla bla bla). When will it be fixed?

    For those who are experiencing ongoing issues with their web services, you can attempt to try the following steps that may help resolve your problems.
    1.) Completely shut down your printer and restart it
    2.) If you have prints that have not printed, log into ePrint Center (or create an account if you do not have one) and then look for your printer status. If printer status is green but you still have pending jobs, delete the pending jobs one at a time (Starting with the oldest first). There may be a print job stuck in the queue that further restricts other jobs from completing.
    a. If option 1 or 2 above still doesn’t work, removing web services and re-adding web services will cause the printer to reattach to the cloud.
    b. Please note that if you attempt option 3, you will get a new eprint email address (and lose your custom one with no ability to get it back) furthermore, you will need to re-add your printer back to your ePC account.
    I am an HP employee

  • Create ADF page based on wsdl is passing null values

    Hoi,
    We are creating some simple ADF forms te demonstrate our webservices that we have created for our customer.
    The first one was created without any problems.
    The second one is more complex and now i am having a problem running it.
    I noticed that the datacontrol that is created is different.
    The working one has a process with the 3 parameters direct within process
    The other has a process whit only 1 parameter "payload" underneath. That parameter declared as process_parameters (and there are the real parameters: naam, poscode, etc)
    Both pages have a split panel with left the parameters and a button and right the result (in table)
    When i tried to drag the datacontrol into the split panel you only get 1 parameter "payload" which was not the real parameter. Then i dragged the process parameters into the split panel and then you get the items on the canvas.
    However when we run the second page only empy messages are sent to the webservice.
    Is it possible the create a simple page without changing the webservice? Can i change the way the parameters are filled in an easy way?
    Thanks,
    Jan-Derk

    Hi friends,
    Maybe it is better that i ask:
    How i can set a ViewObject current row to an specific row on page display?
    for example when my page display i need to set its current row to another row.
    e.g:
    servicesView.setCurrentRow(myOwnRow);but i want this code to execute when my page is shown, where i write the code?

  • If Firefox is active on another user on my desktop, it will not connect with a website for a second user. What is wrong?

    The only other thing I can tell you is that I have brought up a website with firefox on both user accounts on my desktop computer on which the operating system is Windows 7, and I cannot get to a website on the second user account. Also this is a problem of recent origin. I had no trouble previously.

    When I right-click on the "Subscribe" link in Firefox and choose "Inspect element", I can see that there is another element (a div element with id="layer73" and the text "Pledge online") floating in front of the subscribe link. This is preventing mouse clicks from reaching the link underneath.
    It looks like you could fix this by changing the style of the "layer73" div to have a smaller height.

  • Creating a function which you can execute with a parameter for date range

    Hi Everyone,
    Hope you can help me.
    I have specific data that I am looking at that I require to query from a function. This function will require that I specify a parameter for a specific date which will only list the date criteria f my choosing.
    Here is the data..
    StudentID
    FirstName
    LastName
    ClassName
    ClassStartDate
    ClassEndDate
    GPA
    1
    John      
    Davids    
    Soft Dev  
    11/1/2013 9:00
    11/30/2013 12:00
    3.25
    2
    John      
    Davids    
    Database  
    10/1/2013 9:00
    10/30/2013 12:00
    3.5
    3
    John      
    Davids    
    Web Design
    10/1/2013 9:00
    10/30/2013 12:00
    4
    4
    John      
    Davids    
    Psychology
    10/1/2013 9:00
    10/30/2013 12:00
    3.25
    So here is an example function which will need to be altered. I am hoping someone could help me figure this out. I thought the below may have been correct, but it just errors out.
    SET
    ANSI_NULLSON
    GO
    SET
    QUOTED_IDENTIFIERON
    GO
    -- =============================================
    -- Author: <Author,,Name>
    -- Create date: <Create Date,,>
    -- Description: <Description,,>
    -- =============================================
    CREATE
    FUNCTIONStudentGPATimePeriod
    @startdate
    AS
    BEGIN
    selectFirstName,LastName,ClassName,ClassStartDate,ClassEndDate,GPA
    fromdbo.Students
    whereClassStartDate
    =@startdate
    END
    GO

    Hi Saravana,
    If I would to execute this function, how would the parameter be entered?
    exec dbo.StudentGPATimePeriod
    i think what you need is PROCEDURE, try below
    --For a single date
    Create PROCEDURE StudentGPATimePeriod
    ( @startdate datetime )
    AS
    Begin
    select FirstName,LastName,ClassName,ClassStartDate,ClassEndDate,GPA
    from dbo.Students
    where ClassStartDate >=@startdate and ClassStartDate < dateadd(day,1,@startdate)
    End
    GO
    --for multiple dates
    CREATE PROCEDURE getStudentGPAMultipledate
    ( @startdate datetime,@enddate datetime )
    AS
    BEGIN
    select FirstName,LastName,ClassName,ClassStartDate,ClassEndDate,GPA
    from dbo.Students
    where ClassStartDate >=@startdate and ClassStartDate < dateadd(day,1,@enddate)
    END
    GO
    EXEC StudentGPATimePeriod @startdate='2014-11-12'
    GO
    EXEC getStudentGPAMultipledate @startdate='2014-11-12',@enddate='2014-11-13'

Maybe you are looking for