‎2008 Oct 24 7:26 AM
Hi,
I am a very much a beginner to ABAP.
Can anyone explain me the logic with which pernr statement works?
This is my understanding so far.
i think it is working as a loop.
At first loop it gets the record of first pernr number into an internal table. If muliple records exists they are added into the internal table.
This goes on for all pernrs.
Is this correct?
Also i think there is a table where pernr number is stored globally. This is because i get a pernr number while using get pernr but that number is nowhere in any table.
Can any1 tell me that table name.
Thanks in advance,
Bala
‎2008 Oct 24 8:01 AM
>
> Can anyone explain me the logic with which pernr statement works?
> This is my understanding so far.
> i think it is working as a loop.
> At first loop it gets the record of first pernr number into an internal table. If muliple records exists they are added into the internal table.
> This goes on for all pernrs.
> Is this correct?
correct!
>
Also i think there is a table where pernr number is stored globally. This is because i get a pernr number while using get pernr but that number is nowhere in any table.
> Can any1 tell me that table name.
PA0001
‎2008 Oct 24 7:28 AM
Hi
check this link , it might help you...
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=pernr&cat=sdn_all
‎2008 Oct 24 7:28 AM
Hi,
Table PERNR-PERNR
GET PERNR is a kind of loop
Edited by: Neenu Jose on Oct 24, 2008 8:29 AM
‎2008 Oct 24 7:30 AM
‎2008 Oct 24 7:32 AM
‎2008 Oct 24 7:33 AM
‎2008 Oct 24 7:37 AM
Hi,
Check
http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/content.htm
GET PERNR:used in logical database PNP
If you are using LDB PNP, try the below code
tables : pernr.
infotypes : 0001.
start-of-selection.
get PERNR.
end-of-selection
Edited by: Neenu Jose on Oct 24, 2008 8:38 AM
Edited by: Neenu Jose on Oct 24, 2008 8:39 AM
Edited by: Neenu Jose on Oct 24, 2008 8:42 AM
‎2008 Oct 24 8:01 AM
>
> Can anyone explain me the logic with which pernr statement works?
> This is my understanding so far.
> i think it is working as a loop.
> At first loop it gets the record of first pernr number into an internal table. If muliple records exists they are added into the internal table.
> This goes on for all pernrs.
> Is this correct?
correct!
>
Also i think there is a table where pernr number is stored globally. This is because i get a pernr number while using get pernr but that number is nowhere in any table.
> Can any1 tell me that table name.
PA0001
‎2008 Oct 24 8:03 AM
Thank you very much eric....
You helped me a lot in learning abap so far....
Thanks again from my heart
With lots of thanks,
Bala.
Edited by: Bala Shanmuga Priyan on Oct 24, 2008 9:03 AM