Contact person communication details(Tel No,Fax No, Email)
Hi
Could you please advice how to extract customer master's Contact person communication details(Tel No,Fax No, Email) .
Thanks in advance
SR
Hi Ravi,
Get the address number(ADRNR) from the table KNA1 using customer number (KUNNR).
And query below tables to get required details using the address numbere(ADRNR) = ADDRNUMBER.
ADR2 - Telephone number
ADR3 - Fax number
ADR6 - Email address.
Hope this helps..
Regards,
Ashwini
Similar Messages
-
Pre Populating contact person address details
hello experts,
I am new to crm 2007 and Interaction Center.
I have requirement like this
1) say i created an account of type organization
2) once organization is saved, from account details screen there is an option to create a contact person using Related-buttion
3) My requirement is when i click on Related button by default i need to pre-populate contact person address details with the Organization address details like street, house number, city, postal code, country and region.
Could you please tell me what kind of code i have to write in the Related button event handler to populate organization address details in to create contact person address details
Cheers, SrikanthHello Srikanth,
You have to implement any one of the BADI based on the data u want to update in the contact person.
BUPA_CONTREL_IMPORT
BUPA_CONTREL_EXPORT
BUPA_CONTREL_DEFAUL
You need to call FM to update the address.
This hint should be able to take you in right direction.
Regards,
Kapil -
Get Selected Employee Contact Persons Details
Hi all,
Created One Value set(DFF) to get Employee Contact Persons Details.
That value set is getting all Employee's Contact Person's Details(From HRMS Manger)
Here I want to Restrict Only Selected Employee Contact person's Details Has to Shown in Value Set(DFF) when ever HR Selects any Specific Employee
Example:
HR selected 'ABCD' Employee in People Enter and Maintain Form .In My DFF Value Set I want to see only 'ABCD' Employee Contact Persons Details instead of All Employees Contact Persons Details
Edited by: user10357646 on May 24, 2009 3:28 AMHi Sharath Gajula ,
How to Get the Selected Person Id ?
Value Set Query
select papf1.FULL_NAME from per_all_people_f papf,
per_all_people_f papf1,
per_contact_relationships pcr
where papf.PERSON_ID=pcr.PERSON_ID
and pcr.CONTACT_PERSON_ID=papf1.PERSON_ID
and sysdate between papf.EFFECTIVE_START_DATE and papf.EFFECTIVE_END_DATE
and papf.EMPLOYEE_NUMBER is not null
--How to get Selected Person Id In Run time
Edited by: user10357646 on May 24, 2009 3:44 AM -
Email Campaign Execution: Contact person Relationship
Hi All,
I created a target group which contains a list of Contact Persons. I am testing executing an email campaign against this target group.
This contact person also exists as a relationship to a prospect.
The email address maintained on the contact person master data may be different from the email address maintained on the relationship. Our end goal here is to execute the email campaing against the addresses maintained on the relationsip and not on the master data. When I execute the campaing, it sends the email out to the address maintained on the contact person master data. Do you know what I can do for it to pick up the email address maintained on the relationship? Is it standard CRM functionality for it to pick up the email address from the master data rather than the relationship?
Any comments/help on this would be greatly appreaciated.
Thanks!
Kiran.Hi!
I know that has been a while since you two resolved these question, but can someone give me a hint with this?
I'm facing a similiar question... I need to send campaign mails to contact persons (to the relationships contact mails). But i can not see any B2B flag... Can someone please tell me where can i check this field? (I'm working with CRM 7.0 (and Webclient UI))
Thanks in advance
Inês
Edited by: Inês Mendes on Sep 9, 2011 5:28 PM -
Vendor Master: Contact Person View
Hi Gurus,
Can you move some fields in contact person's detail page to initial screen in ECC6.0? ECC 6.0 provides multiple contacts for vendor master. When you click on the contact person, it brings a more detail page. However, there are only five or six fields on the initial screen. We want to bring one field from the detail page to the initial page. Pls advise. Thank you!Hi Yueshuang,
Did you solved it? What did abaper teld you?
Many thanks!!
Regards
Patrícia -
CRM To ECC Sold to party Communication Details Not populated in ECC
Hi All
i have one problem when we create sales order through crmd_order we need to give sold to party and ship to party numbers suppose like
8000002166 for both and status i keep as order created and in partner tab i i seem all partner funtions(sold to, ship to ,bill to, payer)with 8000002166
in header overivew i given posting date as feature date like 30-09-2013 then i try to save this order.
the order generated sucussfully but problem is i am not getting sold to party details in ECC when i check VA03 And open cretaed order in CRM and clicking on sold to party and i seem details for this but i am not getting communication details like telephone number and email id extension number.
for this sold to party we already maintained all communication details in CRM.When i open this sold to party BP i am able to see all details
didnt understand why these details not replicated to ECC?
We implemented one custom class there we implemented badi.
IF_EX_CRM_DATAEXCHG_BADI~CRM_DATAEXCH_AFTER_BAPI_FILL
i am not getting BAPI ADDRESS Table values into CT_BAPIADDR1
how can i send communciation details to ECC For sold to party?
The code part we follow like below
TYPES : BEGIN OF t_otc, " Type to create a table with the given columns.
bpid TYPE bu_partner, " variable of store processed business partner ID's
otcid TYPE bu_partner, " variable of store processed OTC ID's
otcguid TYPE bu_partner_guid, " variable of store processed OTC GUID's
address TYPE bapibus1006_address,
tel1_numbr TYPE ad_tlnmbr1,
tel1_ext TYPE ad_tlxtns1,
e_mail TYPE ad_smtpadr,
END OF t_otc.
*& V A R I A B L E S &*
DATA : lv_bp_payer TYPE bu_partner, " Variable To Cast the payer Id into BU_Partner data type.
lv_partner_fct TYPE crmt_partner_fct, " Variable To Store Partner Function Number.
lv_partner TYPE bu_partner, " Variable To Store Current Business Partner ID.
lv_process_type TYPE crmt_process_type, " Variable to Store process type.
lv_sales_org TYPE crmt_sales_org, " Variable to store sales org. name of order
lv_dis_channel TYPE crmt_distribution_channel, " Variable to store distribution channel of order.
lv_division TYPE crmt_division, " Variable to store division of sales org. data.
lv_role TYPE comt_partner_parvw, " Variable to store retrieved role from FM.
lv_role_value TYPE parvw, " Variable to store the role value of Partner Functions.
lv_otc_guid TYPE bu_partner_guid, " Variable to store OTC GUIDs for the OTC ID.
lv_otc_id TYPE kunnr. " Varaible to OTC ID revocered from Table.
DATA: lv_busspartner TYPE bapibus1006_head-bpartner,
lw_central_data TYPE bapibus1006_central,
lw_centraldata_person TYPE bapibus1006_central_person.
*& W O R K A R E A S &*
DATA : lw_address TYPE bapibus1006_address, " Work Area to store address recovered for BPID.
*Start of code change for Defect 904 Fix
lw_tel TYPE bapiadtel,
lw_email TYPE bapiadsmtp.
*End of code change for Defect 904 Fix
*& INTERNAL TABLES &*
DATA : li_otc TYPE TABLE OF t_otc, " Internal Table to Store the OTC IDs and BPS.
li_values TYPE zconst_values_t,
*Start of code change for Defect 904 Fix
li_tel TYPE STANDARD TABLE OF bapiadtel,
li_email TYPE STANDARD TABLE OF bapiadsmtp.
*End of code change for Defect 904 Fix
* F I E L D - S Y M B O L S *
FIELD-SYMBOLS: <f_orderadm> TYPE bad_orderadm_h_mess,
<f_otc> TYPE t_otc, " Field-Symbol to Read the OTC TABLE data.
<f_partner> TYPE bad_partner_mess, " Field-Symbol of Partner Table For Looping.
<f_bapiparnr3> TYPE bapiparnr3, " Field-Symbol to Store The Row of BAPIPARNR3.
<f_bapiaddr1> TYPE bapiaddr1,
<f_orgman> TYPE bad_orgman_mess, " Field-Symbol to Read the ORGMAN table.
<f_values> TYPE zcr_const_values.
*& C O N S T A N T S &*
CONSTANTS : lc_program_name TYPE progname VALUE 'ZOTC',
lc_param_payer TYPE paramname VALUE 'PAYER', " Constant to Store Payer Parameter name.
lc_ref_kind TYPE crmt_object_kind VALUE 'A',
lc_req_1 TYPE zrequest_no VALUE '1',
lc_req_2 TYPE zrequest_no VALUE '2'.
* Retrieving the general and Common Data for a Order.
READ TABLE it_bus_trans_msg-orderadm_h INDEX 1 ASSIGNING <f_orderadm>.
IF sy-subrc EQ 0.
lv_process_type = <f_orderadm>-process_type.
ENDIF.
* Reading the Orgnisation Details from ORGMAN Table.
READ TABLE it_bus_trans_msg-orgman WITH KEY ref_kind = lc_ref_kind ASSIGNING <f_orgman>.
IF sy-subrc EQ 0.
* Storing the Sales Organisational Data to find the OTC_ID.
lv_sales_org = <f_orgman>-sales_org.
lv_dis_channel = <f_orgman>-dis_channel.
lv_division = <f_orgman>-division.
ENDIF.
* Retrieving the partner function number for the payer by giving requirement no 2 and rule no 1.
CALL FUNCTION 'ZCRAN_GET_CONSTANT_VALUES'
EXPORTING
pi_program_name = lc_program_name
pi_req_no = lc_req_2
IMPORTING
po_const_values = li_values.
IF sy-subrc <> 0.
RETURN.
ENDIF.
* Reading the value for the constant with the name as PAYER.
READ TABLE li_values WITH KEY param_name = lc_param_payer ASSIGNING <f_values>.
IF sy-subrc NE 0.
RETURN.
ENDIF.
* Retrieving the Partner ID for the PAYER.
READ TABLE it_bus_trans_msg-partner ASSIGNING <f_partner> WITH KEY ref_partner_fct = <f_values>-constant_value.
IF sy-subrc EQ 0.
* Storing the current partner ID.
lv_bp_payer = <f_partner>-ref_partner_no.
ENDIF.
REFRESH li_values.
* Retrieving the Partner Function Number which are to be checked for replacing with the OTC ID with request no 1 and rule no 01.
CALL FUNCTION 'ZCRAN_GET_CONSTANT_VALUES'
EXPORTING
pi_program_name = lc_program_name
pi_req_no = lc_req_1
IMPORTING
po_const_values = li_values.
IF sy-subrc <> 0.
RETURN.
ENDIF.
* Transferring the constant value to our table for Partner Fucntion.
LOOP AT li_values ASSIGNING <f_values>.
* Read Partner table for Header data and the reference partner function retrieved.
READ TABLE it_bus_trans_msg-partner WITH KEY ref_kind = lc_ref_kind ref_partner_fct = <f_values>-constant_value ASSIGNING <f_partner>.
IF sy-subrc EQ 0.
* Storing Current Partner Function.
lv_partner_fct = <f_partner>-ref_partner_fct.
* Storing Current Partner No.
lv_partner = <f_partner>-ref_partner_no.
* Retrieving the Partner Role (R/3) for the current partner function of CRM.
CALL FUNCTIONThe problem is in the Lotus Notes security level, not in SAP.
-
Customer Contact Person as Blind Copy for Email
Dear SAP Experts,
Do you know where to set that a Contact Person for a customer will receive an email as blind copy (BCC) ?Hi Prabhu
for Contact person -
KNVK
For email id -
SZA1_D0100
For customer --- RF02D
Reward if useful to u -
ICR Contact persons details- Communication method by default set as Remote
While maintaining Contact person details through FBRC010. The communication method by default it is picking up as
Remote mail, it is same in user profile also, with this setting when we tried to send the mail using template through
FBICR3 or FBICR1. mails are not going to the intended user.
When we changed the user profile from Remote mail to Email, mails are going, But i understood that from ECC6 onwards
the mail type in user profile should be kept as Remote mail. if we change it to Email, our concern is users might not get
mails from other source.
Is there any way to come out this situation please.
Thanks
Ganapathi.Hello Ganapathi,
ICR simply uses SAPOffice standard functionality. Details about sending options would have to be answered by a basis communication expert. I'm glad you were able to find a workaround but if you would like to have a different solution you may want to ask somewhere else...
Ralph -
Regd the contact person fax and email address
Hi,
I am trying to get the contact persons fax and email address.The telephone # is available in KNVK table.but I don't see fax and email.Let me know how to get the details.
also I see PRSNR in KNVK..What is the purpose of peson number?
thanks
SuganyaTake a look at the code below, Extract from KNVK and use the prsnr number to extract tel number and email address.
* Use function & dept to extract KNVK data and person number
SELECT parnr kunnr namev name1 abtnr anred pafkt parh1 parh2 parh3 parh4 parh5 pakn2 pakn3 pakn4 pakn5 prsnr
FROM knvk
INTO TABLE i_knvk
WHERE kunnr = wa_vbak-kunnr.
* Use person number to extract the fax no.
IF i_knvk[] IS NOT INITIAL.
SELECT persnumber fax_number
FROM adcp
INTO TABLE i_adcp
FOR ALL ENTRIES IN i_knvk
WHERE persnumber = i_knvk-prsnr.
ENDIF.
IF i_knvk[] IS NOT INITIAL.
SELECT persnumber smtp_addr
FROM adr6
INTO TABLE i_adr6
FOR ALL ENTRIES IN i_knvk
WHERE persnumber = i_knvk-prsnr.
ENDIF. -
Issue while saving contact person details in CRM 5.2
This issue is in IC webclient CRM 5.2.
Issue:We search for the product and then confirm it.Once its confirmed,it will display the list
of partners(ex:Sold to party ) for that product.
When I select sold to party ,it will display the list of contact persons for that sold to party.
Then I select one contact person and I change some details for the selected contact person like extension,email and save it.
Its getting saved.
After that I do cancel interaction and I repeat the same steps.After changing the contact person,when I click on save ,its not getting saved.
Again If I click on Save,its getting saved.
I found that in setter method,collection wrapper is getting refreshed for the second time.Because of that,its throwing an exception 'CS_SY_REF_IS_INITIAL'.
Can you please tell why this collection wrapper is getting refreshed and what could be the problem.
Thanks in advance.
Best Regards
BakuHi,
You can set a check to see whether the object is bound. Otherwise, try to find out why the method is called twice.
Regards
Prasenjit -
Please tell me the table where customer contact persons mail id is stored
Hi,
Can any body please tell me where the Please tell me the table where customer contact persons mail id is stored .
That we are maintaing in the XD02 transaction in the E-Mail option for the customer.
Please tell me as it is very urgent.
ThanksHi
pls check ADR6 <b>SMTP </b>
Customer Master Data Tables
KNA1 - Customer Master
KNB1 - Customer / Company Master
KNVV - Customer Sales Data
KNBK - Bank Details Master
KNVH - Customer hierarchy Master
KNVP - Customer partners Master table
KNVS - Shipment data for customer table
KNVK - Contact persons Master table
KNVI - Customer master tax indicator table
Message was edited by:
SHESAGIRI.G -
Badi for modifying the Contact person details....
Hi,
I have a problem here, can anyone help me.? I am creating a contact person for an account/bp in the IC Webclient. I need to modify certain fields on Contact person address while saving. Can anyone tell what badi's or user-exits that I can use for this purpose?
Regards,
Phani.Hi,
Business object for contact person relationship is BUS1006002.
By the way you can check out any BOR in transaction SWO1 using F4 help :-).
Thanks and warm regards,
Smita. -
Fax number and e-mail from a contact person
Hi,
Does anyone know the table where the fax number and the e-mail of a customer or vendor contact person is?
The table KNVK only have the telephone number...
Thanks
HugoCheck tables: ADR3, ADR6..
From kna1 u will get the address no (ADRNR). And fetch data based on ADRNR from these tables.
Regards,
Joy. -
Deactivate few Communication methods for Contact persons
Hi Forum,
I have a requirement wherein I will have to hide few commincation methods in Contact persons(BP category-Person).The communication methods as <b>Standard Comm.Method</b> for contact person viz.,RML(Remote Mail), SSF(Secure store & Forw.) etc need to hidden. I found no place where these values for communication methods are maintained in SPRO. Please guide how I can achieve this.
Will Reward points for helpful answers
Regards
ShridharHi Forum,
I could hide the field in sm30 in the table TSAC.Uncheck the field you dont want to be displayed in the column
<b>Flag:Use</b>
Regards
Shridhar -
Restrict copying all data to relationship while maintaing Contact Person.
Currently when maintaining the relationship of Contact Person to a Customer Account, Web UI automatically copies all communication data (phone, fax, email etc...) to the relationship.
I need to know, specifically, how we can restrict data copy/transfer to only Business Phone Number and Business Fax number only. upon relationship creation.
What are we restricting and what BAPI or code is being restricted?
Please be specific.
Thanks,
FKi see this so much on this site, users just posting solved and not giving details on how they fixed the problem, the SDN is meant to be for sharing!!
If you find a fix, share it or don't bother being a part of the SDN community.(so annoying)
Maybe you are looking for
-
Getting ditributed timeout error
Hi, when i 'm executing a procedure using dblink i'm getting following error ERROR at line 1: ORA-02049: timeout: distributed transaction waiting for lock ORA-02063: preceding line from PROD ORA-06512: at "PURGE.PURGEPERSON", line 111 ORA-06512: at l
-
Hi everybody, I just got my new Macbook and this is my first Mac so bear with me. I downloaded all my email from my email provider and that worked perfectly. Now, the only problem is that the apple client displays some emails with all the html tags i
-
can anyone help me asap
-
Flash crashes sound and prevents sound from being used on the entire computer
Hi everyone, I have been using firefox all my life and have been running into the following issue recently. Whenever I play flash games (such as chess.com), after a minute or two the sound stops working. At first I thought it was just the website, bu
-
Audio timebase fixed to 30 fps?
Hi, when trying to adjust the timecode of audio files (rightclick on clip > modify > timecode > set at beginning) the dialog only works in 30fps mode (e.g. 19;10;19;29) Is there a way to change this? I generally work in 25fps projects. So Premiere's