cancel
Showing results for 
Search instead for 
Did you mean: 

Making field read only in shopping cart account assignment tab

Former Member
0 Kudos

Hi team,

In shopping cart account assignment tab i have to make field "ACTIVITY" read only if the Order field is not initial. i tried with boolean concept but it is going to dump.

Can you please help me in resolving the issue.

Thanks,

Goutam.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hello

In sprosap srm->srm server-> cross application->extension and field control-> Configure Control for Fields of Substructures

For Default Metadata for Fields in Substructures that do not (yet) Exist

In 31 ACTIVITY add dynamic class with super class /SAPSRM/CL_PDO_DYN_MDF_SB

In method ACC_FIELD_MOD

IF is_set-acc_cat = 'O' order

MOVE-CORRESPONDING is_item TO ls_po_item.

lv_sc_guid = ls_po_item-src_guid.

CALL FUNCTION 'BBP_PD_SC_ITEM_GETDETAIL'

EXPORTING

i_guid = lv_sc_guid

IMPORTING

e_item = ls_sc_item

e_account = ls_account.

IF ls_account_order_no IS NOT INITIAL.

IF iv_field_name = ' ACTIVITY'.

cs_metadata-visible = ' '

ENDIF.

Thanks,

Neelima

Answers (0)