BAPI to change working schedule

Hi expert,
I'm in need of a BAPI to change a working schedule of an employee (stored in IT0007). I couldn't find any related BAPI to do this function. Does anybody knows any BAPI to do that?
Thanks

Hi
Check This Functiona modules
HR_DV_WORKSCHEDULE_GET
HR_PERSON_READ_WORK_SCHEDULE
HR_PERSONAL_WORK_SCHEDULE
HR_PERSONAL_WORK_SCHEDULE_PNP
HR_WORK_SCHEDULE_RULE
Ranga

Similar Messages

  • Bapi for change work center data

    HIi All
                    I need BAPI to change work center data for all categories and work center change transactions .....IR02 ,CNR2,CR02.
    Thanks in advance .

    Hai,
    Try the fm CRAP_WORKCENTER_CREATE
    BAPI_BUS2054_CHANGE_MULTI
    CRAP_WORKCENTER_CREATE
    Regards,
    Venkat

  • BAPI to change the Scheduling agreement Qty  in ME38

    Hello Sapiens,
    Is there a way by which I could change my scheduling agreement qty to my GR qty in t.code me38 . So that i make my open qty 0.
    this task has to be done to run the MRP.
    Is it possible using BAPI.
    Shanoj

    BAPI for BAPI_SAG_CHANGE

  • Planned working time changed and we need to change work schedule for multip

    Hi All
    I have 2 senarios on time mgmt
    1.We have a transfer absence quota where this can be used in day off but it count day offs.It has to show the Calendar days and absence days equal.I am not getting this when i tried 
    I have a scenario that company management wants to cahnge the planned work timings due to whether for multiple work schedules which already exsist and running.How we can change these new timings and can generate work schedule in single shot/config change?
    Can any one through light on these two?
    Thanks in advance

    Any body plz give me a clue.
    Final Out put should be
    "Finally check the Abs Days and Calendar days are diff, but  the requirement is both should be same."

  • BAPI to change Work order operation details

    Hi ,
      I have a requirement to change the operation work center of the service order . I am using the BAPI_ALM_ORDER_MAINTAIN . Could anyone let me know how the parameters i_methods and i_operation, i_operationup needs to be passed , what values need to be filled in them. Basically I am not sure about how the object key for the i_operations table is built.
    Regards,
    Prabaharan.G

    Hi,
    I used the below function module parameters as below the change operation work center of maintenance order,
    CLEAR: I_METHODS[], I_HEADER[], I_HEADERUP[],
             I_OPERATION[], I_OPERATIONUP[].
      CLEAR: V_OBJKEY.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT  = P_V_AUFNR
        IMPORTING
          OUTPUT = P_V_AUFNR.
      I_METHODS-REFNUMBER = '000001'.
      I_METHODS-OBJECTTYPE = 'OPERATION'.
      I_METHODS-METHOD = 'CHANGE'.
      I_METHODS-OBJECTKEY = P_V_AUFNR.
      APPEND I_METHODS.
      I_METHODS-OBJECTTYPE = ' '.
      I_METHODS-METHOD = 'SAVE'.
      APPEND I_METHODS.
      I_OPERATION-ACTIVITY = P_V_VORNR.
      I_OPERATION-WORK_CNTR = P_V_WORK_CENTER.
      APPEND I_OPERATION.
      I_OPERATIONUP-ACTIVITY = 'X'.
      I_OPERATIONUP-WORK_CNTR = 'X'.
      APPEND I_OPERATIONUP.
      CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
        TABLES
          IT_METHODS             = I_METHODS
         IT_HEADER               = I_HEADER
         IT_HEADER_UP            = I_HEADERUP
      IT_HEADER_SRV          =
      IT_HEADER_SRV_UP       =
      IT_USERSTATUS          =
      IT_PARTNER             =
      IT_PARTNER_UP          =
       IT_OPERATION           = I_OPERATION
       IT_OPERATION_UP        = I_OPERATIONUP
      IT_RELATION            =
      IT_RELATION_UP         =
      IT_COMPONENT           =
      IT_COMPONENT_UP        =
      IT_TEXT                =
      IT_TEXT_LINES          =
      EXTENSION_IN           =
         RETURN                 = I_RETURN
      ET_NUMBERS             =
      READ TABLE I_RETURN INTO WA_RETURN WITH KEY TYPE = 'E'.
      IF SY-SUBRC NE 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        WAIT UP TO  1 SECONDS.
      ELSE.
        MOVE P_V_AUFNR TO WA_MSG_LOG-AUFNR.
        MOVE P_V_VORNR TO WA_MSG_LOG-VORNR.
        MOVE WA_RETURN-MESSAGE TO WA_MSG_LOG-MESSAGE.
        APPEND WA_MSG_LOG TO I_MSG_LOG.
        CLEAR: WA_MSG_LOG.
      ENDIF.
    Regards,
    Prabaharan.G

  • BAPI for changing Work order user status in IW32

    Hello Experts,
    I am getting Same Problem in updating status via BAPI, BAPI_ALM_ORDER_MAINTAIN.  Its not giving any error but even not update status.
    I know i can use this for changing the user status also but not sure how to carry out things.
    I used this code.
    fi_methods-method = 'SAVE'.
    APPEND fi_methods.
    fi_methods-refnumber = 1.
    fi_methods-objecttype = 'USERSTATUS'.
    fi_methods-method = 'CHANGE'.
    fi_methods-objectkey = '002000002453'.
    APPEND fi_methods.
    fi_userstatus-user_st_text = 'COMM'.
    fi_userstatus-user_langu   = 'EN'.
    fi_userstatus-change_event = ' 01 '.
    APPEND fi_userstatus.
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
      TABLES
        it_methods    = fi_methods
        it_userstatus = fi_userstatus
        return        = fi_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Above code I am using and there the message comes like
    T ID                   NUM           MESSAGE
    S IW                   080           Order saved with number 2000002453
    S IWO_BAPI2     110           BAPI control was ended
    can any on know what is wrong in this? please help if having knowledge.
    Thank You,
    Jahnavee Trivedi

    I am getting Same Problem.
    fi_methods-method = 'SAVE'.
    APPEND fi_methods.
    fi_methods-refnumber = 1.
    fi_methods-objecttype = 'USERSTATUS'.
    fi_methods-method = 'CHANGE'.
    fi_methods-objectkey = '002000002453'.
    APPEND fi_methods.
    fi_userstatus-user_st_text = 'COMM'.
    fi_userstatus-user_langu   = 'EN'.
    fi_userstatus-CHANGE_EVENT = ' 01 '.
    APPEND fi_userstatus.
    CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
      TABLES
        it_methods    = fi_methods
        it_userstatus = fi_userstatus
        return        = fi_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Above code I am using and there the message comes like
    T ID                   NUM           MESSAGE
    S IW                   080           Order saved with number 2000002453
    S IWO_BAPI2     110           BAPI control was ended
    can any on know what is wrong in this? please help if having knowledge.
    Thank You,
    Jahnavee Trivedi

  • How to delete/hide work schedule rule

    hi,
    what is the process to remove work schedule rule
    Thanks

    Hi,
    Work Schedule Change
    Time administrators or business officers change work schedules through a PA40 Action (FTE or
    Status Change).
    System users who are changing a work schedule must pay careful attention to the effective date for such change. The Work Schedule change should always become effective on a date for which no time has yet been entered. Entering an effective date that occurs in a time period for which hours have already been entered will result in serious time entry errors.

  • Generation of Work Schedule Rule in Production Client

    Dear All,
    Is it Possible and Advisable to Generate Work Schedule Rule in the Production Server.
    Thanks & Regards,
    Punam Jha

    Hi Punam Jha,
    You'd better generate it in test client and transport into production.
    This is the regular way.
    Changing work schedule rules in production client is risky.
    However, in order to make it happen, please refer to the following SAP Note:
    Note 86790 - Generating work schedules in production client
    Regards,
    Dilek

  • BAPI to change INFO record and Scheduling Agreement (ME32)

    Can anybody tell me what is the bapi function module used to change the info record and a bapi function module used to change the scheduling agreemnent (ME32)

    check in Tcode BAPI
    or Search in SE37
    BAPISChe
    Regards
    Peram

  • Work Schedule Mass Changes of Timing

    Dear All
    I have to change timings of different shifts and work schedules for the whole organization only for one month. We have almost 400 shifts and its not easy to change timings manually one by one. Is there any way for mass change.
    Thanks in advance.

    Basically  its a govt decisison to save enrgy.
    Timings of all locations has changed for one month.
    E.g Location1 orignal Time was 8:30 to 5:00 PM
    New Time 8:00 to 2:30 PM.
    Location2 Orignal Time was 8:00 to 4:00
    New Time is 7:30 to 2:00.
    Similary there is change in driver and machinery workers shifts and there are many locations.

  • Changes to Factory Calendar Not reflected in work schedule

    I have updated the exsisting factory calendar in PRD .
    Yet the changes do not seem to have taken effect. I have tried to regernerate the work schedule. However I'am not sure I have done that properly.
    Any assistance would be greatly appreciated.
    Thank you

    Hi.. you cant expect any change in the Factory calender affecting work schedules. If you want the work schedules to be updated with the holidays you need to be updating the holiday calender.
    Factory calender is mainly for Plant Schedules, Bank transfers in finance , etc

  • Which user-exit or BAPI triggered when a schedule line is changed

    Dear All,
    Does anyone know which user-exit, enhancement or BAPI is triggered when we do change on schedule line item?
    Let's say, I have two line schedule line item, then I do change for delivery date. After triggered "Item Availability" button, system will accumulate confirmed Qty on first line and second line into first line. And then the second line will remain zero.
    I need to know, which enhancement or user exit or any standard FM do this process.
    I searched, but not found any user exit or enhancement that will go through.
    Best regards,
    Dinivian.

    Hi,
    For MFBF there are sollowing user-exits....
    XMRM0001 - Backflushing in Repetitive Manufacturing.
    PTRM0001 - For lead column in REM planning Table.
    SAPLRMPU - Customer Exit for Article Staging.
    Reward points if useful....
    Regards
    AK

  • Change in Work Schedule Rule

    Hello
    I need one help
    I have changed the WSR for a specific personnel area changing the time of the working hours, so now after changing the settings do I need to generate WSR Manually if yes do i need to create or change the existing one
    When I tried to create giving claendar, ESG,WSR, it says its already exists.
    what should I do Now to activate It
    Kindly help
    Thanks
    Naveen

    Hi Naveen,
    Please generate the WSR in batch mode and generate it from the month of change till the month you wish to generate.
    SPRO > Time Management > Work Schedules > Work Schedule Rules and Work Schedule > Generate Work Schedules in Batch
    Enter the employee subgroup grouping, holiday calendar id, personnel subarea grouping, work schedule rule, calendar month from (042014 for Apr'14) to calendar month (122025 for Dec'25), BTCI as E and click on execute.
    Please enter the months for which you want to generate the WSR. The above were sample values for illustration.
    I hope this solves your query.
    You can also go through the below blog on Public Holiday Calendar and Work Schedule Rules.
    Thanks and regards,
    Vivek Barnwal

  • BAPI Function module to change the schedule agreement

    Hello Experts,
                             Can anyone tell me Bapi function module to change the scheduling agreement,
    my requirement is i will get the new AEDAT(Delivery date in schedule line)
    and WMENG(Quantity)  Every time customer sends me a flat file which has got
    revised schedule delivery date and Quantity. It needs to be updated in my system
    using a BAPI Functional Module.

    Hi Vivek,
    You must use the correct or most appropriate forum, so this thread will be moved from to .
    The forum is dedicated to: Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
    Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
    Also read this thread Welcome and Rules of Engagement.
    Greetings,
    Marcelo Ramos

  • Change/ removal of Unit of Issue in Material master Work scheduling view

    Hi,
    Is there a way to remove Unit of Issue from Work scheduling view? it is giving error message as "this is being used in BOM". Even if we put deletion indicator also it is showing same error message.
    Regards,
    R. Srinivasan

    Do a CS15 for the material in question and make sure you go in the BOM and select the material and click on delete/remove you can then do this.
    I have tested it and it works.
    Regards
    Adeel

Maybe you are looking for

  • Macbook video issue?

    Macbook 3.1 2.2ghz - i'm experiencing an issue where screen shows booting info, but when it would be going to the info from the HD, I get a blue screen and no data. This mirrors to an external the same way except when the switchover takes place the e

  • Can I create a Class object without the VM?

    Using byte-code engineering, is it possible to create a class object? What about if I serialize a Class object to a file, can I byte-code engineer that and then reinstantiate it?

  • How to clear/send the failed notifications?

    Hi When i query and checked the wf_notifications table, is shows around 300 notifications that are with failed status. How to fix and send these notifications to the users? The query that i have used is as follows: select notification_id, status, mai

  • Menus with background audio

    hi, i have project in DVD Studio 4 Pro. I create Main menu with looping background music and two Submenus. how to create background music on Main menu, so when i go to Submenus, background music from Main menu will nonbreaking and continuesly play to

  • Problem in executing a unix command through java

    hi i'm trying to execute unix command through java simple shell command like "ls -l >test " but i'm not able to see the result. there are no error messages. Code is: import java.lang.Runtime.*; class ExecDemo      public static void main(String[] arg