Activating a BADI in ECC6.0
Hello gurus:
I'm on ECC6.0.
I want to implement BAdI ME_MEREQ_PARKING so I can access and modify method ACTIVATE_PARKING. This method allows for PReq "Hold" functionality - we want to "Hold" PReqs and we can't right now.
With this new Enhancement Framework, creating an Enhancement Spot is fine, but when I create a BAdI definition (i.e. ME_MEREQ_PARKING right?) I cannot specify its interface IF_EX_ME_MEREQ_PARKING because I get the message: interface does not include interface IF_BADI_INTERFACE. That's nice!
The program SAPLMEREQ which is (ME51N) at some point calls cl_badi_mm=>get_instance( 'ME_MEREQ_PARKING' ) - a hard-coded call, not variable, so I assume I have to implement it.
It is already implemented via the classic BAdi with ME_MEREQ_PARKING_PS, but its class CL_IM_ME_MEREQ_PARKING_PS doesn't get called, CL_EX_ME_MEREQ_PARKING does, but the there is no active implementation for it.
When I attempt to implement the Classic BAdI ME_MEREQ_PARKING, I'm told by the system that no BAdI implementation can be created or copied by a customer.
So am I hooped here, or is there something I can do? How do you define an "anchor point" or find these hooks (enhancement points) that are so frequently talked about?
I can create the code and put it in a class - I just don't know how that code gets called??
If anyone dares to help, I thank you in advance.
Sean
Hi,
if that is the case then you can use "MB_DOCUMENT_BADI " and the method is MB_DOCUMENT_BEFORE_UPDATE..
Create a custom function mdoule and then call the FM in this method..
CALL FUNCTION 'ZTEST' in separate task 'ZTEST'.
Now in the function module write your logic to update the custom table...
Regards,
Nagaraj
Similar Messages
-
RE: Short dump after activation of BADI
Hi all,
We are getting short dumps in all the transactions after activating the BADI 'BADI_LAYER'
We are not able to execute any of the transactions.
The details of runtimeerror
Runtime Errors RAISE_EXCEPTION
Date and Time 30.07.2007 09:58:06
Short text
Exception condition "SINGLE_EXIT_MULTIPLY_ACTIVE" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
A RAISE statement in the program "CL_EXITHANDLER================CP" raised the
exception
condition "SINGLE_EXIT_MULTIPLY_ACTIVE".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
function module from the display of active calls.
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"RAISE_EXCEPTION" " "
"CL_EXITHANDLER================CP" or "CL_EXITHANDLER================CM001"
"GET_INSTANCE"
or
"CL_EXITHANDLER================CP" "SINGLE_EXIT_MULTIPLY_ACTIVE"
or
"SAPMF05A " "SINGLE_EXIT_MULTIPLY_ACTIVE"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "sapdevp"
Network address...... "192.168.0.205"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "4x Intel 80686"
Character length.... 16 Bits
Pointer length....... 32 Bits
Work process number.. 0
Shortdump setting.... "full"
Database server... "SAPDEVP"
Database type..... "ORACLE"
Database name..... "TDV"
Database user ID.. "SAPSR4"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Apr 2 2006 23:08:16"
create on........ "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
Database version. "OCI_10103_SHARE "
Patch level. 52
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory consumption
Roll.... 8176
EM...... 6271344
Heap.... 0
Page.... 57344
MM Used. 1728072
MM Free. 360856
User and Transaction
Client.............. 400
User................ "FIUSER01"
Language key........ "E"
Transaction......... "FB50 "
Program............. "CL_EXITHANDLER================CP"
Screen.............. "SAPMF05A 1010"
Screen line......... 7
Information on where terminated
Termination occurred in the ABAP program "CL_EXITHANDLER================CP" -
in "GET_INSTANCE".
The main program was "SAPMF05A ".
In the source code you have the termination point in line 145
of the (Include) program "CL_EXITHANDLER================CM001".
Source Code Extract
Line
SourceCde
115
SELECT SINGLE is_impl FROM badiisimpled INTO is_impl
116
WHERE badi_name = mig_badi_name.
117
IF sy-subrc NE 0.
118
not yet filled
119
is_impl = cl_enh_badi_tool_utilities=>update_badiisimpled( mig_badi_name ).
120
ENDIF.
121
122
IF is_impl = 'X'.
123
ok at least one implementation found
124
act_imp_existing = 'X'.
125
ENDIF.
126
127
ENDIF.
128
ENDIF.
129
ELSE.
130
131
check how many implementations exist for an exit
132
CALL METHOD cl_badi_flt_data_trans_and_db=>act_imps_per_flt_val
133
EXPORTING
134
runtime_call = seex_true
135
exit_name = exit_name
136
EXCEPTIONS
137
singular_exit_multiply_active = 1
138
no_active_implementation = 2
139
only_default_implementation = 3
140
OTHERS = 4.
141
CASE sy-subrc.
142
WHEN 0.
143
act_imp_existing = seex_true.
144
WHEN 1.
>>>>>
RAISE single_exit_multiply_active.
146
WHEN 2.
147
act_imp_existing = seex_false.
148
WHEN 3.
149
act_imp_existing = seex_false.
150
def_impl = seex_true.
151
WHEN 4.
152
RAISE data_incons_in_exit_managem.
153
ENDCASE.
154
155
new parameter considered for performance purposes
156
IF act_imp_existing = seex_true OR
157
def_impl = seex_true OR
158
null_instance_accepted = seex_false.
159
160
ok, then do your job
161
CREATE OBJECT exit TYPE (abs_type_classname).
162
CATCH SYSTEM-EXCEPTIONS move_cast_error = 1.
163
instance ?= exit.
164
ENDCATCH.
Contents of system fields
Name
Val.
SY-SUBRC
1
SY-INDEX
0
SY-TABIX
0
SY-DBCNT
2
SY-FDPOS
1
SY-LSIND
0
SY-PAGNO
0
SY-LINNO
1
SY-COLNO
1
SY-PFKEY
FSKB
SY-UCOMM
SY-TITLE
Enter G/L Account Document: Company Code TJ01
SY-MSGTY
S
SY-MSGID
B!
SY-MSGNO
015
SY-MSGV1
00001140
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO
0
SY-DATUM
20070730
SY-UZEIT
095806
SY-XPROG
SY-XFORM
Active Calls/Events
No. Ty. Program Include Line
Name
5 METHOD CL_EXITHANDLER================CP CL_EXITHANDLER================CM001 145
CL_EXITHANDLER=>GET_INSTANCE
4 METHOD CL_EXIT_MASTER================CP CL_EXIT_MASTER================CM004 2
CL_EXIT_MASTER=>CLASS_CONSTRUCTOR
3 METHOD CL_EX_FI_HEADER_SUB_1300======CP CL_EX_FI_HEADER_SUB_1300======CM003 53
CL_EX_FI_HEADER_SUB_1300=>IF_EX_FI_HEADER_SUB_1300~PUT_DATA_TO_SCREEN_PBO
2 FORM SAPMF05A MF05AF00_D0100_PRE_APPL_SUB_2 50
D0100_PRE_APPL_SUB_PBO
1 MODULE (PBO) SAPMF05A MF05AO00_D0100_PRE_APPL_SUB 10
D0100_PRE_APPL_SUB
Chosen variables
Name
Val.
No. 5 Ty. METHOD
Name CL_EXITHANDLER=>GET_INSTANCE
EXIT_NAME
BADI_LAYER
44445445452222222222
2149FC19520000000000
00000000000000000000
00000000000000000000
NULL_INSTANCE_ACCEPTED
2
0
0
0
ACT_IMP_EXISTING
2
0
0
0
INSTANCE
F0000000
F0000000
%_SPACE
2
0
0
0
RSJOBINFO
00000000000000 ##
2222222222222222222222222222222233333333333333222222222222222222222222222222222200
0000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000
%_DUMMY$$
2222
0000
0000
0000
SEEX_TRUE
X
5
8
0
0
SYST-REPID
CL_EXITHANDLER================CP
4454545444444533333333333333334522222222
3CF589481E4C52DDDDDDDDDDDDDDDD3000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
<%_TABLE_BADIISIMPLED>
SY-REPID
CL_EXITHANDLER================CP
4454545444444533333333333333334522222222
3CF589481E4C52DDDDDDDDDDDDDDDD3000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
SY-SUBRC
1
0000
1000
SY-XPROG
2222222222222222222222222222222222222222
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
No. 4 Ty. METHOD
Name CL_EXIT_MASTER=>CLASS_CONSTRUCTOR
%_SPACE
2
0
0
0
SYST-REPID
CL_EXIT_MASTER================CP
4454545544554533333333333333334522222222
3CF5894FD13452DDDDDDDDDDDDDDDD3000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
SY-REPID
CL_EXIT_MASTER================CP
4454545544554533333333333333334522222222
3CF5894FD13452DDDDDDDDDDDDDDDD3000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
CL_EXIT_MASTER=>LAYER_EXIT
F0000000
F0000000
%_DUMMY$$
2222
0000
0000
0000
No. 3 Ty. METHOD
Name CL_EX_FI_HEADER_SUB_1300=>IF_EX_FI_HEADER_SUB_1300~PUT_DATA_TO_SCREEN_PBO
IM_BKPF
TJ01 2007SA00000000200707300400000000000000000000000000000000000000
2225433222222222233335433333333333333333333333333333333333333333333333333333333222222222222222
0004A01000000000020073100000000200707300400000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
IM_X_NO_INPUT
2
0
0
0
FLT_VAL
IN
44
9E
00
00
<EXIT_OBJ>-IMP_CLASS
<FLT_CACHE_LINE>-OBJ
|
| F0000000 |
| F0000000 |
| %_DUMMY$$ |
| |
| 2222 |
| 0000 |
| 0000 |
| 0000 |
| ME->INSTANCE_BADI_TABLE |
| Table[initial] |
| <EXIT_OBJ> |
| ??? |
| ?????? |
| ?????? |
| <%_L001> |
| ??? |
| ?????? |
| ?????? |
| RSJOBINFO |
| 00000000000000 ## |
| 2222222222222222222222222222222233333333333333222222222222222222222222222222222200 |
| 0000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 0000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| 0000000000000000000000000000000000000000000000000000000000000000000000000000000000 |
| SY-REPID |
| CL_EX_FI_HEADER_SUB_1300======CP |
| 4454554454444455554533333333334522222222 |
| 3CF58F69F851452F352F1300DDDDDD3000000000 |
| 0000000000000000000000000000000000000000 |
| 0000000000000000000000000000000000000000 |
| <%_L001>-METHOD_NAME |
| ??? |
| ?????? |
| ?????? |
| EXIT_OBJ_TAB |
| Table[initial] |
| SY-SUBRC |
| 1 |
| 0000 |
| 1000 |
| ME |
|
F0000000
C0003000
SXRT_TRUE
X
5
8
0
0
No. 2 Ty. FORM
Name D0100_PRE_APPL_SUB_PBO
*BSEG-STBUK
2222
0000
0000
0000
%_DUMMY$$
2222
0000
0000
0000
SY-REPID
SAPMF05A
5454433422222222222222222222222222222222
310D605100000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
SYST-REPID
SAPMF05A
5454433422222222222222222222222222222222
310D605100000000000000000000000000000000
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
KDBTAB-DMBTR
0.0.0.0.0.0.1.
0000000
000000C
%_SPACE
2
0
0
0
KDPTAB-BELNR
2222222222
0000000000
0000000000
0000000000
KDPTAB-GJAHR
0000
3333
0000
0000
0000
KDPTAB-BUZEI
000
333
000
000
000
KDBTAB-XRUND
2
0
0
0
SPACE
2
0
0
0
F05ACTRL
2
0
0
0
SYST
######################################ð#######################################~######### C####
00000000000000000000000000000000000000F0000000000000000000000000000000000000107000000050240000
000000200000000000002010100010000000000000000010400000000000000000000000000080E000200080030100
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000D000000C
BSED
0000000# ############## 0000000000000000
2222222222222222233333330200000000000000223333333333333333222222222222222222222222222222222222
00000000000000000000000000000C000000C000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000C0000000C000000C000000000000000000000000000000000000000000000000000000
SY-SUBRC
1
0000
1000
G_APPL_SUB_ACTIVE
X
5
8
0
0
CHAR_X
X
5
8
0
0
%_ARCHIVE
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
BKPF-BUKRS
TJ01
5433
4A01
0000
0000
BKPF
TJ01 2007SA00000000200707300400000000000000000000000000000000000000
2225433222222222233335433333333333333333333333333333333333333333333333333333333222222222222222
0004A01000000000020073100000000200707300400000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
G_APPL_SUB_DISABLE
2
0
0
0
T005-INTCA
IN
44
9E
00
00
No. 1 Ty. MODULE (PBO)
Name D0100_PRE_APPL_SUB
C_FIELD_DIALOG_ALL
BUTTON_DIALOG_ALL
4555445444444544422222222222222222222222222222222222222222222222222222222222222222222222222222
2544FEF491CF7F1CC00000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Internal notes
The termination was triggered in function "ab_jfune"
of the SAP kernel, in line 2561 of the module
"//bas/700_REL/src/krn/runt/abfunc.c#10".
The internal operation just processed is "FUNE".
Internal mode was started at 20070730095806.
Active Calls in SAP Kernel
Lines of C Stack in Kernel (Structure Differs on Each Platform)
SAP (R) - R/3(TM) Callstack, Version 1.0
Copyright (C) SAP AG. All rights reserved.
Callstack without Exception:
App : disp+work.EXE (pid=4436)
When : 7/30/2007 9:58:6.359
Threads : 2
Computer Name : SAPDEVP
User Name : SAPServiceTDV
Number of Processors: 4
Processor Type: x86 Family 6 Model 15 Stepping 6
Windows Version : 5.2 Current Build: 3790
State Dump for Thread Id 250c
eax=34d52300 ebx=000003f8 ecx=0001ccc0 edx=34d039e0 esi=000003f8 edi=00000000
eip=7c82ed54 esp=053fceb4 ebp=053fcf24 iopl=0 nv up ei ng nz ac po cy
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00200297
function : KiFastSystemCallRet
7c82ed54 c3 ret
7c82ed55 8da42400000000 lea esp,[esp] ss:053fceb4=7c822124
7c82ed5c 8d642400 lea esp,[esp] ss:6627b4c7=00002100
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
053fcf24 77e6ba42 000003f8 0001d4c0 00000000 053fcf5c ntdll!KiFastSystemCallRet
053fcf38 0100b3aa 000003f8 0001d4c0 00000001 7c38b5c8 kernel32!WaitForSingleObject
053fcf5c 0055b4ac 0055b4e5 7c38b5c8 7c38b5c8 7c38b5c8 disp+work!NTDebugProcess
053fcf60 0055b4e5 7c38b5c8 7c38b5c8 7c38b5c8 01d35ab0 disp+work!NTStack
053fcf7c 0055b519 7c38b5c8 00000000 008536a8 7c38b5c8 disp+work!CTrcStack2
053fcf88 008536a8 7c38b5c8 00000000 005f0059 00300030 disp+work!CTrcStack
053fcfac 008569fa 6d1d037c 0000001b 00000000 01cfc168 disp+work!rabax_CStackSave [abrabax.c (6871)
053fd084 006aaaf4 0134837c 0134835c 00000a01 235f1640 disp+work!ab_rabax
053fd0c0 0067bb56 00000003 34cf5708 00000000 053fd128 disp+work!ab_jfune
053fd128 007af183 00000000 34cf5708 053fd274 34cf8c26 disp+work!ab_extri
053fd13c 00837a37 00000000 34cf7dd6 00596fa0 34cf68b4 disp+work!ab_xevent
053fd148 00596fa0 34cf68b4 000003db 34cf7dd6 00000000 disp+work!ab_dstep
053fd274 00597fa1 34cf5708 34cf5708 053ffd04 00597b13 disp+work!dynpmcal
053fd284 00597b13 34cf5708 34cf5708 00000003 053ffd04 disp+work!dynppbo0
053fd2a0 0056dcf1 34cf5708 0006e768 00000000 0000000c disp+work!dynprctl
053ffd04 00471848 00000013 07de0048 00000001 00494960 disp+work!dynpen00
053ffd14 00494960 0000000c 00000000 00000003 00000002 disp+work!Thdynpen00
053ffee0 00494ee2 00000001 00000000 00000000 00430000 disp+work!TskhLoop
053fff00 00421150 00000000 00000000 7ffd8000 053fff60 disp+work!ThStart
053fff14 00401080 00000003 003f6850 00000001 00000000 disp+work!DpMain
053fff60 011a94a0 00000003 003f6850 003f78f8 01bd5000 disp+work!nlsui_main
053fffc0 77e523e5 00000000 00000000 7ffd8000 88602680 disp+work!wmainCRTStartup
053ffff0 00000000 011a935d 00000000 00905a4d 00000003 kernel32!IsProcessorFeaturePresent
State Dump for Thread Id 27bc
eax=00000001 ebx=00000103 ecx=fffffffe edx=003f01f8 esi=00000000 edi=00000000
eip=7c82ed54 esp=075dfec0 ebp=075dff04 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246
function : KiFastSystemCallRet
7c82ed54 c3 ret
7c82ed55 8da42400000000 lea esp,[esp] ss:075dfec0=7c821514
7c82ed5c 8d642400 lea esp,[esp] ss:6845e4d3=50004500
FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
075dff04 010f7ffc 000006c0 00000000 00000000 003f77d0 ntdll!KiFastSystemCallRet
075dff84 7c349565 00000000 00000000 00000000 0587ff08 disp+work!SigIMsgFunc
075dffb8 77e6608b 0587ff08 00000000 00000000 0587ff08 MSVCR71!endthreadex
075dffec 00000000 7c3494f6 0587ff08 00000000 00000000 kernel32!GetModuleFileNameA
List of ABAP programs affected
Index
Typ
Program
Group
Date
Time
Size
Lang.
0
Prg
SAPMF05A
0
22.05.2007
11:37:49
1563648
E
1
Prg
SAPMSSYD
0
10.01.2007
12:33:28
21504
E
2
Prg
SAPFSYSCALLS
0
09.09.2004
14:18:32
8192
E
3
Typ
TFDIR
0
13.02.2005
17:31:57
3072
4
Prg
SAPLAPAR_EBPP_SERVICES
4
03.01.2007
11:23:55
114688
E
5
Typ
T042ZEBPP
0
08.01.2002
14:42:24
2048
6
Typ
T020
0
24.02.1999
03:17:19
3072
7
Typ
RFOPT2
0
11.12.2003
15:00:17
5120
8
Prg
SAPFF001
0
22.05.2007
11:37:49
195584
E
9
Typ
SWOTOBJID
0
04.05.1995
15:20:52
2048
10
Prg
SAPLSWOR
10
10.01.2007
12:33:34
292864
E
11
Typ
TFBUF
0
30.11.1998
22:08:34
3072
12
Typ
ACC_KONTEXT
0
08.01.2003
17:30:26
3072
13
Typ
BKPF
0
13.03.2006
11:01:29
18432
14
Prg
SAPLFACSCORE
14
01.12.2006
22:00:12
13312
E
15
Typ
T001
0
25.08.2005
22:03:13
13312
16
Prg
SAPLACHD
16
03.01.2007
11:23:55
51200
E
17
Prg
SAPFSPOR
0
09.09.2004
14:18:32
15360
E
18
Prg
SAPLSCNT
18
18.02.2005
14:16:06
30720
E
19
Typ
DYCBOX
0
20.08.1998
11:16:53
3072
20
Prg
SAPLSVSM
20
18.02.2005
14:16:06
27648
E
21
Prg
SAPLSGUI
21
10.01.2007
12:33:33
82944
E
22
Prg
SAPLSTTM
22
05.07.2005
13:10:18
69632
E
23
Prg
SAPLSBDC
23
05.07.2005
13:10:18
44032
E
24
Prg
CL_DATAPROVIDER===============CP
24
28.02.2005
21:00:46
49152
E
25
Prg
%_CCNTL
24
18.02.2005
14:15:08
15360
E
26
Typ
OBJ_RECORD
0
14.02.1998
08:30:43
2048
27
Prg
SAPLSTUP
27
08.03.2005
19:04:31
73728
E
28
Prg
SAPLCNDP
28
01.12.2006
22:04:33
193536
E
29
Prg
SAPSHDTV
18
05.01.2005
16:26:16
33792
E
30
Typ
SHDSTU
0
14.12.1998
23:15:34
2048
31
Typ
SHDSTCIU
0
14.12.1998
23:15:34
2048
32
Prg
SAPFGUICNTL
0
18.02.2005
14:15:08
24576
E
33
Prg
SAPLOLEA
33
05.07.2005
13:10:18
96256
E
34
Prg
SAPLSFES
34
10.01.2007
13:26:20
256000
E
35
Prg
SAPLSPLUGIN
35
09.09.2004
14:18:36
8192
E
36
Typ
ARFCRDATA
0
13.02.2005
18:20:24
7168
37
Prg
SAPLGRFC
37
13.02.2005
18:20:25
16384
E
38
Typ
SWCBCONT
0
15.11.2000
17:55:11
3072
39
Typ
OLE_VERBS
0
04.04.1995
16:02:20
2048
40
Typ
OLE_PA
0
04.04.1995
16:02:19
2048
41
Typ
ACGL_HEAD
0
11.12.2003
14:59:21
8192
42
Typ
RF05A
0
11.04.2005
11:50:21
38912
43
Typ
TCURC
0
01.12.1999
12:14:40
2048
44
Prg
SAPLFAGL_ACTIVATION_SERVICES
44
30.04.2007
17:00:55
45056
E
45
Prg
SAPLSTR9
45
09.05.2006
10:39:47
39936
E
46
Prg
CONTEXT_X_TR_SYS_PARAMS
45
09.05.2006
10:39:47
40960
E
47
Typ
TCONT
0
09.09.2004
14:18:43
2048
48
Typ
CONTEXTB
0
09.09.2004
14:15:52
6144
49
Typ
FAGL_ACTIVEC
0
19.08.2004
16:55:10
5120
50
Typ
FAGL_CHECK_SETUP
0
11.12.2003
15:01:05
2048
51
Prg
SAPLSHD0
51
03.01.2007
06:52:22
232448
E
52
Prg
SAPLBFFM3
52
10.01.2007
13:15:21
169984
E
53
Typ
OFIWA
0
15.04.1998
00:11:05
2048
54
Typ
FTEXTS
0
20.08.2001
12:13:26
3072
55
Prg
SAPLITSR
55
10.01.2007
14:23:52
107520
E
56
Typ
FMRFC
0
13.08.1997
12:32:59
2048
57
Typ
TBE01
0
20.01.2003
16:41:38
2048
58
Typ
TBE31
0
03.09.1997
03:01:11
2048
59
Typ
TBE31
0
03.09.1997
03:01:11
2048
60
Typ
TBE11
0
03.09.1997
03:01:06
2048
61
Prg
CONTEXT_X_SP_INFO
55Hello Sowmya
The BAdI BADI_LAYER is not defined for <b>Multiple-Use</b> (see checkbox on tabstrip <i>Attributes</i>).
Apparently you have created <i>several </i>implementation of this BAdI and activated <i>several </i>(at least 2) of these implementations.
If you inactivate all except a single implementation the BAdI (and all transactions using this BAdI) should work again.
Regards
Uwe -
screen in se18 and se19 in ECC6.0 is different from ECC5.0
so please guide me step by step to build badi in ecc6.0
rahul siemensHi,
if that is the case then you can use "MB_DOCUMENT_BADI " and the method is MB_DOCUMENT_BEFORE_UPDATE..
Create a custom function mdoule and then call the FM in this method..
CALL FUNCTION 'ZTEST' in separate task 'ZTEST'.
Now in the function module write your logic to update the custom table...
Regards,
Nagaraj -
Dear all,
I have created new BADI Z_ME_PROCESS_PO_CUST in spro :Materials management=>Purchasing=>Business And-ins for Purchasing=>Badi:Enhance processing of Enjoy purchase order
But I can not active this BADI in se19. SAP give me an information:Implementation Z_ME_PROCESS_PO_CUST migrated (see long text for instructions)
Enhancement Implementation:Con_FIN_Subcontract ,I don't know how to do ?
Could you please give me some help.
Thanks in advance.
Best Regards,
MerryHi Merry,
I encountered the same problems as you,
I want to say when we changed the 'Multiple use' is selectd system is not problems?
What can you do it ? can you share your's experience on here ?
BAdi - ME_PROCESS_PO_CUST 不能触发
Thank you very much !
Regards,
Alex -
Why my activated CTS BADI is not working ?
Hello,
I'm using the BADi CTS_EXPORT_FEEDBACK. To do this, I used the transaction SE19, created a new implementation, add my own code and activated implementation, class and method.
The problem is that when I export an order, the code I've written is not run.
My BADI is activated and I noticed that in the transport protocol new lines appears :
DEV Developpement
Checks at Operating System Level 03.09.2010 16:39:00 (0) Successfully Completed
Pre-Export Methods 03.09.2010 16:39:06 (0) Successfully Completed
Export 03.09.2010 16:39:12 (0) Successfully Completed
Import steps not specific to transport request
Feedback after export or import 03.09.2010 16:39:13 (0) Successfully Completed
INFORM SAP-SYSTEM OF TP TERMINATION
Transport request : ALL
Start: Executing method FEEDBACK_AFTER_EXPORT for business add-on CTS_EXPORT_FEEDBACK
End: Executing method FEEDBACK_AFTER_EXPORT for business add-on CTS_EXPORT_FEEDBACK
INFORM SAP-SYSTEM OF TP TERMINATION
End date and time : 20100903163913
Ended with return code: ===> 0 <===
I tried in my code to write in DB for example but no lines are added. My code works fine when I'me testing the BADI.
So it's very strange, everything seems to be activated and running but nothings done.
Another info, the BADI is launched from the program RDDFDBCK (l.348) and when I test this part of the code (call function...) everythings working fine...
Any idea ?
Thanks in advance.
SimonOk, I solved the problem Myself.
If anybody has the same problem.. here is the solution.
The job RDDFDBCK is running in backgroung. I ran a DEBUG thanks to the tip in this page : [SDN|http://wihttp//wiki.sdn.sap.com/wiki/display/ABAP/ABAP%20Debugger#ABAPDebugger-HowdoIdebugrunningbackgroundprocessesorasynchronousprocesses%3F]
I created a block While l_int = 0. Endwhile. In my BADI implementation in order to make the job duration long enough to enter in debug with SM50.
Here I saw that my SELECT didn't returning lines.
Finally, I found in SM37 that the main job was launched with the mandant 000 => and my tables contained a field MDNT.
So the BADI was launched but nothing was done cause to the mandant. I just removed the field MDNT of my customs tables to solve the problem.
Simon -
Creating BADIs in ECC6.0
Hello Everyone,
As we all know that Badis definition and Badis implementation outlook in 4.7 are different in 6.0
I want to ask that in 6.0 can we create classic badis or not.
Suppose we go to tcode se18 in ecc6.0 and we have to create one badi .
Then procedure is that create is available for Enhancement spot only.
So we create a Enhancement spot and inside that we create a BADI definition and interface.
We make it activate also and now our BADI definition is been created.
Suppose now i have to implement this BADI.
Then when i go to tcode Se19.
in implementation part clicking radio button classic badis and giving my badi name and executing create implementation then it is giving error and saying that BADI doesnot exist.
so how to implement our badi but if i give any standard badi eg in MB_MIGO_BADI and execute create implementation,it is working fine.
Please tell me answer how to implement the user created badi in se19.
IF we have to click radio button New badi and give our enhancement spot inside it that means in ecc6.0 onwards we will implementing our badi through enhancement spot only.
Directly giving the BADI name is not possible and it is only possible for the BADIs given by SAP.
AM i right ?
if i am wrong then please give me the clarification.
Thanks a lot.
<Manish>hi manish,
the procedure u used to create is correct after creating the badi in se18 i.e. throug enhancement spot
implement the customised badi through se19
i.e. dont enter the badi name in classical badi enter the badi name in new implementation then there a pop dialog box appears there u has to enter the implementation name and press enter by this procedure u will not get any errors.
all the best,
vinu karthik -
How can i active the BADI 'LE_SHP_GOODSMOVEMENT' in IMG?
I have try LE_SHP_GOODSMOVEMENT in my IDES,it can work.
But when i goto the develop enviorment,creat a new customer BADI and activeit.
When i come to DEBUG mode,it can not be touch off.
I guess the develop enviorment do not configure this BADI Defination.
How can I handle it?
In T-CODE SPRO?
Or any other.
Tks a million~~~Hello,
Hope you implemented the BADI in SE19 and activated the Method which u implemented within the BADI .
Would you please activate the Implementatin of the BADI also .......(Better go to se80 and provide u r implementaion name activate everything and come to SE19 activate the BADI IMplementation )
Regards -
Hi,
I know the name of a BADI that has to be used, but I am unable to find the IMG activity corresponding to that, to create an implementation.
Can you please suggest how I can find it ?
Thanks in advance,
ArchanaHello Archana,
One way is to go in IMG by module-wise and searching for it manually...
To create an implementation of the BADI we can go to Se19...give a name and give create ..and when the definitopn window pops up..give the name of the BADI for which the implemetation needs to be done....(Pls check in Se18 if the BADI exists...also there are some cases where an implementation of a BADI cannot be done since the BADI is for SAP use only or if the BADI doesnot support multiple instances)
Please can you revert the requirement for the check using IMG Activity..since we can create implementations through se19 (because we already have a BADI name)
Regards
Byju -
Hi,
SRM 5.0, classic
How do I get the list of 'activated' BADIs in SRM ?
-PranavView V_EXT_ACT should give you the active BADI's.
Regards, IA -
Activating a BAdi for Appraisal
Hi,
I am new to working with SAP's new appraisal model. I need some help as to implementing some BAdi to enhance the layout of the appraisal form. There is 2 parts to my problem.
1. The comment field of the appraisaler is a bit short. I want to enhance it using the badi to extend the length of the field.
2. How to select the implemented badi in the appraisal catalog screen.
If can provide me with a step by step example from creating the Badi to implementing it in Appraial catalog, it will be a great help to me.
Points will be awarded...
Thanks in advance.
LawrenceHi,
Have a look BADI HRHAP00_ACC_HEADER .
Implementing Business Add-Ins (BADI)
The use of object orientated code within SAP has lead to new method of enhancing standard SAP code called
Business Add-Ins or BADI's for short. Although the implementation concept is based on classes, methods and
inheritance you do not really have to understand this fully to implement a BADI. Simply think of methods
as a function module with the same import and export parameters and follow the simple instructions below.
Steps:
1. Execute Business Add-In(BADI) transaction SE18
2. Enter BADI name i.e. HRHAP00_ACC_HEADER and press the display
button
3. Select menu option Implementation->Create
4. Give implementation a name such as ZHRHAP00_ACC_HEADER
5. You can now make any changes you require to the BADI within this
implementation, for example choose the Interface tab
6. Double click on the method you want to change, you can now enter
any code you require.
7. Please note to find out what import and export parameters a
method has got return the original BADI definition
(i.e. HRHAP00_ACC_HEADER) and double click on the method name
8. When changes have been made activate the implementation
OSA
See below link for more info:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0456c54-0901-0010-f0b3-cd765fb99702
Step by step proc
http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
Regards
Kiran Sure -
BADI for Address Check in PA30 in ECC6.0
Hi Friends,
Is there any BADI for Address Check in PA30 in ECC6.0 similar to what we have in BP transaction in ECC6.0.
Thanks,
Pradeepcheck these...
Enhancement/ Business Add-in Description
Enhancement
PBASRP01 PA: User exit distributed reporting
PBAS0002 PA: Enhancements for Personnel Administration - Menu
PBAS0001 PA: Pers.Admin./Recruitment: Default values and checks
PARA0002 Enhancement for Calculating Annual Salary; IT0008,14,15
PARA0001 Enhancement for Determining the Number of Periods
HRRPAI01 User exit for FB HR_ENTRY_DATE and HR_LEAVING_DATE
HRPC0001 HR: PC download authorization
HRPBAS01 User Exit for HR Master Data
Business Add-in
HRPAD00_PREM Definition of User Exit for Collective Search Help PREM
HRPAD00_RECOG_SCREEN Employee Recognition Screen
HRPADUS_PBAS_0001 Customer Exit for Message handling
HRPAD_SUBTY_CHECK HR: Master Data, Subtype Check
HR_F4_GET_SUBTYPE HR: Entry help for subtypes
HR_FAST_ACTION_CHECK Check fields on the fast entry screen
HR_INDVAL HR: Indirect wage type valuation
HR_SET_PKGAB
HRPAYXX_DELETE_PERNR BAdI for Reports Deleting Personnel Numbers
HRPAD00_PAPM Definition of User Exit for Collective Search Help PAPM
HRPAD00_GET_AF_0008 Additional Fields for Basic Pay Infotype (0008)
HRPAD00_ENTRY_LEAVE HR_ENTRY_DATE and HR_LEAVING_DATE
HRPAD00_ADRS HR: Address formatting
HRPAD00MGEACTIVATION Activation Action BAdI for Global Employees
HRPAD00INFTY Update / Infotype maintenance
HRPAD00AUTH_TIME Time Logic in the PA Authorization Check
HRPAD00AUTH_RECORD Spanish Data Privacy Law: Exit for Recording
HRPAD00AUTH_CHECK HR: Authorization Check
HRIV_REDUCE_AMOUNT Reduction within Indirect Valuation
No.of Exits: 8
No.of BADis: 19 -
Check active implementation in badi
Hi Expert,
Pl's let me know how to I check active implementation in badi in ECC6.0.
I have tried to find the solution by using call function 'SXC_EXIT_CHECK_ACTIVE' , as used in previous version of the server.
But this is not helping me out.
Kindly let me know if there exists a way to check the active implementations in badi.
Tx
KshitijaCan you not do this from SE19? If you know the BADI definition name just do an F4 on the implementation, and put in the definition name, and select Active Only option, and you should see the list.
Albert -
Creation of BADI definition in ECC6.0
Experts,
How to create a custom badi in ECC6.0 and I want to implement with filter functionality as well.
How can I do that in ECC6.0? I have gone through some of the docs which I got from SDN itself.
But, those are not helpful to me.
Please help me....
Thanks in ADVANCE...
Sridhar.....hello sridhar,
in ECC 6.0 u cant create BADI directly as in 4.7 ,
u have to create badi definition as part of enhancement spot
Either create an enhancement spot or process an enhancement spot that already exists. There you can create BAdI definitions as part of the enhancement spot, once created enhancement then u can add badi definition and then filter to it
regards
afzal -
How can create badi in version ECC6.0
Hi All,
How can u crate Badi in ECC6.0.We r in Ecc6.o.Ofter giving SE18 and enter badi name and press create button.It will not accept to creat the badi instead of dey giving error(we have to create first enhancement spot).
Coupd any one help regarding this.
ThanksHello Anil,
In SE18 transaction try using the Menu Path
Utilities-Create Classic Badi
With Regards
Avisesh. -
Error message in a BADI getting displayed in a popup instead of status bar
Hello All,
I have implemented a BADI in ECC6 to prevent the change of formula in ERP from transaction O3I8.
The BADI gets called on clicking 'Save' from transaction o3I8.
Within the BADI i am giving an error message using the following command:
Message e000(ZABC) .
However , the message gets displayed in a pop up instead of the status bar .
The same is for information and warning messages.
Any suggestions on how to display them in the status bar ?
TIA
Regards,
VartikaHi Brad,
The checkbox to display messages in pop-up is already switched off.
Still themessages are getting displayed in pop-up.
Regards,
Vartika
Maybe you are looking for
-
How do I drag and drop text in Trail Mix? It doesn't work.
When I highlight the text snippet I want if I left click or right click and hold control it just disappears. Are there any tutorials for Trail Mix? I can't find any help files.
-
IMac shuts down after removing Mini DisplayPort to SVGA
Hi, The last couple of years I have worked with a 27 inch iMac in combination with a HP 27 inch monitor. This monitor is connected via a Mini Displayport to SVGA connector. Because I am going to use this external monitor anymore, I disconnected it to
-
I am upgrading my computer. That being said, I want all my site profiles to transfer to my new computer in Dreamweaver. Will I have to set up my sites in my Dreamweaver?
-
Manual Rebate Payment - not able to create
Dear Friends , I am trying to create manual rebate payment ( by clicking 'pay' buton in VBO2 screen ) . In the next screen that follows , the field in which I enter 'amount to be paid' ( field KONPD- BZWRT )is greyed out and the system g
-
how are macbook users getting the internet video playback to work? I copied files from the airbook library that were designated for flash and quickbook player. No luck. I am very disappointed. What I am reading is a blockage of Apple programming