2012 Oct 26 9:59 AM
Hello
I have been struggling with this issue for several days and the deadline is getting closer now !
I try to update some material characteristics during the User Exit of material saving. My routine is triggered within the program XMG0.
The goal is to force some given characteristics to take fixed values depending on a third characteristic value.
First I call the FM CTMS_CLASS_DDB and then CTMS_DDB_SET_VALUE, it is modifying all right my values.
I finish with CLAP_FETCH_VALUES and CLAP_DDB_SAVE_CLASSIFICATION.
The problem is that any other characteristic which has been modified manually by the user is lost.
The edited values are simply deleted, not even the old values remain.
It is like the buffer was reset during this operation.
Do you know how to use properly the FM in group CTMS ?
Any advice would be welcome.
2012 Oct 30 10:22 AM
Finally I solved my problem by changing of User Exit. I used "EXIT_SAPLCLFM_002" instead of "EXIT_SAPLMGMU_001" and then I could access directly to the internal table of the characteristics being updated and it was much easier to edit.
Hello
I have been struggling with this issue for several days and the deadline is getting closer now !
I try to update some material characteristics during the User Exit of material saving. My routine is triggered within the program XMG0.
The goal is to force some given characteristics to take fixed values depending on a third characteristic value.
First I call the FM CTMS_CLASS_DDB and then CTMS_DDB_SET_VALUE, it is modifying all right my values.
I finish with CLAP_FETCH_VALUES and CLAP_DDB_SAVE_CLASSIFICATION.
The problem is that any other characteristic which has been modified manually by the user is lost.
The edited values are simply deleted, not even the old values remain.
It is like the buffer was reset during this operation.
Do you know how to use properly the FM in group CTMS ?
Any advice would be welcome.
2012 Oct 30 10:22 AM
Finally I solved my problem by changing of User Exit. I used "EXIT_SAPLCLFM_002" instead of "EXIT_SAPLMGMU_001" and then I could access directly to the internal table of the characteristics being updated and it was much easier to edit.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |