Skip to Content

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

Enhancement Implementation

Dear experts,

have you tried enhancement implementation functionality?

Could you please give me an example of how to use enhancement option BusinessActivityExcludeCodeValues?

/*

  Add your SAP Business ByDesign scripting language implementation for:

  Enhancement Option: BusinessActivityExcludeCodeValues

  Operation: EXCLUDE_CODE_VALUES

  Script file signature

  ----------------------------

  Parameter: InputData of type BadiBusinessActivityExcludeCodeValuesImport

  Returns: BadiBusinessActvitiyExcludeCodeValuesChanging

  Note:

   - To use code completion, press CTRL+J.

*/

import AP.FO.Activity.Global;

var result : BadiBusinessActvitiyExcludeCodeValuesChanging;

return result;

Many thanks

Best regards

Linh

Former Member
replied

Hi Linh

The Enhancement Option : BusinessActivityExcludeCodeValues is similar to a BADI (exit) if you are familiar with ABAP.

It will have 2 structures: 1 would be Input ->Data that will be available at runtime for which code can be restricted.

                                        2nd would be Output or Return Structure -> This should contain the filtered list (as per your code logic)

The coding here is similar to any other ABSL script file.

Hope this clarifies.

BR
Dedeepya

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