Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Determinations and Timepoints

Roman71
Participant
0 Likes
1,265

Hello Colleagues,

if I create a determination on ROOT_TEXT (Structure /BOFU/S_SHORT_TEXT) and I add a class to set the upper case text field it works fine. I am not sure about the Evaluation Timepoints. If I set it to "During Save (Before Writing Data)" I get an "Determination pattern not supported" error. If I set it to "Before Save (Finalize)" I don´t get the error.

What is the difference of these two timepoints and which one would be the correct one in my case.

The examples in BOPF always use "During Save (Before Writing Data)" but have the same error at check I have.

Any glue for this?

Thanks for your answers.

Best regards

Roman

1 ACCEPTED SOLUTION
Read only

cyclingfisch_
SAP Mentor
SAP Mentor
772

Hi Roman,

"During Save (Before Writing Data)" is at the very end of the transaction just before actually writing the changes to the DB.

Usually the timepoint "Finalize" should be the one to use.

Determinations that are assigned to the determination time “ Finalize” are called during the save process of the transaction manager.

After finalize your data should already be in the state to save them in the DB.

If a determination runs "Druing Save" and an error occurs this might cause some issues, because e.g. the system already drew numbers from a number range.

There is also a documentation on help.sap.com, but it doesn't explain everything in the very detail:

http://help.sap.com/saphelp_nw75/helpdata/en/57/9e9c5b2c6e48b48d773b45f0f33377/content.htm?frameset=...

Cheers Martin

1 REPLY 1
Read only

cyclingfisch_
SAP Mentor
SAP Mentor
773

Hi Roman,

"During Save (Before Writing Data)" is at the very end of the transaction just before actually writing the changes to the DB.

Usually the timepoint "Finalize" should be the one to use.

Determinations that are assigned to the determination time “ Finalize” are called during the save process of the transaction manager.

After finalize your data should already be in the state to save them in the DB.

If a determination runs "Druing Save" and an error occurs this might cause some issues, because e.g. the system already drew numbers from a number range.

There is also a documentation on help.sap.com, but it doesn't explain everything in the very detail:

http://help.sap.com/saphelp_nw75/helpdata/en/57/9e9c5b2c6e48b48d773b45f0f33377/content.htm?frameset=...

Cheers Martin