Again : Changing Delivery Date automaticly when CARDCODE is validated...

Strugging again.
Nothing I'm trying seems to work.
With this : It never gets in
if (pVal.EventType == BoEventTypes.et_VALIDATE && pVal.ItemUID == FortSum.SAPFramework.Enums.SO_FIELDS.B1_CARDCODE && pVal.ItemChanged == true && pVal.ActionSuccess == true && BubbleEvent)
If I remove ItemChanged and ActionSuccess, it gets in but chaning the delivery date makes SAP
crazy again running around like a DOG running after his tale
Why is it so hard and different each time we're trying to figure out the right combination so we can do things ?
So how can I change the DeliveryDate when the CARDCODE changed ?
I'm still working on it,  I always work hard every single time and it's time consuming

Hi,
Thank you for your help.
Yes this works but each time I lost focus of this control it gets in again.
I need something that will be triggered once and only if I change the value of the control.
I still don't know how.  Sometimes ItemChanged works and sometimes not and this behaviour I don't really understand.

Similar Messages

  • Change Delivery date in Sales Order

    Hi all
    I want to change Request Delivery Date in Sales Order. But when I changed Request Delivery Date system appear" The default date is not copied into existing schedule lines"
    And Delivery Date didn't change.Could you tell me how to change Delivery Date ?
    I setup Request Delivery Date - September 21th but Availability Date is September 19th. Could you tell me how to setup loading time, picking time, packing time ?
    Thank and Best regards,
    Thang

    Hi,
    When you change the Request Delivery Date, it automatically changes the schedule line date of all the materials, but by default does not change the schedule line date of the ordered material.
    So just check the ordered material schedule line date and change it manually in the order.
    Similarly maintain the same date in all the resp fieldsi in the delivery, wherever you see the date.
    Regards,
    Siddharth.

  • How to get pricing date automatically when billing

    Does anybody know where can I set,  to get pricing date automatically when billing? (BTY must by the Sales order type)?
    Thanks you guy.

    Hi check in t-code VOV8 and enter sales order document type you can see pricing date setting as well as you can change manually pricing date while billing creation of billing VF01.
    Hope this will help you.
    Best Regards
    Sainath

  • Planned order creation via MRP depends, If we change Delivery date in STO

    Hi,
    Planned order  creation via MRP depends, If we change Delivery date in Stock transfer Order.
    I created STO with delivery date as 31.1.2012 and when i checked MD04, i can see Planned order created on 27.2.2012 with the same above STO quantity .
    Now when i changed the delivery date as 30.1.2012 and runned MD03, and then checkd MD04, planned order disappeared.
    Why Planned order got created when STO delivery date was 31.1.2012 and when I changed the delivery date in PO, planned order disappeared.
    MRP profile details :
    Plnd delivery time   1
    GR processing time   1
    Planning time fence  38
    Tot. repl. lead time 38
    Can you please let me know why system is beaving in this manner?
    Regards
    Utsav

    Hi,
    Normally , MRP runs based upon the requirements.If your STO is created for a date , system checks through the availabiloty check wheather there exists any stock for that date to get deliverred in the supply plant .If there exists for that date the stock , planned order will not be created.If no stock available then a planned order will be created in MRP.
    cHECK the availability check parameters assigned to material master in supply plant.
    Regards,

  • How to change delivery date (LFDAT) in  me57 item data

    hi ,
    While  Creating purchase order  (me57)  . on the basis  of info rec   . i want to change  delivery date  by
    passing  info rec to table eine and get field aplfz  .
    then adding  aplfz to sysdate    and pass it to 
    Delivery date   .
    i have done this using USER EXIT  EXIT_SAPMM06E_016
    and modified table  teket  with field eindt   but still in screen fields  it shows  old date value   .
    After Debugging i found that  that  it passes value from internal table ETT[] .
    how to modify internal table ETT[]  which is used to display data on screen   .
    regards
    Deepak.
    Edited by: Deepak Dhamat on Jun 8, 2011 8:32 AM
    Edited by: Deepak Dhamat on Jun 8, 2011 10:35 AM

    hi ,
    i have  implemented BAdi  me_process_po_cust
    for changing Delivery date   .
    method if_ex_me_process_po_cust~process_item .
    data : eeind_dt type eket-eindt ,
             t_aplfz type eine-aplfz ,
             delivery_dt(10) type c.
      ls_item = im_item->get_data( ) .
    if sy-tcode = 'ME21N' .
        select single aplfz into t_aplfz  from eine
          where infnr  = ls_item-infnr .
        if sy-subrc = 0 .
          if t_aplfz is  not initial  .
            eeind_dt  = sy-datum  + t_aplfz  .
            concatenate  eeind_dt6(2) eeind_dt4(2)  eeind_dt+0(4) into delivery_dt .
          endif.
        endif.
        ls_item-eeind = delivery_dt .
        call method im_item->set_data
          exporting
            im_data = ls_item.
        clear : delivery_dt  ,t_aplfz  ,eeind_dt .
      endif.
    regards
    Deepak.

  • In AP invoice i need to make "Terms date " field to calculate the date automatically when i select the payment terms

    In AP invoice i need to make "Terms date " field to calculate the date automatically when i select the payment terms.
    How can i do this?

    Hi,
    You can select the Payment Term at PO Header Level.
    When you book an invoice, that Payment Term will automatically defaulted to Invoice.
    You can define Payment Term in AP.
    Payment terms have one or more payment terms lines, each of which creates one scheduled payment. Each payment terms line and each corresponding scheduled  payment has a due date or a discount date based on either a specific day of a month, such as the 15th of the month, or a number of days added to your terms date, such as 14 days after the terms date.
    Payment Terms (Oracle Payables Help)

  • To change table data runtime when dropdown item is changed

    Hi,
    I have two ui elements(Dropdown by index and table) in single view .
    I need to display table as per drondown index item selection. Means i have to change table data runtime when dropdown item is changed.Please help me in that .Please provide code for same.
    Regards,
    gurprit Bhatia

    Hello gurprit Bhatia,
    On the view create a new action. Fill only the Name and Text and leave the other items default.
    In this event you can populate the table fields.
    Bound this newly created action (event) to the onSelect property of the 'DropDownByIndex'.
    Regards,
    Patrick Willems

  • Changing delivery date ?

    Hi ,
    I have created P.O. Now while creating delivery with VL10F , can i change delivery date using exit,badi ?
    if yes then which badi shall i use ?

    hi
    its standard functionality of SAP I think it cannot be changed.

  • Need to change delivery date in purchase order when it is created by ME59

    Hi Gurus,
    Purchase orders are created using Transaction ME59 where we give the Purchase Requistion. The delivery date in the PO will be same as the delivery date of PR. According to my requirement i need to change the date of PO while the time of its creation. could you please suggest me all  the user exits to do this...

    Check with badi ME_PROCESS_PO_CUST method PROCESS_HEADER - method SET_DATA

  • Cant change delivery date on Sales Order posted in prior period

    Hello All,
    Scenario: A sales order which was processed in prior period but since then delivery date had changed due to request from our customer. When we try to go back and change the delivery date, we find it greyed out. To get around this, we have to open the period again, change date and then close the period. Problem is that not all dates get changed, so our late delivery report look bad, shows that 90% of our deliveries are late, when in fact they are on time, the new time which we could not record on the Sales Order. We have similar problem with our purchase Orders.
    Is there anything in Administration we can do to enable us to easily chnage delivery dates on Sales order and purchase orders?

    Hi,
    Welcome you to post on the forum. What is your B1 version and PL?
    Thanks,
    Gordon

  • Change delivery date on sales order -- change of Billing date on item

    Hi,
    We are trying to change a delivery date for a sales order's item, if we do so normally the billing date on that item's billing tab will change automatically also.
    Now, for a specific sales order the billing date in the billing tab is not changing.
    We compared 2 sales orders .. the same statusses - no blocks - ... and with one it works (changing of the billing date) and with the other it does not work..
    Please help !
    thanks a lot!

    Hi,
    Check the following.
    If invoice dates are defined for the customer, the system proposes the billing date from the invoice date calendar. If no invoice dates are agreed, then the actual goods issue date is formed on the basis of delivery related billing. In order related billing, the billing date of the order forms the basis of the billing date.
    If you are billing services, the system proposes the date of services rendered. You can change the date manually in the sales document.
    If you are using a billing plan to bill a project, the system can propose billing dates for the billing plan on the basis of planned or actual dates in the corresponding milestone.
    In a billing plan for a maintenance or rental contract, you can specify rules by which the system determines billing dates on the basis of other dates in the contract.
    Regards
    Nadarajah Pratheb

  • Change delivery date in schedule line

    High gurus,
    I need some help. How is it possible to change the delivery date in a schedule line generate by APO ?
    Thanks.

    Hi Thanks for your reply.
    But the Tcode that you have mentioned appears to be in the SCM system and it calls an External Procurement Relationships report. My requirement is as follows:
    I have a date generated based on the Route Schedule id (VL51, VL52) and I need to sync this date with the Goods issue date of the Sales Order created. So whenever a sales order is created with the schedule line dates, i need to modify the dates generated by the system with my dates like I will have to call a FM or a BAPI by passing the new GI date and get the new set of dates and populate them on the Sales Order schedule lines screen.
    This scenario will happen for a GATP (Global Available to Promise) where by the ECC system does a remote call to the APO system to get the new dates. I will have to modify these dates with a new set of dates created either using a FM or a BAPI and populate them again on to the screen
    Thanks,
    Susanth Kumar

  • How to Change delivery date of Purchase Requisition created from PM  module

    Hi all,
         We are creating service PR from PM module. There is a need that user should be able to change the
    Delivery Date of the PR. When we use ME52N , the field is grayed out.
    If the PR is created with same data manually with ME51N, we are able to change the delivery date.
    Please suggest how to do this.
    Thanks

    I´m sorry, but my english, is not better.
    Why in the Scheduling for External Procurement, the Purchase Requisition take (or picks up) as Delivery date, the Basic End Date of the Maintenance Order (PM). 
    What must I do in the customizing so that the Purchase Requisition takes (or picks up) the delivery date as the Basic End Date of the Maintenance Order.
    Please, helpme..
    Cristian Torres

  • Change PowerPivot data source when deploying from Dev - Staging - Production

    We have PowerPivot workbooks we store in SharePoint 2013 Libraries. 
    We have a powershell script which automates the deployment of sites and pages. Is there a way using PowerShell (or any scripting language really) to look into the workbook and change the PowerPivot data source when deployment from one environment to
    another? (Dev -> Stage -> Prod) We need to update the workbooks to point to our SSAS cubes Dev -> Stage -> Prod respectively.
    Thank you for any expert advice you may offer,
    Sincerely,
    -Craig

    Basically, it's an excel file (XLSX) file and you can use excel OM for this.
    A simple program (in C# or any language of your choice) can be written to do the following and achieve what you need.
    using XLS = Microsoft.Office.Interop.Excel;
    string info = null;
    XLS.Application application = null;
    try
     application = new XLS.Application();
     var book = application.Workbooks.Open(filepath);
     foreach (XLS.WorkbookConnection wc in book.Connections)
      switch (wc.Type)
       case XLS.XlConnectionType.xlConnectionTypeOLEDB:
        info = wc.Name + " " + wc.OLEDBConnection.Connection.ToString() + "\r\n";
        break;
     book.Close();
    finally
     if (application != null)
      application.Quit();
    Hopefully, this was helpful.

  • SRM PO Response - Change Delivery Date & Quantity

    Hi experts,
    when creating a PO Response in SRM, is it possible to change some datas as the delivery date or the quantity?
    Currently we are able just to change the field "Name of the POR ". But we would like to modify some other fields as the delivery date and the quantity.
    Is it possible to modify other datas within the PO Response?
    In positive case, could you please suggest me what is required to activate these changes?
    Thanks a lot.

    Hi Anirban,
    thanks a lot for your support.
    We are using  SRM 4.00. Maybe we need to implement a SAP Note, because currently we are not able to modify any data when creating a PO Response (a part the name) nor to display the items tab.
    I will check if some Note apply therefore.
    Another point related to PO Response created in SRM is the following:
    Do you know if the information created in SRM is then replicated to R/3? Or in case PO Response are created in SRM the standard is that no information is sent to R/3? At the moment, after the creation of a PO Response, if i check in ME23N the PO, there is no information updated regarding the PO Response.
    Thanks in advance for your support.
    Regards,
    Roberto

Maybe you are looking for

  • How to make path object clickable in flex 4.0

    hi , i apprechiate if any one can help me out  with my problem here as i am new to flex I am developing a flex web application and in one my components i need to draw paths around some shapes , i did this easily but my problem is that i need to make

  • Oracle Database 11g Administrator or Oracle PL/SQL and Forms Developer?

    Hi, I am thinking about doing an Oracle certification course- Oracle Database 11g Administrator or Oracle PL/SQL and Forms Developer. Oracle Database 11g OCP and OCM certification requires 3 mandatory training courses to be completed that costs betwe

  • Newbie to sql developer, how to stop a query

    Hi All, A very basic question and I've searched through this forum and Tom's site, i think i read it somewhere but i forgot where and what it was. How can I stop a query running in Sql Developer with what key combination? Ctrl-C D E Q .........., hel

  • ERROR  IN FORALL ENTRIES

    Hi Experts, i am doing one smart form and for fetching some data my select query follows SELECT a~matnr        a~bdmng        a~meins        a~charg        b~maktx        INTO TABLE gt_resb_makt        FROM resb AS a INNER JOIN makt AS b        ON am

  • SUN IDM 8.1.0.3: performance tuning on SPARC platform

    Hi all! In our environment we have SUN IDM 8.1.0.3 on Sun SPARC Enterprise T5120 Server, 4 Core 1.2GHz UltraSPARC T2 processor, 4GB FBDIMM memory (4 1GB). As application server we use Sun GlassFish 2.1. In this configuration we have noticed that ther