Application Development 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: 

PNP Selection Cursor

Former Member
0 Kudos

Hi Guys/Dolls

I have an ABAP program that uses a PNP Logical database.

When the application is launched the "Other period" is automatically selected I have managed (with your help) to make "Today" to be the default via the use of the following statement.

pnptimed = 'D'.

2 other questions

1) The cursor doesn't’t seem to have moved still in the date of the other box how do

I make it move to the default which is now set to "Today".

2) As a matter of curiosity how would I make the current month the default or any other selections the defaults? Are there similar statements like pnptimed = ‘D’.?

Many thanks in advance.

Raj

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Possible values for pnptimed are:

D = Today

M = Current month

Y = Current year

P = To current date

F = From current date

3 REPLIES 3

Former Member
0 Kudos

Possible values for pnptimed are:

D = Today

M = Current month

Y = Current year

P = To current date

F = From current date

0 Kudos

if u go to LDB PNP, u will get all the values

Former Member
0 Kudos
  • The following 2 statement will set Today as the default on the PNP

  • selection and also move the cursor to that field.

pnptimed = 'D'.

SET CURSOR FIELD 'PNPTIMR1'.