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

SORT standard BADI implementations through BADI layer

0 Likes
2,929

Hello Experts,

Is there any way to sort the standard BADI implementation sequence through BADI_LAYER.

There are 11 standard implementations already. I have created one implementation for my logic. I want to call my custom implementation first. Currently standard implementations are being called.

Thanks

Bikash

4 REPLIES 4
Read only

Sandra_Rossi
Active Contributor
1,965

That's very old and it was superseded with BADI_SORTER. What is your SAP product version? Do you have BADI_SORTER?

Please tell us more about the sort value you have defined, the sort values of other implementations, and what kind of order is defined for the concerned BAdI definition.

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,965

Please use the COMMENT button for comments, questions, adding details, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.

Read only

1,965

Hello Sandra,

Yes we have BADI_SORTER. The BADI which I am trying to implement is CTS_REQUEST_CHECK. There are already 11 standard implementations. I am implementing with my logic. I want to trigger my BADI implementation first.

Thanks

Read only

Sandra_Rossi
Active Contributor
1,965

CTS_REQUEST_CHECK is not migrated to enhancement spots so I guess you may only use BADI_LAYER.

So, your question is about the whole procedure to create an implementation of BADI_LAYER to sort implementations of CTS_REQUEST_CHECK.

The procedure is explained here: https://help.sap.com/viewer/product/SAP_NETWEAVER_AS_ABAP_752/7.52.5/en-US?q=Sorting%20Classic%20BAd...

What did you try until now, what is your difficulty?

NB: there are already some questions/answers in the forum.

NB: instead of using BADI_LAYER, don't you want to define a standard sorting? (you define the order numbers for each implementation; or just enter a negative number like -10 for your custom implementation; 0 will be considered for others if nothing is entered)