Pushbutton instead of radiobut
You would like to be able to set particular values when selecting a type of document

When selecting a radio button, it is not possible to initiate an input script. Instead of displaying the various order types with radio buttons, the whole thing can be defined with push buttons.
The great advantage of this solution is that an input script can be initiated. In this example, the shipping condition is set dependently of the selection. The number of possible fields or variables that can be set is unlimited.
SAPMV45A.D0101.txt
VA01_Auftragsart.txt