New BADI concept in ECC 6.0
I am trying to gain an understanding of how I would implement one of the new BADIs in ECC 6.0 (badis implmented through and enhancement spot , get badi, call badi concept).
I am not looking for information on how to implement a classic badi through se18/se19.
I have also ready through the SAP help on the new badis and it is still not clear to me. So, please do not provide links to the standard SAP help. I have that.
I am wondering if anybody has a whitepaper, example, etc. that explains the details of how to implement, use, trigger the new badis linked to an enhancement spot.
Hi J.J,
enhancement spot
A repository object for the administration of explicitly created enhancement options. Enhancement spots are components of a tree structure hierarchy, of which the branches represent composite enhancement spots and the leaves are simple enhancement spots. Implicitly available enhancement options do not have any enhancement spots.
composite enhancement spot
Semantic combination of simple and other composite enhancement spots with the aim of providing structure.
simple enhancement spot
Reference to a set of enhancement spot element definitions. A simple enhancement spot can occur independently or as a component of a composite enhancement spot.
ENHANCEMENT-POINT
Defines a position in an ABAP program as an enhancement option,
at which one or more source code plug-ins can be inserted.
the syntax will be like
ENHANCEMENT-POINT enh_id SPOTS spot1 spot2 ...
STATIC
INCLUDE BOUND.
Enhancement Options
Definition
Enhancement options are positions in Repository objects where enhancements can be made. These options are either explicitly defined (by the developer) or exist implicitly. Explicit enhancement options are generally defined in a central initial system. Enhancements are made in follow-on systems.
Use
Explicit enhancement options can currently be defined by:
1. Explicitly flagging source code points or sections in ABAP programs. For an enhancement, these can be enhanced or replaced by source code plug-ins.
2. Including Business Add-Ins (BAdIs) in ABAP programs. These programs are then enhanced by object plug-ins with predefined interfaces.
Explicit enhancement options are managed by enhancement spots and enhanced by enhancement implementations.
Currently, implicit enhancement options are:
1. Specific options in ABAP programs such as the end of the program which can be enhanced by source code plug-ins.
2. Parameter interfaces of function modules, which can be enhanced with parameters.
3. Attributes and parameter interfaces of global classes, which can be enhanced with attributes or parameters.
Implicit enhancement options always exist and do not require enhancement spots. They are also enhanced by enhancement implementations.
BAdIs Embedded in the Enhancement Concept
Use
The definition of BAdIs is managed by enhancement spots. A simple enhancement spot for BAdIs can contain several BAdI definitions as enhancement spot element definitions. BAdIs that would otherwise be spread out in the system can be grouped together semantically.
This structuring is mirrored on the implementation side through the enhancement implementations. A BAdI can be implemented by several BAdI implementations that are managed by enhancement implementations. A simple enhancement implementation for object plug-ins can contain several BAdI implementations of an enhancement spot as enhancement implementation elements and can implement a BAdI multiple times. Therefore, several enhancement implementations can be assigned to one enhancement spot.
A BAdI is always assigned to the same package, like the enhancement spot, to which it belongs.
Example
The structuring features of BAdIs in enhancement spots can be of a technical or a subject nature.
If, in the definition of several BAdIs, you have the provision that they are to be used in the same context (this is a feature known only by the person who defines the BAdIs), they must be used by the same simple enhancement spot.
From a subject point of view, all BAdIs must then be grouped together by affiliation to functional units for example, payroll in combined enhancement spots.
Thanks and regards
suma sailaja pvn
Similar Messages
-
Hi Friends,
Could you please can any one explain me new GL concept in ECC6
Thanks & Regards,
Vas
Moderator: Please, search SDNHi,
Please go thru the below mentioned link.
http://help.sap.com/saphelp_erp60/helpdata/en/29/830e405c538f5ce10000000a155106/content.htm
Also you can refer the document AC210 - New General Ledger Accounting
Best Regards,
Madhu -
ECC 6.0 new BADI,BAPI
Hi,
I am a functional consultant and would like to know the new BAPI,BADI available when my system is upgraded from R/3 4.7V to ECC 6.0Kindly provide me also the functionality achieved by using the new BADI,BAPI in ECC 6.0
Moderator message: please search for available information/documentation.
Edited by: Thomas Zloch on Mar 16, 2011 3:44 PM1070629 FAQs: New general ledger migration
1113189 FAQ: Euro changeover in Slovakia
1539473 LCC optimization - General questions/answers (FAQ) -
Cant run Native SQL from the New BADI enhancements
I m trying to execute a Native SQL statement from the new BADI enhancement in ECC 6.0. Its very simple piece of code
data: v_count type i.
EXEC SQL.
SELECT zvbeln
INTO :v_count
FROM zvi2d
WHERE zvbeln = :'0000010476'.
ENDEXEC.
It compiles and runs perfectly fine in a regular program but in the BADI it keeps giving compile error "Field specification missing" on the SELECT zvbeln line.
In general things dont seem to work right at all in this BADI I dont understand what the problem is. This BADI is being used to populate the EDI Segments and gets called asynchronously
Thanks for readingwhy would you want to use Native SQL for this, why not just do this:
SELECT zvbeln
INTO v_count
FROM zvi2d
WHERE zvbeln = '0000010476'.
result will be the same. -
Classic BAdi and New BAdi ...
Hi all,
I have a question regarding the new BAdi concept using enhancement spots.
With the classic BAdi's once we create an implementation it will call up our implementation when the BADI class is been called.
But with the new concept we have to explicitly call the BAdi we created right ? doesn't this mean modifiying the standard code ( If there's no ehancement section or point )?
Can someone tell me whether there is another way to call our implementation by using GET BADI and CALL BADI statement without modifying standard code ( by creating an explicit enhancement).
Cheers,
D.hi,
Classic and new BAdIs differ in a number of features that are important for migration:
1. BAdI object
a. With classic BAdIs, a BAdI object is created by calling a factory method, and referenced via a reference variable of the type of the BAdI interface.
b. With new BAdIs, a BAdI object is created via the ABAP statement GET BADIas a handle for the calls of BAdI methods, and referenced via a reference variable of the type of the BAdI. A BAdI object is an instance of an internal BAdI class, which otherwise is invisible to the outside.
2. Passing comparison values for the filter
a. With the classical BAdIs, the filter values are stored in a structure and passed with the call of the BAdI methods.
b. With the new BAdIs, the comparison values for the filters used to search for implementations are passed when the BAdI object is created with the GET BADIstatement.
There is no way of migrating the call of the factory method one-to-one into the ABAP statement, because GET BADI can also return an existing BAdI object, which is not possible with the factory method.
3. Calling BAdI methods
Passing comparison values for the filter
a. A classic BAdI can be called only once and the call positions are registered centrally.
b. With new BAdIs, multiple calls are possible and the call positions are not registered centrally.
For the above reasons, an automatic call migration is not possible.
Have a look at below link.
http://help.sap.com/saphelp_nw2004s/helpdata/en/ee/6f3b42ea85b26be10000000a155106/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/4d3e42fc94aa04e10000000a1550b0/content.htm
I hope it helps.
Best Regards,
Reshma -
New OO concepts introduced in ECC 6.0
Hi All,
I want to know what all new object oriented concepts introduced into ECC 6.0 when compared to 4.7C version. Please provide the useful information.
ThanksRe: New OO concepts introduced in ECC 6.0
Regards
Anbu B -
Badi implementation in ECC 6 version using Enhancement spot
Hi,
I've to create an implementation for an already existing BADI in ECC 6.0 version.The interface method of the badi is getting called in main program in a standard include.Is it possible to create that using New badi Enhancement spot option in se19? If so where should i create the enhancement point because when i'm trying to create implementation i'm getting the message Enhancement point zbadi_le_shipment does not exist .
Thanks in advance
poornimaHi,
First u need to implement the BADI badi_le_shipment
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.badi_le_shipment and press the display
button
3. Select menu option Implementation->Create
4. Give implementation a name such as Zbadi_le_shipment
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. badi_le_shipment ) and double click on the method name.Under this AT_SAVE is the method put break point.
8. When changes have been made activate the implementation
YOu can go through these links...
http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
Regards
Kiran Sure -
Change dummy profit center to original in New GL Concept
Hello experts
We have implemented New GL Concept in ECC6.0. However, some of the documents posted into various GL accounts had gone to Dummy profit center. Is there any way such that already posted documents with dummy profit center can be assigned corresponding original profit center? As of now due to the common dummy profit center has been assigned to various entries, the plant wise reports are not able to display correct figures because dummy profit center is not apportioned to respective plants.
Similar case is also with Vendor and Customer account balances.
We had already gone trough few notes and one of them (1164356) suggests using a BAdI FAGL_MIGR_SUBST, but its scope / use is somewhat ambiguous. (It suggests some ABAP work in VALIDATE_ITEM method, although this method is not present in its interface.)
Kindly help as early as possible...
Thanks and Regards,
SrinivasHi
You are not clear on your post
1) whether you have implemented Document Slitting or not?
2) Mapped Zero Balance account or not and
3) Profit Center and Zero Balance account are checked in document soplitting charactreristiocs or not?
I am posting this reply based on the assumption that you have mapped the above configuration.
If You have assigned Dummy Profit center in FAGL_3KEH, this always overrides the profit center derived, and the system posts with a dummy profit center. Remove the FAGL_3KEH assignment if any so that the system posts to the correct profit Centers.
Now If you have made the configuration as discussed in points 1,2 3 and other document splitting configurations, then removing FAGL_3KEH will force system to look for the profit centers in all the line items and posts only when this is satisfied.
A pre requisite will be "Assign Scenarios and Customer Fields to Ledgers" in FA global Settings(New)> Ledgers>Ledger which should be "Profit Center".
As a concept you may not need assignment of FAGL_3KEH once you have implemented document Splitting.
Hope this clarifies your situation.
Don't Forget to award points
Sarma -
New GL Concept -Pre requisites & consequences
Hi,
Right now my client doesnot have New GL Concept,Now they wanted to plan at GL Account level and see the variancce report GL Account wise.
If i activate the New GL Concept now,what will happen? any conflicts between existing setup? what are the steps do i need to do if i wanted to do New GL Concept? Please guide me what are the Do's and Don's?
Kindly advice me..
Thanks
Supriyahii..
Check this link
www.saptechies.com/ecc-60-new-gl-functionality-and-general-faq/
Regards,
Aakash -
HI Friends,
can any one tell me what is the difference between normal G/L in 4.7EE and new G/L in ECC 6.0.
Thanks in Advance
RKHi,
Check out at
http://www.sap.com/solutions/business-suite/erp/financials/pdf/BWP_New_Gen_Ledger_Acct_Functions.pdf
Bye
Kayan -
Creation of "New Badi" with Multiple Use
Hi,
I am trying to create New badi within enhancement spot which is multiple use, problem here is the badi interface method has got some exporting parameters.
when i try to activate badi definition it is showing the error this type of interface which is having exporting or returning parameters cannot be used, however if i remove export parameters in the interface method, then i am able to activate the BADI definition.
Please suggest me, is it not possible to have badi interface method with exporting or returning parameters if it is Multiple Use Badi???
Thanks,
Kranthi.Answered my self.
it is the restriction. below is SAP documentations that explains the same
http://help.sap.com/saphelp_nw70/helpdata/en/e4/5c3642eca5033be10000000a1550b0/frameset.htm -
Kanban issue - Setting for new Kanban functionality in ECC 6.0
Hi, I am facing a problem while recieving stock from a production order. The system does not create a transfer requirement or a TO.
Let me give you a brief background.
This is a new functionality introduced in ECC 6.0 for working with kanban in WM.
Supply area is created for WM location.
Control cycle is created for material, supply area. Warehouse, storage type and Bin is maintained in control cycle record. When the GR is done for production order material is recieved in this bin.
1) Now when the Kanban is set empty a production order is automatically created.
2) Once the production order is confirmed the material automatically shows up in the bin.
A material document is created which shows IM movement type 101 and WM movement type 103. Also in material document Immediate auto TO checkmark is blank.
3) PROBLEM - System does not create a TR or a TO. the material automatically shows up in the Bin. How can we enable an auto TR and TO creation.
Following are the settings which I have already checked:
1) In IMG, WM movement type 103 has auto TO indicator set.
2) IM-WM interface for 102 movement type and 103 movement type is maintained.
The main problem is: Although the material document displays WM movement type 103 and the stock lies in WM bin, System never created a Transfer requirement or a Transfer order.
I would really appreciate if anyone can help me in this.
ThanksHello,
I am not sure about your settings, please refer below sap link
[Kanban Replenishment |http://help.sap.com/saphelp_47x200/helpdata/en/95/e81fa4f57011d194aa0000e83dcfd4/content.htm]
Regards
Pradeep Kumar -
Hi Gurus,
What is the Difference Between Leading Ledger and Non-Leading Ledger conecpt in New Gl concept.
regards
JKHi
Leading Ledger & Non Leading Ledger the difference can be summarized as
1. Different Fiscal year can be mapped ( Suppose you need a reporting in two Fiscal year like Jan-Dec & Apr-Mar, we can have on leading ledger (Jan-Dec) & on NonLeading ledger (Apr-Mar). It means when I am posting in Dec-07 on Leading ledger the period will be 12 (Jan-Dec) & in Nonleading ledger the period would be 9 (Apr-Mar). So that We can take Balance sheet for two seperate fiscal year Jan-Dec & APr-Mar.
2. Apart from above we can have different currency also.
In short prallel ledger (non leading ledger) had replace Special Purpose Ledger.
Thanks
Colin Thomas -
Major differences between GL and New GL concepts
Hai,
Please let me know the major differences between old and new gl concepts and if possible explain with few examples....
Thanks in advance.....
Regards
Moderator: Please, read and respect SDN rulesHi
Refer to the link below-
http://www.sap.com/solutions/business-suite/erp/financials/pdf/BWP_New_Gen_Ledger_Acct_Functions.pdf
Regards
Milind -
Migration of Standard Classic Badi to New Badi
hi,
Is it mandatory to migrate all standard classic badi's to New badi's in ECC6.0. I have read in the documentation only custom BADi's should be migrated.
Can we migrate Standard Classic badi's to New badi's, please provide the procedure for this.
when i am trying to do this in one way it is not allowing me to use the same class as classic badi used, so i have created custom class for this. Is it going to effect.Hi Phanindra,
Calling New badi's is much faster than calling clasic badi's. SAP never recommends to convert all classic Badi's to New Badi's rather you convert your own Badi's to New Badi's. You cant convert SAP classical BADI to New Badi. if you want to convert custom Badi, then please go through this below link
http://help.sap.com/saphelp_nw70/helpdata/EN/0e/4d3e42fc94aa04e10000000a1550b0/content.htm
Thanks,
Bishnu Dash
Maybe you are looking for
-
How to have different music library's on iPods using the same Apple ID
Hello. Me and my sister both have iPod 4th generations. Because of the timing of the purchases of our devices we use the same apple account. I would like to know how to have a different iTunes music library to her and if it will still keep the librar
-
How to update my list of bought products
a quick question how can I remove products from my app store list that I've downloaded for test purposes and removed from my Mac thx in advance for the info gr.Henny
-
Can you please put the 40,000 chips i bought for $4.99 on my account for the game called BIG FISH CASINO. I was charged but did not received the chips that i purchased :-(
-
Existing session is becoming null when returning from jsp
Hi Guys ! I have an urgent requirement to meet in few days from now and got stuck with session problem in servlet. Scenario :- For the first time when i call a servlet a new sessoin is created and after some validations i forward to a jsp which has s
-
See message subject -- it's all there. Don't tell me about "Bluetooth" or "WiFi" workarounds. Tell me WHEN there will be 64-bit USB drivers. Post relates to: Palm TX