SAP Message WB2B_TEW040 - Step and main step must have the same document type

WB2B_TEW040 : Step and main step must have the same document type