01-09-2009 7:21 AM
Dear All ,
We have one senario in which I have to make a "Quantity field" in transaction JKSD07 non editable after a specified time.
I have raised one OSS message for the same ( Message Number : 0001088388 ). They are suggesting me to implement a bADI ISM_DEMANDCHANGE and use the methods CHANGE_FIELDCATALOG and CHANGE_OUTLINES to modify the field catlog on the fly.
But i am not able to figure out what coding is to be done in this method so as to change the ALV property to non editable on the fly.
Please suggest me what is to be done as this is very crucial at this point of time.
Regards,
Nikhil
01-17-2009 12:02 PM
Nikhil
which release are you using? SAP has a standard solution for your problem which is working without using BADI. With ERP and EHP2 using the SAP Press Distribution functionality you can define your planning structure with fields editable / visible / non visible depending on user.
Martin
01-17-2009 12:02 PM
Nikhil
which release are you using? SAP has a standard solution for your problem which is working without using BADI. With ERP and EHP2 using the SAP Press Distribution functionality you can define your planning structure with fields editable / visible / non visible depending on user.
Martin
01-20-2009 5:02 AM
01-20-2009 10:39 PM
Hello Nikhil
the functionality I refer to is only available with ERP and Enhancement Pack 2:
[SAP Press Distribution|http://help.sap.com/erp2005_ehp_04/helpdata/en/0c/66ed0e3a354591ad722953e4632f42/frameset.htm]
The functionality of the new sales planning application ( called [JKSD07N|http://help.sap.com/erp2005_ehp_04/helpdata/en/0c/66ed0e3a354591ad722953e4632f42/frameset.htm] - what a surprise! ) e.g. the different usage of fields is described in the section structure and [Views|http://help.sap.com/erp2005_ehp_04/helpdata/en/0c/66ed0e3a354591ad722953e4632f42/frameset.htm].
I think this is more for your information because you dont easily upgrade for this issue.
In 4.7 I think this is the way how to manipulate the field properties:
With The BADI method Change_Fieldcatalog you should loop at the fieldcatalog table and find the column you want to change (field: FIELDNAME).
I think it is either the field EDIT or NO_OUT where you have to set a "X". Look at DDIC structure LVC_S_FCAT!
In the end what you manipulate is the field catalog for the ALV !
Regards
Martin
Edited by: Martin Forster on Jan 20, 2009 11:40 PM