I`d like to continue last bloghttp://scn.sap.com/community/aif/blog/2014/11/03/enhancement-toolbar-for-monitoring-and-error-handli...
Today i will write something about toolbar enhancement on View3 and View5 in 'Monitoring and Error Handing', TCode: /AIF/ERR.
What is View3 and View5, Maybe some new developers to AIF will have this question, here it is:
View1 is Data message view.
View2 is Data structure view.
View3 is Data view.
View4 is a technical view, you need tick 'technical mode' check box on selection screen, then it will display.
View5 is log message view.
First, let`s enhance View3. In '/AIF/ERROR' package, enhancement spots '/AIF/ERROR_HANDLING'.
1, To create a BADI Implementation:
2, To create a Implementing Class:
4, Write your logic in this two method:
'GET_FUNC_LIST' is used to set the function code,
'DO_ACTION' is do action when you click button on toolbar.
5, Activate class and BADI, the result on View3:
Second, go to enhance View5.
1, To create BADI Implementation and Implementation class:
2, Write your own code in below method, GET_ACT_LIST and DO_ACTION is same with View5, used to set a button on toolbar and response it:
3, Activate Class and BADI, result like below, the new added button on toolbar of View5,
When you double click the line item:
Actually, each BADI have it`s own example implementation, it`s very easy if you take a look at it :smile: .
I will soon back for other enhancement. see u.
regards,
Archer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |