President Cyril Ramaphosa has used the G20 Leaders' Summit to call for the respect of the United Nations Charter.