[Enhancement in BW]: How to use BaDI : RSU5_SAPI_BADI
Hi Everybody,
Right now, could you kindly please tell me how to i use customer exit but using BADI, particularly for BADI : RSU5_SAPI_BADI.
<b>I just wanna use the customer exit on variable (variable user-exit).</b>
So far i've tried these steps (might you correct me/advise):
1. tcode : SE18
2. Enter the Badi Name : RSU5_SAPI_BADI
3. (Toolbar) enhancement implementation -> Create
4. ... (After that i don't know what i've to do ..)
Could you tell me step-by-step to make it ?
Such as what i should fill-in for Implementation Name and any parameter should i fill in there and how to debug it ???
Many-many thanks all for the attention.
Hopefully i can make it :).
Kind regards,
Niel.
Check out this link:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7</a>
Similar Messages
-
HR Master Data Enhancement using BAdi RSU5_SAPI_BADI.
Hi Experts,
I am trying to use first time BAdi 'RSU5_SAPI_BADI' instead of RSAP0001 for enhancing HR Master data. I have enhanced the structure and I have created implemention method for BAdi and activated fine. Then I am not sure about the next step, I did search SDN but this point is not clear. Where is the link between these two things between Structure and the method, how is it called to populate the data. Because When I run RSA3, it shows my new field with blanks. So I am missing some thing that integrates. IF some one has implemented this please let me know. Your help is appreciated.
Thanks!
Moorthy
I was able to populate the new fields only when I use the structure in one place ie in BAdI. I mean, two fields were populating using user exit and I was trying two fields using BAdI for the same structure. When I tried all fields from BAdI only then it worked. So is my assumtion correct that we should either use user exit or BAdI for the same structure?
Message was edited by:
MoorthyCreated one method for each datasource and is working fine.
-
How to: Using BADI for reporting variables
I am familiar with using the exit RSR0001. However I never used a BADI to implement such a variable.
Is there some information available to get me started?Hi,
These should help you:
[Implementing a Business Add In (BAdI) in an Enhancement|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0456c54-0901-0010-f0b3-cd765fb99702]
[Enhancing DataSources with BAdI RSU5_SAPI_BADI|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7]
Even check these blogs:
[Which carries stronger SAP "guarantees": BAdI's or Exits?|Which carries stronger SAP "guarantees": BAdI's or Exits?]
[SAP Network Blog: A new kid(BAdI) in town|A new kid(BAdI) in town]
Cheers,
Habeeb -
How to use BADI FI_AUTHORITY_ITEM (New to badi's)
Hi all,
I don't know if this is 100% FI (it is not for sure), but I believe that here is the best place to ask.
I'm trying to had a new authorization check on FB03.
The authorization check is regarding object F_BKPF_BLA (that exists, but is not checked on the standard call of FB03).
I've discovered the BADI FI_AUTHORITY_ITEM, but now I have one question. How do I had this check here? Is it necessary to create an ABAP with an authorization check?
Or is there any simplier solution?
Thanks!In the meanwhile, I've done some changes to the badi and implement it.
The problem is that, I can't even make a breackpoint in the method implemented.
The code implemented was:
method IF_EX_FI_AUTHORITY_ITEM~FI_AUTHORITY_ITEM.
data: Doc_Type type bkpf-BLART.
select BLART from bkpf into doc_type
where BELNR = i_bseg-belnr.
endselect.
AUTHORITY-CHECK OBJECT 'F_BKPF_BLA'
ID 'ACTVT' FIELD i_beract
ID 'BRGRU' FIELD Doc_Type.
IF sy-subrc NE 0.
IF i_beract = '02'.
AUTHORITY-CHECK OBJECT 'F_BKPF_BLA'
ID 'ACTVT' FIELD '03'
ID 'BRGRU' FIELD Doc_Type.
IF sy-subrc NE 0.
c_rcode = 4.
ELSE.
c_bmodz = 'A'.
ENDIF.
ELSE.
c_rcode = 4.
ENDIF.
ENDIF.
endmethod.
In resume, it gets the document number and then it goes to BKPF to see the document type and checks if the user has the authorization using the object 'F_BKPF_BLA'.
Why isn't it working? -
hi,
can u tell me how to BADIs???Hi dhanunjaya
I have a few links for u! Just download the documents and have a reading. You will get an idea:
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
Reward points if helpful
Regards -
How to use E1BPPAREX - IDoc Segment enhancement
Hi,
can you provide me with some details on "how to use the E1BPPAREX" IDoc Segment ?
I want to enhance the standard PRICECATALOGUE02 IDoc with some customer defined fields.
There is a use of a STRUCTURE FIELD and 4 VALUEPARTS.
What kind of structure do i have to use ?
I red something about to enter 2 kind of structures ?
a) the first part = wrf_pricat_key*
b) second part = DDIC userdefined structure.
Thx,
GordonHi Gordon,
1. Map customer data in E1BPPAREX segment fields:
STRUCTURE CHAR 30 0 Structure name of BAPI table extension
VALUEPART1 CHAR 240 0 Data part of BAPI extension parameter
VALUEPART2 CHAR 240 0 Data part of BAPI extension parameter
VALUEPART3 CHAR 240 0 Data part of BAPI extension parameter
VALUEPART4 CHAR 240 0 Data part of BAPI extension parameter
2. Build a new implementationof BADI interface IF_EX_PRICAT_OUT_EXTIN (PRICAT_IN_EXTIN definition name) using SE19
3. Write the ABAP code for UPDATE_INBOUND_EXTENSIONIN method to manage your additional customer data:
UPDATE_INBOUND_EXTENSION: This method enables the data from the
ExtensionIn table parameter to be processed. This parameter may contain
customer-specific data that is either to be integrated into standard
tables in the price catalog, or stored in customer-defined tables.
BAPI_Table_Extensions are used for this integration into the standard
tables from the price catalog. These are enhancement concept objects for
BAPIs. SAP delivers them with the key elements, and customers enhance
them for their own fields in appends. The method receives the
Table_Extensions using the interface and then it can fill them. Once the
entries are returned after the method has been called, they are mixed
with the standard tables. If a customer wishes to update
customer-defined tables, a user-defined update module can be called in
the method and it will update the customer-defined tables.
When the method is called, the changing parameters are empty. They may
be filled in the method. They are used to provide customer-defined
fields in the standard tables. If entries are made in these structures
and tables, the 'entries_made' parameter must be set to 'X' so that the
entries are transferred from these structures and tables to the standard
tables in the price catalog. These parameters are BAPI table extensions.
These structures can be enhanced in the customer system with APPENDS.
This enhancement is exactly the same as the enhancement for the standard
tables involved. The customer-specific fields are transexported to the
standard tables after the method has been called using a
MOVE_CORRESPONDING. This involves the enhancement technology that
supports BAPIs in the standard system.
Reward points if useful.
Roger -
How to use a screen-field when applying BADI or User Exit to a T Code
Hi Experts,
I need your help on this problem.
I have created a BADI for the transaction code miro. I have got the Exit name on which the enhancement has to be done. I want to perform a check on a text field (Scrren field name INVFO-SGTXT).
When my break point occurs i enter INVFO-SGTXT in the field to check the value present in it. But it shows that no such field exists.
My Basic doubt is how to use a value entered in a text field in a tcode while performing a User Exit or BADI on it.
Do I have to declare it. If yes please mention how?
Thanks in advance guys.Hi,
The first question here would be... do you plan on having multiple implementations down the road because if not there really isn't any reason to create a BADI inside the exit. If that is the case then add the field as an importing parameter in your BADI interface and then you should be able to see it inside the BADI at your break-point.
Regards,
Ryan Crosby -
Use BADI to enhance main screen of T-CODE XK02
Hi everybody!
I want use badi to enhance main screen of XK02. (add button!)
I already found method of BADI.
But i make out!
I don't know how to using that method.
Please help me !
Thanks in Advance !Hi,
Try this..
Re: SE19 (BAdI Builder) Help for Vendor Master Screen Enhancement -
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 -
Data source enhancement using BADI
Hi,
We had a 2LIS_* extractor which is enhanced with ZZ fields.
I look for the sode in CMOD which i couldn't able to find any
My assumption is the data source is enhanced using BADI.....As i am not familiar with BADI's how can i create for my data source enhancement code in BADI
ThanksHi ,
Not sure on your question.
Is the Enhancement already done and you want to check whether it is done in BADI/CMOD.
Or
You want to populate the Data using BADI/CMOD.
In any case you can use CMOD or BADI to populate the data ,the recomendded is BADI which can be created in SE24..you can google for some Docs on its creation and steps to be followed.
And if tis CMOD you have to create a project and then write the code and for that also there are DOcs avaliable.
Rgds
SVU -
What are user exits & enhancements & how to use those .
What are user exits & enhancements & how to use those .
Hi,
BADI , Customer Exit / User Exit , Enhancement all are same.
Customer Exit & User Exit terms were earlier used in case of R/3. Now in ECC 6.0 they are known as
BADI means Business Add-Ins.
BADIs :
Use:
SAP provides multiple implementations of Business Add-Ins (BAdIs), which enhance the functions of the Configuration Control component.
In addition, there are multiple empty BAdIs available for implementing a customer-specific logic for special functions.
Pls. find listed below some important PP Enhancements / BADIs :
Exit name Short text
PPAPO002 Publication of APO Data in Transfer from APO to R/3
PPAPO003 Production Order R/3->APO: Check if Operation is APO-Re
PPAPO004 Planned Order Conversion from APO: New BOM Explosion?
PPAPO005 Enh. of Relationships in Proc. Order during Transfer to
PPAPO006 Influencing Initial Supply of Manufacturing Orders
PPAPO007 Overriding Checkbox Fields for Production Order APO ->
PPAPO008 Override Order Type for Planned Order Conversion
PPAPO009 Customer Exit for Addition of Components and Items
PPAPO010 Filtering Components out of Quantity Propagation
PPAPO011 Performance-Related Adjustment of Remaining Duration
PPCO0001 Application development: PP orders
PPCO0002 Check exit for setting delete mark / deletion indicator
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0005 Storage location/backflushing when order is created
PPCO0006 Enhancement to specify defaults for fields in order hea
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
PPCO0009 Enhancement in goods movements for prod. process order
PPCO0010 Enhancement in make-to-order production - Unit of measu
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determin
PPCO0014 Select process orders for external relationships
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document link
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0020 Process order: Display/change order header data
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks Changes to Order Components
PPCP0001 P.Cost Planning: Additional Cost Elements for Person
PPEACT01 Customer Fields at Mode D
PPECMP01 Customer Fields for CMP Node
PPECMP02 Customer Fields: CMP Variants
PPEGEN01 General Engineering Node: Customer Fields
PPEMPA01 MPA Customer Enhancement
PPEMPO01 Customer Enhancement for Material Planning Object
PPEMPO02 Customer Enhancement for Model
PPERES01 Customer Fields at RES Node
Alternately you can find User Exits / BADIs in TCode : SMOD ( SAP Enhancements)
Hope this helps.
Regards,
Tejas -
Data source Enhancements Using Badis
HI gurus,
Can you please let me know the process in detail to implement the data source enhancements using badi's.
Please provide me the step by step proceedure.
Appropriate answer will be highly rewarded.
Thanks,
Shashikanth.http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm
I have a few links for u! Just download the documents and have a reading. You will get an idea:
http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4493c4a6-0301-0010-62a2-efd6ded61e04
Reward points if helpful
Regards
Edited by: Aadil on Jan 23, 2008 8:42 AM -
How to use the Include Statement in the BADI
Dear All,
I am trying to implement the BADI. So i need to use the Include in the BADI.
How to use the Include statement in the BADI. I cant able to use it in the Public, Private and protected statement.
Where should i mention that,,,,
Thanks
YogeshHi Sharat,
Thanks for your reply.
I need to use the BADI HRWPC_PCR_APPR_FORM. In which the values are available in the Container. So if i need to use the container values then i need to use that include <cntain>.
Is there any possible ways to make it.
Thanks
Yogesh -
How to use the BADI WORKORDER_GOODSMVT to meet my requirement?
Hello Abapers,
My requirement is I need to display Batch Number in confirmation of production order(co15) which is entered in creation of production order(co01).While debugging the CO15,i got badi as WORKORDER_GOODSMVT.
I am new to BAdi,HOW to use this badi to meet my requirement.
Please help for me to solve my problem.
If any one implemented batch mangement in PP.Please tell the procedure how u achieved?
waiitng for your favourable replies
Regards
Maruthi.Hai,
IN my reuqiremnt,i used GOODS_RECEIPT method to meet my requirement.
Regards
Maruthi.K -
How to determine the purchasing group using BADI BBP_PGRP_FIND
Hello Friends
We use SRM Server 5.5 (Classic scenario).
As you know that, purchasing group has the responsible product categories in PPOMA_BBP, when user creates the shopping cart to determine the purchasing group.
In our case, we should determine the purchasing group using other criteria.
MM side is OK to determine the purchasing group using specific criteria.
Because Material Master has the purch. Group information.
In case of SRM, we should develop the logic using BBP_PGRP_FIND BADI.
But Im not sure how to use this badi.
We want to determine the purchasing group based on the following logic.
If described shopping cart without product ID
Do Standard purchasing group determination logic.
Else
Assign the purch group from MARC- EKGRP (Purchasing Group)
Is it possible to determine above the logic?
If yes, Could you give me some information?
Thank you,
Best regards,
SH
Message was edited by:
So Hee LeeThank you for your answer.
I found the way to develop the our logic using BADI: bbp_pgrp_find.
But Im not sure the following logic is correct.
To differentiate described req. or product id req, We check the E_ITEM PRODUCT using BBP_PD_SC_GETDETAIL.
IF E_ITEM PRODUCT is blank, Read the category ID to find the purchasing group.
To find the purch. Group, we can use FM: BBP_OM_DETERMINE_RESP_PGRP.
Import parameter: IS_RESP_ITEM_DATA Category _ID
Export parameter: ES_PURCH_DATA
ELSE
CALL the customer function to read the R/3 purchasing group from MARC- EKGRP
Search the HRT5500-TABNR using purchasing group from R/3.
Search the HRP5500 OBJID using HRT5500-TABNR
Call the FM: BBP_OM_DETERMINE_RESP_PGRP
Import parameter: IS_RESP_ITEM_DATA PROC_GROUP OBJID
Export parameter: ES_PURCH_DATA
Thank you
Best Regards
SH
Maybe you are looking for
-
Hi all, We have an odd happening in one of our video labs here at work. When launching AE CS3 (ver 8 i believe?) the tip of the day window pops up after the program launches, but it's blank. This happens on all but one of the machines in the lab.
-
Why does my drop down menu not have setup sync?
MY drop down menu in Firefox does not include setup sync. Do I have the latest version of firefox? I amd trying to sync info with my new laptop.
-
which is better macbook air or macbook pro ?
-
How to use special aggregation in bi beans
Dear Gurus: I am using Bi beans in a project, on cube has a banlance measure, I set the last() aggregation in olap option with OEM, But when I query this cube, this measure still use default sum(), So whould you please help me how to use this special
-
Hi, I know there are some Reports to execute which will delete Idocs. We have some Idocs that have status 51, and want to delete them. Any ideas?