Skip to Content
author's profile photo Former Member
Former Member

PNP Selection Cursor

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2007 at 09:40 AM

    Possible values for pnptimed are:

    D = Today

    M = Current month

    Y = Current year

    P = To current date

    F = From current date

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 24, 2007 at 10:30 AM
    • 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'.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.