CRM BP Create/BADI/FM???
Hi,
When I am creating a BP via CRM SAP GUI, then based on a certain business partner type I need to go to a Z table and populate Legal Entity field on the Identification tab. Once I put in the BP Type, i need to use a BADI that would take this BP type and query my Z-table and populate the Legal Entity field automatically based on a value from the Z-table. Can someone help me with which BADI I need to use and/or which FM I need to call from a BADI. It is working in change mode.
For now,
I am using BADI:BUPA_ADDR_UPDATE~Change_before_update.
It works fine in the change mode when I call FM: 'BAPI_BUPA_CENTRAL_CHANGE' from inside this BADI.
It is the create that is not working for me.I have tried many other FMs, but no luck. Can someone please help.
Thanks
Shahid
Thank you very much for the reaply. Here is my scenario....Business Partners will be created through EDI as well as through Portal. We have seperated the common development objects from the two and will put them in via BADIs. Could the BDT approach work in this scneraio? I have never used BDT so I am not aware of how. The second aproach that Kiran mentioned here is to use the BADI and a *collect FM. I am going to go with this approach for now. Unless you guys point out that BDT approach will be better.
For the BADI: BUPA_OUTBOUND_IDENT , I did not find it in our CRM system. I was however able to find BADI: BUPA_IDENT_UPDATE. Is this what you meant?This only has the BP GUID as a paramter. Kiran, can you please specify which FMs I need to use to get the partner data from the GUID and the nwhich *collect FM i need to use to update the BUT000-legal_org field with data from my Z-table. My guess is that you meant BUP_BUPA_BUT000_COLLECT. If this is what you meant, then can you please help me on how I can pupulate the parameters. Any sample will help.
Thanks
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 create Bad Debits? in SAP
Hello Guru's
Wil anyone guide me the Configuration steps required for Debit memo and how to run the Business Process.
Award full points for the answer.Your subject line is 'create bad debits'. I have no idea what it means.
I presume your question is about Debit memo request.
It's a sale document type 'DR' and has following control settings
- Order billing type L2
- Billing block
If the prices calculated for the customer were too low (for example, calculated with the wrong scaled prices), you can create a debit memo request. The debit memo request can be blocked automatically so that can be checked. Once it has been approved, you can remove the block.
A debit memo request is a sales document like a standard order. The system uses the debit memo request to create a debit memo.
There is no movement of material.
The process is
Invoice (created with reference to) -> Debit memo request -> Debit note -
Creating BADI in ECC 6.0 version
hi guys,
Can any one help me,
1. when iam creating a BADI in ECC 6.0 version after giving the badi name and description, i dont find the INTERFACE tab.
CAN ANY ONE GIVE ME THE STEPS TO CREATE BADI IN
ECC 6.0 VERSIO.
Thanks
ahmedHi,
Check this thread...
New to Badi
Cheers
VJ -
HOW TO CREATE BADI IN ECC 6.0 with Enhanance Spot?
HI,
Anyone let me know how to create BADI in ECC 6.0 , which have mandtory to create enhanance spot before to create badi? I dont understand the concept of Enhanance Spot and what is the purpose to create that . Will u plz let me know step wise procedure to create badi ...
Thanks,
saurin.Hi,
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. HRPBSGB_HESA_NISR and press the display
button
3. Select menu option Implementation->Create
4. Give implementation a name such as Z_HRPBSGB_HESA_NISR
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. HRPBSGB_HESA_NISR) and double click on the method name
for example within HRPBSGB_HESA_NISR contract is a method
8. When changes have been made activate the implementation.
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
SEE THE LINKS REGARDING SPOT
/people/thomas.weiss/blog/2006/01/24/what-the-new-enhancement-framework-is-for-150-its-basic-structure-and-elements-for-beginners
/people/thomas.weiss/blog/2006/03/15/the-new-enhancement-framework-part-2--what-else-you-need-to-know-before-building-an-enhancement
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
Regards
Kiran Sure -
Any inbuilt Function Module available in CRM to create a Business Partner
Hi All,
I need to create a business partner in CRM not manually through GUI. I need to develop a function module that will create a Business Partner in CRM.
Can some one tell me if there is an in-built BAPI/Function Module availabe in CRM to create a business partner in CRM.
When i researched i found that there is a BAPI BAPI_BUPA_FS_CREATE_FROM_DATA2 which can create a business partner in CRM.
I dont know how to use this BAPI, can some one help me with some sample code.
Also will the development of a function module differ in CRM when compared to ECC?Hello,
Standard CRM PC UI application offers three options when you push 'New' button: 'Person', 'Organization' and 'Group' (combobox appears). In your case, 'Person' should be selected.
p.s. If you don't see combobox mentioned above, it could be security issue.
Kirill -
BAPI/ FM in CRM to create a sales order with variant configurble material
Hi All,
I need to create a sales order using variant configurable material in CRM not manually through GUI. I need to develop a function module that will create sales order using variant configurable material in CRM .
Can some one tell me if there is an in-built BAPI/Function Module availabe in CRM to create sales order using variant configurable material in CRM .
When i researched i found that there is a BAPI
BAPI_BUSPROCESSND_CREATEMULTI which can create a sales order in CRM.
I dont know if this can create a sales order with varinat configurable material in CRM
can some one guide be how i can build a function module in CRM which generates a sales order with variant configurable material.
Regards,
Jessica SamJessica
I am not a CRM expert and am still learning. But you can try the BAPI CRMXIF_ORDER_SAVE and see if that helps.
Good Luck
Ram -
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 -
Create Badi for Virtual Key Figure
Hi experts,
i have to create badi for virtual key figure in BIW for dat i m creating Badi in BI development but its asking for Access Key.
Badi name is RSR_OLAP_BADI
i want to know while creating classic Badi with Implementation Name do developer need access key or thr any othr way to develop Badi for Virtual Key Figure.
Tell me for creating virtual key figure in biw we use Badi and for dat we have to create the Badi in BIW Dev. or in R/3 Dev.
it first time dat i m creating BAdi.
Ankit
Edited by: ankit375 on Feb 3, 2011 11:14 AM
Edited by: ankit375 on Feb 3, 2011 11:14 AMTo see how to create this BADI see here:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/90b2babc-15ad-2d10-c4b2-bd3af67d86b1
You you need to be registered as developer (you have to have dev.key) to do the coding. -
Hi,
Can anyone please help me and provide me the procedure to create BAdIs in OSA / Appraisal area?
Regards,
RajHi Raj,
Process to find a BADI..
1. Go to se24 pass the class name CL_EXIT_HANDLER
2. Go to GET_INSTANCE Method put a breakpoint
3. Execute the corresponding Tcode for which you want to find a BADI.. It will take you to Dbugg Mode and It wil show u all the BADI.. Take ABAPER help to find out a BADI..
once you find a BADI you need to implement that BADI using se19 Tcode..
Try to use this BADI... HRHAP00_DOC_DEF_DV
Link:[http://help.sap.com/saphelp_nw70/helpdata/en/32/a83942424dac04e10000000a1550b0/content.htm] -
BADI trigered in CRM while creating a order from B2B webshop
Hellow Gurus,
Could you please tell the BADIs triggered in CRM when we create an order from B2B webshop. I have to keep a validation to ensure the delivery type 'Standard' should be applicables orders having gross weight less thatn 4 kg only.
I should also throw an alert in B2B webshop saying ' Please choose other type' as well. I dont know how to proceed for this.
Please help.Hello,
The best way to determine the BADI's called is to look at the Log files. The following OSS Notes (based on your release) will instruct you how to create a session trace.
Note 569976 (Release 4.0) - creation fo session logs
Note 1090753 (Release 5.0) - Creation of logs for B2B and B2C
Note 1156730 - Creation of logs for ISAUserAdm and ShopAdmin
You can also look at the [Modifiation and Extension guide |https://websmp210.sap-ag.de/~sapdownload/011000358700000469462006E/]for instructions (chapter Session Tracing).
I hope this helps.
Deb -
Calling pop up screen CRM UI from BADI
Hi,
I have a requirement to call a pop-up screen in CRM UI from a BADI. The scenario is like:
Whenever a new account in created through CRM UI, a duplicate check has to be done using BADI. If any similar entries found these entries are to be displayed in a pop-up window in CRM UI. As I am new to CRM 2007 please help me in implementing this.
Thank you,
Rregards,
RenjithHi,
Try to use CREATE_POPUP or POPUP_TO_CONFIRM method of IF_BSP_WD_WINDOW_MANAGER interface .
Regards
Gaurav -
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 -
Confugurations needed in CRM after creating a new Company code n salesorgR3
Hello sap gurus,
While implementation we have configured a sales organisation .But now our companies requirement is we want a new company code and sales organisation in R/3.
Now my Question is what setting I need to do in order to replicate or Copy the org structure in R/3 to CRM and please say me the procedure .
Thanks and regards,
DivyaHi,
I have answered my own question. If I didn't delete the 1000/1171 entry I couldn't create a new entry or copy another one to create one. When I deleted the 1000/1171 entry I had only tried to create a new entry, however when I highlighted the 1000/1000 entry and clicked copy it allowed me to create 1171/1171
Thanks
Lou
Maybe you are looking for
-
Safari cookies options no longer exist in preferences
Since updating to Safari 5.1 I cannot access certain websites, receiving message "cookies disabled". Went to Safari > Preferences> Security, to find there are not any cookie options available.
-
I am getting an error message when trying to update to iOS 7
I am trying to update to iOS 7 on my iphone 5 and every time I click to install it, I am getting an error message that iOS 7 cannot be installed. I have restarted my phone about 5 times..
-
Cannot save PDF to Excel .xls
When I try to save my work file Microsoft sends an error report & I lose my work file.
-
No Layout type in the properties tab ????...
Hi Experts, I am creating a AIF in the Tr SFP, when I go to the properties tab there is no layout dropdown list available and when I try to activate the form its not allowing me to activate instead a message on the status bar "Action Cancelled by use
-
I've got a content type hub in my SharePoint 2010 environment. I've updated a content type on the hub and now when the timer job for the content type hub runs I'm getting a lot of messages like this one: A content type failed to be syndicated: Micros