Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SELECT OPTION in logical database PNP

rainer_hbenthal
Active Contributor
0 Likes
1,179

Hi,

when i use ligical database PNP and i'm entering a range in personnel number, in which variables is that stored?

The select option in pnppernr, but this one is initial in start-of-selection and get event.

Is there any othe structure containing the range?

Regards

Rainer

Hi,

when i use ligical database PNP and i'm entering a range in personnel number, in which variables is that stored?

The select option in pnppernr, but this one is initial in start-of-selection and get event.

Is there any othe structure containing the range?

Regards

Rainer

6 REPLIES 6
Read only

suresh_datti
Active Contributor
0 Likes
999

Hi Rainer,

PNPPERNR is the internal table that gets filled in with the PERNR range & it should be available in the START-OF-SELECTION event. PL verify your program.

Good Luck,

Suresh Datti

Read only

0 Likes
999

I set a breakpoint after start-of-selection and after get, but in both cases structure pnppernr has initial values.

Read only

0 Likes
999

PL post your code.. ( up to GET PERNR is enough )

suresh

Read only

Former Member
0 Likes
999

Hi Rainer,

In PNPPERNR only you can see the values you entered.

Put a break-point at get pernr and check the table

pnppernr it will contain the values,

Thanks & Regards,

Siri.

Message was edited by: Srilatha T

Read only

0 Likes
999

Gosh, i just checked the headerline and not the entire table. The headerline is initial.... but the table is not.

Thanks guys.

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
999

I think that PNPPERNR is the range. This sample program works for me.



report zrich_0001.

TABLES: pernr.

parameters: p_check.

start-of-selection.


GET pernr.


write:/ pnppernr.

  check sy-subrc = 0.

Regards,

Rich Heilman