2008 Sep 17 12:14 PM
Hi all,
I'm using transaction CT04 to configure some fields as characteristics. I already created the corresponding class in CL02.
But now I want to assign a default value in this characteristic, and put the field not editable, but only filled with this default value.
Is this possible? It's the first time I'm using this.
Thanks in advance.
Best regards,
Sónia Gonçalves
2008 Sep 17 2:06 PM
Hello Sónia,
you can enter the default value in tab "Values". Set the flag "Default" for this value.
=> this value will be the default value for this characteristic.
On tab "Additional data" you can set the flag "Not ready for input".
=> the default value cannot be modified.
Best regards
Stephan
Hello Sónia,
you can enter the default value in tab "Values". Set the flag "Default" for this value.
=> this value will be the default value for this characteristic.
On tab "Additional data" you can set the flag "Not ready for input".
=> the default value cannot be modified.
Best regards
Stephan
2008 Sep 17 2:06 PM
Hello Sónia,
you can enter the default value in tab "Values". Set the flag "Default" for this value.
=> this value will be the default value for this characteristic.
On tab "Additional data" you can set the flag "Not ready for input".
=> the default value cannot be modified.
Best regards
Stephan
2008 Sep 17 2:41 PM
That's it! Thank you very much for the reply.
Now one more thing: if I want to get the value to be shown by default by logic, which means, by abap conditions, how can I do that?
Thanks!
Sónia Goncalves
2008 Sep 17 2:54 PM
Hello Sónia,
perhaps you can have a look at the object dependencies for the value (double click on the checkbox "Object dependencies exist") in the line of your characteristic value.
For help on object dependencies see here:
http://help.sap.com/saphelp_erp60_sp/helpdata/en/ec/62aa64416a11d1896d0000e8322d00/content.htm
Best regards
Stephan
2008 Sep 17 3:05 PM
As mentioned above, you would need Object Dependencies. These can be at the Configuration Profile as Procedures. Look at using the $SET_DEFAULT and $DEL_DEFAULT statements. Just to clarify, Object Dependencies are not ABAP. You can search on Procedures in the SAP Help to learn about $SET_DEFAULT.
2008 Sep 17 3:12 PM
Hello Mike,
the object dependencies themselves aren't ABAP, but you can use functions (defined in transaction CU65) in an object dependency, that are linked to function modules (which are ABAP).
Best regards
Stephan
2008 Sep 17 3:19 PM
Yes Stephan, you are correct, you can incorporate Function Modules into your Object Dependencies through Variant Functions. These Function Modules are very handy for Complex Logic and/or Calcualtions for Characteristic Values.
2008 Sep 17 3:19 PM
Hi,
Thanks for your answers. I will try this now.
Sónia Goncalves
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |