05-12-2010 9:20 AM
Hi,
We have added the fields in the structure CI_EBANDB. The fields are being shown on the item Overview ALV grid but only in display mode.
The requirement is to make it input enabled in tCode: ME51N and ME52N just like the column 'Material' 'Plant' etc.
Can we enable the columns? I have checked in SPRO but the fields are not listed so that I can make them input enabled.
Is it possible to make them input enabled?
If so, kindly suggest?
Regards
Amit
PS: I have searched the forum and found that this is probably not possible. I want the experts to comment on this. Is this possible or not. If not, why? and if yes, how to achieve this?
05-12-2010 11:40 AM
Hi,
I debugged and found the column 'Edit' (Ready to Input) of the field catalog for the ALV display is set to 'true' for the fieldname which I have added into the EBAN table and the structure CI_EBANDB. But while displaying it is grayed out..:(
I tried to change the value of the standard column like 'Matnr', and it appeared in display mode.
I am not able to figure out how to resolve this..
Can anybody please suggest..?
Regards
Amit
Edited by: siemens.a.k on May 17, 2010 11:02 AM
05-17-2010 7:25 AM
Check the properties of other fields which are also grayed out like ur fields.
--
Reddy
05-17-2010 9:19 AM
Hi,
Thanks a lot for your response...:)
The customized column has the same properties as the standard column like MATNR, WERKS etc. But still it is grayed out...
Kindly help..
Regards
Amit
05-17-2010 10:32 AM
Not those filedds which are editable finally. check other fileds which are also grayed out and compare with ur field properties.
--
Reddy
05-19-2010 5:55 AM
Dear V V Reddy,
I found the solution..
While debugging i found that the method: BUILD_DYNPRO_FIELDS (Include - LMEGUICJM ) is being called. In this the table 'my_dynpro_fields' is prepared. This table has a column named as 'metafield'. The value of this field for the Customer field was 0. I changed it to 69 and now the column was input enabled...:)
Thank you once again.
Cheers!!!
Amit
07-16-2011 12:27 PM
Metafields are defined in pool MMPUR ,all these metafields are assigned for standard screen fields for ALV grid control
for ME52N line items,now when custom fields is added how can we use 69 specifically,is there any SAP NOTE
to create metafields for custom fields...
Thanks
08-16-2012 3:00 PM
Hi,
After Consulting SAP,
The Solution for your program is to implement en. spot in fm : MEREQBADI_FS_ITEM :
add method with your name to all other methods
try using this code :
form....
gf_tabname = 'MEREQ3211GRID'.
map 'ZZ...' mmmfd_cust_01.
...
endform.
and then implement method : fieldselection_item , badi : me_process_req_cust
try using this code:
type-pools : mmmfd.
field-symols : <fs> like line of ch_fieldselection.
loop at ch_fieldselection assigning <fs> where metafield >= mmmfd_cust_01.
<fs>-fieldstatus = '.'. "open for editing
endloop.
it should work after that.
Alexa ( DEV TEAM )
06-05-2013 7:41 PM
Hi,
I have the same requirement, can you kindly tell me what enhancement spot should be implemented in fm: MEREQBADI_FS_ITEM. can you give me a little detail about the code,
Thanks,
Moied Yousuf
08-24-2021 5:51 AM
Hey amith do you have the code for this ?
i am facing the same issue now, can you please share the code if you have it yet ?
mail : saigopalkotta39@gmail.com
Thanks and regards.
Sai Gopala Krishna.