cancel
Showing results for 
Search instead for 
Did you mean: 

In activity, Location Field Should be replaced with Name/Address Fields

former_member206281
Active Participant
0 Kudos

Hello all,

I have the following requirement.

During creation of the Appointment in the SAP CRM GUI , The requirement is to auto populate the LOCATION field with Account Name and Address .

Is there some code to populate this data , Account name from the reference tab of appointment and the address from the Account details of the account entered .

Regards,

Chandrakant kulkarni

Accepted Solutions (1)

Accepted Solutions (1)

robert_kunstelj
Active Contributor
0 Kudos

Create new event that is triggered "before_create" event and use fm CRM_ACTIVITY_H_MAINTAIN_OW to populate field ACT_LOCATION.

Answers (3)

Answers (3)

former_member206281
Active Participant
0 Kudos

Hello all,

with respect to above requirement, i am able to get the account name in location. However, my requirement is also such that i need to concatenate that with address of the account. This address is in the bp_addr/standardaddress. i have used component usage and got that view into the viewset of appointment. Now when i use the get_city, get_countryname etc of this standardaddress in get_location, i am getting an error called BuilStandardAddress not bound.. Please help me in this

REGARDS,

CHANDRAKANT KULKARNI

former_member206281
Active Participant
0 Kudos

Hello,

i could follow the link below. More or less my requiremnt is same

http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=201066680&focusedCommentId=247136560&#comm...

Howeevr, the changes in my requirement are

The location field has to be populated with account name and the address of that account. In this scenario, i have the acoount name from the same page, but the account address is stored in account. i need to retrieve the data from account and append it with the account name and display it in location.

Please help me on this.

REGARDS

CHANDRAKANT KULKARNI

former_member206281
Active Participant
0 Kudos

Hello Robert,

It would be very helpful if you can guide me step by step as i am new to CRM. Apologies for the delay in replay as my SAP system was not working and i could not check out anything.

REGARDS

CHANDRAKANT KULKARNI