Skip to Content

Setting a defualt subtype value in PA30 initial screen for an Infotype


I have three subtypes in one of my infotype. In PA30, when user selects the infotype and click on enter, i need one of the subtype should be defaulted in the subtype field. Then user will proceed with the next steps.

Please let me know this can be handled in subtype configuration or it needs to be handle via user exits.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 24, 2017 at 06:46 PM

    As far as I know it will also only work for insertion but not for any other options (problem being at the first exit point the record is already selected by the system so there is no real control over selection). And your control will only be possible after the insert action has been triggered.

    So if this is fine, you could try with:

        MOVE YourSubtype TO PNNNN-SUBTY.

    You can do it in the PBO of HRPADINFTY BADi (a bit tricky) or XPAD exit (easier).

    It's possible to control the kind of operation being performed by assessing PSYST-INIT (X) variable together with PSYST-IOPER (INS).

    Keep in mind that this can also affect other more regular maintenance operation over your infotype.



    Add comment
    10|10000 characters needed characters exceeded