2007 Jun 20 9:24 AM
Hi all,
First of all, I'm not quite sure if this is the correct forum for this since the problem lies somewhere between Web Dynpro (ESS) and user exits probably. None the less my problem described below.
For entering data in CATS via SAP GUI, some user exits where implemented. Now we want to enter the data via ESS / MSS into CATS. But it seems that none of the user exits are 'used' (processed) this way. Do we need to make some additional settings for this, or is it just not possible (unlikely I would say).
Kind regards,
Micky.
2007 Jul 12 9:50 PM
I got this from OSS. The problem I'm having now is it is only firing the new method of mine after on the second data entries. Never the first change to data, unless I am in Debug. HOwever, it will get you further, perhaps give you ideas.
The ESS WebDynpro services delivered with ERP2004 ECC5.0 are based on a
new framework called the 'ITF', or Infotype Framework. This framework
no longer uses the same user exit concepts as in past releases (the old
framework was based on MSPERS00).
Recreation of similar "exit" type functionality is a two step process:
1. Create a subclass of the appropriate framework class (e.g.
CL_HRPA_INFOTYPE_0006_US for the US Address service, etc.) then
redefine whichever methods you require to function in a way other than
the standard delivery. The inheritance concept behind the subclass
will allow you to keep all the standard functions of the class, while
only replacing the method(s) you choose to redefine. In the case you've
described, I would suggest reviewing the methods
'SPECFIC_*_COMPUTATIONS' in this class.
Class CL_HRPA_INFOTYPE_nnnn contains logic for infotype nnnn.
How can you use the class written for IT0006 on a different IT0105?
The class ZCL_HRPA_INFOTYPE_0006_US which you inherit from
CL_HRPA_INFOTYPE_0006_US can only use for IT0006. So you need to change
the entry in T582ITVCHCK for 0006 to your own class. And then when you
edit/create IT0006 from ESS, your class will be called.
As for IT0105, there is no standard PersInfo ESS service for IT0105,
did you write your own ESS to update IT0105? Assuming so, you need to
create your own class ZCL_HRPA_INFOTYPE_0105_US inherited from class
CL_HRPA_INFOTYPE_0105 and use it for the entry of IT0105.
In releases ERP2005 and forward, it's expected that PA30 will also use
the ITF, in addition to ESS.
Hi all,
First of all, I'm not quite sure if this is the correct forum for this since the problem lies somewhere between Web Dynpro (ESS) and user exits probably. None the less my problem described below.
For entering data in CATS via SAP GUI, some user exits where implemented. Now we want to enter the data via ESS / MSS into CATS. But it seems that none of the user exits are 'used' (processed) this way. Do we need to make some additional settings for this, or is it just not possible (unlikely I would say).
Kind regards,
Micky.
2007 Jun 20 2:19 PM
What is the TCode? if its is not CAT2, I am afraid if the User Exits will get triggered via ESS/MSS.
~Suresh
2007 Jul 06 9:08 AM
Dear Suresh,
i have requirement in CAT2 , where i had to validate on Overtime Compensation Type field VERSL, if on a public holiday the users wants to
avail over time compensation then he should be allowed to enter 3 in VERSL field (OC) only and he shouldnt be allowed to enter 1 or 2 or empty , he should be
given a error message,
i have used the enhancement CATS0003 in the function module EXIT_SAPLCATS_003, however when i doing the validation from CAT2 it is not firing .....could please correct enhancment and give me sample to code write my requirement.
thanks in advance.
suresh
2007 Jun 21 8:36 AM
Surresh,
well, I don't think there is really a transaction code involved in this, since it's done via ESS / MSS Web Dynpro.
Thanks for your reply anyway.
Micky.
2007 Jul 12 9:50 PM
I got this from OSS. The problem I'm having now is it is only firing the new method of mine after on the second data entries. Never the first change to data, unless I am in Debug. HOwever, it will get you further, perhaps give you ideas.
The ESS WebDynpro services delivered with ERP2004 ECC5.0 are based on a
new framework called the 'ITF', or Infotype Framework. This framework
no longer uses the same user exit concepts as in past releases (the old
framework was based on MSPERS00).
Recreation of similar "exit" type functionality is a two step process:
1. Create a subclass of the appropriate framework class (e.g.
CL_HRPA_INFOTYPE_0006_US for the US Address service, etc.) then
redefine whichever methods you require to function in a way other than
the standard delivery. The inheritance concept behind the subclass
will allow you to keep all the standard functions of the class, while
only replacing the method(s) you choose to redefine. In the case you've
described, I would suggest reviewing the methods
'SPECFIC_*_COMPUTATIONS' in this class.
Class CL_HRPA_INFOTYPE_nnnn contains logic for infotype nnnn.
How can you use the class written for IT0006 on a different IT0105?
The class ZCL_HRPA_INFOTYPE_0006_US which you inherit from
CL_HRPA_INFOTYPE_0006_US can only use for IT0006. So you need to change
the entry in T582ITVCHCK for 0006 to your own class. And then when you
edit/create IT0006 from ESS, your class will be called.
As for IT0105, there is no standard PersInfo ESS service for IT0105,
did you write your own ESS to update IT0105? Assuming so, you need to
create your own class ZCL_HRPA_INFOTYPE_0105_US inherited from class
CL_HRPA_INFOTYPE_0105 and use it for the entry of IT0105.
In releases ERP2005 and forward, it's expected that PA30 will also use
the ITF, in addition to ESS.
2008 Oct 14 7:43 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |