2009 Sep 29 1:25 PM
Hi All,
I have appended 3 fields on sap std structire incl_eew_pd_item_csf_sc.
The requirement is by default the 3 fields will be not active.The custome fileds will only be changebale if G/L
account of thr item is maintained in table ztable.so i need to develop one custome method & custom class.
If g/l account is not maintained in the dedicated ztable ,these fileds will be de-activated & not ready for enduser.
In case of cost distribution on line item level, the three custom fields will be activated if at least one account assignment line of the item contains a G/L listed in ztable
what code should i write in the method?
Please give any suggestion.
Regards,
Oorvi
Edited by: oorvi joshi on Sep 29, 2009 2:52 PM
Hi All,
I have appended 3 fields on sap std structire incl_eew_pd_item_csf_sc.
The requirement is by default the 3 fields will be not active.The custome fileds will only be changebale if G/L
account of thr item is maintained in table ztable.so i need to develop one custome method & custom class.
If g/l account is not maintained in the dedicated ztable ,these fileds will be de-activated & not ready for enduser.
In case of cost distribution on line item level, the three custom fields will be activated if at least one account assignment line of the item contains a G/L listed in ztable
what code should i write in the method?
Please give any suggestion.
Regards,
Oorvi
Edited by: oorvi joshi on Sep 29, 2009 2:52 PM
2009 Sep 29 9:29 PM
Hi,
Correct me if my understanding is wrong.
You have some custom fields shown in the screen which were added to the standard structure.
You want to control the display of those custom fields using the entry in ztable.
If that is the case, depending on the entry in the ztable u can use
LOOP AT SCREEN
IF screen-name EQ 'XXXX'.
disable the field
Modify screen.
ENDIF.
ENDLOOP.
-> U can create an implicit enhancement to create ur custom code.
2009 Sep 29 10:14 PM
Hi oorvi,
"There's no such thing as a free lunch"
Do what you get payed for,
or send me a cheque and I will consider.
Regards,
Clemens
2009 Sep 30 7:02 AM
2009 Sep 30 7:13 AM
if its on SRM portal you are talking about then use BADIs.
search SCN to get the proper BADI Names
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |