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

ALV Grid output problem

Hi All,

I m working on ALV grid reports. m developing a report for HR module.

m fetching the data from 2 tables with innerjoin. first table is

pb9003 & the other is pb0002. m fetching the Applicant first name

& last name from pb0002 and rest of other fields from pb9003 by joining

pb9003pernr = pb0002pernr. but in my output it is showing Pernr (appicant no.)

instead of first name and last name in the first name & last name field.

In classical report output i m getting the correct data means applicant first name

and last name in the fields with the same select query.

my select query is....

SELECT
      I~PERNR M~VORNA M~NACHN I~BEGDA I~XCERT I~XMARK I~XIICERT I~XIIMARK I~GRDDG
      I~PGDRG I~EXPLT I~OFFLT I~APPLT I~PSLIP I~IDPRF I~ADPRF I~PFOTO
      I~PCFOTO I~ANYOTHR I~PRESG I~PFORM I~ESIFO I~GRTUTY I~ODOCS
      INTO TABLE IT FROM PB9003 AS I
      INNER JOIN PB0002 AS M ON I~PERNR = M~PERNR
      WHERE I~PERNR IN PERNR AND I~BEGDA IN BEGDA.

Plz tell me, What is the problem??????

Thanks in Advance...

AK

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 14, 2008 at 06:12 AM

    Hi Ak,

    Since you told, it coming correctly in Classical report the problem is not with the select query.

    Better you check the field catalog you made for the ALV.

    I guess you have mis assigned the fields there.

    Hope this helps you.

    Thanks,

    Arun

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 14, 2008 at 06:14 AM

    Hi,

    send me the fields in the fieldcatalog and also definition of final ALV output table with fields.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 14, 2008 at 06:15 AM

    Hi,

    Check the fieldcatalog?

    Thanks,

    Sriram Ponna.

    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.