Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Selection screen: PNP database or other selection criteria

I received a specification of a new to be developed program where they defined a selection screen with a with 2 radio buttons:

1. Use the logical database PHP for data selection (rb1);

2. Use other criteria for data selection (rb2).

My question is, is this possible?

Or should I add the other criteria between the GET PERNR and the following code with?


  IF rb2 = ‘X’.
    [Check other criteria]
    IF sy-subrc <> 0.


Former Member

When either pnp OR other selection :

Create program 1 with 2 radiobuttons ==> pnp-selection (rb1)or other selection (rb2). When rb1 is selected go to pgm1 with pnp ; when rb2 is selected go to pgm2 with other selection criteria. Copy pgm1 to pgm2 and add extra selections en delete pnp-statements.

When pnp WITH extra selections : 1 pgm can be used as you described.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question