Requirement on perticular day of the week.

Dear All,
I have a query,
I have raw material with "VB" consumption base planning.
But i dont want the PR of every day, only on Monday i start the purchase acivity, so PR should be only on MOnday and not any other day.
I need to run MRP every day, which i can not alter for this requirement.
Is it possible to club the requremt of the week, and pr on one perticular day. for all quantity.'
Even if i cud club the week req. but the purchase day is very imp for me.
Thanks
Raghu
Edited by: raghu m on Mar 3, 2010 3:07 PM

Hi,
If you want to Club the entire week requirements use Weekly lot size when you want the PR to be Generated On particular day depends on the planning cycle hence I recomend you to go for Time-Phased Planning Procedure  where  vendor always delivers a material on a particular day of the week, it makes sense to plan this material according to the same cycle, in which it is delivered.
Please follow the links
http://help.sap.com/saphelp_47x200/HELPDATA/EN/f4/7d259744af11d182b40000e829fbfe/frameset.htm
http://help.sap.com/saphelp_47x200/HELPDATA/EN/f4/7d25a444af11d182b40000e829fbfe/frameset.htm

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

  • Getting first day of the week

    Dear All.
    As there is one function module BWSO_DATE_GET_FIRST_WEEKDAY which returns the first day of the week but its Monday but in our case we require Saturday and in some cases Monday.
    our user in UK are running the same report in which i have to calculate the stock base on starting day Monday and other uses are in KSA where the starting day of the week is Saturday.
    Is there any standard option available do achieve this.
    Kind regards,

    Hi Zeeshan,
    There are two options
    Option 1: In Routine or CMOD or in Variable use offset +5 or -2 according to your reporting requirements.
    Option 2: Maintain the table entries 52 Posting periods in T0009 or in custom table with special FISCAL Variant. (i.e., each week = one posting period). Have a loop up in that table according to your requirement.
    Hope either one of the option would help you in meeting your requirement.
    Best Wishes,
    BVC

  • Payment terms - due date on a particular day of the week say friday?

    Experts is it possible in SAP payment terms to configure a term such that due date is on a particular day of the week?
    I want use payment term to determine due date for weekly billing cycle (sunday to saturday) for the invoice to be due on Friday net 27 days from mid point of the week
    eg 1. if a customer is invoiced any day between October 4th to 10th, the due date should be Friday Nov 6th
    eg 2. if a customer is invoiced and day between October 11th to 17th, the due date should be Friday Nov 13th
    Is this possible?
    Thanks in Advance

    You need custom development for this. Using custom development, Substitution in FI or User exit in SD
    I. FI Substitution -
       Create substitution with exit, for field day1 (BSEG-ZBD1T) and baseline date (BSEG-ZFBDT). In exit, determine number of days for required Friday from baseline date you want to use (say document date). This way, due date will be on Friday.
    For determining Friday, use calendar or Ztables.
    II. Invoices created in SD - If you are gerenating invoices in SD, use exit EXIT_SAPLV60B_008. This exit has table ACCIT which also has same fields Day1 and Baseline date. Follow same logic mentioned above.
    I hope this helps.

  • Add recurring entries for days of the week

    Hello,
    I'm trying to setup a daily schedule for my dog walking business. I'd like to have each dog's name automaticaly listed under the day of the week which they are to walk on.
    For example: "Scarlett" walks on Tuesdays, Wednesdays, and Fridays.
    If B1 says "Tuesday" can I have one of the cells in that column automatically read "Scarlett" each week?
    I'd like to have it so that all I have to do is put Tuesday up at the top and it automatically creates a list of my Tuesday dogs for me, Lulu, Scarlett, Mark, Dani, Zoe, Sharky, etc.

    Ah, those famous words, "All I have to do..."
    Here's a partial solution. Unfortunately, it doesn't cover the "all I have to do" part. More about that in the description. Click the image for a larger version.
    Table 1 (Data) is the table on which the name of each dog is entered (column A) and the days that dog is to be walked recorded using check box cells.
    Table 2 (Index) creates a set of lookup tables from the information recoded on Data. Each table contains a column for the day listing a serial number to represent each dog scheduled to be walked that day and the column containing the names of the dogs, plus any intervening columns. The list of dogs has bee moved to the right as I was considering using VLOOKUP, which requires the search values to be listed to the left of the result values.
    Tables 3 through 9 are the daily lists. These were created as a single seven-column table, then split into separate single column tables for each day.
    Formulas:
    Data: No formulas on this table.
    Index:
    A2: =IF(Data::B,MAX(A$1:A1)+1,"")
    Fill down to row 10, then select A2:A11 and fill right to column G.
    H2: =Data::A
    H2 (enhanced): =IF(LEN(Data::A)>0,Data::A,"")
    Fill down to H11
    (Enhanced version prevents showing a zero on rows where no dog's name has been entered on Data.)
    Days:
    Make a seven column table with one header row.
    A1: Sunday
    Fill right to G1.
    A2: =IF(ROW()-1>MAX(Index :: A),"",LOOKUP(ROW()-1,Index :: A,Index :: $H))
    Fill down to A11. Select A2:A11, Fill right to column G.
    Separate the table into seven single column tables, one for each day.
    To do this:
    Click on any cell to make the table active and show the column and row reference tabs.
    Click one of the column reference tabs to select that column.
    Click the same tab a second time and drag down until the column separates from the rest of the table. Continue to drag until the column is completely separated from the table, then release the mouse button.
    Repeat for the rest of the columns to be separated.
    Each of these tables may be placed on a separate sheet to make printing a single list easier if desired.
    Regards,
    Barry

  • Specific days of the week for a promotion

    Hello,
    I would like to customize a campaign that runs just some days of the week. For example: Mondays and Wednesdays only. How can this kind of promotion be customized in CRM? How can those special days be specified?
    Regards,
    Efrain

    Here is an alternative:
    I'm assuming you run this campaign for a given target group (which I call Input TG) in a periodic fashion.
    1/ Create a job to refresh your input TG as required (for exmaple every Tuesday and Friday). Rick click on your target group in Segment Builder to set up this job as periodic.
    2/ Create another job (small ABAP code) to empty your input TG every time you have run the campaign (like on Wednesday and Sat)
    3/ Set your recurring job in Campaign Automation to run every day
    That could work for you.
    Cheers

  • Two or more productid will be accquired by same customerid, by same shipvia, on the same day of the week of shipped date. i want the simple query for this.

    consider this situation,
     Two or more productid will be accquired by same customerid, by same shipvia, on the same  day of the week of shipped date. i want the simple query for this.
    my tables are  from northwind:
    [orders] = OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, ShippedDate, ShipVia, Freight, ShipName, ShipAddress, ShipCity, ShipRegion, ShipPostalCode, ShipCountry.
    [orders details] = OrderID, ProductID, UnitPrice, Quantity, Discount.
    i tried some but it is not exact, it gives wrong result.
    select pd.CustomerID,pd.ProductID, pd.no_of_time_purchased, sd.ShipVia, sd.same_ship_count, shipped_day from
    select ProductID,o.CustomerID,COUNT(productid) as no_of_time_purchased
    from orders o join [Order Details] od on o.OrderID=od.OrderID group by ProductID,o.CustomerID
    having count(od.ProductID) >1) pd
    join
    (select OrderID,customerid, shipvia, count(shipvia)as same_ship_count, DATENAME(DW,ShippedDate)as shipped_day from orders
    group by customerid, ShipVia, ShippedDate having COUNT(ShipVia) > 1 ) sd
    on sd.CustomerID=pd.CustomerID

    Hi,
    I think I have a solution that will at least give you a clue how to go about it. I have simplified the tables you mentioned and created them as temporary tables on my side, with some fake data to test with. I have incldued the generation of these temporary
    tables for your review.
    In my example I have included:
    1. A customer which has purchased the same product on the same day, using the same ship 3 times,
    2. Another example the same as the first but the third purchase was on a different day
    3. Another example the same as the first but the third purchase was a different product
    4. Another example the same as the first but the third purchase was using a different "ShipVia".
    You should be able to see that by grouping on all of the columns that you wich to return, you should not need to perform any subselects.
    Please let me know if I have missed any requirements.
    Hope this helps:
    CREATE TABLE #ORDERS
     OrderID INT,
     CustomerID INT,
     OrderDate DATETIME,
     ShipVia VARCHAR(5)
    CREATE TABLE #ORDERS_DETAILS
     OrderID INT,
     ProductID INT,
    INSERT INTO #ORDERS
    VALUES
    (1, 1, GETDATE(), 'ABC'),
    (2, 1, GETDATE(), 'ABC'),
    (3, 1, GETDATE(), 'ABC'),
    (4, 2, GETDATE() - 4, 'DEF'),
    (5, 2, GETDATE() - 4, 'DEF'),
    (6, 2, GETDATE() - 5, 'DEF'),
    (7, 3, GETDATE() - 10, 'GHI'),
    (8, 3, GETDATE() - 10, 'GHI'),
    (9, 3, GETDATE() - 10, 'GHI'),
    (10, 4, GETDATE() - 10, 'JKL'),
    (11, 4, GETDATE() - 10, 'JKL'),
    (12, 4, GETDATE() - 10, 'MNO')
    INSERT INTO #ORDERS_DETAILS
    VALUES
    (1, 1),
    (2, 1),
    (3, 1),
    (4, 2),
    (5, 2),
    (6, 2),
    (7, 3),
    (8, 3),
    (9, 4),
    (10, 5),
    (11, 5),
    (12, 5)
    SELECT * FROM #ORDERS
    SELECT * FROM #ORDERS_DETAILS
    SELECT
     O.CustomerID,
     OD.ProductID,
     O.ShipVia,
     COUNT(O.ShipVia),
     DATENAME(DW, O.OrderDate) AS [Shipped Day]
    FROM #ORDERS O
    JOIN #ORDERS_DETAILS OD ON O.orderID = OD.OrderID
    GROUP BY OD.ProductID, O.CustomerID, O.ShipVia, DATENAME(DW, O.OrderDate) HAVING COUNT(OD.ProductID) > 1
    DROP TABLE #ORDERS
    DROP TABLE #ORDERS_DETAILS

  • How to pass from method to arguments to main and get the day of the week

    Hi
    Need some help, this code below doesnt fit the requirement.
    For this program, i need to: take in day, month,year of a date as int argument, return the day of the week for the date entered in App()
    In Main: call the App() to get the day of the week to display when user enter the date in dd/mm/yyyy
    StringTokenizer is required for this program.
    - How can the arguments pass back to main by returning of month & day of the week?
    - Program cant take in int and return as string
    - Date cant display day of the week
    Code
    import java.util.*;
    public class App2 {
        private int day;
        private int month;
        private int year;
             private int inputDay;
                private int inputMonth;
                private int inputYear;
        public static String App2(String day2, String month2, String year2) { // this is wrong should pass int in
              String date = day2 + month2 + year2;
             DateFormat df = new SimpleDateFormat("dd/MM/yyyy");  
              try
              Date today = df.parse(date);               
              System.out.println("Today = " + df.format(today));
              catch(ParseException e)
              if(month2.equals("01") || month2.equals("1")){month2 = "January";}              
              else if(month2.equals("02") || month2.equals("2")){month2 = "February";}              
              else if(month2.equals("03") || month2.equals("3")){month2 = "March";}              
              else if(month2.equals("04") || month2.equals("4")){month2 = "April";}              
              else if(month2.equals("05") || month2.equals("5")){month2 = "May";}              
              else if(month2.equals("06") || month2.equals("6")){month2 = "June";}              
              else if(month2.equals("07") || month2.equals("7")){month2 = "July";}              
              else if(month2.equals("08") || month2.equals("8")){month2 = "August";}              
              else if(month2.equals("09") || month2.equals("9")){month2 = "September";}              
              else if(month2.equals("10")){month2 = "October";}              
              else if(month2.equals("11")){month2 = "November";}              
              else if(month2.equals("12")){month2 = "December";}
              return month2;
        public static void main (String [ ] args){
             Scanner sc = new Scanner(System.in);
                System.out.print("Enter the date in dd/mm/yyyy: ");
                String date = sc.nextLine();
                StringTokenizer st = new StringTokenizer(date, "/");
                String day = st.nextToken();
                String month = st.nextToken();
                String year = st.nextToken();
                App2(day, month, year);
                String test = App2(day, month, year);
                     System.out.print(test);
    }Program output: 29 Aug 2010 is a Sunday

    Note: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.

  • FM that gives number of day in the week for the given date

    Hi,
    I have a requirement to find the number of the day in a week for the given date. For example, 07/09/2009 is Thursday & 4th day of the week. Is there any FM to accomplish this task?
    Appreciate your help in Advance.
    Thanks,
    Kannan.

    Hi Kannan,
    ISH_GET_DAY_OF_WEEK.
    Regards,
    Dilek

  • Months/ days of the week not in English?

    Hi,
    When connecting my iPhone with iTunes for the first time, it seems that it picked up the location from my computer’s regional and languages, and as a result the menus on my calendar and weather applications, as well as the time on the home screen (month, day) - are in different language. Everything related to days of the week and months – not in English.
    I’ve changed the main setting from the control panel, installed the iTunes again, but I can’t find how I could change it for the iPhone. (The location within the iTunes store is correct.)
    Any suggestions?

    Thanks Phil,
    I don’t know how it got messed up… Seems ok now, but this is how it looked like:
    Language – English
    Voice control – Английски
    Keyboards 1 – Bulgaria ON
    Region Format – Bulgarian

  • Setting the first day of the week

    Hi,
    Is there any other place in Mac OS X where I could set system's first day of the week, except iCal? In iCal it's set to Sunday, but in OmniFocus mini calendars show Monday as the first day of the week, although even there in OmniFocus preferences I've set it to use Sunday as the first day of the week. Developer says that OmniFocus is using system's settings, but nowhere in my system (except iCal) I can find where I could set the first day of the week. I have set English as the default language and order of list sorting in the International settings. Any ideas or suggestions?

    Unless it is set with the Country in the International preferences, I don't think their tech support knows what they are talking about. However, if that is where it would be set, you should be able to override it with the custom settings, but you can't.
    I'd ask them to tell you where that gets set, or is stored. Ask them what system call is used to get that value. My guess is they won't be able to tell you.

  • Issue with Gregorian Calendar and setting Day of the week

    Hi
    This may have a simple solution, but its currently got me stumped. Basically, after some calculation I determine the date that a particular event should occur on. These events are listed in a JTable where the column headers are the dates of the beginning of the weeks. In order to place my calculated event in the correct column I create a Gregorian Calendar, set it to the date of the event and then set the day of the week to the beginning of the week. Normally this works fine but for a few instances, rather than getting the date at the beginning of the week, I get the date thats the beginning of the next week.
    As a quick example, to kind of illustrate my problem:
    I determine that the date of the event is 27/06/2006 which is a Tuesday.
    I want this event to appear in the column headed 25/06/2006, the date of the beginning of the week.
    In fact it appears in the column headed the 02/07/2006 which is the beginning date of the following week.
    Is there anyway to get it so when I set the day to the first day of the week it goes to the beginning of the current week rather than the beginning of the next week?
    Any suggestions would be gratefully recieved as I'm currently struggling to think of any.
    Thanks

    Hi, I dont say Monday is the begining of the week. At least I dont think I do.
    As for code I'll post the conversion bit which is:
    for (int i = 0; i < areaNameSelectionTable.getRowCount(); i++) {
    GregorianCalendar conversionCalendar = new GregorianCalendar();
    conversionCalendar.setTime((java.util.Date) prioritiesTable.getValueAt(i, 10));
    conversionCalendar.set(GregorianCalendar.DAY_OF_WEEK, GregorianCalendar.SUNDAY);
    }//end for loopI then create a string from the GregorianCalendar in the format DD/MM/YYYY and compare that with the headers of my table columns (Also dates in the format DD/MM/YYYY) When they match thats the column this particular event should appear in. I can post this code if necessary, but I dont know if its relevant.
    Thanks

  • Report Request - Tickets by day of the week

    So there are plenty of reports that show data based on past X days, but as far as I can see, none break it up into by days of the week.
    Example, For the last month, how many tickets were closed on Monday, Tuesday, by what Tech, in which Category/Location/Custom attribute.
    Could someone better than I make this happen?
    This topic first appeared in the Spiceworks Community

    I am not sure about your help.  Text variable is part of the header of a column and how is it possible to use the text variable as part of the result area.  I want the day to be part of the line item in the report.
    Appreciate if any one can provide their thoughts and input.
    Regards
    Sundar

  • Oracle returning incorrect day of the week

    Hi there,
    I have a table named Performance, which includes a date field named PDATE, some other attributes such as title, etc, and a field named WEEKDAY, which includes the numerical value for the day of the week. Here is an example:
    PER#
    P#
    THEATRE#
    WEEKDAY
    PDATE
    PHOUR
    PMINUTE
    COMMENTS
    1
    1
    1
    1
    02-MAR-10
    19
    30
    Normal evening time
    2
    1
    1
    2
    03-MAR-10
    19
    30
    Normal evening time
    58
    6
    6
    3
    04-MAR-10
    19
    30
    Normal evening time
    5
    1
    1
    4
    05-MAR-10
    19
    30
    Normal evening time
    I went to verify the day of the week in a calendar (in fact I checked more than one) and I noticed that the Weekday value seems incorrect. For instance, the 2nd of March was a Tuesday so I would expect WEEKDAY to say 3 (considering Sunday to be the 1st day of the week, which is the universal norm), or perhaps 2 (considering Monday to be the 1st day of the week).
    First thing that came to mind is, since the WEEKDAY is a number field which has been pre-populated, the person who populated it made a mistake.
    So I went to verify this by running a query that would give me the correct day of the week by extracting it from the PDATE field:
    SELECT DISTINCT pdate, EXTRACT(year from pdate) year,
    to_char(to_date(pdate,'DD/MM/YYYY'),'DY') weekdaycalc, weekday
    FROM ops$yyang00.Performance
    ORDER BY pdate
    And to my astonishment, I got the following table as a return:
    PDATE
    YEAR
    WEEKDAYCALC
    WEEKDAY
    02-MAR-10
    2010
    SUN
    1
    03-MAR-10
    2010
    MON
    2
    04-MAR-10
    2010
    TUE
    3
    05-MAR-10
    2010
    WED
    4
    06-MAR-10
    2010
    THU
    5
    07-MAR-10
    2010
    FRI
    6
    08-MAR-10
    2010
    SAT
    7
    09-MAR-10
    2010
    SUN
    1
    10-MAR-10
    2010
    MON
    2
    As you can see, all of the above WEEKDAYCALC values are incorrect, and seem to match the incorrect values in WEEKDAY.
    I could perhaps understand some weird WEEKDAY numbering if there is some general database setting where I could specify any day of the week to be the first day. However, I can't think of any logical explanation on why Oracle would call a Tuesday Sunday.
    Could someone please advise what I mght be doing wrong? This is driving me insane!
    Thank you in advance for all the help and support.
    Regards,
    P.

    Hi,
    1bded5c7-e555-4306-ac86-45da83dff439 wrote:
    Thanks both Frank and Solomon for the help. I am quite new to Oracle and I feel you folks went the extra mile on the explanation
    Based on your explanations, I changed the formula so the date format would be processed as YY rather than YYY.
    SELECT DISTINCT pdate, EXTRACT(year from pdate) year,   
    to_char(to_date(pdate,'DD/MM/YY'),'DY') weekdaycalc, weekday   
    FROM Performance   
    ORDER BY pdate  
    And I got the correct values now:
    PDATE
    YEAR
    WEEKDAYCALC
    WEEKDAY
    02-MAR-10
    2010
    TUE
    1
    03-MAR-10
    2010
    WED
    2
    04-MAR-10
    2010
    THU
    3
    05-MAR-10
    2010
    FRI
    4
    06-MAR-10
    2010
    SAT
    5
    07-MAR-10
    2010
    SUN
    6
    08-MAR-10
    2010
    MON
    7
    The interesting bit here, is the original WEEKDAY field, which clearly has been created with the same mistake I did (this whole table wasn't created by me). I reckon I spotted a design bug.
    Regards,
    P.
    No; you're still calling TO_DATE on something that is already a DATE, and you're still using an implicit conversion (only now you're using a format such that the current NLS settings don't cause you to get punished.  If your DBA changes the NLS settings next week, then you will have similar errors again.)
    If you want to see what day of the week pdate is, then use:
    TO_CHAR (pdate, 'DY')
    or, to make it NLS-independent:
    TO_CHAR (pdate, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH')
    This is simpler than what you posted, it's more efficient and easier to debug and to maintain, and it also gets the results you want in all cases.
    One more time: TO_DATE, as the name hints, converts something (a VARCHAR2, to be precise) TO a DATE.  If pdate is already a DATE, then what do you need to convert?  You're implicitly converting a DATE to a VARCHAR2, then explicitly converting that VARCHAR2 back to a DATE, and then calling TO_CHAR.  That's 3 function calls (1 of them error prone) where only 1 is needed.
    Also if you ever have to reconcile 2-digit years with 4-digit years (and, again, in this problem you don't) the correct way is to convert the 2-digit year to a 4-digit year, not vice-versa.
    Calling Tuesday the 1st day of the week could make sense in a particular application.

  • I have several recuring alarms set up on my calendar for each day of the week. In the past few weeks, an alarm will occasionaly notify me roughly 15 minutes to an hour and a half late. These daily alarms are identical and repeat every day.

    I have several recuring alarms set up on iCal for each day of the week. In the past few weeks, an alarm will occasionaly notify me roughly 15 minutes to an hour and a half late. These daily alarms are identical and repeat every day and there seems to be no apparent pattern to why or when an alarm happens after the event is past.

    I assume you meant iCal rather than iTunes? Yes, iCal the time zone is correct. The delayed alarms only happen sporadically. Since I posted this message, the problem stopped happening every day at the same time, but it still happens occasionally with no rhyme or reason as to when. It's gotten so that I can't depend on my iCal alarms anymore.

Maybe you are looking for

  • GL account in service entry sheet -FI-MM

    Hello, We are using ECC6/EHP4 at our organisation. I have following issue. We are arrivng/defaulting  account assignment for services from Material Group/Service group, for this we have maintained, service groups and valuation class at "Entry aids fo

  • Itunes wont open i have tried literally EVERYTHING

    i unpgraded to 6.04 and it wouldnt open, so i tried downloading 6.03 again, then i tried using the ipod cd and it wont open... Ive read all the posts i have downloaded ewido, and deleted the sc file, i have removed and reinstalled at least 10 times,

  • Web Based Parameter Form 6i to 10g

    I have a report that I can currenlty run using the activex control to run the report (Windows). I'm trying to move this same report to a web based report using Report Services 10g. How do I get the Parameter from to show up (it's a paper based report

  • Vista: 1.3 Downloader Doesn't See Sony a700 .ARW's; Odd Mouse Behavior

    On my Vista system,the LR 1.3 downloader (now "Adobe Photodownloader 3.0 Component") doesn't see Sony a700 .ARW's when I choose Camera Or Card Reader as the source. I don't know about a100 .ARW's. The downloader for 1.2 didn't recognize either. I can

  • Duplex printing- 2540 all-in-one desk jet

    Just bought an all-in-one in the online manual it says how to set up duplex printing for  OS X 10.7 however when going into system preferences the option in the drivers tab for duplex does not appear. Does the printer actuall allow for duplex printin