/AWS1/IF_BII=>DELETEINVOICEUNIT()¶
About DeleteInvoiceUnit¶
This deletes an invoice unit with the provided invoice unit ARN.
Method Signature¶
METHODS /AWS1/IF_BII~DELETEINVOICEUNIT
IMPORTING
!IV_INVOICEUNITARN TYPE /AWS1/BIIINVOICEUNITARNSTRING OPTIONAL
!IV_CLIENTTOKEN TYPE /AWS1/BIIBASICSTRWITHOUTSPACE OPTIONAL
PREFERRED PARAMETER iv_invoiceunitarn
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_biidelinvoiceunitrsp
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_invoiceunitarn TYPE /AWS1/BIIINVOICEUNITARNSTRING /AWS1/BIIINVOICEUNITARNSTRING¶
The ARN to identify an invoice unit. This information can't be modified or deleted.
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_biidelinvoiceunitrsp /AWS1/CL_BIIDELINVOICEUNITRSP¶
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->deleteinvoiceunit(
iv_clienttoken = |string|
iv_invoiceunitarn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_invoiceunitarnstring = lo_result->get_invoiceunitarn( ).
ENDIF.
DeleteInvoiceUnit¶
DeleteInvoiceUnit
DATA(lo_result) = lo_client->deleteinvoiceunit(
iv_clienttoken = |e362c68e-4e74-48d7-9228-0bc5aa447b44|
iv_invoiceunitarn = |arn:aws:invoicing::000000000000:invoice-unit/12345678|
).