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

PNP logical database screen and provide statement.

Former Member
0 Likes
576

hi all,

I have changed standard selection screen for PNP and now i dont have PERNR on it but it has only company code and one extra field added by me.

then after "GET PERNR."

Now if i execute statement "provide * from P0001 between pn-begda and pn-endda.", it gives me record for only pernr.

can someone explain me??

Reena..

1 ACCEPTED SOLUTION
Read only

suresh_datti
Active Contributor
0 Likes
541

The Block of code between the GET PERNR & END-OF-SELECTION events is executed for one pernr at atime for all the pernrs that are selected by the selection screen values.

~Suresh

hi all,

I have changed standard selection screen for PNP and now i dont have PERNR on it but it has only company code and one extra field added by me.

then after "GET PERNR."

Now if i execute statement "provide * from P0001 between pn-begda and pn-endda.", it gives me record for only pernr.

can someone explain me??

Reena..

3 REPLIES 3
Read only

suresh_datti
Active Contributor
0 Likes
542

The Block of code between the GET PERNR & END-OF-SELECTION events is executed for one pernr at atime for all the pernrs that are selected by the selection screen values.

~Suresh

Read only

0 Likes
541

ya that is something i m asking because my selection screen does not have pernr option, so what if u want to run the get pernr for all the pernrs in table..

I hope u understand my doubt Suresh..

Reena

Read only

0 Likes
541

As your report is tied to PNP, & you have only BUKRS as on the selection screen, the GET PERNR will be executed for all the PERNRs that belong to the Company Code input. You don't have to specify the Pernrs.. the LDB will select it for you..

~Suresh