Skip to content

/AWS1/IF_BII=>LISTPROCPORTALSUPPLIERS()

About ListProcurementPortalSuppliers

Returns the suppliers configured for a specified procurement portal, including supplier identifiers and associated metadata. For faster, more reliable responses, use pagination.

Method Signature

METHODS /AWS1/IF_BII~LISTPROCPORTALSUPPLIERS
  IMPORTING
    !IV_PORTALIDENTIFIER TYPE /AWS1/BIIPROCPORTALIDSTRING OPTIONAL
    !IV_NEXTTOKEN TYPE /AWS1/BIIBASICSTRWITHOUTSPACE OPTIONAL
    !IV_MAXRESULTS TYPE /AWS1/BIIMAXRESULTS OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_biilistprcportsupsrsp
  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_portalidentifier TYPE /AWS1/BIIPROCPORTALIDSTRING /AWS1/BIIPROCPORTALIDSTRING

The unique identifier of the procurement portal for which to list suppliers. Use the PortalIdentifier value returned by ListProcurementPortals.

Optional arguments:

iv_nexttoken TYPE /AWS1/BIIBASICSTRWITHOUTSPACE /AWS1/BIIBASICSTRWITHOUTSPACE

The token for the next set of results. You received this token from a previous call.

iv_maxresults TYPE /AWS1/BIIMAXRESULTS /AWS1/BIIMAXRESULTS

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value. Default is 100.

RETURNING

oo_output TYPE REF TO /aws1/cl_biilistprcportsupsrsp /AWS1/CL_BIILISTPRCPORTSUPSRSP

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->listprocportalsuppliers(
  iv_maxresults = 123
  iv_nexttoken = |string|
  iv_portalidentifier = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  LOOP AT lo_result->get_procportalsuppliers( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      lv_supplieridstring = lo_row_1->get_supplieridentifier( ).
      lv_basicstringwithoutspace = lo_row_1->get_sellerofrecord( ).
      lv_countrycode = lo_row_1->get_countrycode( ).
      lv_procurementportalenv = lo_row_1->get_environment( ).
    ENDIF.
  ENDLOOP.
  lv_basicstringwithoutspace = lo_result->get_nexttoken( ).
ENDIF.

ListProcurementPortalSuppliers

ListProcurementPortalSuppliers

DATA(lo_result) = lo_client->listprocportalsuppliers( iv_portalidentifier = |KXMJQWBRNP| ) .