the message
'Document XXXXX does not contain any selectable items'.
is triggered by a user setting in MIGO, a kind of self control.
I dont expect that you can get this message with the BAPI too.
you may have to raise this message at SAPs Support desk through SAP Marketplace.