Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BADI vs Script logic

Dear All

When do we prefer to use BADI from Script logic.

We got to know that every calculation can be done by script logic. Then why BADI/Store procedures being used.

i have read that script logic gets compiled and queries back to DB server and hence time taking and resource utilization making more time.

While BADI/Stored procedures stay in DB itself and hence round time gets reduced with less utilization.

is that the above justification correct? if so, is there any technical preferences to BADI from using SCript logic?

Also I belive that stored procedures, BADI would stay in DB server itself.

While Script logic file stays in Application server on in DB.. [correct me if it the above statement is wrong]

Please let me know.

thanks

Prasad

Tags:
replied

P.S. Just look on the code of the function: UJK_SCRIPT_LOGIC_EXECUTE ...

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question