on 06-07-2011 12:10 PM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Can any body tell me user exit to change Delivery date in ME57 on the basis
adding eine-afplz value to sy-datum and updating Delivery date for display .
i want ot change PR Item Delivery Date Programatically before displaying item details by Dragging Open Requisitions .
regards
Deepak.
Edited by: Deepak Dhamat on Jun 11, 2011 9:13 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.