If this is a single USSD command then it will work but if it is a USSD menu then you probably have to send this sequence as multiple USSD commands.

USSD is not a core functionality in Diafaan SMS Server and not all scenarios are possible with our software. The USSD options in Diafaan SMS Server are designed to support simple actions, like querying the SMS credits on the SIM card, and not for menu driven USSD sessions.