To get Business Partner using Email Id
Hi,
How to get business partner using Email ID.
Thanks in advance.
Regards,
Sheela
Hi Shantha,
There are numerous Function Modules already written to fetch data which contains details of the BP. For your requirement use the FM "BAPI_BUPA_SEARCH", pass the email address as the input and in the searchresult structure you will find the BP id.
Regards,
Harshit
Similar Messages
-
Error in creating Business Partner using FLBPD1
Dear All,
While creating the Business partner using tcode FLBPD1, I get the following error.
Also I need help to understand how to start Post Processing Office.
No business partner could be created for customer CFM0031
Message no. CVIC_UI018
Diagnosis
No business partner could be created from the customer selected.
System Response
An error occurred when creating a business partner from the customer selected. This error prevents data from being transferred and saved. This could be due to the following:
Fields have been left blank in the customer that are set as required entry fields for the business partner.
Settings for assigning Customizing values for the customer to the business partner are incorrect.
Procedure
Start the Post Processing Office and check the error message. Make the necessary corrections.
Regards
ArpitaHello Arpita,
I faced exactly the same issue and we had to check the entire customer/vendor master data synchronization configurations. We found that many of them were missing when we upgraded to ECC 6.0.
I would suggest you go through the following SAP notes and check whether all configs are in place or not. Then try again.
Note 954816, 956054 and then also 1077616.
Hope the first two notes will be able to help you cope with the issue.
Regards,
Suvarghya -
Create Employee as a Business partner using BAPI
Hi,
I created a business partner using the BAPI,
"BAPI_BUP_CREATE_FROM_DATA". I used this within a program. The business partner gets successfully created and gets reflected in the table BUT000. But I do not see it when I run the user exit "RPM_EMPDATA".Because of this I am not able to see the business partner inside cProjects. I am able to see the business partner inside the transaction BP. When I go into change mode and change the role (from Business partner role to Resource role),and when I save this business partner I am able to see the details in the user exit RPM_EMPDATA. I am also able to assign this business partner to tasks in cProjects.
Message was edited by:
Sudheendra PuthurayaHi sanjay,
Thanks for ur reply.
i just referred all the documents that you have mentioned in the previous suggestion.
[ID 1400877.1] - This one doesnt help me and i have rehired the employee and checked but still facing the same issue in the supplier interface.
[ID 433746.1] - This one refers to the creation supplier through forms and i have checked the same which has been mentioned in the document. Everything is fine which the front end creation too.
But am still facing the same issue.
Kindly suggest me the if the issue can be solved in someother ways.
Thanks in Advance.
Brgds
Max -
How to get business partner/contract account if i have DFKKKO-OPBEL?
HI Gurus,
Can you please tell me the way to link DFKKKO-OPBEL(Number of Contract Accts Rec. & Payable Doc.) field with business partner(FKKVKP-GPART) or contract account(FKKVKP-VKONT) in CRM. I have input as OPBEL and its my requirement to get business partner and contract account.
PLease help me on this
Thanks
SudiptoHi,
You can surely get GPART and VKONT from DFKKOP table for the relevant OPBEL.
Thanks,
Vimala P -
Bank and account error when adding a business partner using DTW
I need your help please. I am trying to add a business partner using DTW but the load fails with a message "Bank and account do not exist in the company Application-defined or object-defined error65171".
The related fields that I am using in the business partner file (csv) are:
AccountNo
BankCode
Branch
Country
I am sure that the bank and account exist because previously I manually added a customer with the same bank and data that I am using in the dtw interface.
SAP-BO 2005A SP01 PL27
Best Regards
Jorge ManzoHi,
You may run a query first to find out what are the current data in OCRD:
SELECT
CardCode,
AccountNo,
BankCode,
Branch,
Country
FROM OCRD
Thanks,
Gordon -
How to get business partner in BUPT for BP screen enhancement ??
I have enhanced Business partner transaction screen using BDT - BUPT to show a sub screen, my problem is that I don't know how to get the BP no at subscreen level. Please help.
A subscreen should have the main screen data available, so you just have to refer to the main screen's BP field.
-
How to get business partner number of a Company code
How to get Company code business partner number..
Any FM or table name which can help us to get comapny code business partner number
Actually we want to find the default address number of the company code.
please suggest a way to find partner number of company code or directly to get default address number of the company codeHello LS Kumar,
Try to use below Code may help:
DATA ls_object TYPE hrhctobjc.
DATA ls_company TYPE bbps_es_unit_id.
DATA ls_company_bupa TYPE hrobjbupas.
ls_object-otype = is_org_unit_id-otype.
ls_object-objid = is_org_unit_id-objid.
CALL FUNCTION 'HR_OBJECTBUPA_GETBUPA'
EXPORTING
is_object = ls_object
IMPORTING
es_hrobjbupa = ls_company_bupa
EXCEPTIONS
object_type_not_allowed = 1
OTHERS = 2.
IF sy-subrc NE 0.
RAISE EXCEPTION TYPE cx_bbp_es_not_found.
endif.
Which determines the company code of the user belongs to:
CALL FUNCTION 'BBP_OM_DETERMINE_COMPANY'
EXPORTING
i_user_id = lv_user
IMPORTING
et_compc =lt_compc
EXCEPTIONS
OTHERS = 1.
Regards,
Sankarbabu -
How to get business partner from premise?
Hello gurus,
I'm looking for a way to get the business partner (but000-partner) from a premise number (evbs-vstelle). I tried FM ISU_FINDER but he cannot find a business partner for the object.
Can someone tell me another function module, table connections or at least sap transactions with which I can do it?
Thanks in advance,
Alej
PS: Points will be rewarded!Hi ,
use this function module ISU_S_OWNER_FOR_PREMISE .
or you can try this path:
you have EVBS-VSTELLE (Premise)
get the EANL-ANLAGE(Installtion) from VSTELLE
each Installtion have one Contract so
get EVER-VERTRAG(Contract) from ANLAGE
Now you can get the Contarct Account from Contract.
get FKKVK-VKONT(Contract Account Number) from VKONTO of EVER.
Now you can get BP Number from Table (FKKVKP-GPART ) .
use this if you not able to find any FM or BAPI , because its not a efficient way .
revert back if any query.
regards
Deepak -
Trying to update the business partner using BAPI_BUPA_CENTRAL_CHANGE
Hi all ,
i am tryibg to create a function module which updates the first name, last name, email id of the business partner that i already created. the return table shows zero entries and i dont find any udate being done for the business partner if i go and check in the respective table. can some one tell me what is the problem.
Import paramters for my function module are business partner number, first name, last name, email -d.
FUNCTION Z_CHANGE_BP2.
""Local Interface:
*" IMPORTING
*" VALUE(CUST_NO) TYPE BU_PARTNER
*" VALUE(FIRST_NAME) TYPE BU_NAMEP_F
*" VALUE(LAST_NAME) TYPE BU_NAMEP_L
*" VALUE(EMAIL_ID) TYPE AD_SMTPADR
*" TABLES
*" IT_RETURN2 STRUCTURE ZRETURN1 OPTIONAL
*" IT_RETURN4 STRUCTURE ZRETURN1 OPTIONAL
Defining the internal tables used in BAPI BAPI_BUPA_CENTRAL_CHANGE.
DATA: it_CENTRALDATA TYPE STANDARD TABLE OF BAPIBUS1006_CENTRAL WITH HEADER LINE.
DATA: it_CENTRALDATAPERSON TYPE STANDARD TABLE OF BAPIBUS1006_CENTRAL_PERSON WITH HEADER LINE.
DATA: it_E_MAILDATANONADDRESS TYPE STANDARD TABLE OF BAPIADSMTP WITH HEADER LINE.
DATA: it_RETURN1 TYPE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE.
DATA: it_RETURN3 TYPE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE.
****Values for seacrh term1, search term2 of it_CENTRALDATA
it_CENTRALDATA-SEARCHTERM1 = FIRST_NAME.
it_CENTRALDATA-SEARCHTERM2 = LAST_NAME.
APPEND it_CENTRALDATA TO it_CENTRALDATA.
first name, last name of it_CENTRALDATAPERSON
it_CENTRALDATAPERSON-FIRSTNAME = FIRST_NAME.
it_CENTRALDATAPERSON-LASTNAME = LAST_NAME.
APPEND it_CENTRALDATAPERSON TO it_CENTRALDATAPERSON.
Value for E_MAIL of it_TELEFONDATANONADDRES-
it_E_MAILDATANONADDRESS-E_MAIL = EMAIL_ID.
APPEND it_E_MAILDATANONADDRESS TO it_E_MAILDATANONADDRESS.
Call the BAPI BAPI_BUPA_CENTRAL_CHANGE
CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
EXPORTING
BUSINESSPARTNER = CUST_NO
CENTRALDATA = it_CENTRALDATA
CENTRALDATAPERSON = it_CENTRALDATAPERSON
TABLES
E_MAILDATANONADDRESS = it_E_MAILDATANONADDRESS
RETURN = it_RETURN1.
Call Commit work
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'
IMPORTING
RETURN = it_RETURN3.
ENDFUNCTION.Hi,
Pass values to the Parameter CENTRALDATA_X in your FM 'BAPI_BUPA_CENTRAL_CHANGE'
Something Like:
CALL FUNCTION 'BAPI_BUPA_CENTRAL_CHANGE'
EXPORTING
businesspartner = bpartner
centraldata = centraldatadetail
centraldataperson = centraldataperson
CENTRALDATAORGANIZATION =
CENTRALDATAGROUP =
centraldata_x = centraldata_x
centraldataperson_x = centraldataperson_x
CENTRALDATAORGANIZATION_X =
CENTRALDATAGROUP_X =
TABLES
return = return.
Refer to:
problem with 'BAPI_BUPA_CENTRAL_CHANGE'
http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bapi-bupa_central_change-need-help-549117 -
Hello all,
I am customizing the eco module.
I need to display the business partner id in the generic search page.
Does anybody know how to get the id?
IsmailHi Ismail,
It depends on what data is available to you - and you can get the BP id depending on that.
e.g. : you can get BP number based on address, name, role, identification ,etc.
The easiest way : in SE37, just type BUPAFIND or BUPAGET and press F4. It will bring up a whole list of modules such as BUPA_FIND_WITH_ADDRNUM , etc. You can pick the most relevant of the modules and use it.
Hope this helps you.
Regards,
Rishu. -
How to get business partner name from sap user
Hello,
We want to get in the code the business partner name from sap user.
What function modules should we use to perform it?
Thanks in advance,
SergeyHI,
You can use the FM:CRM_CENTRALPERSON_GET
pass the input parameter IV_USERNAME as the user name
You can get the result in the export parameter EV_NAME as user's first name last name
regards,
PP -
Hiding a field in Address tab of Business Partner Using BDT
Hi,
I want to Hide the title field in the Business Partner transaction, which exists in the Address Tab using BDT.
Could you please let me know whether i need to create a custom screen for this or is there any other way where we can modify the predefined screen directly?
Kindly help me regarding.
Thanks and Regards,
Gopi.Hi Gopinath,
Please go through this link..,
http://help.sap.com/erp2005_ehp_03/helpdata/EN/35/696d360856e808e10000009b38f839/frameset.htm
This is the introduction regarding BDT ( Business Data Toolset)
Here you will find some information, I think it may help you.
Cheers,
Swamy Kunche -
Hello All,
I was trying to create a Business Partner(Ship to Party) using function module SD_CUSTOMER_MAINTAIN_ALL. When I am executing this through SE37 transaction, its working fine &
creating a KUNNR value along with new ADRNR number.
But when the same data is passed inside the program, its throwing CAM_ERROR(sy-subrc = 22).
If anyone used this FM, please suggest. Thank you.Hello Ragu,
I am passing the data to function module as shown below.
*KNA1 population
ls_kna1-mandt = sy-mandt.
ls_kna1-ktokd = 'ZN02'.
ls_kna1-land1 = ls_adrc-country.
ls_kna1-name1 = ls_adrc-name1.
ls_kna1-name2 = ls_adrc-name2.
ls_kna1-ort01 = ls_adrc-city1."City
ls_kna1-regio = ls_adrc-po_box_reg.
ls_kna1-pstlz = ls_adrc-post_code1.
ls_kna1-sortl = ls_adrc-sort_phn.
ls_kna1-stras = ls_adrc-house_num1.
ls_kna1-spras = ls_adrc-langu.
*BAPIADDR1 population
ls_bapiaddr1-name = ls_adrc-name1.
ls_bapiaddr1-name_2 = ls_adrc-name2.
ls_bapiaddr1-city = ch_adrc_struc-city1.
ls_bapiaddr1-postl_cod1 = ch_adrc_struc-post_code1.
ls_bapiaddr1-street = ch_adrc_struc-street.
ls_bapiaddr1-house_no = ch_adrc_struc-house_num1.
ls_bapiaddr1-str_suppl1 = ch_adrc_struc-str_suppl1.
ls_bapiaddr1-str_suppl2 = ch_adrc_struc-str_suppl2.
ls_bapiaddr1-location = ch_adrc_struc-location.
ls_bapiaddr1-country = ch_adrc_struc-country.
ls_bapiaddr1-langu = ch_adrc_struc-langu.
ls_bapiaddr1-sort1 = ch_adrc_struc-sort1.
ls_bapiaddr1-sort2 = ch_adrc_struc-sort2.
ls_bapiaddr1-langu_cr = ch_adrc_struc-langu_crea.
*KNVV Population
ls_knvv-vkorg = '1000'.
ls_knvv-vtweg = '01'.
ls_knvv-spart = '01'.
CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'
EXPORTING
i_kna1 = ls_kna1
i_knvv = ls_knvv
i_bapiaddr1 = ls_bapiaddr1
i_maintain_address_by_kna1 = 'X'
i_no_bank_master_update = 'X'
i_raise_no_bte = 'X'
pi_postflag = 'X'
i_from_customermaster = 'X'
IMPORTING
e_kunnr = lv_kunnr
o_kna1 = ls_kna1_output
EXCEPTIONS
client_error = 1
kna1_incomplete = 2
knb1_incomplete = 3
knb5_incomplete = 4
knvv_incomplete = 5
kunnr_not_unique = 6
sales_area_not_unique = 7
sales_area_not_valid = 8
insert_update_conflict = 9
number_assignment_error = 10
number_not_in_range = 11
number_range_not_extern = 12
number_range_not_intern = 13
account_group_not_valid = 14
parnr_invalid = 15
bank_address_invalid = 16
tax_data_not_valid = 17
no_authority = 18
company_code_not_unique = 19
dunning_data_not_valid = 20
knb1_reference_invalid = 21
cam_error = 22
OTHERS = 23.
IF sy-subrc = 0.
EXPORT kunnr FROM lv_kunnr TO MEMORY ID 'Z_CUST_NUM'.
EXPORT adrnr FROM lv_adrnr TO MEMORY ID 'Z_ADDR_NUM'.
ENDIF.
When I am executing this through SE37, its working perfectly. However when used in Sales Order Save exit, its throwing an error saying SY-Subrc = 22(CAM_ERROR). -
Creating a business partner using data from a remote legacy system
Hi Experts,
I am trying to make an interface for creating a business partner in SAP CRM from customer data created in a remote legacy system. I want to map the fields in XI.
But to create a customer I need a RFC or a BAPI or maybe an IDoc, that includes all fields for business partner creation and can create a new business partner from the data.
I have identified an RFC that have the structure of the BDoc BUPA_MAIN. This RFC is called: CRM_BUPA_MAIN_CRM_IN
But I am not sure if that RFC can be used for Business Partner creation.
Can anyone tell me if that RFC can be used, or if there are other RFC's, BAPI's or IDoc's that can be used for remote creation of business partners (they have to include all fields of the Business Partner)??
There are a few BAPI's that include some of the fields for BP creation, but making several calls to different BAPIs from XI to CRM is not an option (I thought the BAPI: BAPI_BUPA_FS_CREATE_FROM_DATA could have been used, but it lacks some of the data fields needed for creating BPs).
Thanks in advance,
Torsten
Edited by: Torsten Sander on Apr 22, 2008 2:48 PMHi Experts,
I am trying to make an interface for creating a business partner in SAP CRM from customer data created in a remote legacy system. I want to map the fields in XI.
But to create a customer I need a RFC or a BAPI or maybe an IDoc, that includes all fields for business partner creation and can create a new business partner from the data.
I have identified an RFC that have the structure of the BDoc BUPA_MAIN. This RFC is called: CRM_BUPA_MAIN_CRM_IN
But I am not sure if that RFC can be used for Business Partner creation.
Can anyone tell me if that RFC can be used, or if there are other RFC's, BAPI's or IDoc's that can be used for remote creation of business partners (they have to include all fields of the Business Partner)??
There are a few BAPI's that include some of the fields for BP creation, but making several calls to different BAPIs from XI to CRM is not an option (I thought the BAPI: BAPI_BUPA_FS_CREATE_FROM_DATA could have been used, but it lacks some of the data fields needed for creating BPs).
Thanks in advance,
Torsten
Edited by: Torsten Sander on Apr 22, 2008 2:48 PM -
How to get business partner no from guid of shopping cart
Hi experts,
is there any relation between guid of shopping cart and business partner in but000 table , here we need to find the approver for the shopping cart based on guid , when it is just being created in single step approval. we are using process controlled workflow in srm 7.0.
Thanks
kamakshiHi Kamakshi,
I do not which FM can do the trick. But you can build your own FM by searching table swiwiobjct, provide below data:
- objtype = 'BUS2121'
- objkey = shopping cart number
- wi_stat = COMPLETED
- wi_rh_task = TS10007991 (or other tasks to set SC status to released)
Then the value(s) of field wi_aagent should be the user ID of approver.
Regards,
Donald
Maybe you are looking for
-
Hi, I am using XI 3.0 (SP13). How do I know if this supports XSLT 2.0 or not? Is there a special file that I have to look for in the installation folders or is there transaction code that displays the details? Also, it will be greatly appreciated if
-
Bad translation of labels in ADF Query Panel
Hi, When I use an ADF Query Panel, all labels and buttons are translated automatically to Danish (probably because I have Danish region settings or some such). The problem is that it is not a very good translation: In the "Match" radio group at the t
-
Treasury Management Curriculum Location
On March 29 I sent one of my customers the following information which I cut and pasted from the UA web site. Now I can't find it. +In the TMP module the students use an ERP system (in this case SAP) to work in the field of Treasury Management. In th
-
How do I downgrade to iOS 5 from iOS7!!!
I had a sinking feeling iOS7 was going to turn out badly... But still I foolishly updated my iPad 2. Now I feel like an idiot because of course it totally fubar'd my iPad not to mention when it does work it is an absolutely ATROCIOUS OS... My god...
-
Using 'OR' between column using 'NEAR' and 'ACCUM'
I am newbie to the Oracle Full text searching. After going thru documentation and forum posting in here now I am able to create so Oracle Full Text index on table and was able to write some queries as well. While implementing the findings in my resea