‎2007 May 14 2:49 PM
Hi,
I am using the Function Module HR_READ_INFOTYPE and passing only two parameters PERNR = P_PERNR and INFTY = '0014'.
And for the tables, I have declared i_0014 having include structure PA0014.
But when I am executing the Program, It is not populating the i_0014 properly, actually there is no mandt field in the FM table and there is INFTY field in the FM table. So all the data is getting moved left by one place.
How can I fix this issue.
Regards,
Ishaq.
‎2007 May 14 3:06 PM
Change the declaration of i_0014 to
DATA: i_0014 TYPE P0014 OCCURS 0 WITH HEADER LINE
instead of PA0014.
Let me know if still it doesn't work.
‎2007 May 14 3:06 PM
Change the declaration of i_0014 to
DATA: i_0014 TYPE P0014 OCCURS 0 WITH HEADER LINE
instead of PA0014.
Let me know if still it doesn't work.
‎2007 May 14 3:13 PM
Hi ishaq,
1. minor mistake
2. the variable has to be declared
as P0014 ( and not PA0014).
3. data . i_0014 like P0014 occurs 0 with header line.
regards,
amit m.
‎2011 Jan 24 5:24 PM
Hi,
Could you please let me know why we should not refer to PA0014 instead of P0014?
Thanks,
Balaji
‎2007 May 14 3:14 PM