Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3132

Flaw in RPAQ_GET_AF_0001 to get employee manager

$
0
0

Hi,

 

I have found flaws with in standard SAP function module to get manager when we open PA20 info type 0001. The function module RPAQ_GET_AF_0001 is not picking the manager if the manager position is vacant. It is basic thing that if manager position is vacant system automatically should get the higher level manager. But I found that this FM is failing to do that.

 

I have debugged and found that with in RPAQ_GET_AF_0001, a Function module to get lead position is being called( RH_GET_LEADING_POSITION).

 

The importing and exporting parameters for the RH_GET_LEADING_POSITION are,

 

*"*"Lokale Schnittstelle:

*"  IMPORTING

*"     VALUE(PLVAR) LIKE  HRSOBID-PLVAR

*"     VALUE(OTYPE) LIKE  HRSOBID-OTYPE

*"     VALUE(SOBID) LIKE  HRSOBID-SOBID

*"     VALUE(DATE) LIKE  SY-DATUM DEFAULT SY-DATUM

*"     VALUE(AUTH) DEFAULT 'X'

*"     VALUE(BUFFER_MODE) TYPE  FLAG DEFAULT SPACE

*"     VALUE(CONSIDER_VAC_POS) TYPE  XFLAG DEFAULT SPACE

*"  TABLES

*"      LEADING_POS STRUCTURE  HROBJECT

*"  EXCEPTIONS

*"      NO_LEAD_POS_FOUND

*"------------------------------


There is a parameter called CONSIDER_VAC_POS, which is not being passed from RPAQ_GET_AF_0001. But for me I need higher level manager if the position is vacant.


I could fix it by implementing an implicit enhancement but I am not sure how it will be effected with upgrades. Could anyone please help me on this?


How can I raise a OSS note to SAP to fix this. As it is basic that higher level manager need to picked if the manager position is vacant.



Regards,

Raghu


Viewing all articles
Browse latest Browse all 3132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>