on 06-03-2005 4:52 PM
Below is the flow logic of my ITS service.In this iam getting the personnel no from a text box and passing it to the remote enabled function module to fetch his details.However the requirement is that I should not pass the personnel no to the FM.Instead when a person is logging to the service his id should be detected automatically by the system.Is there any standard funtcion module or BAPI or any command in HTMLB or in FlowLogic to handle this requirement.
Flow Logic:
<flow>
<state name="Start">
<module name="Y_ESS_FL_GET_DETAILS" type="RFC">
<default next_template="FL_APPLY"></default>
<inputmapping source="PERSONNELNO" target="PERSONNELNO"></inputmapping>
<persistent name="FL_BALANCE"></persistent>
<persistent name="FL_EXPIRY_DATE"></persistent>
<persistent name="PERNR"></persistent>
<persistent name="RETURN1"></persistent>
</module>
</state>
<event name="Submit" next_state="Start"/>
</flow>
please give me some solution on this.
thanks.
Hello Vadivel,
I think you should write your own RFC enabled Function Module which gets the personnel no of the logged in user.
Regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
do you mean the user id? sy-uname will give the logged on user id.
or are you looking for a code to get the user id of a pernr?
select single * from pa0105 where pernr eq <pernr> and
subty eq '0001' and
endda ge sy-datum and
begda le sy-datum .
pa0105-usrid will be the user id for the pernr.
Regards
Raja
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.