/AWS1/IF_BII=>UPDPROCUREMENTPORTALPREFSTAT()¶
About UpdateProcurementPortalPreferenceStatus¶
Updates the status of a procurement portal preference, including the activation state of e-invoice delivery and purchase order retrieval features.
Method Signature¶
METHODS /AWS1/IF_BII~UPDPROCUREMENTPORTALPREFSTAT
IMPORTING
!IV_PROCUREMENTPORTALPREFARN TYPE /AWS1/BIIPROCUREMENTPORTALPR00 OPTIONAL
!IV_EINVOICEDLVRYPREFSTATUS TYPE /AWS1/BIIPROCUREMENTPORTALPR01 OPTIONAL
!IV_EINVDLVRYPREFSTATUSREASON TYPE /AWS1/BIIBASICSTRING OPTIONAL
!IV_PURCHASEORDERRETRIEVALP00 TYPE /AWS1/BIIPROCUREMENTPORTALPR01 OPTIONAL
!IV_PURCHASEORDERRETRIEVALP01 TYPE /AWS1/BIIBASICSTRING OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_biiupprocurementpor01
RAISING
/AWS1/CX_BIIACCESSDENIEDEX
/AWS1/CX_BIICONFLICTEXCEPTION
/AWS1/CX_BIIINTERNALSERVEREX
/AWS1/CX_BIIRESOURCENOTFOUNDEX
/AWS1/CX_BIISERVICEQUOTAEXCDEX
/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 update.
Optional arguments:¶
iv_einvoicedlvryprefstatus TYPE /AWS1/BIIPROCUREMENTPORTALPR01 /AWS1/BIIPROCUREMENTPORTALPR01¶
The updated status of the e-invoice delivery preference.
iv_einvdlvryprefstatusreason TYPE /AWS1/BIIBASICSTRING /AWS1/BIIBASICSTRING¶
The reason for the e-invoice delivery preference status update, providing context for the change.
iv_purchaseorderretrievalp00 TYPE /AWS1/BIIPROCUREMENTPORTALPR01 /AWS1/BIIPROCUREMENTPORTALPR01¶
The updated status of the purchase order retrieval preference.
iv_purchaseorderretrievalp01 TYPE /AWS1/BIIBASICSTRING /AWS1/BIIBASICSTRING¶
The reason for the purchase order retrieval preference status update, providing context for the change.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_biiupprocurementpor01 /AWS1/CL_BIIUPPROCUREMENTPOR01¶
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->updprocurementportalprefstat(
iv_einvdlvryprefstatusreason = |string|
iv_einvoicedlvryprefstatus = |string|
iv_procurementportalprefarn = |string|
iv_purchaseorderretrievalp00 = |string|
iv_purchaseorderretrievalp01 = |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.
UpdateProcurementPortalPreference for EinvoiceDeliveryPreferenceStatus and PurchaseOrderRetrievalPreferenceStatus¶
UpdateProcurementPortalPreference for EinvoiceDeliveryPreferenceStatus and PurchaseOrderRetrievalPreferenceStatus
DATA(lo_result) = lo_client->updprocurementportalprefstat(
iv_einvdlvryprefstatusreason = |suspended example reason|
iv_einvoicedlvryprefstatus = |SUSPENDED|
iv_procurementportalprefarn = |arn:aws:invoicing::111111111111:procurement-portal-preference/f71dd02e-f855-4b13-b793-0fd25c0b3ecd|
iv_purchaseorderretrievalp00 = |SUSPENDED|
iv_purchaseorderretrievalp01 = |suspended example reason|
).