Delivery date in future

Hello!
I want to send a message to a queue with a delivery date in future.
A message driven bean shall consume this message, when this delivery date is reached.
Is there a way to do this with JBossMQ?
Thanks,
Bernhard.

Hi Bernhard,
there is no requirement to make this server specific by using this kind of feature(i.e. some kind of timer service) even if it exist. you can rather put the logic in MDB.
if the MDB is not in your hand(i.e. some prewritten code which you can't to modify), then you can have another MDB which accepts the message(on some other destination), waits till the future time and then resends the message to the destination on which your original MDB is listening to.
hope this helps,
cheers and regards
Anurag Parashar
Pramati Technologies

Similar Messages

  • Delivery schedules delivery date in future-GR

    Hi all,
    For the Me38 Maintain delivery schedules, we will maintain delivery date and schedule details.
    We can make GR for the current and past date through MIGO. But when we try for future delivery date, it will show no selectable items in MIGO with reference to the scheduling agreement. I guess this is std behavior. So they have the option for changing the schedule to the current date and then post MIGO again. The user feels it to be time consuming. So want to have a message just a warning while Migo and then proceed GR.
    Is it possible to meet?
    Rgds

    it is the nature of a delivery schedule to have accurate timing.
    However for all that do not like that .........you can achieve what you want with an user exit.
    For details see OSS  Note 741385 - Goods receipts up to current date for scheduling agreements

  • Future Delivery date

    Hi
    I want to issue a delivery which meets the following conditions:
    - Stock posting: Now
    - Date on Delivery note: future date
    What date on the Delivery form do I have to change to the future date?
    Posting Date and/or Document date?
    AFAIK posting is for 'financial'. Where does document date have its influence?
    Thanks for clarifying
    Franz

    Hi Franz
    My impression was that you wanted the stock posting to occur now and not in the future, so therefore the posting date should be current. Consider the impact of the Sales Invoices in terms of revenue. Will the posting date be the same as the Delivery? If not, your GP could be skewed in G/L reports where the COS (from delivery) is at a date and the Revenue (from Invoice) at another, possibly in 2 different periods.
    You are correct about the document date not really influencing anything in the delivery note, but rather on the Sales Invoice where Sales Tax will be posted.
    To achieve what you want in terms of posting and document date different, consider using posting date as current for posting and changing delivery note printout to use delivery date for future date (and possibly ignore posting date). The question is how this impacts on the customer's delivery rules in terms of picking and physically delivering the goods.
    Kind regards
    Peter Juby

  • Purchase Requistion - delivery date

    hi
    there is a sub DC where replenishment takes place from a bigger DC only when safety stock goes down.
    now when the safety stock goes down say today, MRP generates PR which has delivery date as today and with a release date in past based on planned delivery time, GR time etc.
    but in real sense, it would be apt if system tells the delivery date in future considering the lead times and release date as today..
    can it be attained by fwd scheduling ?  if so how do i do for selective plants.
    Pls suggest.
    regards
    joe

    Is this sub DC defined as a plant in SAP ?
    Which is the MRP type for the items (consumption: i.e. PD or somethig or reorder point as V1 ).
    There is some kind of demand on sub DC so you can foresee this problem ?
    without demand on the items, the system will react "later" when the SS is reached.
    Whenever a demand exist, the MRP will prepare the supply element in advance....
    Perhaps, if the consumption in unplanned, you should shift to a V1 MRP type , with a reorder point.

  • PO Delivery date change using IDOC type "PORDCR101"

    Hi All,
    I am trying to create a PO using idoc type "PORDCR101". Everything is fine, PO is getting created. But the problem is that, even if I pass delivery date at item level system is automatically changing delivery date to future date (some of the PO's have delivery date in past and they need to be created as it is).
    I am populating all the required fields (PO_ITEM, SCHED_LINE, DEL_DATCAT_EXT, DELIVERY_DATE, QUANTITY, STAT_DATE) in both the segements "E1BPMEPOSCHEDULE" and "E1BPMEPOSCHEDULEX" (in this segement with X). It's updating the quantity exactly with what I am passing, but it's not considering delivery date. But when I am creating PO manually using ME21N I am able to set delivery date to past date.
    E1BPMEPOSCHEDULE
    PO_ITEM=20
    SCHED_LINE=0001
    DEL_DATCAT_EXT=1
    DELIVERY_DATE=20060509
    QUANTITY=101584
    STAT_DATE=20060509
    E1BPMEPOSCHEDULEX
    PO_ITEM=20
    SCHED_LINE=0001
    PO_ITEMX     =X
    SCHED_LINEX=X
    DEL_DATCAT_EXT=X
    DELIVERY_DATE=X
    QUANTITY=X
    The funny part is IDOC is not even thowing a warning message for this...
    Any idea what I am missing???
    Thanks for your time.
    Paul
    null

    Ok, I got the answer. For delivery date category (DEL_DATCAT_EXT) we should not be passing 1, but we have to convert it into 'D' (And relevant format for others).

  • Default Delivery Date on Shopping Cart

    Hi
    We have a requirement to have delivery date in future (current date + n days) on the shopping cart line items. I have searched and found a BADI BBP_CHANGE_DEFAULT to handle this requirement. I have implemented the method CHANGE_DEFAULT_DELIV_DATE to make the delviery date in future. Now this works fine when we create SC with "Describe Requirement" or "Create from old SC/template".
    However when we try to create SC from the catalog the default date remains as current date? I have debugged the code but it seems to be ignoring the date calculated from BADI. Is there any other BADI or different logic for SC created from service catalogs?
    Regards
    Manish.

    Hi,
    Use BADI BBP_DOC_CHANGE_BADI.
    and this sample code:
        LOOP AT it_item ASSIGNING <sc_item>.
          lv_delivery_date = sy-datum.
          lv_delivery_date = lv_delivery_date + ls_sc_item-leadtime.
            WHILE lv_working_day_flag IS NOT INITIAL.
              CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
                EXPORTING
                  date                 = lv_delivery_date
                  factory_calendar_id  = 'AA'
                IMPORTING
                  workingday_indicator = lv_working_day_ind.
              IF sy-subrc EQ 0.
                IF lv_working_day_ind NE space.
                  lv_delivery_date = lv_delivery_date + 1.
                ELSE.
                  CLEAR lv_working_day_flag.
                ENDIF.
              ENDIF.
            ENDWHILE.
            <sc_item>-deliv_date = lv_delivery_date.
          APPEND <sc_item> TO et_item.
        ENDLOOP.
    In this code I add lead time to delivery date and check if this date is a working day (factory calendar eq AA).
    If yes - it is my delivery date, if not - I add to date one day and recheck.
    Regards,
    Marcin

  • No delivery date calculation required

    Hi,
    Situation:
    Our US sales organization works with a non SAP ecommerce tool for sales of all materials. Every night (European time) a job is scheduled to send over the information about created orders and deliveries. As such orders get created in SAP.
    Most often the delivery for these orders already occurred so they just want to deliver them out of SAP once the orders are created there. They do not want SAP to calculate the earliest delivery date based on ATP logic and routing because then they have to constantly set the delivery date in future during delivery creation.
    Our US colleagues only mind of the stock levels which they constantly (every 10 minutes) update to their web based tool and which they want to be accurate all the time.
    My idea was to set the availability check for all materials in the US sales org to "KP - Do not check". But then I still have to deal with the route determination. Would it be wise to set the number of days to 0 for each case?
    Or can I somehow "switch off" routing for US delivered customers?
    What would be the best way to make sure the proposed delivery date in the schedule lines for every material has the date the order was created? Except for ATP logic and route determination are there any other settings I have to consider?
    Best regards,
    Geert

    Fix the root problem.  Give them a website that accesses SAP in real time and obviate the need for any synchronizations.  I am willing to bet that ATP and Deliveries are not the only synchronization issues.  What about pricing (more than likely now maintained in two places), relationship between soldtos and shiptos, two freight calculating programs, two tax calculating programs etc. etc.
    I know that this isn't a very helpful answer to you in the short term.  However, I encounter this problem on a daily basis and have come to learn that it's not an ATP issue.  It's an IT versus Business issue.  How could a disconnected website have been created in the first place?  That's the question that your business should really be asking.
    Sam

  • GR qty is updated in future delivery date in Scheduling agreement

    Dear All,
    In one of our Scheduling agreement  delivery schedule, the Goods receipt qty got updated in  future delivery date (ie., 30.07.2011 & 19.10.2011). Any idea how this got updated wrongly? or is there any standard functionality that controls this GR qty field.
    Thanks in advance
    Benny

    HI,
    Both  Planned delivery time and GR processing time are having 1 day , please let me know any other factor influencing this data.
    Thanks
    Benny

  • Embargo Block on Delivery Document due to future Delivery Date

    Hi Experts,
    I am facing a very strang problem where the Delievry Document for STO is getting embargo block. Some how its been figured out that the Delivery Date in the Delivery coming from STO is a future date of year 2011 and when you delete the Delivery and create a new one after changing the Delivery Date in STO from 2011 to a date under 12/01/2010, the system does not block it for Embargo.
    Don't understand how date is linked to Embargo.
    Please Help
    Regards
    DG

    Hello DG,
    check in transaction /SAPSLL/CNTRY (or via path /sapsll/menu_legal --> Legal control - Export --> "Embargo" Maintain Country-Specific settings) your conditions for Embargo checks. Check whether validity is maintained appropriately.
    BR,
    Gabriel.

  • Alerts/Remindrs to process S/O with future Delivery Date

    Is it possible to create an Alert or Reminder, that will alert the user (or users) who creates a Sales Order with a future Delivery Date to process the Sales Order?

    I am looking for the alert to remind the Order Entry department they have pending orders that need to be processed.
    The Alert should say" Sales Order Number(s): xxxxx1, xxxxx2, xxxxx3 need to be processed. These alerts should be generated 5 days before the delivery date.
    Often times we have customers that will place an order, but they state they do not need it until a week or two from the time the order is placed. We then generate the sales order, but will not print the "Pick Ticket" to the warehouse until three days before the customer expects the product and Order Entry will forget to process these sales orders; this is why the alerts are needed.

  • Required delivery date coming in future

    Hi,
         Please help me as i have raised the sales order today on 16dec 2010 but in sales order required delivery date is coming on 17 dec 2010.
    please let me know how the systme is takingfuture delivery date.
    Thanks .

    Hi Monty.
    i am sure that you are referring the header requested delivery date thats defaulted, this is purely defined on the sales document type configuration (or worst case may be coded somewhere in an user exit), & RDD will always be based on teh document type immaterial of the ATP for a line item
    you can check this by going into VA01, just key in the sales document type & click enter without any further inputs check on the requested delivery date & if it is one day plus the current date. if it is still 17 dec (as per ur example) then check again at VOV8 & if you are still not comfortable, check if there was any code specific to (VBAK, i am not in SAP now, hence please refer the field) with an abaper input.
    if this is 16th Dec at key in time & if this gets changed specific to customer or material, seek an abaper assistance.
    rgds
    ilango

  • Change schedule line delivery date

    Hello,
    We are doing STO intercompany scenario, with ATP control, routing delivery in schedule lines.
    If for example in Supplying Plant the delivery date is 2 month in the future, and we have dates and quantities confirmed in the STO, if this Plant creates the Outbound delivery and PGI tomorrow, how can the buying Plant will notice this situation?
    Once PGI schedule lines in STO will not be ATP anymore and the delivery dates will be not be updated.
    At schedule line level I can see the quantity was delivery but the delivery date it is not updated to the new one.

    Hi Sukriti,
    Thanks for the Response, yes i have used the Bapi Transaction Commit Also .
    The point is I am able to Update the Statistical Delivery Date in the Same EKET table using BAPI_PO_Change .I have Checked all the Ways to update the EKET-EINDT(Delivery Date)but no Unable to do it.

  • Schedule Line Delivery Date Calculation with Transportation Scheduling

    Hi All,
    We are currently running into a problem where our Sales Order Schedule Line delivery dates are being pushed out too far into the future - because of the Calendar being used to determine the transit time.
    We have 'Delivery Scheduling' and 'Transportation Scheduling' activated for our Sales Document type
    We have Routes that are configured with a 'Transit Time' and a 'Factory Calendar'
    Order Scenario:
    'Factory Calendar' assigned to our 'Route' is setup with only one 'Workday' in a given week e.g. Wednesday
    Our 'Route' has a Transit Time of 2 days
    We create a Sales Order on Monday for a Material that is available in our Plant
    The 'Goods Issue' date is being determined correctly for the next Workday - being Wednesday
    The 'Delivery Date' is extending out over 15 days (2 Wednesdays into the future) - since it is working on 'Calendar Days' and not 'Actual Days'
    Does anyone know of a way (config or other) to only influence the 'Goods Issue' date with the 'Factory Calendar' assigned to the Route, and have the 'Delivery Date' calculated using the Transit Time on the Route and 'Actual Days' rather than Calendar days?
    All help greatly appreciated.
    Thanks,
    Ravelle<i></i>

    Hi Pathik,
    Thanks for your reply.  I have already maintained the Calendars I'm using for this business process in <SCAL> - same as <OY05>. 
    The problem I'm having though is that by assigning a Calendar directly to my route (which I doing to influence the goods issue date - using a 1 Working Day Calendar) it is also taking precedence in determining the Transit time - which in this case I don't want, as I want my Transit time to be determined using a 5 Working Day Calendar.
    I don't think this problem has a config option as a work around...I think the only possibility in this case is a development to achieve the results we need.
    Thanks,
    Ravelle

  • Material Confirmation date in future though the material is in stock

    Dear Gurus,
    Please tell me why the system is giving the material confirmation date in future though the matl is  available in stock.
    System creating two schedule lines one for 15/10 (15 oct) and the second one with the confirmation of quantity on 22/11 (22 Nov) as I have enough stock than the required for this order. In MRP1 view of same  matl Master of same material delivery planning time is 28 days. and in MRP3 view the Replenishment lead time is 20 days.  please tell me what date system considering to shift  the confirmation date in future. the factory calender has Sat-sunday off.
    please tell me the possible reasons for confirmation date change.
    regards,
    Sandesh

    Hi ,
    Please check the  value at MM03-> Sales: General plant Tab ->Availability Check is '02'.
    u201802u2019 will consider all the u2018Individual Requirementsu2019 done before and during the creation of Sales order for the combination of respective Material & Plant.
    Even though Material stock will be visible for you at MMBe for respective plant double click on the Quantity, it will show you multiple Row with one of it will be " On Order Stock" these are the other orders for which Quantity is already confirmed but respective PGI is not yet done.
    The next schedule line date always generated based on the Factory calendar (based on Holidays/Weekly Offs if any).
    AT MD04 Tcode, based on the selection made at Material master for Availability Check you could see all the requirements related to Goods Issue Sales Orders , STO & Production Orders for Goods receipts.
    Hope this will solve your query.
    With Best Regards,
    RB.

  • Incorrect delivery date for third party sales order

    Hi,
    When I create a Third party sales order, the delivery date refers as todayu2019s dates, but when I save the order the same is getting copied in to Purchase requisition and subsequently to Purchase Order and is not recalculating based on the Planned Delivery time maintained in the Purchase Info Record.
       Is there any configuration setting to enable re determine the delivery date in PR?
    Regards
    Raj

    Hey babu,
    I understand ur problem. First check that you have maintained all the time durations that would be taken into consideration when the sales order will do the scheduling. E.g.
    !) GR processing time
    2) Planned delivery time
    3) Purchase dept processing time ... etc
    Now you need to check if scheduling is taking place on the sales order. That means, does it show you the date that can be confirmed for delivering that 3rd party item when you press enter after entering its material number and the order quantity.
    1) If yes you need to check the box that says  "Fix time/quantity" on the availability check screen that pops up when you place the order.
    Now the system will pass this new scheduled date to the production order, but it will show the requested date as the one determined from the lead time in the order type. so no need to worry.
    also if it is not showing you the availability check screen and automatically using a date scheduled in the future based on the values you set in PIR, in that case yo need to go to the item details > schedule lines > and check the box that says "Fix time/quantity" for that 3rd party materials and the confirmed date will be passed to the PO automatically.
    2) If no then you have to make sure that availability check is turned on for that material and then try placing the order.
    Regards,
    Vinit Parkar

Maybe you are looking for