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

HR ABAP query

Hi Experts,

I am developing HR report.

requirement:

There are two options on the selection screen

1) using personnel no: if the first option i.e. get the personnel no selected and entered the personnel no the report is giving the correct optput in SAp-Script

2) using last name and first name : if report run using the second option i.e. last name, report is not giving the correct output.

it is not selecting the values if give last name as 'p*'.

how do i do that ??? if i entered the value 'p*' as last name.

any sample code???

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 10, 2008 at 09:33 AM

    for the second option ...

    select * from PA0002 into table it_pa0002

    where NACHN in s_nachn. <-- your select-option(p*)

    Here U'll get all the pernr's into internal table it_pa0002

    whose lastname starts with 'p' ...

    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.