SAP Function UPSX_SCENARIO_GET_PACKAGETYPE - Get Packet Type for Log. System and Scenario

Parameter Reference Type Length Default Optional Text
LOGSYS TUPS_X02LOGSYS-LOGSYS C 10 ALE Distribution Packet: Partner
SCENARIO TUPS_X02SCENARIO-SCENARIO C 10 Scenario Keys

Parameter Reference Type Length Text
UPSTYPE TUPS_X02LOGSYS-UPSTYPE C 10 ALE Distribution Packet: Packet Type

Exception Text
NOT_FOUND No Matching Data Record Found
NO_LOGSYS Initial LOGSYS Parameters
NO_SCENARIO Initial SCENARIO Parameters

Functionality
Gets the accompanying packet type for a receiving system and a scenario.
If this pair is not found in the TUPSX02LOGSYS table, then a search ismade with the logical system empty. If this also fails then you get the'NOT_FOUND' exception.