/AWS1/CL_PTS=>ASSIGNOPPORTUNITY()
¶
About AssignOpportunity¶
Enables you to reassign an existing Opportunity
to another user within your Partner Central account. The specified user receives the opportunity, and it appears on their Partner Central dashboard, allowing them to take necessary actions or proceed with the opportunity.
This is useful for distributing opportunities to the appropriate team members or departments within your organization, ensuring that each opportunity is handled by the right person. By default, the opportunity owner is the one who creates it. Currently, there's no API to enumerate the list of available users.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_catalog
TYPE /AWS1/PTSCATALOGIDENTIFIER
/AWS1/PTSCATALOGIDENTIFIER
¶
Specifies the catalog associated with the request. This field takes a string value from a predefined list:
AWS
orSandbox
. The catalog determines which environment the opportunity is assigned in. UseAWS
to assign real opportunities in the Amazon Web Services catalog, andSandbox
for testing in secure, isolated environments.
iv_identifier
TYPE /AWS1/PTSOPPORTUNITYIDENTIFIER
/AWS1/PTSOPPORTUNITYIDENTIFIER
¶
Requires the
Opportunity
's unique identifier when you want to assign it to another user. Provide the correct identifier so the intended opportunity is reassigned.
io_assignee
TYPE REF TO /AWS1/CL_PTSASSIGNEECONTACT
/AWS1/CL_PTSASSIGNEECONTACT
¶
Specifies the user or team member responsible for managing the assigned opportunity. This field identifies the Assignee based on the partner's internal team structure. Ensure that the email address is associated with a registered user in your Partner Central account.
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
lo_client->/aws1/if_pts~assignopportunity(
io_assignee = new /aws1/cl_ptsassigneecontact(
iv_businesstitle = |string|
iv_email = |string|
iv_firstname = |string|
iv_lastname = |string|
)
iv_catalog = |string|
iv_identifier = |string|
).