Standard address indicator in CRM
Hey everyone
I need to extract this standard address indicator for delivery addresses to send out to our website database.
The issue is I am unable to find where it's stored.
I had been using the FM ' BAPI_BUPA_ADDRESS_GETDETAIL' and assumed the standardaddress field in ls_address was the one I was after.
I have just found out this is not the case, that indicator just shows the main postal address.
Does anyone know anything about this?
If I haven't been very clear, what I'm talking about is in the BP screen in CRM, under the address overview tab.
The address usages displayed here show the word 'Standard' against one of the delivery addresses of a customer. This is what I'm trying to retrieve.
Any help would be much appreciated.
Cheers
Kieran
Hi Kieren,
Please use the table parameter ADDRESSUSAGE when calling this BAPI.
CALL FUNCTION 'BAPI_BUPA_ADDRESS_GETDETAIL'
EXPORTING
businesspartner = iv_bupa_number
valid_date = iv_bupa_valid_date
IMPORTING
addressdata = es_addressdata
TABLES
bapiadtel = lt_telefondatanonaddress
bapiadfax = lt_faxdata
bapiadsmtp = lt_e_maildata
bapiaduse = lt_communicationusage
addressusage = lt_addressusage "<----- include this parameter
return = et_return.
Then read table lt_addressusage with key addresstype.
The following values are usually possible for field addresstype ( as per customizing in table TB009 )
BILL_TO = Billing Address
SHIP_TO = Delivery Address
XXDEFAULT = Main Address / Standard Address
Hope this helps.
Cheers,
Sougata.
Edited by: Sougata Chatterjee on Nov 21, 2011 1:52 PM
Similar Messages
-
Standard address of a BP (FPP3) in BUT021_FS
Hi,
I know that std addesses of a BPart are stored as indicated in table BUT021_FS-XDFADU = 'X'.
For a BP i am trying to change a street name which is a default address (which is NOT std address as shown in BUT021_FS). i am getting an error "Address is standard address; restriction to validity not allowed" even though its Not a std adrress.
I am using the BAPI : BAPI_ISUPARTNER_CHANGE and I am getting this error from this BAPI.
Is there any other way to find if the address is std address or not?
thanks
RickyHi,
Rather than sing that field for finding Standard Address, use field 'ADR_KIND' and check for value 'XXDEFAULT' which is normally used for Standard Address.
Thanks.
Ravi -
Changing standard address of BP without the address guid
Hello Experts,
We are using "CustomerCRMChangeRequestConfirmation_In" standard web service for changing customer in CRM, while changing the standard address data we are forced to provide the UUID field ( address guid ). Connected non- sap system will not store address guids so while changing the address in CRM they won't provide the address guid.
Is there a way to change the standard address of a BP in CRM without address guid ?
Thanks in advance.
Regards,
Sumit MittalHi Bhushan Jawale,
We having problems using Z function, inside, we calls webService "customer_crmchange_request_in". We use it fo changing data like telephone number and mobile number. These has been populated at system but at BP transaction we have seen attached image.
We will get the result highlighted in red.
Many thanks in advance!
Sergio -
ECC 6.0 Questions on New Business Partner Standard Address Functionality.
Hello.
We are upgrading our client from 4.72 to ECC6.0 and in the UAT testing phase.
Where before in 4.72 the Standard Mailing address was determined by a simple radio button, it appears that they have gone to a time dependent type of format which is causing issues with our client.
I have a few questions surrounding this piece.
1) Enabling 'Address Usage' : On the Address Overview Tab in FPP2/FPP3, How can we enable the 'Address Usage' box that is under the 'Address Overview' Box?
2) Determining Standard Address on Address Overview: For accounts brought over in the upgrade, the Valid From/Valid To Dates on the Address Overview are defaulted 01/01/0001 to 12/31/9999. How can the user now tell which is the default address without having to go to the Address Tab?
3) Reversing Standard Address Change: Our client has a business scenario that occurs often in which the a customer may call in to change their Standard mailing address. Then the customer calls back at a later time and decides they wanted to reverse back to the original address. We have gone through this scenario using the Move button to move in the new address, which changes the standard address, then subsequently use the Move > Reverse functionality. It appears to change the on the Address overview tab but does not save on the Address Tab.
4) Effective Date Change: In 4.72 the client had the ability to change any characteristic of the BP on a certain day. For example wanting to change the Standard address, Name, Phone on a day in the future. So they would pick that day in the future, and the planned change would occur on that day. We cannot find that functionality in the current ECC 6.0.
Any guidance would greatly be appreciated! Thanks in advance!
Regards,
EricHi Nick,
Did you get the answer? I'm lookinf for the same information about profiles.
Thanks!! -
BP address move in CRM 5.0
Hi Friends,
There is a functionality of BP address move in CRM 5.0
Here we can move the source BP address into target one.
I created one contract using the source address. After this i created a new target address for BP and now i am trying to move the BP source address into target address, i am getting an error "Address still in use; change to validity not allowed".
Kindly provide some inputs.
Thanks and Regards,
SurajHi Friends,
Waiting for inputs.
Thanks and Regards,
Suraj -
How to add field on into standard address window in SAP script
Hello Exports,
I want to add Vendor number field in between the Vendor name and vendor address in the address window in sap script.
Address is written in standard Address and Entendres. I need to add the vendor number in thsi Address and Endaddress.
Please guide in this.goto the Vendor Name field .
Hit enter.
A new line is created.
Give your Vendor Num field there.
Bhupal -
Return Order incomplete because of missing address indicator (VBPA-ADRDA)
Hello,
Using the VA02 to create a subsequent retun order results in a complete return order created. However, when I use BAPI BAPI_CUSTOMERRETURN_CREATE to create the return order, the incompletion log identifies a missing address indicator (VBPA-ADRDA) for the ship-to party. Both sold to and ship to party are defined as one time customers. Looking at the entries in table VBPA the problematic customer holds 'D' as the address indicator value while the other customer holds 'E' as the missing address value.
What could be the reason for the missing address indicator for that specific customer while creation works fine using the subsequent retun order creation?
Thanks in advance, Ziv.1: You took care of the copy controls.
2: Whats the item category you are using in your return order. Please mark that item category as not relevant for pricing. Uncehck the pricing field in VOV7 for this item category. Also check the incompletion procedure to make sure "pricing" is not an entry.
3: Please check the pricing procedure you are using for the return order type, uncheck any "Mandatory " pricing conditions.
4: In the pricing procedure determination OVKK, please check you have the required entry for the return pricing procedure.
Please test with these changes and see the results,
Regards
Sai -
MDM 3.0: error when deleting a Standard Address
Hi,
when loading delections in MDM 3.0, the function module BUPA_ADDRESS_REMOVE can't delete addresses if in the table BUT021_FS the field XDFADU is = 'X'.
This means that I can't delete a Standard Address.
Do you know how can I by-pass this problem?
I need to delete those addresses.
Thanks in advance.
Fabrizio RubinoHi Fabrizio,
first of all this is a correct behaviour of the SAP Business Partner (BP). The address handling is designed in a way, that you cannot delete a default address if a BP already had one. The question is what do you want to do with the addresses? Do you want to delete all addresses of a BP? Then the answer is that this is not possible (at least it is not possible without modifying SAP code). If you want to replace the standard address, the sollution is to import the new standard address first, change the "is standard address" flag and then delete the old one.
Kind regards
Michael -
Erroneous standard address error in BP t-code
Dear All,
Can any help me on this error in BP Tcode i am getting the error First maintain the erroneous standard address. How to resolve this problem.
Please send the solution as P1.
Regds,
GovindaHI,
Can u Please elobarate on the error , as when u r getting that speciifc error,
Please check once in the img >Cross app components>sap business partner> Business partner>adress determination .
regards
Yash.k -
CRM equivalent of VBPA-ADRDA (Address Indicator Field)
Hi all-
In ECC, the field VBPA-ADRDA is used to show that an address was changed on an order (e.g. the ship-to address was changed from the default to something else).
Does anyone know if there is an equivalent field in CRM? I've looked in BUT020 and BUT021. BUT021-XDFADU looks like a possibility, the whole table BUT021 is empty in our system (whereas BUT020 has ~80K entries).
Any help would be appreciated.
Thanks-
TimHi ,
u have maintain address of partner/Customer in XD02.
regards
Prabhu -
Activation the Standard reports for SAP CRM IN BW 3.5 Version
hi guys
I am working on SAP BW 3.5 version
I have Activated the Satadard Reports for CRM Campaign, Lead, Opportunity in BW 3.5 Business Content
But I don't find the any single Standard Report in BEX.
I followed these Steps ;
BEX - Open - Queries - Info Area
If any One Knows please let me Know, Urgent Requirement
thanks in Advance
Sumadid u try to see that reports in metadata repository
login to bi system
enter RSA1
on the left panel select METADATA REPOSITORY
select LOCAL OBJECTS
then hit Query
TRY TO find ur REPORTS WITH TECHNICAL NAME
if it exists here than u shuld be able to seee in infocube.
if that doesnot make sense
go back to LOCAL OBJECTS SCREEN
hit INFOCUBE
locate ur infocube and select it
now everything with respect to infocube active and available is visible
all char catalog, keyfig catalog, queries etc.... -
Creating a target group based on the BP email address only in CRM
Hi there,
I am currently trying to create a target group based on the business partner email address only.
I have a list of over 1000 email addresses - these email addresses equate to a BP in our CRM system, however I do not have a list of the equivalent business partner numbers, all I have to work on are the email addresses. With these 1000 BP email addresses I need to update the marketing attributes of each of these 1000 BP records in CRM.
What I need is a method to find the 1000 BP numbers based on the email addresses and then use the marketing expert tool (tx. CRMD_MKT_TOOLS) to change the marketing attributes on all of the 1000 BPs.
The issue I am having is how can I find the list of BP numbers just based on the BP email address, I tried creating an infoset based on table BUT000, BUT020 and ADR6 but I after creating attribute list & data source for this I am stuck on what to do next. In the attribute list the selection criteria does not allow me to import a file for the selection range. I can only enter a value but I have 1000 email addresses and cannot possibly email them manually in the filter for the attribute list. I also looked at imported a file into the target group but I do not have any BP numbers so this will not work.
Does anyone know a method where I can create a target group based on the email addresses only without having to do any code?
Any help would be most appreciated.
Kind regard
JoJoHi JoJo ,
The below report will return you BP GUID from emails that is stored in a single column .xls file and assign the BP to a target group.
REPORT zexcel.
* G L O B A L D A T A D E C L A R A T I O N
TYPE-POOLS : ole2.
TYPES : BEGIN OF typ_xl_line,
email TYPE ad_smtpadr,
END OF typ_xl_line.
TYPES : typ_xl_tab TYPE TABLE OF typ_xl_line.
DATA : t_data TYPE typ_xl_tab,
lt_bu_guid TYPE TABLE OF bu_partner_guid,
ls_bu_guid TYPE bu_partner_guid,
lt_guids TYPE TABLE OF bapi1185_bp,
ls_guids TYPE bapi1185_bp,
lt_return TYPE bapiret2_t.
* S E L E C T I O N S C R E E N L A Y O U T
PARAMETERS : p_xfile TYPE localfile,
p_tgguid TYPE bapi1185_key .
* E V E N T - A T S E L E C T I O N S C R E E N
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_xfile.
CALL FUNCTION 'WS_FILENAME_GET'
IMPORTING
filename = p_xfile
EXCEPTIONS
inv_winsys = 1
no_batch = 2
selection_cancel = 3
selection_error = 4
OTHERS = 5.
IF sy-subrc <> 0.
CLEAR p_xfile.
ENDIF.
* E V E N T - S T A R T O F S E L E C T I O N
START-OF-SELECTION.
* Get data from Excel File
PERFORM sub_import_from_excel USING p_xfile
CHANGING t_data.
SELECT but000~partner_guid FROM but000 INNER JOIN but020 ON
but000~partner =
but020~partner
INNER JOIN adr6 ON but020~addrnumber = adr6~addrnumber INTO TABLE
lt_bu_guid FOR ALL ENTRIES IN t_data WHERE adr6~smtp_addr =
t_data-email.
CLEAR: lt_guids,ls_guids.
LOOP AT lt_bu_guid INTO ls_bu_guid.
ls_guids-bupartnerguid = ls_bu_guid.
APPEND ls_guids TO lt_guids.
ENDLOOP.
CALL FUNCTION 'BAPI_TARGETGROUP_ADD_BP'
EXPORTING
targetgroupguid = p_tgguid
TABLES
return = lt_return
businesspartner = lt_guids.
*& Form SUB_IMPORT_FROM_EXCEL
* text
* -->U_FILE text
* -->C_DATA text
FORM sub_import_from_excel USING u_file TYPE localfile
CHANGING c_data TYPE typ_xl_tab.
CONSTANTS : const_max_row TYPE sy-index VALUE '65536'.
DATA : l_dummy TYPE typ_xl_line,
cnt_cols TYPE i.
DATA : h_excel TYPE ole2_object,
h_wrkbk TYPE ole2_object,
h_cell TYPE ole2_object.
DATA : l_row TYPE sy-index,
l_col TYPE sy-index,
l_value TYPE string.
FIELD-SYMBOLS : <fs_dummy> TYPE ANY.
* Count the number of columns in the internal table.
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE l_dummy TO <fs_dummy>.
IF sy-subrc EQ 0.
cnt_cols = sy-index.
ELSE.
EXIT.
ENDIF.
ENDDO.
* Create Excel Application.
CREATE OBJECT h_excel 'Excel.Application'.
CHECK sy-subrc EQ 0.
* Get the Workbook object.
CALL METHOD OF h_excel 'Workbooks' = h_wrkbk.
CHECK sy-subrc EQ 0.
* Open the Workbook specified in the filepath.
CALL METHOD OF h_wrkbk 'Open' EXPORTING #1 = u_file.
CHECK sy-subrc EQ 0.
* For all the rows - Max upto 65536.
DO const_max_row TIMES.
CLEAR l_dummy.
l_row = l_row + 1.
* For all columns in the Internal table.
CLEAR l_col.
DO cnt_cols TIMES.
l_col = l_col + 1.
* Get the corresponding Cell Object.
CALL METHOD OF h_excel 'Cells' = h_cell
EXPORTING #1 = l_row
#2 = l_col.
CHECK sy-subrc EQ 0.
* Get the value of the Cell.
CLEAR l_value.
GET PROPERTY OF h_cell 'Value' = l_value.
CHECK sy-subrc EQ 0.
* Value Assigned ? pass to internal table.
CHECK NOT l_value IS INITIAL.
ASSIGN COMPONENT l_col OF STRUCTURE l_dummy TO <fs_dummy>.
<fs_dummy> = l_value.
ENDDO.
* Check if we have the Work Area populated.
IF NOT l_dummy IS INITIAL.
APPEND l_dummy TO c_data.
ELSE.
EXIT.
ENDIF.
ENDDO.
* Now Free all handles.
FREE OBJECT h_cell.
FREE OBJECT h_wrkbk.
FREE OBJECT h_excel.
ENDFORM. " SUB_IMPORT_FROM_EXCEL
Just copy paste the code and run the report select any local xls file with emails and pass the target group guid.
snap shot of excel file:
Let me know if it was useful. -
How to activate Standard BI Reports in CRM 7.0
Hi,
I am new to CRM. We are done with C41 of Best Practice, so i am able to activate all the standard CRM Interactive reports listed on UI.
My Source system client and Reporting client are different on CRM System.
CRM System is integrated with ERP system but not with BW system.
Now my task is to activate the standard BI reports on UI.
1. What is the difference between CRM Interactive reports and BI reports which are listed on the UI.
2. Do we need to connect to the BW server for activating these reports.
Kindly forward any documentation or link related to this topic.
Thanks,
Jaya.Hi Jaya
Yes you will need to connect to BW to run the BI reports within CRM.
The difference between the reports available are as such.
Interactive Reports: Basic Reports without too much processing required.
BW Reports: More complex with heavier level of processing.
This is a general summary of the differences.
Regards
Arden -
Restore standard organizational model in CRM
Just out of interest: if I were to convert the organizational model in CRM into an enhanced one, is there any possibility to later restore the standard organizational model, for instance via a backup?
Just out of interest: if I were to convert the organizational model in CRM into an enhanced one, is there any possibility to later restore the standard organizational model, for instance via a backup?
-
How to add standard field in the CRM Pricing field catalog?
Hello All
I am working on CRM 7.0 , I have a problem with the CRM pricing field catalog that when I am trying to add new field in the catalog the system gives me an error message that the entries should be in the allowed namespace (Y Or Z) but the field I am trying to add in the field catalog is standard field. What should I do to add this field in the field catalog?
The field is : BATCH_ID with data element CRMT_BATCH_ID
Thanks in advance
Jacopo FrancoiseFollow note : 441083
Maybe you are looking for
-
Unable to download iTunes 10.5 successfully
Hi I am trying to download itunes 10.5, when I run the file, I get windows installer, the it goes to iTunes window with the comment, Gathering required information... Status: Performing installation checks Then it hangs and hangs and hangs, nothing
-
I just donloaded the lastest version of iTunes but when it opens it says a componet was not installed repair or reinstall it. I did and the same thing happens. Any ideas?
-
Hi Anyone using YouView with video sender? If so any suggestion / recommendations. Ideally I would like to transmit the picture to more than one extra TV and use the remote on the additional set. I've seen a video senders on eBay that states it can d
-
Project Server Timesheet Approval
Hi, How do I remove a chain of Timesheetapprovers, so that the manager can approve the first approval and submit the Timesheet to a Senior Manager for final approval is not required?
-
I was thinking of going to the ombudsmen about the appalling service I have received from by over the last year. But this appears to be pointless after reading the forum. I have decided instead to get my MP involved to highlight the problems that to