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.

Similar Messages

  • Is list of custom headers and footers. I can't find how to change the footer to print the Long Date

    '''There should be a list of custom headers and footers.''' I can't find how to change the footer to print the '''Long Date'''. It took awhile just to find Page &PT. So I would appreciate if someone could post a list. Also if someone can answer how to print the Long Date.
    Thank you

    When you're on a call, use the volume buttons on the left side of the device.  This will then adjust the In-Call Volume.

  • How to change the url of "Add New Item" of a particular list in SharePoint 2013???

    Hi Guys,
    How to change the url of "Add New Item" of a particular list in SharePoint 2013???
    I need to redirect it into the page where I have created my Visual web part.
    Please suggest
    Warm Regards,
    Tony Joy

    Hi,
         There are multiple ways to change the form url like javascript, SharePoint designer, custom code, editing default form to have custom web part etc, Please follow the url below that describe diffent methods and steps
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/ec2769a0-683c-4023-8804-b596e4f92a3a/change-default-forms-on-custom-list?forum=sharepointcustomizationlegacy
    Hope it helps!!!
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. Thanks, Ajeet

  • 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

  • How to change  delivery  block for all item in the schedule lines via va32

    dear sap expert:
    i onle can  change delivery block for one  sales order item in the schedule line  every times via va32,it will take so many time because there are hundreds of item  in a sceduling agrrement. how to change all the item  one times.
    please give me a way to resovle the problem.
    best regards.

    dear:
      the fast change function cann't resovle the problem,i first double click the item of schedule agreement  ,then select the schedule lines option, finally in the delivery block input the reason of bolck.
    best regards.

  • "How to change delivery report tone?" N79

    "How to change  a sent messages delivery report tone?"   N79

    You cannot change warning tone.

  • How to change the format of an in build date

    How to change the inbuild date datatype format?

    Hi Renuka,
    Follow these steps:
    1. Create a context attribute named date1
    2. create a simple type (local Dictionary-->simpletype) named date1 of type date.
    3. If you want your date format to be same always and doesn't require to change dynamically then go to representation tab for your simple type (date1) and set its format to dd/MM/yyyy(eg.)
    4. For your context date1 set it type property to your simple type(using browse button ...)
    5. Bind this context to a input field in your view
    If you want to change the format of your date at runtime then you need to write this code in the method where you would like to change its format.
    IWDAttributeInfo attr = wdContext.getNodeInfo().getAttribute("date1");
    ISimpleTypeModifiable simple = attr.getModifiableSimpleType();
    simple.setFormat("dd/MM/yyyy");
    Regards,
    Murtuza

  • How to change the product category on the item level of a Sales order

    1) For each product there are Basic Product Hierarchy and Sales Product
    Hierarchy.
    2) when creating sales order, system gets the Sales Product Hierarchy
    on the Item level with the default logic.
    So our question is: how to change the logic to let system get the Basic
    Product Hierarchy on the Item Level.

    Hi,
    I believe the POSTING DATE will appear on the accounting document
    In the Accounting document, the posting date will be based on the  Billing date.
    Please let me know if you need any more details
    santosh

  • How to change material discription at sales order item level ?

    Dear Gurus,
            We have some requirement need to change material description at sales order item level , but in system it is in disable mode how to change that  into change mode in sales order item level?
    Thanks in advance
    Regards
    Venkat

    Not possible in SAP Standard.
    Instead why not create a Customer Material Info Record in T-Code - VD51?
    Alternatively it the requirement to change the Description is only for few Sales Order then create a Text ID & Enter the Description in Text Feild. Then in Smartform program wrie a code which will check for Material Description in the Text first & if not found then take from normal material Description in Sales Order.
    But Customer Material info Record seems to be the best solution.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • How to change the characteristic value in a item of sales order by FM?

    Hi experts,
    I guess the FM BAPI_SALESORDER_CHANGE can implement my requirement. But I have made many testing program, that's all failed. I don't know which part is not correct. So could you give a very simple sample to me? Just change the characteristic value in a item of sales order, not do any change for other parts. Thanks in advanced.
    Regrads

    Hi Birendra,
    Thanks for you explain. I follow your guide to wirte abap program. But related characteristic value still not changed in SO main screen. could you give me some suggestion? Thanks a lot!
    type-pools: IBCO2,
                IBXX.
    data: l_CUOBJ type CUOBJ_VA,
          l_ibase type IBCO2_IBASE_REC,
          l_CONFIGURATION type IBCO2_INSTANCE_TAB2,
          w_CONFIGURATION type IBCO2_INSTANCE_REC2,
          l_ROOT_OBJECT type IBXX_BUSINESS_OBJECT.
    data: t_IBCO2_VALUE_TAB type IBCO2_VALUE_TAB,
          w_IBCO2_VALUE_REC type IBCO2_VALUE_REC.
    select single CUOBJ
      into l_CUOBJ
      from VBAP
      where VBELN = '0020030609'
        and POSNR = '000020'.
      CALL FUNCTION 'CUCB_GET_CONFIGURATION'
        EXPORTING
          INSTANCE                           = l_CUOBJ
        IS_BUSINESS_OBJECT                 =
        IV_MOMENT                          =
        IV_WITH_DB_INSTANCE                =
       IMPORTING
         IBASE                              = l_ibase
         CONFIGURATION                      = l_CONFIGURATION
        EO_CBASE_REF                       =
      EXCEPTIONS
        INVALID_INPUT                      = 1
        INVALID_INSTANCE                   = 2
        INSTANCE_IS_A_CLASSIFICATION       = 3
        OTHERS                             = 4
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    loop at l_CONFIGURATION into w_CONFIGURATION.
      l_ROOT_OBJECT = w_CONFIGURATION-OWNER.
    t_IBCO2_VALUE_TAB[] = w_CONFIGURATION-values[].
      read table w_CONFIGURATION-values into w_IBCO2_VALUE_REC with key ATINN = '0000000222'.
      w_IBCO2_VALUE_REC-ATWRT = 'TMP'.
      modify w_CONFIGURATION-values from w_IBCO2_VALUE_REC index sy-tabix.
      modify l_CONFIGURATION from w_CONFIGURATION index 1.
      clear: w_CONFIGURATION.
    endloop.
    CALL FUNCTION 'CUCB_SET_CONFIGURATION'
      EXPORTING
        ROOT_INSTANCE                      = l_CUOBJ
      IS_CBASE_HEADER                    =
      CHANGING
        CONFIGURATION                      = l_CONFIGURATION
    EXCEPTIONS
      INVALID_INPUT                      = 1
      INVALID_INSTANCE                   = 2
      INSTANCE_IS_A_CLASSIFICATION       = 3
      OTHERS                             = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CUCB_CONFIGURATION_TO_DB'
      EXPORTING
        ROOT_INSTANCE                       = l_CUOBJ
        ROOT_OBJECT                         = l_ROOT_OBJECT
      FORCE_NEW_INSTANCE                  =
      IV_WITHOUT_COMMIT_UPDATE            = ' '
      IV_MATERIAL                         =
      IV_LOCATION                         =
      IV_TECHS                            =
    IMPORTING
      NEW_INSTANCE                        =
    TABLES
      EXP_NEW_NESTED_CUOBJS               =
    EXCEPTIONS
      INVALID_INSTANCE                    = 1
      INVALID_ROOT_INSTANCE               = 2
      NO_CHANGES                          = 3
      ALREADY_REGISTERED_FOR_UPDATE       = 4
      INSTANCE_IS_A_CLASSIFICATION        = 5
      OTHERS                              = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • How to change the subtransaction of a transferred item in Invoicing?

    Hello guys!
    I have the following question and I hope you could be able to answer.
    In Invoicing, we select all the open payment we received from a customer and we include them in the Account maintenance line of the Print document. In some cases the amount of the payments is higher than the amount of the consumption and this leads to a transfer posting of the amount of the overpayment.
    For example:
    received payments
    ================
    100,00EUR
    100,00EUR
    100,00EUR
    consumption for the billign period
    ==========================
    150,00EUR
    The transfer document will contain the following items/subitems:
    ====================================================
    item      subitem         amount          clearing status      main transaction        subtransaction
    0001           000      50,00EUR                                        0250                          0010
    0001           001      50,00EUR                      9                0250                          0010
    0001           000     100,00EUR                                        0250                          0010
    My question is - is there an event which can be used to change the subtransaction for a subitem?
    I checked and tested event R418 but it can be used to change the subtransaction only for an item.
    Thanks a lot in advance!
    Kind regards,
    Mariya

    Hi ,
    First of all the Event R418 as you have mentioned have the structures FKKKO and FKKOP .
    In FKKKO you will not get the sub item and in FKKOP you will get the sub itmes .
    Before the process gets in to Event R418 it has only 1 line item and hence you are facing the problem .
    If you have multiple line items getting in to the FM then you can build the logic based on the Import date that is passed in structure FKKOP .
    Else try for the function module FKK_OPEN_ITEM_SPLIT , in R418 where in you can split the document if you are having only 1 entry in FKKOP.
    Kindly check and revert back with your findings .
    Regards ,
    Dewang

  • How to show purchasing group members in the item data of the shopping cart?

    Dear Experts,
    for s shopping cart in SRM 7.0 CS, i have the following business requirement:
    In the item data tab of the line item details, the drop down field for Purchasing group is there. Right to this field, there is also a link called "Show members".
    If i go on this link, than a small table opens that obviously is there to contain such additional information about the purchasers like name, telephone nummber or extension.
    Currently, this small table does not contain any of this additional information for any of the used purchasing groups.
    Can you please help me understand, how and where i can maintain this information in the sytem, so it shows in the shopping cart?
    Thank you very much for your help.

    Hi,
    thank you very much for the answer.
    Actually, the question is not how to create the organizational unit of purchasing group in the PPOMA. This is all done. I just would like to understand, whether there is somewhere a place where i can maintain the name and maybe also the phone number of the buyer himself.
    Thus, i would hope to see these details (i.e. the name and the phone number) in that small table that opens up if i click on the "Show members" link that is situated right to the purchasing group field in the "Item data" tab of the details of the line item.
    Thank you.

  • How to change the color in text box item.

    Hi,
    There is a text box where i am returing the value using item source SQL and Always replacing.
    I have a condition like this if value is > 10 value must appear in red else white.
    Eg:
    select
    case
    when TO_NUMBER(:P122_PRJ_SV_PROJECT_USL) > TO_NUMBER(:P122_GSD_SV_PROJECT_USL) then
    '<span style="background-color:RED">'|| PO.EV_UCL || '</span>'
    else
    '<span style="background-color:WHITE">'|| PO.EV_UCL || '</span>'
    end
    from projects po
    this is not working please suggest me how to change.
    Thanks
    Sudhir.

    Sudhir
    Please repost your source code with {noformat}{noformat} (with the curly brackets and in lower case) above and below it.
    Cheers
    Ben                                                                                                                                                                                                                                                                                                                   

  • How to change the Orginial Definition of an Item in OAF

    Dear All,
    I have an item which the Read Only Property is calling a function through SPEL, and in any personalization level i can only choose between Inherit or True, first there is no False option (which i want to choose), Second i want to know how i could change the orginial definition of the item so i could remove the function from the Read Only Property and make it False.
    If anyone could help, its urgent, Thanks.

    Hey hi there ,
    Can you check from personalization what value is set to rendered property ?? ,there should be an option to make
    it true which will remove the SPEL .
    If you are trying to make it read only or editable then you can do it from CO extension .
    --Keerthi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to change warehouse code in BOM child items on marketing documents

    Hi Every body!!
    I need some Help.
    I am importing some sales documents from an 3th party POS application to SBO.
    I have several POS and each one is a warehouse on SBO. All sales items are Template BOM.
    I can change through SBO-UI the child items related information, but how can it do it through DIAPI???
    Thanks!
    Enriquillo Guigni
    Edited by: Enriquillo Guigni on Jun 29, 2010 12:28 AM

    Hi
    oItems = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems)
    oPT = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductTrees)
    opt.Items.Warehouse="WarehouseCode"
    oPT.Items.Add()
    RetVal = oPT.Add
    If RetVal <> 0 Then
            oCompany.GetLastError(ErrCode, ErrMsg)
            MsgBox(ErrCode & " " & ErrMsg)
    End If

Maybe you are looking for

  • Why does my MacBook Pro wake up when (un)plugged in?

    This has only just started to happen. When my MacBook Pro is asleep, if I plug it in or unplug it, it will wake up. How can I sort this? Thank you.

  • Preview for RAW files from D90

    Bridge will not show me a preview of my Raw files taken from my new D90. I have the new Camera Raw Plug-in so that I can open them up, just no preview from the Bridge Viewing dock. Can I fix this so that I know what I am opening up? Help please!

  • Excise Invoice account problem

    HI After creating an Incoming d outgoing excise invoice, i am getting in journal entries like this as follows Incoming excise invocie: CENVAT ON RAW MATERIAL both Cr & ebit in same account. outgoing excise invocie: CENVAT ON payable both Cr & debit i

  • How to transport the modification done to the Portal?

    Hi, I am new to enterprise protal. I have added a page to a work set in MSS. Now I want to transport this to Quality. For this, I have created a transport package in Systetm Administration and have added the folder in whcih i have created a page. Now

  • How do I get rid of license agreement screen?

    Everytime I try to access photoshop CC the license agreement screen pops up. No matter how many times I press accept it still continues to pop up. It worked well after I installed it, but it just now started acting like this.