on 10-28-2013 12:09 PM
Hi Experts,
My project team is using BADIs to enhance datasources and for customer exit variables at reporting level. I am unable to find the BADI name. Can anyone let me know how to see BADI which is being used for data sources enhancement and BADI used for customer exit variables.
Regards,
Mohammed.
Hi Raman/Suman,
I tried your steps before posting this question. For BADI name, my focus is on BW side.(customer exit for variables)
Let me explain you the scenario more clearly.
At ECC
we have a function module template z_datasource. And if we need enhancement for any datasource the template function module is copied and the replaced with the datasource name after Z_.
I have seen function modules exits with these naming convention for datasources but there is one data source which is enhance and whose name doesnt exist here.
One field is added in that datasource and i want to know from where that field is getting filled.
Please let me know how I can use debug mode in RSA3 and add that field as variable in debugger to find the values getting filled.
At BW
I am completely clueless which BADI they are using. There is a customer exit for calmonth. I want to see the code. I looked in CMOD but could not find.
Detailed and precise anwers are much appreciated.
Thanks & regards,
Mohammed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mohammed,
The enhancement for BEx variables in BW is RSR00001 and the customer exit is 'EXIT_SAPLRRS0_001'
The enhancement for enahncing the datasources in R/3 is RSAP0001 and following are the users exits:
- EXIT_SAPLRSAP_001 for transaction data,
- EXIT_SAPLRSAP_002 for master data,
- EXIT_SAPLRSAP_003 for texts (in older versions only, now use 002)
- EXIT_SAPLRSAP_004 for hierarchy
Thanks
Kush Kashyap
Hi Mohammed,
Also i have seen many projects using a kind of pattern for declaring customer exits. E.g. mine used a naming convention kind of approach in which if my BEx customer exit enables variable name was VAR_FISCYEAR then we just created a function module with the name ZEXIT_VAR_FISCYEAR or to generalize with the naming convention as ZEXIT_* . What this does is that now there is no need to go to CMOD everytime and write the code. Instead a code was written in CMOD once which looks for a function module which has ZEXIT_* in the beginning followed by the variable name for which you want to call the customer exit.
Coming back to your requirement, to get to the customer exit code, put a breakpoint in the 'EXIT_SAPLRRS0_001' exit and execute your report via RSRT. This will give you an idea about the configuration used in your project.
Thanks,
Kush
Customer exits are stored in CMOD only in BW side. You should choose your Project and enhancement of EXIT_SAPLRRS0_001. After that double click on ZXRSRU01. This will show you code for all your Customer exit variables.
For BADI based User exit variables : http://scn.sap.com/docs/DOC-31271
Regards,
Suman
I think you can get it in SE84.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thx everyone.
One more thing, for customer exit variables, in my CMOD its mentioned as "Use sub classes of class zcl_**** for variables.
Its again using code as zcl_****_ concatenated with variable name.
Can anyone tell what are classes and sub classes if they can explain.
Thanks a lot.
Mohammed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mohammed,
Search for classes with the name ZCL_<YourVariableName> in SE24. Or just do a F4 search in SE24 after entering *YourVariable* .
I hope your doubt is not about the concept of clasess and inheritance in ABAP, if that is the case then you will have to check ABAP forums or read documentation about ABAP Objects.
Thanks,
Kush
Hi Naveed,
Are you familiar with BADI Classes. if yes then you will understand about sub class.
Ex: we have Class: CL_EXITHANDLER. if this class was used in another class, in that case CL_EXITHANDLER is called as sub class.
For more details you can check at ABAP forum. You may get asap help.
Thanks
Check in SE19 and SE18 for RSU5_SAPI_BADI
Check this SAP Note 691154 also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Set breakpoint at: Class CL_EXITHANDLER, Method GET_INSTANCE, line 28, and check vaue of Variable EXIT_NAME.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naveed,
You can run your extractor at RSA3 with debug mode. thru that you will get the BADI name. take abaper help. might be useful.
Normally used BADI is - RSU5_SAPI_BADI,
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.