FM to determine working days of the Org Unit

Is there a function module to retrieve the number of working days when the org is valid? Thanks!

Hi,
The day is always going to be the same '01'; only the month and year are goint to change..
w_date+6(2) = '01'.
IF w_date+4(2) = '12'.
w_date+4(2) = '01'.
w_date(4) = w_date(4) + 1.
ELSE.
w_date4(2) = w_date4(2) + 1.
ENDIF.
Thanks and Best Regards,
Vikas Bittera.

Similar Messages

  • Weekly schedule line should pass to last working day of the week in SAg

    HI,
    In a scheduling agreement when we have weekly or monthly schedules the system displays the date in the screen as 12/2010 or 13/2010 for say a weekly schedule.
    However when the data is stored in the table the delivery date is always the first working day of the week. In this case when the week is 13/2010 the data is stored in the table as 22/03/2010.
    Is there any way to change this to the last working day of the week?
    We have some config related to define delivery intervals in IMG--> Sales and Distribution --> Sales --> Sales Documents --> Scheduling Agreements with Delivery Schedules --> Define Delivery Intervals. Will this help solve my issue? If it solves what is the procedure behind this?
    Request you to provide your inputs.
    Thank You, Lakshmikanth

    Hi,
    Seems the delivery split concept is different from this requirement. Can Delivery intervals concept help us or not? IMG--> Slaes and Distribution --> Sales --> Sales Documents --> Scheduling Agreements with Delivery Schedules --> Control EDI Inbound Processing --> Define Delivery Intervals.
    What is the procedure and assignment details for delivery intervals concept?
    Thanks, Lakshmikanth

  • How to create a recurrent event on the first or last work day of the month

    The lightning calendar allows selection of the first and last day of the month for recurrent events but for business I need to use the first and last WORK day of the month (Monday - Friday) to schedule particular tasks. In the calendar preferences under 'View' I can select the days that make up the work week but this does not transfer to an option in recurrent events. Is there another way to do this or is it just not available?

    Hi there,
    do know for the UlltimateBootCD4Win? This from CD bootable WinXP-BartPEedition with additional tools gives you the ability to make such things like partitioning, backup or formatting your HDD.
    It has many more applications which help you to maintain your system without booting your original OS.
    So I think that this CD will solve your partitioning issues.
    Heres a link: www.ubcd4win.com/
    Just try it and tell me your opinion.
    Nice weekend and greetings from the sunny south ;)

  • Calculate the working days having the start and end dates only

    Hi,
    Can BIP be able to calculate the working days having the start and end dates only? It is like the NETWORKDAYS function in Excel. (i.e. excluding weekends and holidays).
    Thanks.

    Not out of the box.
    But You could extend your BIP functions
    Look at here:
    http://blogs.oracle.com/xmlpublisher/2009/05/bip_by_extension.html
    Based on that what you need is similar to the following Java code:
    http://objectlabkit.sourceforge.net/
    regards
    Jorge A.

  • Editing Working Days/Non Working Days in the base Project Calendar PWA

    Hello Experts,
    I am attempting to edit working days/non working days in the base project calendar PWA 13. I receive an error message when I attempt to open the base project schedule.
    I click the "edit" button under "Enterprise Calendars" page.  The error message states:
    "This Project Web App feature requires at least Microsoft Internet Explorer 8.0"  (using Chrome)
    Attempting to Opening PWA in I.E. I receive a different error message stating that I need Project Professional installed on my computer and it cannot find the current project.  
    I have Admin rights, I have project pro, and Im able to access any project or function using PWA and Project Pro. Can you tell me what I am missing (detailed steps--kinda new to PWA)
    Thanks so much.  

    If you allow me to jump in, I'd advice you to first open MS Project Pro and then try again.
    Also check that your MS Project Pro URL account do not finish with /default.aspx.
    Finally ensure that your PWA URL is in the trusted site and eventually add it to the compatibility sites.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Determine the Org Unit

    Can we find out what methods we have to determine the Org Unit the agent belongs in ABAP?
    Please do let me know.
    Thanks

    Hi Mohan,
    Refer the following thread :
    Re: Org Unit
    <b>Reward points if it helps.</b>
    Regards,
    Amit Mishra

  • CATS - How to enter times of an employee who works for 2 different Org Unit

    Hi,
    I am able to successfully enter times for an employee and do the approval process (CAT4) and CAT6 and I can see the records getting updated in PA30.
    Scenario :
    Employee works for 2 different Org Units and should be able to enter his time through Timesheet. Eg: Employee A spends 6 Hours working in Department B1  &  3 Hours in Dept B2.
    The Manager of B1 should only be able to approve 6 Hours of Employee A
    The Manager of B2 should only be able to approve 6 Hours of Employee A
    Can somebody help me out how this can be achieved?
    Regards,
    Mamta

    Hi Sameer,
    Thank you for the response. Yes, when I report the times for 2 different org units I would also want the cost for that employee distributed between org units.
    I tried your solution-> by entering times in CAT2 for Employee A for 2 different Cost Centers that I created.
    For Department B1 --> In CAT2 I entered   Cost center C1 :  6 Hours
    For Department B2  -->In CAT2 I entered   Cost center C2 :  4 Hours
    When I go to CAT4 and try to select the employee for approval and search the employee-A Org unit wise he is displayed only in his original Department -> B1 with 10 hours (6+4). What else do you think needs to be done?
    Is this anything to be done with Sender Receiver Cost Centers because the cost center C1,C2 that I created for Org Units B1 & B2 respectively are just Cost Centers. I dont know the difference between Costcenter and Sender Costcenter/Receiver Costcenter.
    I will try to explain the scenario again in case I was not clear :
    u2022Each employee has their home OU.  However these employees may be working with multiple OU each day or the week.  So potentially, the time sheet may have to be approved by multiple managers.
    Regards,
    Mamta

  • Multiple users under a Position in the Org Unit.

    Hi Experts,
    I have created a Position under an Org Unit and assigned 8 Users under that Position.
    The issue is that i want to send email only to 1 user from this position.
    If i mark the position as head of the org unit, all the users under that position becomes head.
    Can anyone suggest how  i can differentiate Users within the same Position ?
    Can Roles help me with m y requirement ?
    Thank You,
    Radhika.

    Hello,
    I'm not sure I understand what the problem is. This does have to do with workflows, I assume.
    If you want to send a workitem to a particular person, then why not just name that person, instead of the position?
    If there are criteria you can use to distinguish between the people (eg location) then you could use that in a rule (AC......) to determine which person the workitem should go to.
    regards
    Rick Bakker
    Hanabi Technology

  • Update table HRP1001. Change the Position and the Org Unit.

    Hi,
    I am new to SAP HR and have been given a work in this area. The requirement is to update the relationship table HRP1001 replacing the old Manager' Position and the Org Unit with the New Manager's Position and the Org. Unit.
    I have some how found out the way to get the Postion and the Org unit of the old manager. Now I am replacing the same with the new details using the Update HRP1001 Command but this is the old and not recommended method acheiving this task.
    Can anyone please suggest me any Function Module OR the BAPI to update the HRP 1001 table with the New MAnager;s Position and the Org Unit.
    Thanks...!!!
    Regards,
    Deepak.

    Hi Kalpesh,
    I am using the FM: 'BAPI_HRMASTER_SAVE_REPL_MULT'but still not updating. I am trying to change the Position and the Org unit but not successful yet.
    I first used the Operator 'I' withi the table BAPIHROBJ-OPERATOR, it failed then I tried 'U' for update it still failed. Can you please let me know how many such operations possible with their charecter values apart from I & U. the domain value set does not exist as it is char1.
    Now I came to know that I have to terminate the old relationship by changing the ENDDA and create a new one with the new BEGDA as tomorrow's date.
    Can you please suggest something.
    Regards,
    Deepak.

  • How are the org units created

    How are the org units created,say if i have 1000 org units which has to be created,in the PRH, what is the best solution, is it by transport or data upload?

    Hi Tom,
    I think your problem is solved . If not plz do let us know. And let us know which method you have obtained (LSMW or BDC) to upload the ORG UNIT Data??
    Have a great day..
    Regards,
    Sri..

  • How to find the all the org units of chief org unit

    Hi All,
    i have one cheif org unit which belongs to IT. i Just need to take all the org units into one internal table upto last org unit.
    ex: 500000 is the chief org unit then we check that belongs to taht
    550000 and 560000
    and agian 550000 is having or units
    556000 and 557000 ....
    now requirement is now i input on 500000 on selection--screen and i need to get
    550000
    556000
    557000
    560000
    I used evaluation path as o-o and used call function 'HRCM_ORGSTRUC_INFO_TABLE_GET'.
    but able to get only the just next level org units.ie. 550000 and 560000 Not others ..So is there any way where we can find all the org units that comes under the MAIN ORG UNIT 5000000.
    waiting for your valuable inputs...
    Regards
    sas

    Hi
    Use the FM: RH_STRUC_GET with the evaluation path : ORGEH.
    If you are still not able to get the required results,then go to Tcode: OOAW and find the suitable evalution path for your requirement.
    Hope definetely u will get the results.
    Regards,
    Sreeram
    Edited by: Sreeram Kumar Madisetty on Apr 22, 2009 8:25 AM

  • In MSS, Other than Manager to access the employee in the Org Unit

    Hi all,
    IN our current project, for MSS, Head of the Org Unit (A/B 012) triggers the Personnel Change request, First Level Approver (HR-Partner from Custom Infotype) approves the PCR and Admin process the PCR.
    Now the requirement is changed... HR-Partner needs to trigger the PCR, followed by Approval from head of Org Unit and Admin to process the PCR.
    For the HR Partner to view the Position in the Org.Unit or only the positions,
    We can have custom A/B Z12 between HR-Partner Posiiton and Org Unit
    OR
    We can have custom A/B Z02 between HR-Partner Position and reporting postions.
    Now What are all the required OADP configuration required to Allow the HR-Partner position to view the reportees and create and submits PCRs for them..
    Regards
    Ramanathan

    yes this all comes to the evaluation path a user has he neednt be a manager, in OM, he can be another user with extra structural authorisation like HR admin,
    so change in T77AW and assign them in OADP.
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=190743879

  • Evaluation path to get personnel number all the org unit and subordinates

    Dear all,
    I have OM issue to ask.This is the scenario:
    Staff A  belong to  org 1. Under Org  1, I  have org unit 1-A, 1-B and org unit 1-C.
    Issue 1 :
    I want to run report(RHSTRU00) to  to generate all the staff number in org 1 (Include 1-A, 1-B, and 1-C).
    Issue 2 :
    I  want to run report for 1-A, only staff belongs in org 1-A appear.The others not appear.
    I was understanding I have to play around with evaluation path. Until now I can't find the suitable evaluation_path. I need your help.tq

    Hi,
    Not sure why you want to reinvent the wheel.  The standard report RHXSTRU02 will give you people by Org Unit.  Just enter the Org Unit ID number and you will get the employees as output.
    If you still want to use RHSTRU00, you can use O-P or O-S-P to get the employees and the positions.
    Paul

  • Problem in Creating the Org Unit

    Hi Experts,
    I am only using the FM RH_INSERT_INFTY to create an Org unit with Infotypes 1000,1001 & 1028. We have recently upgraded our system to SRM 7.0 from 4.0.
    Problem: The BP  is not being created corresponding to the Org Unit.
    But, When i created an Org Unit with above FMs in SRM 4.0, the BP number is created & is showing in PPOSA_BBP.
    Please let me know if i need to run any other FM / do any modifications.
    Thanks in Advance,
    Vishnu Reddy

    Hello Aswini,
    I checked on a SRM 7 release and i get same behaviour as the one you described.
    I did not find any OSS notes regarding this point.
    I advise you to open an OSS message to have SAP clarification on this point.
    Regards.
    Laurent.

  • Problem while copying the org unit

    Hi,
    SRM 4.0.
    In PPOMA_BBP, user is trying to create a new org unit by copying an existing org unit. When the new org unit is created, the relationship B012 (Is managed by) is getting copied and is showing in PP01 and also showing in HRP1001 table. In the current org structure, every org unit is having a manger (with a red hat). When copying the org unit, the manager is not getting coped but the relationship is getting copied as mentioned above.
    This should not happen. And this is not happening while creating a new org unit by clicking on the "Create" button in PPOMA_BBP.
    Appreciate for any suggestion how to solve this.
    Thanks & Regards,
    Aswini

    Hello Aswini,
    I checked on a SRM 7 release and i get same behaviour as the one you described.
    I did not find any OSS notes regarding this point.
    I advise you to open an OSS message to have SAP clarification on this point.
    Regards.
    Laurent.

Maybe you are looking for