/AWS1/IF_BDI=>UPDATEPROFILE()¶
About UpdateProfile¶
Updates the specified parameters for a profile. A profile is the mechanism used to create the concept of a private network.
Method Signature¶
METHODS /AWS1/IF_BDI~UPDATEPROFILE
IMPORTING
!IV_PROFILEID TYPE /AWS1/BDIPROFILEID OPTIONAL
!IV_NAME TYPE /AWS1/BDIPROFILENAME OPTIONAL
!IV_EMAIL TYPE /AWS1/BDIEMAIL OPTIONAL
!IV_PHONE TYPE /AWS1/BDIPHONE OPTIONAL
!IV_BUSINESSNAME TYPE /AWS1/BDIBUSINESSNAME OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_bdiupdateprofilersp
RAISING
/AWS1/CX_BDIACCESSDENIEDEX
/AWS1/CX_BDICONFLICTEXCEPTION
/AWS1/CX_BDIINTERNALSERVEREX
/AWS1/CX_BDIRESOURCENOTFOUNDEX
/AWS1/CX_BDISERVICEQUOTAEXCDEX
/AWS1/CX_BDITHROTTLINGEX
/AWS1/CX_BDIVALIDATIONEX
/AWS1/CX_BDICLIENTEXC
/AWS1/CX_BDISERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_profileid TYPE /AWS1/BDIPROFILEID /AWS1/BDIPROFILEID¶
Specifies the unique, system-generated identifier for the profile.
Optional arguments:¶
iv_name TYPE /AWS1/BDIPROFILENAME /AWS1/BDIPROFILENAME¶
The name of the profile, used to identify it.
iv_email TYPE /AWS1/BDIEMAIL /AWS1/BDIEMAIL¶
Specifies the email address associated with this customer profile.
iv_phone TYPE /AWS1/BDIPHONE /AWS1/BDIPHONE¶
Specifies the phone number associated with the profile.
iv_businessname TYPE /AWS1/BDIBUSINESSNAME /AWS1/BDIBUSINESSNAME¶
Specifies the name for the business associated with this profile.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_bdiupdateprofilersp /AWS1/CL_BDIUPDATEPROFILERSP¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
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.
DATA(lo_result) = lo_client->updateprofile(
iv_businessname = |string|
iv_email = |string|
iv_name = |string|
iv_phone = |string|
iv_profileid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_profileid = lo_result->get_profileid( ).
lv_resourcearn = lo_result->get_profilearn( ).
lv_profilename = lo_result->get_name( ).
lv_email = lo_result->get_email( ).
lv_phone = lo_result->get_phone( ).
lv_businessname = lo_result->get_businessname( ).
lv_logging = lo_result->get_logging( ).
lv_loggroupname = lo_result->get_loggroupname( ).
lv_createddate = lo_result->get_createdat( ).
lv_modifieddate = lo_result->get_modifiedat( ).
ENDIF.
Sample UpdateProfile call¶
Sample UpdateProfile call
DATA(lo_result) = lo_client->updateprofile(
iv_businessname = |John's Shipping|
iv_email = |john@example.com|
iv_name = |Shipping Profile|
iv_phone = |5555555555|
iv_profileid = |p-60fbc37c87f04fce9|
).