Pa-30 edit  start date

Dear SDN Team,
In PA-30 txn , when i change  start date field (01.10.2010), system showing error message "Employee active since 01.06.2010'.
Can you pls tell how can i change the start date?
Rgds
sp
kolkata

Hi,
You cant change the start date in action(0000) and 0001 infotypes.. if u are in same action i.e Hiring .. system saves start date once u enter and saved the date for that specific action and it allows u to change the date because the employee became active from that date.. thats because it wont allow u to change the start date and also  it is because of time constraint 1 no gaps no over laps ..   that is the reason bedhind that error message.. since the employee is active in company it wont allow u to change the start date.... but  U can do the modifications for date changes in infotype 0041.. 
hope this helpful to u
all the best
regards
hima bindu

Similar Messages

  • Update non-editable field Start date which is calculated from other context

    I had created some custom date fields(model, bol entity) in component ICCMP_BTSHEAD. We are calculating Start date based on the new input value into receiving date in the other context node.
    so, for this i get the value on controller class(_IMPL). and pass the same value in the GET method of Start date.
    But, Problem is Start date is the non-editable field so SET method will not be trigger as expected. so the same i used the DO_PREPARE_OUTPUT method but it's called and update the value when we press the enter. IF directly we click on the "SAVE" button then it' trigger but value is not updating in the database.
    Please, find the below piece of code for the same. can u please anybody help me that how can i achieve this requirement.
    DATA: l_recieve_date     TYPE crmt_date_timestamp_from,
            lr_current TYPE REF TO cl_bsp_wd_mixed_node,
            lr_col      TYPE REF TO cl_bsp_wd_collection_wrapper.
      DATA: lv_date TYPE d,
             lv_time TYPE t,
             lv_date_temp TYPE sydatum.
      IF iv_first_time EQ abap_false. "avoid for first tile load
    Read the value of btreceivedate-TIMESTAMP_FROM.
        lr_col = me->ztyped_context->btreceivedate->get_collection_wrapper( ).
        IF lr_col IS BOUND.
          lr_current ?= lr_col->get_current( ).
          IF lr_current IS BOUND.
            lr_current->if_bol_bo_property_access~get_property_as_value( EXPORTING iv_attr_name = 'TIMESTAMP_FROM'
                                       IMPORTING ev_result   = l_recieve_date ).
          ENDIF.
        ENDIF.
        IF l_recieve_date IS NOT INITIAL.
          CONVERT TIME STAMP l_recieve_date TIME ZONE sy-zonlo
                    INTO DATE lv_date TIME lv_time.
    Check day is working day - if not, correct to previous working day
          IF lv_date IS NOT INITIAL.
            lv_date_temp = lv_date.
            CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
              EXPORTING
                correct_option      = '-'
                date                = lv_date
                factory_calendar_id = 'GB'
              IMPORTING
                date                = lv_date_temp
              EXCEPTIONS
                date_after_range    = 1
                date_before_range   = 2.
            IF sy-subrc IS INITIAL.
              lv_date = lv_date_temp.
            ENDIF.
          ENDIF.
          CONVERT DATE lv_date TIME lv_time
                 INTO TIME STAMP l_recieve_date TIME ZONE sy-zonlo.
        ENDIF.
        lr_col = me->ztyped_context->btstart->get_collection_wrapper( ).
        IF lr_col IS BOUND.
          lr_current ?= lr_col->get_current( ).
          IF lr_current IS BOUND.
            lr_current->if_bol_bo_property_access~set_property(
                       iv_attr_name = 'APPT_TYPE'               "#EC NOTEXT
                       iv_value     = 'ZSTWTIME0001' ).
            lr_current->if_bol_bo_property_access~set_property(
                            iv_attr_name = 'TIMESTAMP_FROM'     "#EC NOTEXT
                            iv_value     = l_recieve_date ).
          ENDIF.
        ENDIF.
      ENDIF.
    could you please help me?

    Hi,
    Thanks for your reply,
    yes, i checked the same thing also. But DO_HANDLE_DATA is called before the SET method of receiving date and in that case we are getting the old value in DO_HANDLE _DATA and  source and Target fields both are not updating.
    I checked, if, i'll change the input field then set method of input field and then EH_ON_SAVE is called directly.
    i think, if i'll do the same modification in the EH_ON_SAVE method as i did in the DO_PREPARE_OUTPUT then it can be updated but i don't want to change the EH_ON_SAVE at this moment.
    is there any other way to update the START DATE(Display mode in the screen) which is calculate from the other context node field receiving date.

  • Disable the Editing Option in Employee Start Date at change Mode

    Hi Expert's,
                     Here I have one requirement to Disable the Particular field in change mode. In Change mode the employee Start Date will possible to edit
    but my client asking to disable that field. In create mode only that field should be enabled. i meant field ( PA0001-begda).
    i know it is possible to restrict edit option with help of BADI and User Exit. but am looking to do in customizing option. it is possible to do?.
    Thanks in Advance..
    Regards,
        Thangam.P

    Hi ,
              Anyone suggest me to resolve my problem.
    Regards,
        Thangam.P

  • Show scheduling message when direct edits to Start date

    Is therre a way to show scheduling message when someone is editing the Start date directly for a task, I understand that a constrain get set by doing so, yet I also want to display some kind of scheduling message to the PMs, is it possible.

    Yes, Julie you are right. If "Advice from Planning Wizard" option is cleared in Options, Project updates a  key to value 0
    Key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\MS Project\Options\PlanningWizard\Display PlanningWizard
    But if "Do not tell me about this again" is selected in Planning Wizard dialog the below key is updated and there is no way to turn this on through Options:
    Key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\MS Project\Options\PlanningWizard\PlanningWizardCases
    By default, the Key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\MS Project\Options\PlanningWizard\PlanningWizardCases has the value 11111111111111111111111111111111111111111111111111111
    Also, there are several combinations too. If "Do not tell me about this again" is selected when a successor task is moved from the predecessor, the Key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\MS Project\Options\PlanningWizard\PlanningWizardCases
    is updated with 11111111111011111111111111111111111111111111111111111
    Sai PMP, PMI-SP, MCTS Project, MVP Project

  • Issue with Ord Start Date

    Hi,
    I am having issue with Ord Start Date.
    When i create XYZ Asset now when i do the acquasation for that new asset. Example: Using FB01 i enter todays date and i do the posting.
    Now when i go to DEP Area TAB for the DEP Key (M200) - The Ord Dep Start Date is 15 Dec 2010.
    For this DEP Key Period Control Methods (T code - AFAMP) - Acquisation Entered is ( 6 that is - at the start of year) and the Period Control is ( T code - OAVS) (4 that is - First year convention at half year start date).
    Our client is using the fiscal year as 1 June 2010 to 31 May 2011.
    So when i do acquistion for the asset as per the period contol the Ord Dep Start Date should be 1 Dec 2010, but here it is talking 15 Dec 2010.
    Why is system talking 15 days more.
    Regards.

    Hi
    Which Fiscal year variant are you using??
    Did you maintain it in OAVH? Copy the existing entry in OAVH for K4 to your Fisc Yr var and try again
    And also, 04 does not figure for Acquisitions in AFAMP under 0004.... Whatever you specify in OAVH must also be a part of AFAMP
    Regards
    Ajay M
    Edited by: Ajay Maheshwari on Oct 28, 2010 2:31 PM

  • Fiscal year variants in co.code  have inconsistent start date.Msg no AC531

    Hi Experts
    We went  with 24 periods after Go live.  I am trying to assign the TAX basis fiscal year variant(TX) at Depreciation area level. But it's not letting to add with the following error message.
    Fiscal year variants in co.code  have inconsistent start date
    Message no. AC531
    Diagnosis
    The first day of the fiscal year for variant TX (24periods) in company code in Asset Accounting differs from the first day of the fiscal year for variant  D1(12 periods) in General Ledger Accounting.
    However, both variants must have the same start and end date! Only the periods within the fiscal year can be different in the two variants.
    Please guide me how to fix this error message.
    Thanks in advance
    Meenakshi.N
    Edited by: Meenakshi.Nakshatrula on May 3, 2010 5:45 AM

    Hi,
    Message no. AC531  says:                                                                               
    The first day of the fiscal year for variant K4 in company code in Asset     
    Accounting differs from the first day of the fiscal year for variant NL      
    in General Ledger Accounting.                                                                               
    However, both variants must have the same start and end date! Only the       
    periods within the fiscal year can be different in the two variants.         
    The error is described in note 844029 :-                                                                               
    In the NewGL in Asset Accounting, it is still not possible for               
    depreciation areas to have fiscal year variants with different start and     
    finish dates. If you try to assign a fiscal year variant to an area,         
    whereby the fiscal year variant infringes this restriction, the system       
    issues error message AC 531.                                                 
    Regards Bernhard

  • Making Period Start Date read-only on Appraisal page

    Hi,
    I have a requirement to default Appraisal Period Start Date and Period End Date and make these fields non-editable. I am able to default the values for these fields by extending CO. When I make these fields read-only and performs any operation on page, getting error
    +'You must enter a value for Period Start Date as criteria for the List Of Values.'+
    Please suggest a solution to resolve this error.
    Thanks.
    Edited by: user12037955 on May 12, 2011 9:26 PM

    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    java.util.Date dateValue1 = null;
    java.util.Date dateValue2 = null;
    java.util.Date date = null;
    OAApplicationModule oaapplicationmodule = pageContext.getApplicationModule(webBean);
    OAMessageDateFieldBean bean1=(OAMessageDateFieldBean)webBean.findIndexedChildRecursive("StartDate");
    OAMessageDateFieldBean bean2=(OAMessageDateFieldBean)webBean.findIndexedChildRecursive("EndDate");
    String startDate=bean1.getText(pageContext);
    String endDate=bean2.getText(pageContext);
    String strDate1=null;
    String strDate2=null;
    if((startDate==null||startDate.equals(""))&& (endDate==null||endDate.equals("")))
    date=pageContext.getCurrentDBDate();
    SimpleDateFormat simpledateformat = new SimpleDateFormat("yyyy-MM-dd");
    String dateValue=simpledateformat.format(date);
    String year=dateValue.substring(0,4);
    try
    String sqlStatement = "";
    CallableStatement cs = null;
    // OAApplicationModule oaapplicationmodule = pageContext.getApplicationModule(webBean);
    OADBTransactionImpl txn = (OADBTransactionImpl)oaapplicationmodule.getOADBTransaction();
    cs = txn.createCallableStatement(" ",1);
    sqlStatement = "SELECT to_char(to_date(ffv.attribute1,'RRRR/MM/DD HH24:MI:SS'),'DD-MON-YYYY') attribute1, " +
    " to_char(to_date(ffv.attribute2,'RRRR/MM/DD HH24:MI:SS'),'DD-MON-YYYY') attribute2 " +
    " FROM apps.fnd_flex_value_sets ffvs,apps.fnd_flex_values ffv " +
    " WHERE ffv.flex_value_set_id = ffvs.flex_value_set_id " +
    " AND ffvs.flex_value_set_name = 'XXX_PMP_Fiscal_Date_VS' " +
    " AND (SYSDATE BETWEEN NVL(ffv.start_date_active,SYSDATE) AND NVL(ffv.end_date_active,SYSDATE)) " +
    " AND flex_value= " + year +
    " AND ffv.enabled_flag = 'Y' ";
    ResultSet rset = cs.executeQuery(sqlStatement);
    if (rset.next())
    strDate1 = rset.getString(1);
    strDate2= rset.getString(2);
    catch(Exception e)
    throw new OAException("Error:" + e.toString(), OAException.ERROR ) ;
    SimpleDateFormat convertFormat = new SimpleDateFormat("dd-MMM-yyyy");
    if(strDate1!= null || strDate2!=null)
    try
    dateValue1 = convertFormat.parse(strDate1.toString());
    dateValue2 = convertFormat.parse(strDate2.toString());
    catch(Exception exception)
    bean1.setValue(pageContext,dateValue1);
    bean2.setValue(pageContext,dateValue2);
         bean1.setReadOnly(true);
    bean2.setReadOnly(true);
    }

  • In Transaction code va41 how to set default sales contract start date

    Hi ,
    In Transaction code " VA41 "  how to set default sales contract start date and end date.
    Can any one tell me the correct user exit for the same.
    Thanks
    Basu

    hi,
    u have to use user exits  or badis.
    use sutable exits mentioned below.
    SDTRM001  Reschedule schedule lines without a new ATP check          
    SDVFX006  User exit: Tax line (transfer to accounting)               
    V45A0001  Determine alternative materials for product selection      
    V45A0002  Predefine sold-to party in sales document                  
    V45A0003  Collector for customer function modulpool MV45A            
    V45A0004  Copy packing proposal                                      
    V45E0001  Update the purchase order from the sales order             
    V45E0002  Data transfer in procurement elements (PRreq., assembly)   
    V45L0001  SD component supplier processing (customer enhancements)   
    V45P0001  SD customer function for cross-company code sales          
    V45S0001  Update sales document from configuration                   
    V45S0003  MRP-relevance for incomplete configuration                 
    V45S0004  Effectivity type in sales order                            
    V45W0001  SD Service Management: Forward Contract Data to Item       
    V46H0001  SD Customer functions for resource-related billing         
    V60F0001  SD Billing plan (customer enhancement) diff. to billing plan
    Edited by: katigiri linganna on Apr 28, 2009 12:19 PM

  • Search on basis of start date and end date

    Hi,
    I have added two fields 'Start Date' and 'End Date' on a search page.
    I have done the VO extension also.
    Now, I have to implement search logic to get all the records created in between 'Start Date' and 'End Date' after pressing the 'GO' button on that page.
    Can anyone please provide guidance to extend the controller.
    Thanks in advance.
    Gaurav.

    Hi Anil,
    Thanks for ur reply.
    As per the link, I have written following code in the controller :
    package oracle.apps.irc.vacancy.webui;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean;
    public class xxVacancyCriteriaCO extends VacancyCriteriaCO
    public xxVacancyCriteriaCO() {}
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    // Pressing the Go button causes the search to be executed.
    OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean);
    OAViewObject oaviewobject = (OAViewObject)am.findViewObject("XXIrcVacancySearchCriteriaVO");
    if (pageContext.getParameter("Go") != null)
    String created = pageContext.getParameter("ViewDate");
    oaviewobject.setWhereClauseParam(0, created);
    oaviewobject.executeQuery();
    OAAdvancedTableBean table = (OAAdvancedTableBean)webBean.findChildRecursive("ResultsTable");
    table.queryData(pageContext, false);
    But while compiling it, I am getting the error as :
    "Error(14,42): PerTransactionTopCOImpl not found in class oracle.apps.irc.common.webui.IrcOAControllerImpl in class oracle.apps.irc.vacancy.webui.VacancyCriteriaCO in class oracle.apps.irc.vacancy.webui.xxVacancyCriteriaCO"
    Can u please suggest where the mistake is?
    Thanks again.
    Gaurav.
    Edited by: Gaurav on Jan 14, 2011 12:51 AM

  • I get unwanted duplicate lines when editing the data content of my JTable

    I have created an editable JTable (filled with data from an SQL) with a modified instance of AbstractDataModel.
    I have a phenomenon that I cannot explain nor fix: each time I edit a data field in the JTable and press ENTER or leave the field, the edited line is duplicated. The extra content is not sent to my SQL (if I recreate the table everything is fine, except that certainly the changed value is lost). The problem must come from the Java code.
    Ok, I admit, that I am not a Java pro and might have made a really stupid error, but I cannot find it.
    Has someone already seen such a behavior?
    Thanks
    CCH
    Message was edited by:
    CCHuser

    Now we are drifting away a little from Java and start getting into philosophy ... :-) But one last reply I will do:
    I agree that just playing around with the fuse box is dangerous and brings no benefit. But I am not that unknowing in Java... Technically saying I work in IT, but just not as a programmer but rather as a business consultant (I write the functional concepts that later the programmers have to implement and then I have to talk to them to fix functional errors and do the testing). Besides, I hold an official Java Programmer degree. But when not programming professionally and continuously gaining experience, it is very hard to keep your skill up. Therefore I do one or another hobby project with Java that I could also do better and faster with other tools such as Excel, Access or a simple batch job.
    My concept for trying new things is to get a piece of code from the internet from which I assume I know roughly what it does. Then I use it in my programs, and while altering it to my needs, I continuously keep searching in API, documentation and tutorials or simple trial and error to get better insight into the details.
    And as a scientist you know what I mean when I say that if I try something new, I simply accept for certain details that they work without knowing how. And over time I then take the time for the "how". Many famous people made their inventions by trial and error and while then testing their new observation and changing the surrounding conditions found out why they work. Not that I would claim for myself to be anything close to a genius inventor but I found that the approach works for me to advance in my insights of a solution.
    Sincerely CCH
    Message was edited by:
    CCHuser

  • Difference in Maintenance Plan date to Order basic start date

    If i creat a strategy plan and schedule, i am getting difference in PLan date in Maint plan to Basic start date. What is making this difference. How to overcome this. I need Order start date same as PLan date.
    Plz help me frnds.
    Guruprasad

    hi
    can you explain in details with your maintenance plan with the dates.Normally your call date and plan date will be different becase of call horizon ,but the order basic start date and plan date will be equal only
    kindly revert back
    regards
    thyagarajan
    your order basic date will be when you have maintenance call is generated.kindly check
    Edited by: thyagarajan krishnamurthy on Feb 25, 2009 9:46 AM

  • Basic start date and basic finish date in the maintenance sub-order

    Hi guys,
    when I create a maintenance sub-order by the transaction IW36 are the Basic start date and the Basic finish date taken,inherited from the principal Maintenance order?And if it is in this way,is there the possibility to put these two dates as a current day only on the  maintenance sub-order ?Thanks in advance...
    Maximilian

    Here is my code
      DATA : lv_date_diff TYPE i.
      lv_date_diff =  caufvd_imp-gltrp - caufvd_imp-gstrp.
      caufvd_exp-gstrp = sy-datum.
      caufvd_exp-gltrp = sy-datum + lv_date_diff.
    This is a 4 year old answered message. Please open a thread for your specific query.
    -Paul
    Moderator
    Edited by: Paul Meehan on Nov 24, 2011 8:42 AM

  • Date Validation - End date before Start date

    This may be a very simple validation but I seem to be having trouble. I've got a form which requires a date range to be selected (Date Picker fields)...a Start date, and an End date.
    I've created a Function Returning Boolean validation with the code as:
    begin
    if :P1_END_DATE < :P1_START_DATE then
    return false;
    else
    return true;
    end if;
    end;This works 99%, except when the date range spans years.
    For example, when I select '21-Dec-2010' in the start date and '4-Jan-2011' in the end date. The validation fails, and thinks the end date is before the start date.
    Do I need to compare the year part of the date, before doing the rest? Or is the '<' not suited for this sort of check?
    Edited by: djston on Dec 20, 2010 12:13 PM

    Sorry, false alarm, it looks like I had my logic a little backwards :)

  • How do I change the start date for the week from Monday to Sunday on my iPhone 5?

    How do I change the start date for the week on iCal from Monday to Sunday on my iPhone5?

    Yes. On my new iPhone 5 the iCal week begins on a Monday not a Sunday and does not give me the option to edit in settings on the phone

  • How to calculate start date of the week based on week number ?

    i need to get week number of the current date and based on that i need to calculate start date falling in the same week for last year.
    Eg. today is 31st week of year and 31st july date. so what will be the date on the 31st week of last year. i need the start date of that week.
    we can calculate the week number by select to_char(sysdate,'ww') from dual.
    DO we have a single line query for that or will it require writing a pl/sql block ?

    you can try following query
    it can be as inline but for more clean look and create it as select with include select
    with t as
    (select sysdate as dt from dual)
    select to_char(prev_year_dt - to_char(prev_year_dt, 'D') + 1, 'DD.MM.YYYY') as start_of_week from (select
    -- get day from prev year with the same week number
        case
               when to_number(to_char(add_months(dt, -12), 'WW')) > to_number(to_char(dt, 'WW')) then
                dt - (to_number(to_char(add_months(dt, -12), 'WW')) - to_number(to_char(dt, 'WW'))) * 7
               when to_number(to_char(add_months(dt, -12), 'WW')) < to_number(to_char(dt, 'WW')) then
                dt + (to_number(to_char(dt, 'WW')) - to_number(to_char(add_months(dt, -12), 'WW'))) * 7
               else
                add_months(dt, -12)
           end as prev_year_dt
      from t) t1good luck
    Sergii
    'Monday' is not first day of week in 100% ;)
    Edited by: Galbarad on Jul 30, 2012 11:00 PM

Maybe you are looking for

  • Is it possible to change the URL of an iTunes Podcast page itself (NOT the Feed URL)?

    My company has an usual question: While keeping all the individual podcasts the same, and the subject matter of the whole podcast series the same, my company would like to change the URL that Apple iTunes has assigned us.  Is this possible, and how c

  • Validation eventhanlder in OIM 11G R1 11.1.1.5.4

    Hi Experts, I have a requirement to validate the data entered in the CREATE USER form of OIM Admin console. example: I have a UDF called mobile number, when a HELPDESK team enters data in the UDF, OIM should immediately verify it's a number or not an

  • How do I increase the size of type in the mail box listing of new mail?

    I want to increase the font size for email that has been received in the inbox.

  • Blurry photos on iPad after import

    After importing pictures from iPhoto or a separate folder, many photos take several seconds to come into focus when viewing. This makes it useless to try to view in slideshow format. Is there something I am missing? These are hi-res photos taken with

  • EDPAR and idoc segment E1EDKA1

    Hi    I have read all threads related to EDPAR but didn't get any satisfactory answer.    I have maintained entries in EDPAR table thru t-code VOE4. I understand that I need to pass 'customer' and 'external partner' number in idoc to automatically de