CRM-Business Partner processing via BADI implementation
I've made an implementation (copy) of BADI/interface IF_EX_BUPA_GENERAL_UPDATE, method CHANGE_BEFORE_UPDATE.
All I need to do is detect when certain fields have been changed and perform certain actions, like update portals with the new e-mail address and/or change of country code. I can detect what the new changes are using FM 'BUP_BUPA_MEMORY_GET_ALL' to retrieve the BUT000 related data and FM 'BUPA_OUTBOUND_SET_UPD_FLAG' for status changes.
However, a colleague of mine has written a similar process for another project but what they are doing is reading the values from the tables and then comparing them with those from memory. I don't want to do this though as I'm convinced that like standard screen processing the values of field, both before and after the change must be available, some how. Does anyone know how I can get the before values?.
Regards
Gary King
Anyone ?
Similar Messages
-
Invalid Business Partner Assignment via BAdI CRM_ORDER_MAINTAIN
Hi all,
I'm on Solution Manager 7.1 (SP3), and currently, I'm working on BAdI CRM_ORDER_MAINTAIN (method PREPARE) to populate business partner on WebUI (TCode CRM_UI). The Business Partner populated successfully on Parties Involved panel via the above mentioned BAdI.
However, the only thing that puzzled me is; I encountered an error message, Business Partner 302 (Team Lead) is not a business partner, although Business Partner 302 is populated correctly in CRM_UI. Please note that Team Lead is customized Partner Function.
I've checked the master data, and Business Partner 302 does exist. Does anyone knows why I would encounter the above error message eventhough Business Partner 302 has been maintained?
Thanks in advance.
Regards,
PatrickHi Patrick,
can i know how to populate the busniess partner in webUI, i tried using CRM_ORDER_MAINTAIN in ORDER_SAVE BADI(method PREPARE), but is not getting populated in webUI. -
Read CRM Business Partner Classification data from buffer/memory
Hi,
Can anybody help me to read CRM Business Partner Classification data from buffer/memory ? I have a Z- function module in BDT but inside that, I am not able to read the classification data(4th tab). I have the Partner nu,mber and GUID.
Thanks and regards
Arijit GhoseHi JE,
Please let me know if you find the solution to this problem.
Regards,
Himanshu Sharma -
Error "CRM business partner could not be mapped to an ERP customer
Hello experts
Kindly help
I am creating quotation in crm web UI and when i save it it gives warning message "CRM business partner 65451 could not be mapped to an ERP customer"
when i checked in ECC system for same quotation it is avaialble there .
Then why this warning message is coming
rplyHello
You have to define mapping between CRM and ERP customer. The information which customer is associated with which BP is stored in CRM in table CRMM_BUT_CUSTNO and but0id. Use transaction PIDE on the ERP side to form mapping. Then work with load of customers.
Such error appears when data about BP is entered in document directl but system couldn't find mapping in tables above. Hope it helps.
Regards, EL -
To get Current Business Partner number In BADi
Hi All,
In Tcode BP (for creating Business Partner) i am using BADi 'BUPA_GENERAL_UPDATE'. In this i want get Current Business partner No Assigned for the current Creation process.Suggest me how to get Current Businees Partner no assigned or current creation.
(Actually in the program wher this BADi is calling there is internal table mem_but000 which has the but000 details incluiding what Business partner number assigned for current creation.Is it possible to get details from this itab in my BADi implementation Method.)Hi,..
U can use field symbols and get the values of the internal table into ur BADI
FIELD-SYMBOLS: <fs_wa> TYPE table .
UNASSIGN <fs_wa>.
ASSIGN ('(program name)mem_but000 ') TO <fs_wa> .
program name is the name of the program where this internal table mem_but000 is having data..
U will get all the entries of the internal table in field symbol..
decalre internal table like mem_but000 and assign the filed symbol data into internal table .
IF sy-subrc EQ 0.(sy-subrc check for the assign statement)
t_mem_but000 = <fs_wa>.
endif.
regards
Sheeba -
IS-U/CRM business partner created in SD results in data loss
Dear experts,
I have been investigating a strange issue with a customer.
It concerns a IS-U/CRM architecture, where also the SD customers are exchanged.
- All IS-U business partners are exchanged. Not all of these business partners have an SD customer (with same number) linked.
- Some SD customers (some account groups) have no IS-U business partner linked
Now when in IS-U a business partner is extended for SD (via reference customer) a bdoc is sent to crm, containing next changes :
- is_customer is set to X
- Sd account group is filled
On the R/3-ISU side the customer is created in SD. But when processing the BDoc sent to CRM, crm answers also with a customer create (??) which results in the SD customer to be overwritten
--> this is clear because we have blocked the queues and after extending the BP in ISU the SD customer was created with userid of the employee (ERNAM), and after processing BDoc the SD customer creator (ERNAM) was changed to the RFC customer.
This also leads to the fact that data which was copied in from the ref.customer into the SD customer was overwritetn again by the CRM insert.
Has anybody ever been confronted with a similar problem or can give me some advice how to handle this. As we are already in production, and this leads to data loss, In don't need to say this is a very urgent issue for us.
Thank you very much, and of course points will be rewarded!!
Regards,
Michiel StrybolHi Alin,
Thank you for your reply.
I'll try to explain these in some more detail :
1/ We have a system landscape which includes ECC/IS-U & CRM
2/ We have different scenarios active:
- We have a scenario where IS-U is not involved, meaning SD customers (=ECC customers in the Sales & Distribution Module (KNA1)) are replicated to CRM
- IS-U business partners are replicated to CRM. But not all IS-U business partners have an SD customer record active. When billing needs to be done for such a customer, an SD customer is created for this ISU business partner (from within ISU), using a reference customer in SD. Apparently this also seems to trigger a SD customer create sent from CRM which causes our problem ...
There is no master system. Business partners can be created both in ISU and CRM, and should the be replicated in the other system
Hopefully this clarifies it for you.
Thank you very much in advance!!
Michiel -
Add custom fields to the business partner (UKM_BP) thru BADI
Hi
I want to know how to add Additional business partner attributes(custom fields) to Business partner (Transaction : UKM_BP)
I also added the custom fields to structure UKM_S_BP_CUSTOMER_EXTENSION in the method FILL_FIELDS of BADI UKM_BP_ADD_FIELDS, But nothign is populating on the screen of UKM_BP after activating the below BADI's with SAP provided sample code with above structure.
there are 2 BADI's for this requirements but it doesn't any thing about the screens
UKM_BP_ADD_FIELDS
UKM_EV_FORMULA
Please let me know the detailed steps other than activating these BADI's with sample code by SAP.
Thanks
GoviThanks for your reply
BADI - UKM_BP_ADD_FIELDS
Documentation of this BADI shows as follows...
With this BAdI, you can define additional business partner attributes that you define in a business partner master record and want to use as fields in the formula editor.
To use the new fields, implement the BAdI: Formula Parameters and Functions (UKM_EV_FORMULA)
Methods of this BAdI:
FILL_FIELDS
To provide additional fields for the formula editor
FILL_ADD_INFOS and SAVE_ADD_INFOS
To define additional information for the following data in table form:
Collateral
Negative event
Check exceptions
Credit insurance
I enhanced the structure(UKM_S_BP_CUSTOMER_EXTENSION) with new custom fields from the badi UKM_BP_ADD_FIELDS but there is documentation for creating the new screen to place those new fileds i created on transaction UKM_BP.
I have looked at BDT Business data toolset
http://help.sap.com/saphelp_crm50/helpdata/en/2f/696d360856e808e10000009b38f839/frameset.htm
but i didn't get any idea ...
Can you please elaborate and let me know how to do this for my requirement?
Thanks
Govi -
How to adde New Language field value in CRM Business Partner Language Field
Dear all,
How can we add a new field value to the Business Partner Language field in CRM and ECC systems.
Your suggestions will be highly appreciated
Thanks
SravanthiHi Shravanthi,
You would need to add the new language to table T002. Once this is done, it will appear in the drop down menus.
Regards,
Rishu. -
CRM 5.0 - IC WebClient - ERP "Plant" to CRM Business Partner
Hi Gurus
We need to Download ERP "Plant" into CRM as a Business Partner with an External Number Range, using the Plant number as the "External" Number.
Is there any documentation out there to assist with this?
Regards
PandurangaPanduranga,
Read this thread
How to load R/3 Plant, Customer, Vendor, all linked in T001W
and OSS Note 865321.
Good luck,
Stephen -
CRM Business Partner Master Data Extraction
Hello Friends,
I would like to extract the complete Business Partner (BP) information in CRM onto application server in csv format.
Could you pls let me know if there are any standard programs or Function Modules which helps me to extract complete data.
Also let me know the useful master tables associated in this regard. Pls let me know the posible ways of extraction.
Thx in Advance
Regards
VijayHi Masayuki,
Thank you for your suggestions. Those pointers helped me to resolve this. Retrieving the Logical Document Id is also good.
I called the FM you suggested using the PARTNER_GUID from BUT000 in field BUSINESS_OBJECT-INSTID and with TYPEID='BUS1006' and CATID='BO'. This returned the Document links and I was able to get the Properties by calling SDOK_LOIO_PROPERTIES_GET.
Much appreciated.
Malcolm -
Relink CRM Business partner with customer in ECC
Hi all,
In our organization, most business partner master data is automatically replicated with ECC.
Table BUT0ID contains the link between a BP and customer on ECC.
For some reason it happens regularly that a CRM BP gets a wrong link.
I.e. BP 80001234 is by accedent linked to 80001000, but it should be 80001234.
I'm asked to provide a solution to change this link.
With BAPI's 'BAPI_IDENTIFICATION_DELETE', 'BAPI_IDENTIFICATION_CHANGE' and/or 'BAPI_IDENTIFICATION_REMOVE' it's easy to modify table BUT0ID properly.
But whatever I change, the replication is still carried out on the wrong customer.
Afters hours of debugging and tracing I couldn't find the reason. Is there perhaps an other table to change?
Did any of you have the 'golden tip' for me to fully Relink?
Thanks a lot in advance,
SijmenHi Sijmen,
Try FM bupa_identification_change. Ii think that will work for you.
Thanks,
Kumar. -
CRM Business Partner and Customer Mapping
Hi,
I wanted to know, how do we find out, that a BDOC of type BUPA_MAIN in SMW3_BDOC will be a customer or a Business Partner.
Is there some way to know this thing.
Regards,
RishavHi Rishav,
Here is how you can find it out.
In transaction smw01, you get get the BP number. In trancaction BP in CRM. you can check the role of the BP. Then you can check the clasification that is mapped to this role of BP. Then in ERP go to transaction PIDE and check the mapping from from CRM->ERP. There you can find the Account group mapped to this classicication.You can find all the customer account groups in ERP using transaction OVT0.
All these account groups would be mapped to customers in ERP.
Hope this clarifies your query.
Best Regards,
Shourav -
Missing default flag for communication type in crm/business partner
Hello!
We've connected a crm 5.0 with an R/3-system (4.6c).
The crm-system is the leading system...
While inserting a new customer in crm with phone- and fax-number.
After "save" we've got red bdocs, telling us that the standard entry for communication type is missing.
In crm 5.0 there's no standard flag for the phone number but a fixed range with from-date and to-date.
The R/3-system needs the default flag (an "X") as a sign that the number is the standard number.
Anywhere there should be the problem...
Is here anybody with some advices for us?
Thanks a lot in advance.
Best regards,
IngoDear Ingo,
I assume you talk about error message XR002
You have 3 options to resolve the issue:
1. In order to avoid error message XR002 you must set the Standard
Indicator Validity in the maintained telephone in BP transaction.
You can find this indicator in the yellow arrow near the telephone
number. Here you must press the button "Standard Indicator Validity".
2. In customizing you have the possibility to switch off the time
dependency of the addresses causing the XR002.
3. The error occurs due to missing ADRU entries for the communication
data (Email, Phone, Fax etc).
The function modules used in data exchange assumes that there is
an ADRU entry for all addresses. This assumption is partially correct.
If an address is created in Basis release 6.40 and above, then for all
communication data of that address ADRU entries will be created.
But if a Business Partner(with address) is created in release 6.20 or
below and system is upgraded to 7.0, ADRU entries for the communication
data of thoses addresses are not automatically created. When the user
opens that BP in change mode & modifies the communication data and
saves it then ADRU entries for that BP's communication data are created.
There exist a correction report and several notes, so I think if above info
is not able to help, it would be better to open a support message!
Regards,Gerhard -
CRM Business Partner number ranges
Could anyone comment on the following:
"The number ranges for Employees, Vendors and Customers must be different <in the backend>.
In ECC, these 3 are saved in different tables and this allows them to have overlapped number ranges.
But the CRM design is differs. The three of them are saved as Business Partners in one single table. Therefore you need to design and customize the number ranges in order to avoid the overlapping between these 3 in CRM"That is correct. All types of organisations, internal organisations, and persons are saved in one table in crm, BUT000 using the so called SAP Central Business Partner (which exists also in ERP, but is used only for the ISU solutions, not in standard ERP).
Therefore the number ranges for these objects need to be non-overlapping. However, one needs to evaluate first whether all the objects you mention are really needed. It is also possible to see the original R/3 number in the identification tab (or in table BUT0ID).
Kai -
Extract Mobile Phone for CRM Business Partner
Hi Experts
I would like to extract the mobile phone number for a business partner from CRM. Transaction BP shows the number in the address tab, communication area together with the telephone number and the fax number.
The business content DataSource 0BP_DEF_ADDRESS_ATTR delivers only the telephone number and the fax number. Does anyone know of a DataSource that also delivers the mobile phone? Otherwise, in which table is the mobile phone number stored?
Thanks in advance
DanielHi Daniel,
I'm currently attempting to extend the 0BP_DEF_ADDRESS_ATTR for the same reason, and sending support call to SAP to see if standard extractor can be updated to include mobile number.
Can you give more detail on how you extended?
We have appended a field to the extract structure & are now trying to fill it from ADR2 where r3_user = 3
In particular a copy of any code you added to EXIT_SAPLRSAP_002 would be helpful.
Cheers
Don
Maybe you are looking for
-
When is a valid query not valid when made into a subquery?
I have a query that works great, but when I wrap a "select * from ( [insert regular query here] ) t_inline_view;" around it, it fails with an error of "ORA-02016: cannot use a subquery in a START WITH on a remote database". For details of my problem,
-
I'm looking for a "tools" tab w/internet options on it and can't find it
I recently downloaded Mozilla and in looking over the new page i noticed that there is no tool bar w/File, Edit, View, Favorites, Tools, and Help like there is in Internet Explorer. I'm just wondering if it exists and if it does can you please tell m
-
HI, I am trying to debug one credit note creation program, the program gives output for certain document numbers and not for all document number. What must be the cause of the issue, any ideas please share. Regards, Sandeep.
-
Mac X,Y...Z?
Lately I have been getting into CGI animation, or 3D. I would like to know...are there any 3D modelers for my Macintosh Performa 637CD (running OS 7.5.5)? I bought a FOCUS video converter that came with a Demo CD, which contained a whole lot of cool
-
Looking for education materials of developing C++ application with Eclipse
Hello everyone, I am looking for education materials of developing C++ application with Eclipse. Could anyone recommend some good education materials? Thanks in advance, George