Skip to Content
0

How to identify Code running frontend or via MDR in ABSL

Nov 01, 2016 at 08:35 PM

116

avatar image
Former Member

Hello,

Can anyone let me know if we can identify the ABSL scripting running via UI or using MDR jobs?

Thanks.

Regards,

Mohan Babu

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

Pradeep Kumar N
Nov 02, 2016 at 08:05 AM
0

Hi Mohan Babu,

You could check for the user who has made the change, because for MDRO it would be scheduled by some user, so you could check for this user:

https://archive.sap.com/discussions/thread/3830755

Thanks, Pradeep.
Share
10 |10000 characters needed characters left characters exceeded
Horst Schaude
Nov 02, 2016 at 08:27 AM
0

Hello Mohan Babu,

In which situation do you want to know what?

Bye,
Horst

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 07, 2016 at 08:59 PM
0

Hello Horst,

To avoid few validations which I'm having it when the user is editing the ticket information in frontend. Because of this my MDR job fails for bulk load. If I can give the condition in a way that validate only when the user is interacting front-end I can run my MDR.

Regards,

Mohan Babu

Share
10 |10000 characters needed characters left characters exceeded
Pradeep Kumar N
Nov 08, 2016 at 03:53 AM
0

Hi Mohan Babu,

You could add an extension field and then fill value for this in the UI, and check for the value in the script to know if is from UI.

Thanks, Pradeep.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hello Pradeep,

I'm not getting what you are mentioned. Even when I try to fill the value in UI, when I try to update the ticket via MDR, the field will have the value. So how can I still know that it is executing from UI or MDR?

Regards,

Mohan Babu

0
Pradeep Kumar N
Nov 12, 2016 at 09:48 AM
0

Hi Mohan,

MDRO will execute the Action on the query result of the BO, and so it won't access to the UI field.

Thanks, Pradeep.

Share
10 |10000 characters needed characters left characters exceeded