SAP Message WB2B213 - No purchasing grouping exists

Diagnosis
You want to
IF &V2& = 'X'.
process
ELSE.
issue
ENDIF.
a message with the target group "vendor".
To do this, a purchasing grouping must be entered in trading contracttype &V1&.

System Response
As no purchasing grouping is entered in trading contract type &V1&, therequired function cannot be performed.