on 03-11-2015 7:24 AM
Hi Team,
service order is on product deliver status ,then i want to display product delivery status date and time on result list ?My requirement is i want to display product delivery status date and time based on delivery status we need to display the date and time .how to do it.? basically i have created the productu delivery status field in search and result through AET.
Now the fields will be available in BTADMINH.
how to set based on status delivery to get the date and time .
Thanks
Kalpana
Hello Kalpana,
In CRM WebUI, for Service Order we have Shipping Transaction Assignment Block in which the delievery status relevant fields, like date and time, should be available.
If not you can enhance the view by AET and get necessary data in your enhancement.
Regards,
Webster
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Webster,
I have created AET fields, ihave implemented LCSTATUS attribute in BT116H_SRVO component..here write the logic as above...This is not working fine ,if you change the status to other that time aslo date time displayed..So iwant to implement EH_ONSAVE method So could you please tell me how to add the logic..Please Still iam looking help here..
Thanks
Kalpana
Hi team,
i am going to implement the method EH_ONSAVE ,Could you please help here...
Thanks
kalpana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kalpana,
In my View, Product delivery status should be tracked with status functionality of service order. On change of status to product delivery, One Date parameter be created in dates management. This date should be populated when status is changed.
It might not have needed development.
Now for your custom development.
may be in BADI - Order_Save . I hope date and time field are not shown on detail view, If this is shown we can also use the eh_save method.
Check our custom field value in database and field value in Transaction while save, if this is changed. you can update the date and time fields.
Thanks
Ajay
HI Ajay,
I have added code in BT116h_srvo,attributes - LCSTATUS,method - SET_LCSTATUS.but after change status f8 ..but the value is not filled in result list..so i need to write the logic in EH_ONSAVE or some other..could you please help here..what change i need to do..
IF
<nval> = 'E0004'.
DATA : lv_date TYPE dats.
DATA : lv_time TYPE tims.
lv_date = sy-datum.
lv_time = sy-uzeit.
DATA : lr_parent TYPE REF TO cl_crm_bol_entity,
lr_adminh TYPE REF TO cl_crm_bol_entity,
lr_root TYPE REF TO cl_crm_bol_entity,
lv_process_type TYPE crmt_process_type,
lv_parent_name TYPE crmt_ext_obj_name,
lr_current TYPE REF TO cl_crm_bol_entity.
lr_current ?= current.
lr_parent ?= lr_current->get_parent( ).
CHECK lr_parent IS BOUND.
CALL METHOD lr_parent->get_parent
RECEIVING
rv_result = lr_adminh.
CHECK lr_adminh IS BOUND.
TRY.
CALL METHOD lr_adminh->set_property
EXPORTING
iv_attr_name = '/itcit/F0010'
iv_value = lv_date. "value.
CATCH cx_sy_conversion_error .
ENDTRY.
TRY.
CALL METHOD lr_adminh->set_property
EXPORTING
iv_attr_name = '/itcit/F0011'
iv_value = lv_time.
CATCH cx_sy_conversion_error .
ENDTRY.
ENDIF.
Thanks
kalpana
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.