Skip to content

/AWS1/IF_BII=>SENDPROCPORTALVALIDATION()

About SendProcurementPortalValidation

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

Sends a validation request for a procurement portal preference. This operation initiates the validation process by issuing a validation code that confirms ownership and connectivity of the configured procurement portal endpoint. Use VerifyProcurementPortalValidation to submit the received code and complete validation.

Method Signature

METHODS /AWS1/IF_BII~SENDPROCPORTALVALIDATION
  IMPORTING
    !IV_PROCUREMENTPORTALPREFARN TYPE /AWS1/BIIPROCUREMENTPORTALPR00 OPTIONAL
    !IV_CLIENTTOKEN TYPE /AWS1/BIIBASICSTRWITHOUTSPACE OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_biisendprcportvldtrsp
  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.

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_biisendprcportvldtrsp /AWS1/CL_BIISENDPRCPORTVLDTRSP

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->sendprocportalvalidation(
  iv_clienttoken = |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.

SendProcurementPortalValidation call

SendProcurementPortalValidation call

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