on 2025 Jun 04 10:41 AM
Hello,
I try to use the solution SAP ILM to archive BP on my system.
To meet my business needs, I need to base myself on a custom date for a certain type of BP and not on the standard date. I add custom conditions fields on the ILM OBJECT CA_BUPA : COMPANY CODE(KNB1) and GROUPING (BUT000).
I create a custom Time Ref CUSTOM_DATE via the BADI BADI_IRM_OT_STT
On method REGISTER_STARTTIME_TYPES
On method GET_START_DATE
But when I use the SAP ILM prog on BP test, I have this error message :
After debugging, I found that the error comes from the function module BUP_BUPA_EOP_CHECK, which fails during execution.
This function module builds a table called lt_source_fields with various information ( START_RET_DATE, BP Number, BP TYPE, etc ) . Later in the code, a check is performed on this table during the indirect determination loop.
Since my custom condition fields are not present in the table, my Z BAdI is never called, and therefore I cannot continue with the date determination logic.
I believe I'm missing some custom configuration, but I can't figure out what exactly.
I based my implementation on SAP's BC_SFLIGHT example, but I must have missed a setting somewhere.
Do you have any idea what could be wrong?
Thanks in advance.
Request clarification before answering.
Hi Simon,
IF Eond of purpose check is active in the system, then EOP check is performed and determined data is used in ILM Rule calculation.
Check the condition field value determination and time reference value determination. With this you will be able to proceed further.
Now on adding custom fields, you can add condition fields and time references for indirect value determination.
You could do this at design time ( edit the ILM object definition CA_BUPA in IRM_CUST_BS transaction), add condition fields and time references with value determination.
Else you could do it via badi. There would be 2 methods - one to register and other to determine the value.
In the badi implementation you need to write a logic to provide the value back.
Please test this approach for data set which as passed EOP check, is blocked and can be archived.
Regards,
Revathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 11 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.