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 Selection Cursor

Former Member
0 Likes
912

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
Read only

Former Member
0 Likes
856

Possible values for pnptimed are:

D = Today

M = Current month

Y = Current year

P = To current date

F = From current date

3 REPLIES 3
Read only

Former Member
0 Likes
857

Possible values for pnptimed are:

D = Today

M = Current month

Y = Current year

P = To current date

F = From current date

Read only

0 Likes
854

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

Read only

Former Member
0 Likes
854
  • 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'.