Tuesday, September 8, 2009

HR: T-CODE PE03 for config

Can use the following FM to retrive info from config set in tcode pe03.
Eg:
FORM get_join_petr_date.
DATA: type(3),
info(3),
new(3) VALUE 'NEW',
flg_index type n. " add nan/rohaizad 100909

* The pe03 config has been set to use struc zpme0.

LOOP AT p0000.
MOVE-CORRESPONDING p0000 TO zpme0.
PERFORM re549d USING '$TYPE' info type subrc.
CHECK type EQ new.

Reference on PE03:
http://88.191.95.122/index.php/dev/109-general-concepts/141-features.html

reference on FM re549d:
http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417200)ID2054469750DB21140978652675665956End?rid=/library/uuid/80b18e32-003b-2c10-68a6-dce4b0396128&overridelayout=true

No comments:

Post a Comment