Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

about infotypes

Former Member
0 Likes
289

Hi experts,

The internal table p0000 for the infotype 0000 is get populated before reaching the 'get pernr' statement. Then what is the use of this 'get pernr' statement. Can anybody explain me..

Regards,

Shanthi.

1 REPLY 1
Read only

Former Member
0 Likes
266

Report zzzz.

tables : pernr.

infotypes : 0000, 0001, 0002, 0008.

start-of-selection.

get pernr.

rp-provide-from-last p0000 space pn-begda pn-endda.

if p0000-stat2 <> "<Give the code for active employee status here>".

reject.

endif.

rp-provide-from-last p0001 space pn-begda pn-endda.

if pnp-sw-found = 1.

wa_itab-pernr = p0001-pernr.

endif.

rp-provide-from-last p0002 space pn-begda pn-endda.

if pnp-sw-found = 1.

wa_itab-cname = p0002-CNAME.

endif.

rp-provide-from-last p0008 space pn-begda pn-endda.

if pnp-sw-found = 1.

wa_itab-ansal = p0008-ansal.

  • For getting the SUMBB use the FM "RP_GET_ANSAL_FROM_WAGETYPES" by passing the wage types as coming from PA0008-LGA01 to PA0008-LGA40 ( Or till PA0008-LGA20 in case of 4.6 and lesser versions.)

endif.