PA40 background method for personnel actions ?

David Weston weston at clockwork.ca
Wed Jun 15 08:38:41 EDT 2005


Thanks Claude, I have found function module HR_MAINTAIN_MASTERDATA but this uses
a call dialog with batch input and I am getting different errors for different
employees.....so it keeps failing for different reasons and is very hard to
handle in background. It does have a dialog option which I may have to persuade
the user to use instead so they can handle all the different situations. SAP
seems to use this function from their PA40 functions.

But I will look for a BAPI that maintains infotype 0000 now as well.

Cheers
Dave


Quoting Claude Bourque <claude_bourque at hc-sc.gc.ca>:

> 
> David,
> 
> I haven't found anything but I'll keep looking. All you need is a BAPI to
> create an Infotype 0000.
> 
> Claude
> 
> 
>                                                                              
>                                                       
>                       David Weston                                           
>                                                       
>                       <weston at clockwork        To:       "SAP Workflow Users'
> Group" <sap-wug at mit.edu>                              
>                       .ca>                     cc:                           
>                                                       
>                       Sent by:                 Subject:  RE: PA40 background
> method for personnel actions ?                         
>                       sap-wug-bounces at m                                      
>                                                       
>                       it.edu                                                 
>                                                       
>                                                                              
>                                                       
>                                                                              
>                                                       
>                       2005-06-14 10:33                                       
>                                                       
>                       AM                                                     
>                                                       
>                       Please respond to                                      
>                                                       
>                       "SAP Workflow                                          
>                                                       
>                       Users' Group"                                          
>                                                       
>                                                                              
>                                                       
>                                                                              
>                                                       
> 
> 
> 
> 
> Thanks again Claude, just as a follow up the BAPI creates the absence OK
> but do
> you know of a way to create the action as well via a BAPI etc, but not by
> batch
> input if I can help it ?
> 
> Cheers
> Dave
> 
> Quoting Claude Bourque <claude_bourque at hc-sc.gc.ca>:
> 
> >
> > Dave,
> >
> > Did you look at BAPI_ABSENCE_CREATE (which I think is obsolete but still
> > works) and BAPI_PTMGRATTABS_MNGCREATION?
> >
> > If I recall you'll have to lock the employee first and then run these. I
> > haven't used them in a while...
> >
> > Have fun.
> >
> > Claude Bourque
> > HR Consultant
> > Health Canada
> >
> >
> >
> >
> 
> >
> >                       David Weston
> 
> >
> >                       <weston at clockwork        To:       "SAP Workflow
> Users'
> > Group" <sap-wug at mit.edu>
> >                       .ca>                     cc:
> 
> >
> >                       Sent by:                 Subject:  RE: PA40
> background
> > method for personnel actions ?
> >                       sap-wug-bounces at m
> 
> >
> >                       it.edu
> 
> >
> >
> 
> >
> >
> 
> >
> >                       2005-06-13 11:19
> 
> >
> >                       AM
> 
> >
> >                       Please respond to
> 
> >
> >                       "SAP Workflow
> 
> >
> >                       Users' Group"
> 
> >
> >
> 
> >
> >
> 
> >
> >
> >
> >
> >
> > Thanks Dan, you just confirmed my fear that I will have to use BDC. Was
> > trying
> > to avoid it and code something tidier.
> >
> > Ah well....SM35 here I come :) Unless anyone else has a gem up their
> > sleeve.
> >
> > Cheers
> > Dave
> >
> > Quoting "Stoicof, Dan" <dan.stoicof at gwl.com>:
> >
> > > I've recorded a BDC session (for each infotype) and played it back in
> > custom
> > > method(s).
> > >
> > > Dan Stoicof
> > > SAP Workflow/ABAP Team
> > > GREAT-WEST LIFE and ANNUITY
> > > 8515 E. Orchard Rd
> > > Greenwood Village, CO. 80111
> > > dan.stoicof at gwl.com
> > > (303)737-2242
> > >
> > >
> > > -----Original Message-----
> > > From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]On Behalf
> > > Of David Weston
> > > Sent: Monday, June 13, 2005 8:53 AM
> > > To: sap-wug at mit.edu
> > > Subject: PA40 background method for personnel actions ?
> > >
> > >
> > > Hi folks,
> > >
> > > Was wondering if anyone had created a background method before for the
> HR
> > > transaction PA40 for Personnel Actions and in my case Leave of Absence
> ?.
> > >
> > > I need to create a method that updates the employees leave of absence
> > > information in background that would normally be done in dialog via
> PA40.
> > >
> > > Does anyone know of any routines such as BAPI's, methods that they have
> > used
> > > that can do this ? I have had a look around (transactions BAPI, SWO1
> etc)
> > > but
> > > nothing is looking obvious.
> > >
> > > Any information or advice would be gratefully received.
> > >
> > > Cheers
> > > Dave
> > > _______________________________________________
> > > SAP-WUG mailing list
> > > SAP-WUG at mit.edu
> > > http://mailman.mit.edu/mailman/listinfo/sap-wug
> > >
> > > _______________________________________________
> > > SAP-WUG mailing list
> > > SAP-WUG at mit.edu
> > > http://mailman.mit.edu/mailman/listinfo/sap-wug
> > >
> > >
> > >
> >
> >
> >
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >
> >
> >
> > _______________________________________________
> > SAP-WUG mailing list
> > SAP-WUG at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> >
> >
> >
> 
> 
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> 
> 
> 
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> 
> 
> 





More information about the SAP-WUG mailing list