cancel
Showing results for 
Search instead for 
Did you mean: 

new_record__end_routine in expert routine during DTP

Former Member
0 Kudos

Hello experts, can I somehow use new_record__end_routine in an expert routine while doing a DTP?

It seems that only new_record__expert_routine is available, but if being used like new_record__end_routine, it throws an error:

"The obligatory parameter "LOG" has no value assigned to it.".

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Doing this in the expert routine is a little more complex, as you need also manually connect inbound and outbound records and basically send message to the DTP manually if errors occur. That is the reason why object of the class CL_RSBM_LOG_CURSOR_STEP (parameter LOG) must be created and assigned with parameters. Check the note 1227667:

https://launchpad.support.sap.com/#/notes/1227667

Answers (2)

Answers (2)

Former Member
0 Kudos

The record numbers in RESULT_PACKAGE had not been filled up (blank).

In this article it is described how to use new_record__end_routine:

https://blogs.sap.com/2017/03/06/new_record__end_routine-how-to-use-it/

But if you use an expert rountine, new_record__end_routine is not available.

If using new_record__expert_routine in exactly the same manner, it simply does not work (as described before).

Former Member
0 Kudos

Hi Oliver ,

Can you please provide me more details ?

Regards,

Rajib