You can use EDI Group ID GS03 in inbound and outbound EDI X12 flows.
In inbound flows, the EDI Group ID that appears in the messages is available as a parameter in the process-to-backend mapping. You can use the ID for any business logic.
In outbound flows, you can enter the partner Group ID when you create the partner. B2B Gateway adds the Group ID to outbound files. If you don't enter a Group ID for a partner, B2B Gateway uses the Interchange ID as the Group ID in outbound files.