Skip to content

/AWS1/IF_BII=>VERIFYPROCPORTALVALIDATION()

About VerifyProcurementPortalValidation

This feature API is subject to changing at any time. For more information, see the Amazon Web Services Service Terms (Betas and Previews).

Submits a validation code to complete the validation of a procurement portal preference. Use this operation after calling SendProcurementPortalValidation to confirm ownership and connectivity of the configured procurement portal endpoint.

Method Signature

METHODS /AWS1/IF_BII~VERIFYPROCPORTALVALIDATION
  IMPORTING
    !IV_PROCUREMENTPORTALPREFARN TYPE /AWS1/BIIPROCUREMENTPORTALPR00 OPTIONAL
    !IV_CODE TYPE /AWS1/BIIBASICSTRWITHOUTSPACE OPTIONAL
    !IV_CLIENTTOKEN TYPE /AWS1/BIIBASICSTRWITHOUTSPACE OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_biivrfprcportvldtrsp
  RAISING
    /AWS1/CX_BIIACCESSDENIEDEX
    /AWS1/CX_BIIINTERNALSERVEREX
    /AWS1/CX_BIIRESOURCENOTFOUNDEX
    /AWS1/CX_BIITHROTTLINGEX
    /AWS1/CX_BIIVALIDATIONEX
    /AWS1/CX_BIICLIENTEXC
    /AWS1/CX_BIISERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_procurementportalprefarn TYPE /AWS1/BIIPROCUREMENTPORTALPR00 /AWS1/BIIPROCUREMENTPORTALPR00

The Amazon Resource Name (ARN) of the procurement portal preference to validate.

iv_code TYPE /AWS1/BIIBASICSTRWITHOUTSPACE /AWS1/BIIBASICSTRWITHOUTSPACE

The validation code received from the procurement portal in response to a previous SendProcurementPortalValidation request.

Optional arguments:

iv_clienttoken TYPE /AWS1/BIIBASICSTRWITHOUTSPACE /AWS1/BIIBASICSTRWITHOUTSPACE

A unique, case-sensitive identifier that you provide to ensure idempotency of the request.

RETURNING

oo_output TYPE REF TO /aws1/cl_biivrfprcportvldtrsp /AWS1/CL_BIIVRFPRCPORTVLDTRSP

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->verifyprocportalvalidation(
  iv_clienttoken = |string|
  iv_code = |string|
  iv_procurementportalprefarn = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_procurementportalprefer = lo_result->get_procurementportalprefarn( ).
ENDIF.

VerifyProcurementPortalValidation call

VerifyProcurementPortalValidation call

DATA(lo_result) = lo_client->verifyprocportalvalidation(
  iv_code = |validation-code-123|
  iv_procurementportalprefarn = |arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd|
).