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

conditional use of Event Get pernr

Hi Experts,

I have a situation/special case when GET PERNR runs for all pernr.s (No input on selection screen of PNP LDB) where it causes unnecessary performance issue.

Is there any way to execute GET PERNR event conditionally or terminate the event in kinda IF...ELSE statement?

Thanks.

Achyut

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 06, 2008 at 02:23 PM

    In ldb there is no such option for that but you can restrict by specifying the pernr ranges or using initialization of the fields and dates used on the selection screen .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 06, 2008 at 02:07 PM

    Only u can restrict data by specifying

    mode N

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 06, 2008 at 02:31 PM

    Hi Achyut,

    Whenever you use the Get Pernr..

    You need to definetely declare the Infotypes you are using in the program in the INFOTYPES STATEMENT.

    Ex :

    INFOTYPES : 0000 , 00001,

    2001 MODE N .

    MODE N need to be declared for time infotypes

    The info type tables are not filled by GET PERNR (logical database PNP) or GET OBJEC (logical database PCH). The effect of the INFOTYPES statement is then the same as the data declaration of an internal table (as described above).

    Thank you

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 06, 2008 at 02:31 PM

    x

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 11, 2008 at 10:00 AM

    I came to conclusion that conditional use may not be possible.

    Thanks for quick help.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 09, 2008 at 10:24 PM

    You can execute GET PERNR event dynamically vai use of FM LDB_PROCESS passing proper parameter. This way you can call GET PERNR event dynamically. Never hesitate - there is will there is a way..:-)

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 10, 2008 at 01:12 AM

    Check if PNPPERNR is initial during the START-OF-SELECTION & Use the key word STOP. This will skip the GET PERNR event and take you to the END-OF-SELECTION.

    ~Suresh

    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.