on 04-01-2016 1:39 PM
Hi Team,
My requirement is,service order creation screen when ever user change the status to E0009 then 3 drop down fields is set to mandatory.for this how to do it? could you please give me best solution to achieve this.
Thanks in advance.
Thanks & Regards
Kalpana.
Hi Kalpana,
Any update on this ? Were you able to proceed with the Technical Coding or you need some more technical input ?
Thanks in advance.
Best Regards,
Samantak.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kalpana,
You can create a new View Configuration with those 3 fields as mandatory. And then, in the DO_PREPARE_OUTPUT you can set the view if it is of that particular status.
In the method, you need to read the relationship to get the status using BOL Programming. Then get the status and check if the status which you retrieved is the one you mentioned. And then call the method SET_CONFIG_KEYS and pass the values of the desired configuration.
Let me know if you need help with the coding.
Hope this helps.
Thanks,
Samantak.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Kapil,
Thanks for your quick reply.
I have created on configuration ,in this config i have set 3 fields as mandatory, and i have added the logic on do_config_determination method like as below.
but the problem is this z configuration is added on all other transaction types.other transactions its get effected..how to do it .what was the best approach for this
.i have redefine the method DO_CONFIG_DETERMINATION.
IF lv_process = 'ZLTS' and lv_status = 'E000'.
CALL METHOD me->set_config_keys
EXPORTING
iv_object_type = 'BT116_SRVO' "UI Object Type
iv_object_sub_type = '<DEFAULT>' "UI Sub-object Type
iv_propagate_2_children = 'X'.
ELSE.
CALL METHOD me->set_config_keys
EXPORTING
iv_object_type = 'BT116_SRVO'
iv_object_sub_type = 'ZLTS' "
iv_propagate_2_children = 'X'.
ENDIF.
ENDIF.
Thanks & Regards
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.