PA40 background method for personnel actions ?

David Weston weston at clockwork.ca
Wed Jun 15 09:12:42 EDT 2005


Thanks again Claude, looks like this function calls HR_MAINTAIN_MASTERDATA. Now
I know why I am getting PG428 errors as explained in the docu of function
HR_INFOTYPE_OPERATION.

Cheers
Dave

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

> 
> David,
> 
> No BAPI but the following FM is used all over the place in HR:
> 
> HR_INFOTYPE_OPERATION.
> 
> You could use it to fill IT0000 (Actions) (dont' forget the secondary
> IT0302) and then create the absence with the absence BAPI.
> 
> Hope that helps.
> 
> 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