BAdI- Call for DataSource Enhancement! - Where?
Hi,
i have a question ... i have implemented a filterbased BAdI to enhance DataSources. I have implemented BADI Definitions, Implentations etc ...
But, where is the Position where i should call this BAdI? Should i call it, in the Customerexit RSAP0001?
I thought, the new BAdI technology replaced the Customerexit RSAP0001.
I appreciate your help
regards
ergin
check the below paper:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7?quicklink=index&overridelayout=true
M.
Similar Messages
-
Creating BADI for datasource enhancement in CRM system
Hi,
I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for datasource enhancement in CRM.
Thanks in advance
MoumitaHi Kushal,
You can find the BADI name by,
Go to Transaction SE24
Enter the Object Type CL_EXITHANDLER and click on Display.
Double Click on method "GET_INSTANCE".
Put a Break-point on Call method cl_exithandler=>get_class_name_by_interface
Run RSA3 transaction and execute the DataSource.
The execution will stop at the break point.
Check the values of variable 'exit_name', it will give you the BADI name called at that time.
Thanks,
Kokila -
Creating BADI for datasource enhancement in CRM.
Hi,
I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for datasource enhancement in CRM.
Thanks in advance
MoumitaHi Prasad Reddy,
This are the available badis and exits for this t.code:
Enhancement/ Business Add-in Description
Enhancement
MGA00001 Material Master (Industry): Checks and Enhancements
MGA00002 Material Master (Industry): Number Assignment
MGA00003 Material Master (Industry and Retail): Number Display
Business Add-in
MG_MASS_NEWSEG User-Specific Fields & Segments in Mass Maintenance
MATGRP_SKU_UPD
CDT_CHECK_MATERIAL Checks for Existence of a Material in a CDT
BADI_MM_MATNR
BADI_MAT_F_SPEC_SEL BAdI for Material Special Field Selection
BADI_MATNR_CHECK_PVS
BADI_MATERIAL_REF Addition of customer-defined default data for material
BADI_MATERIAL_OD
BADI_MATERIAL_CHECK Enhanced checks for material master table
BADI_GTIN_VARIANT
BADI_EAN_SYSTEMATIC
o.of Exits: 3
o.of BADis: 11
Find the Exact exits and badis for ur requirement.
How to fine the exact badi:
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any
transaction
Rgds,
P.Naganjana Reddy
if you follow this 7 steps, you will find a suitable BADI. -
How to write the ABAP code for Datasource Enhancment
Hi Team,
Can you please help me how to write the code for the enhancement i have made to the standard datasource
i have added the fields ZZPayer and ZZPayer_access.
I just wanted to know how to write the ABAP code to populate the data for these fields.
Regards,
Pradeep P.Hi
From a performance point of view would like to suggest a few changes :
WHEN '<DS name>'.
select zzfields from <table> into itab
for all entries in c_t_data where <condition>.
If sy_subrc = 0.
loop at c_t_data assiging f_c_t_data.
read itab into wa_itab where key = f_c_t_data-key.
f_c_t_data-zzfield = wa-itab-zzfield.
endloop.
refresh itab.
regards,
aparna
endif. -
High level estimation for datasource enhancement
hi,
I have been assigned in supporting project recenlttly. Now we are going to data source enhancement(we need one more field i.e juridiction code for tax calculation, Datasource is 0FI_GL_4), we need to high level esstimation for the procedure and time duration for each process (Devolepment to Prod).
Can any one help me in this concern......
Thanks,
ShalinyShaliny,
If the field is ready available to add with no hicups, everything can be done in 3 days.
Well, if you need to go for an customer exit during enhancement, you need at least 15 days which includes testing also.
It generally depends on how complex it is expected to be. But have a buffer of atleast 2 days after completion from your side. -
Need ABAP code for Datasource Enhancement
Hi All,
I need no Enhance the WBS Element(PS_PSP_PNR) to2 LIS_02_ITM Datasource
the table EKKN Having WBS element
From EKKN Table We have to take the filed Append to the2LIS_02_ITM datasource
Please any one give me ABAP code which is write in CMOD
Thanks........
Regards!
MalliHi,
See SAP Help
http://help.sap.com/saphelp_nw04s/helpdata/en/6e/fe6e420f00d242e10000000a1550b0/content.htm
See the simple example code, so follow the same.Take ABAPer help, don't use select and end select.
CASE i_datasource.
Data: l_s_data1 LIKE mc13vd0itm,
l_tabix LIKE sy-tabix,
WHEN '2LIS_13_VDITM'.
LOOP AT c_t_data INTO l_s_data1.
l_tabix = sy-tabix.
SELECT SINGLE auart INTO l_s_data1-zzprdtyp FROM vbak
WHERE vbeln = l_s_data1-aubel.
IF sy-subrc = 0.
MODIFY c_t_data FROM l_s_data1 INDEX l_tabix.
ENDIF.
ENDLOOP.
ENDCASE.
Data: l_s_data18 LIKE mc12vc0itm ,
l_tabix LIKE sy-tabix.
WHEN '2LIS_12_VCITM' .
LOOP AT c_t_data INTO l_s_data18.
l_tabix = sy-tabix.
SELECT SINGLE ernam FROM ekko
INTO (l_s_data18-ernam)
WHERE ebeln = l_s_data18-vgbel .
IF sy-subrc = 0.
MODIFY c_t_data FROM l_s_data18 INDEX l_tabix.
ENDIF.
ENDLOOP.
See article on Step by Step Guide to Enhance a Data Source:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00c1f726-1dc2-2c10-f891-ddfbffdb1a46?quicklink=index&overridelayout=true
Thanks
Reddy -
CTBW in R/3 for DataSource Enhancement
Hi,
I have a requirement. I need to add Batch class Characteristics details (in TC- CL02) in the datasource in CTBW.
Could you please help me out for the Step by Step solution.
Thanks & Regards,
PankajHi Pankaj:
Please refer to the article by Devesh Laad.
"Step by Step Guide to Extract Batch Master Data via Generic and Classification Datasource to BW"
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0a8b9c1-dee5-2d10-feb5-9b0d54126782?quicklink=index&overridelayout=true
Regards,
Francisco Milán. -
CRM Datasource enhancement using BADI
Hi Guys,
There is a lot of confusion among our BW community here about the implementation of the "CRM_BWA_MFLOW" BADI to enhance the datasources. It would be a great service is someone can clear the fog on this.
The steps that I followed in doing this are
1. Appended the standard datasource structure with the additional fields that need to be populated.
2. Unhid the fields in the transaction RSA6.
3. Created an implementation of the BADI "CRM_BWA_MFLOW" and tried to map the fields to the append structure.
This is where I am stranded. How do we map the fields from the BDoc to the append structure fields. If someone can provide with a sample code with some documentation, that would be a great help for many of us here.
I have earlier implemented the User exit to enahnce the datasource but it really is a big pain, especially when you know that using the BAdi can be easier.
Really appreciate your contribtion.
Donivhi,
sample code can be found in the BadI, somewhere go to or utility - sample code, it seems quite similar with old zxrsau01. sap gave us note 850817 when suggest using BadI for certain case, take a look :
850817-CRM-BW: Using BDocs for the enhancements in BADi
https://websmp103.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200000232372005
692195-FAQ: Sales Analytics and CRM-BW data Extraction
https://websmp103.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012003146900000332772003 -
Sample Code for CRM enhancement in BADI
hi,
can anybody please give me sample code for BADI for CRM enhancement.
i have added couple of z field in a extract structure. now i have to write code in BADI to populate those fields.
please do not send code for user exit.
Regards
SubrataHi Aviral,
Please consider below thread :
http://scn.sap.com/thread/2069370
Best regards - Christophe -
Bad performance when calling a function in where clause
Hi All,
I have a performance problem when executing a query that contains a function call in my where clause.
I have a query with some joins and a where clause with some regular filters. But one of these filters is a function, and its input parameters are columns of the tables used in the query.
When I run it with only a few rows in the tables, it goes ok. But as the number of rows grows, performance falls geometrically, even when my where clause filters the result to only a few rows.
If I take the function call off of the where clause, then run the query and then call the function for each returned row, performance is ok. Even when the number of returned rows is big.
But I need the function call to be in the where clause, because I can't build a procedure to execute it.
Does anyone have any clue on how to improve performance?
Thanks,
RafaelYou have given very little information...
>
If I take the function call off of the where clause, then run the query and then call the function for each returned row, performance is ok. Even when the number of returned rows is big. Can you describe how you measured the performance for a big result set without the function? For example lets say there had been 10.000 rows returned (which is not really big, but it is astarting point). Did you see all 10.000 rows? A typical mistake is to execute the query in some tool like Oracle SQL Developer or TOAD and measure how fast the first couple of rows are returned. Not the performance of the full select.
As you can see from this little detail there are many questions that you need to address first before we can drill down to the root of your problem. Best way is to go through the thread that Centinul linked and provide all that information first. During the cause of that you might discover that you learn things on the way that help a lot for later tuning problems/approaches.
Edited by: Sven W. on Aug 17, 2009 5:16 PM -
I downloaded the IOS7 and I recently started seeing that every tim I revived a message everyone would be able to see it, I tired looking for the I'm not sure what to call it in messages, where no one can read my messages unless I open my phone. Any help? I really don't want anyone ready what I get from other people, its emrassing, when I get a text from someone and it's personal, and someone could go look at my phone while its charging and read the message. Please help!!!! How do I disable it, If I can.
Hello KenyaJohn,
You may benefit from disabling Show on Lock Screen for Messages and Mail in Settings -> Notification Center -> Mail/Messages.
You can disable Show on Lock Screen for a particular app in Settings > Notification Center > <app name>.
iOS: Understanding notifications
http://support.apple.com/kb/HT3576
Cheers,
Allen -
NEED DEMO FOR APPLE TV AT HOME SITE......... HAVE ANY IDEA WHERE I DO CALL FOR THE SAME...........
This is a user forum. I suggest you call Apple or visit your local store to ask.
-
Programing paradigm for dynpro enhancements via BADI
Hi Experts,
do You know programing paradigm in system for dynpro enhancements via BADI ? I must extend a dynpro with a new subscreen tabstrip via BADI. I know BADI's very well but no in relation with dynpros.
Thank You in advance
PeterHi,
CRM_CUSTOMER_H_BADI / CRM_CUSTOMER_I_BADI - To change the name of custom-defined tab in lead either in header or item level.
hope it helps.
Regards
Sidd -
BADI CRM_BP_UIU_DEFAULTS or Component Enhancement?
Hello Experts,
I just came across BADI CRM_BP_UIU_DEFAULTS implementation.
While creating the account, to populate the fields in BP_ADDRESS with default values, this BADI can be used to implement that functionality.
This was the suggestion by our functional consultant.
I was thinking, why not to enhance the component and set the default values in DO_PREPARE_OUTPUT method or using some other methods.
I'm sorry for asking so stupid question. But, it's been a question I was asked a few times. I thought it was becoz of performance issue. But, still I'm not sure.
Can someone please help me find out the reason why to go for BADI and not to enhance the component?
Thanks in advance.
-Ezhno.If there's a BADI I would go for the BADI, I understand it's a little weird, because the BADI's are placed in the standard component, so if you enhance the component and redefine the methods where the BADI's are called and put your logic there, the result will be pretty similar. Why you should redefine instead of use the BADI?, IMHO I don't think there's an exception, so as I said in the begining I would go for the BADI as the behaviour of the UI can change for notes, SP or ehp, if you you have the component redefined maybe you lose this functionality even if you called the SUPER properly and SAP support you, but, if you are using a BADI and using it as the way is meant, SAP will support you or at least they won't have the excuse to not support you
Cheers!
Luis -
Different ways to Datasource Enhancement
I know DS enhancement can be done through ABAP Statement CASE,ENDCASE,WHEN. I came to know that this is old technique to enhance the datasource as it makes the code quite messy if several developers work on the same code.
I came across one document on SDN where we create a new program for each datasource which is independent from other enhancement.
I just want to know how this program works and the difference between this technique and old technique as i have limited ABAP knowledge.
What are the exact challenges that we come across when we use CASE,ENDCASE,WHEN statements.
Edited by: Murali K on Jun 1, 2010 6:31 AMHi Murli,
1) Datasource enhancement previously was done using CMOD Still many organizatins continue with this approach.
Here you can get option to write code for your appended field in ur Standard datsource where you can write select statements etc.
2) Now SAP is recommending to Write Codes using BADI .this approach helps to maintain individual implementations for each data source enhancement
This methods advantage over previous CMOD method is that ,in CMOD a single include will contain all the ABAP coding (this will create problem in marinating the versions for developers).specially while you are transporting the CMOD code to test and prod systems.
With the new BADI method you can avoid this problem as individual implementations can be transported independently without creating conflicts.
Thanks and Regards
Arun
Maybe you are looking for
-
Whats the difference between MobileMe Mail forums 960 and 961?
There are two MobileMe Mail forums. One is under "MobileMe on www.me.com" and the other is under "MobileMe on my Mac". There isn't really a new desktop mail application is there? Or am I living in a cave, and just didn't notice the update/announcemen
-
LaserJet Pro CP1525nw cannot connect to new router (Home Hub 2000)
In December, we replaced everything EXCEPT our LaserJet Pro CP1525nw colour printer - new laptop (Dell Inspirion 15), new operating system (Windows 8.1 - 64 bit), new internet provider (Bell) and new wireless router (Home Hub 2000). Immediately, we w
-
Can you share video's on the trial version. If so how?
Can you share a video on the trail version, if so how. Can you share a video on the purchased version?
-
Deployment problem in debug mode
Hi, I developed a project in XP and moved to a laptop with vista. I am able to run (except *.exe) all files but I am not able run debug mode. I get the error: Deploying application in domain failed; could not rename C:\program files\sun\creator2_1\su
-
Hi abapers menu exit how to create for a z program
hi all gurus, i want to create an user exit , how to implement menu exit and customer exit in a z program plz let me know steps by step plz let me know