Quantcast
Channel: SCN : Unanswered Discussions - SAP Business ByDesign
Viewing all articles
Browse latest Browse all 4032

ABSL Code to change account role from prospect to customer

$
0
0

Dear all,

 

I know abap, but absl is very new for me and completely different than ABAP, so i'm quite lost.

 

I am experimenting and would like to create a new code to achieve following requirement.

 

A prospect is used in a opportunity. When the opportunity is won, the role of the prospect should change to customer.

If the account was already a customer, nothing has to happen.

 

I suppose we have to create an extension on object 'Opportunity', with an event 'On Save'...

 

Could someone help me out to find the correct code

- to retrieve the account linked to the opportunity

- to retrieve the current role

- to change to role to customer

 

thank you and kind regards,

Michael


Viewing all articles
Browse latest Browse all 4032


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>