‎2010 Aug 03 5:39 AM
Hi All,
I'm getting a Employee number from one standard BAPI internal table which has a lenght of 10. I need to pass this employee number to PA0002 where PERNR = itab-PERNR.
but problem is PA0002-pernr length is 8 and my itab-pernr is 10. How to handle this
Regards
Suprith
‎2010 Aug 03 5:47 AM
What is the BAPI you're using to get the PERNR ? If you could post the code how you're populating the table ITAB, it would be easier to analyze.
BR,
Suhas
‎2010 Aug 03 5:47 AM
Surprith,
Ideally both the employee numbers should be of same lenght.Do you really have a employee number of length 10 or just the data type length is 10.If the latter is true you can move it to some temp variable of type PA0002-pernr but if you have diff data you will get incosistent results
Thanks
Bala Duvvuri