Workflow for HR Info Type 41

Hello,
I got a requirement where a workflow has to triggred when there is any changes made to the HR Info Type 41 via PA30.
In PA30 transaction code under Info Type 41(Date Specifications) if I enter Date Type as U6 & U7 with dates then an email has to go to a list of people. There is already a workflow developed for the same but I do not know how do I find out which worklfow it is triggering and how do I change it.
Thanks & Regards,
Nagaraj Kalbavi

First, I would suggest you to go through the Business Objects concepts to have a clear idea of where and how they are used.
To test the BO, enter the ZXXXX in SWO1 and click on "Test".
Click on the "Instance" where the input will be the Key field number.. and execute. The runtime values (Attributes) will be displayed.. You can execute the appropriate method (you can debug as well by going into the program and keeping breakpoint) and then executing the method..
Go in display mode, and find out what are the keyfields, attributes, methods and events... If you can read more on Business objects, you will find out the definitions and uses of each of these...
Go to each method(probably would be custom method in your case which should start with Z or Y) and click on program to see whats the code written in that method..
Regards,
PR.
Edited by: PR on Jun 1, 2009 3:35 PM

Similar Messages

  • HR_INFOTYPE_OPERATION for upadting info type 0106 as secondary record

    hi,
    I am using this FM for updating info type 0021 and 0106 as secondary record, info type 0021 got created and also 0106 got created.
    however individual fields in 0106 like perid, stras, ort01 are not updated, only record with key got created.
    any clues how to use this FM
    Thanks,
    Kranthi.

    Problem resovled, however i am not sure this FM actually creates, in reality it should create.
    below is the code i am using for the above scenario.
    data:  g_masterdata_bl    type ref to if_hrpa_masterdata_bl,
              msg_handler          type ref to cl_hrpa_message_list,
              ls_p0021                type p0021,
              ls_0106                  type p0106,
              g_container            type ref to if_hrpa_infty_container,
              g_container_nnnn  type ref to cl_hrpa_infotype_container,
              update_mode        type hrpad_update_mode,
              g_is_ok                  type boole_d,
              lt_tab                     type hrpad_infty_container_tab,
              ls_pref                    type pref.
    ls_p0021-pernr  = '00000578'.
    ls_p0021-subty  = '1'.
    ls_p0021-infty   = '0021'.
    ls_p0021-begda = sy-datum.
    ls_p0021-endda = '99991231'.
    ls_p0021-famsa  =  '1'.
    ls_p0021-fanam = 'first name'.
    ls_p0021-favor  = 'first name agaiin'.
    ls_p0021-fasex  = '1'.
    ls_p0021-fgbdt  = '19770101'.
    ls_p0021-grpvl = 'ABCD'.
    ls_0106-pernr    = '00000578'.
    ls_0106-subty    = '1'.
    ls_0106-infty     = '0106'.
    ls_0106-begda   = sy-datum.
    ls_0106-endda   =  '99991231'.
    ls_0106-perid    = '114463323'.
    call method cl_hrpa_masterdata_bl=>get_instance
      importing
        masterdata_bl = g_masterdata_bl.
    create object msg_handler.
    call method g_masterdata_bl->get_infty_container
      exporting
        tclas           = 'A'
        pskey           = ls_p0021-pskey
        message_handler = msg_handler
      importing
        container       = g_container.
    * Insert info type records
    g_container_nnnn ?= g_container.
    g_container           ?= g_container_nnnn->modify_data(
      primary_record    =  ls_p0021
      secondary_record = ls_0106
      pref = ls_pref
    try.
        call method g_masterdata_bl->insert
          exporting
            message_handler = msg_handler
            update_mode     = update_mode
          importing
            is_ok           = g_is_ok
          changing
            container       = g_container.
      catch cx_hrpa_violated_assertion.
        g_is_ok = space.
    endtry.
    try.
        call method g_masterdata_bl->flush
          exporting
            no_commit = space.
      catch cx_hrpa_violated_assertion.
    endtry.

  • OOTB Approval Workflow for a Content Type sends emails for 2 content types

    My environment: SP 2013 Server (WFE-APP) + SQL
    I have a few Content Types configured in a document library. Every content type has an OOTB approval workflow to fire an e-mail to the approver on each new/edit.
    When I create a new file for testing, it first becomes checked out with no properties added. I then edit the properties to specify its content type and other fields. When I check in the document, SharePoint sends out an e-mail to the approver for that content
    type which is correct. What SharePoint also does for this very same file is sends out an approval request e-mail for the default content type for that library which is something else than a desired content type.
    This is something I cannot understand. I thought that the workflows start on a file 'Check in'. If I check in a file that is a certain content type, why does the approval for a default content type for a library trigger as well? 

    Hi,
    Is it SharePoint 2013 workflow or previous 2010 model workflow? If it's SharePoint 2013, how are you associating workflow to content type. As per
    MSDN "Unlike previous versions, SharePoint 2013 does not support workflows that are scoped to a
    content type. However, the messaging infrastructure is extensible, so it can support
    any arbitrary scope. As a developer, you can set to", workflow association with content type (which was possible in SharePiont 2010) is no longer available out of the box. You need to do it manually, (not sure how as there's no documentation yet
    from MS) and programmatically.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

  • AE 5.1 and 5.2 - Configuring parallel workflows for "Delete" Request type

    Has anyone configured parallel workflows for the "Delete" Request type?  I want to configure 1 for SAP and 1 for non-SAP applications, but have been unable to do it successfully. 
    The initiators I have created that do not work are:
    1 - SAP initiator:
    SAP application with "OR" condition
    Request Type = Delete with  "AND" condition
    2 - Non-SAP initiator:
    Non SAP application 1 with "OR" condition
    Non SAP application 2 with "OR" condition
    Non SAP application 3 with "OR" condition
    Request Type = Delete with  "AND" condition
    When I create a request to Delete a user with SAP app and Non SAP app I get the error:  "Error in creating request. Multiple Initiators, [NON SAP DELETE, SAP DELETE] Found."
    Based on what I am reading on p. 58 of the AE52ConfigGuide.pdf, this should be possible to do.  Does anyone have any suggestions?

    This is my understanding.,
    A request cannot have more than one initiator. You cannot trigger multiple initiators for one single request. In your case both attributes SAP & Non SAP application are given with OR condition which makes both the initiators alike. As mentioned in the documentation the request for deletion can be made to happen in both SAP & Non SAP application by having forked path (for this the initiator should be OR Application SAP OR Non SAP Application AND Request Type Delete). Given the other option then it should have different initiator for SAP and Non SAP applications by giving them with AND condition.

  • Authorization for new info types added in PA61

    Gurus ,
    Our HR team have added new info types in transaction PA61 namely ,
    Organizational assignment (0001) , Pesonal data (0002) , Address(0006) , Family(0021), education (0022), date specifications(0041) , communication(0105) , passport no (9001) , license(9003) , physical details(9008) ..
    The problem once after adding it in the t-code (Without changing anything in the authorization object) the users will able to access some of the info types . HOw this could be possible ?
    They want the users only to see the details in pa61 . we should not allow user to copy/edit/delete in pa61 .
    but my problems are ,
    1.I have added all the above info types with authorization level 'R' , but still when they click edit it is working 
    2.when users try to see the educational details through  infotype 'eduction'  it's showing the error as 'NO authorization to maintain education xx exists ' .but i have added the user name in transaction OOSB to profile ALL
    If i give su53 it's shoeing the object S_WFAR_OBJ , but i am not sure how is this object useful  ...
    Gurus help me in solving

    FYI: I deleted your duplicate post.
    SU53 (the last failed auth check only) in HR (complex checks) is not very usefull.
    Check which authority you have in P_PERNR?

  • Table T588M for info type screen display:

    Hi Experts
    I have deleted relevant entry in in table T588M for an info type still the system shows some screen. where from does that screen come. Can anybody help..?

    As i understand, there is a screen element that you want to get it disabled but is not available in the table v_t588m. Is that right???
    If YES, the screen element/ field of your screen, for example 3000 of it0817, can be disabled from the screen layout also.
    Go to SE80 -> select the module pool mp081700 as your program -> select screen 3000 -> Click on the 'layout' in the application toolbar -> select the element and delete or change the properties, might be display properties in your case.
    Hope this helps.
    Cheers,
    LG

  • FM  to insert info type 0008 for indirect evalutaion

    Hi,
    can i use hr info type operation FM, for inserting info type 0008 because annual salary is indirectly evaluted?
    is there any other FM which does this calculation and insert info type 0008.
    Thanks,
    Kranthi.

    BAPI_BASICPAY_CREATE can be used to upload data into IT-8, where we have indirect valuated wagetypes
    Raghu

  • Workflow for Grievance

    Hi I need to develop workflow for Grievances. For that we need to develop an application for interface (EP)from where the Grievances can be applied.
    Can anybody please suggest me are there any RFCs for Grievance (Info Type 102).
    And is there any standard business objects are there for Grievances to build workflow?
    Regards.
    Ranganadh.

    Hi Ranga nadh 
        Dont use any of the tables which you have mentioned. No use of those tables. Simple things you do  not complicate the things. Already you have created a custom BOR ask the webdynpro developer to use trigger the workflow using the FM SAP_WAPI_CREATE_EVENT and put the necessary values in the t-code SWE2 for event linkage. In the workflow you design only for determining the approver logic and how it should route. For the updation if your are using new webdynpro screen then updation will be taken care by WDA developer using the FM HR_INFOTYPE_OPERATION and he will complete the workflow task manually by the Fm SAP_WAPI_WORKITEM_COMPLETE.  If your are using user decision step then you have to do the updation with the same FM HR_INFOTYPE_OPERATION. That it.
    IF you have any query fire to me!!!!!!!!!!!!!!!!!!!!!!
    Regards
    vijay

  • Regd Workflow for a new custom page

    HI ,
    We have created 2 pages for some functionality where in user can login n serach for a person and update certain attributes like his source/company, assignment category etc.
    First page he can searach the person and after search results come in, he can click on a link and go to the next page where he can edit the attributes n submit.
    Now after updating and submitting the page, we have a reqt to send notifications to the initiator in case the user has approved the txn or rejected or sent for correction. But we dont know how to achive it with the 2 pages n no workflow.
    How to launch a workflow for this ?
    or is there a way we can send notification from backend without using workflow n it shud still come in the worklist of a person.
    Regards,
    Preeti

    Hi Preeti
    DECLARE
    l_itemtype VARCHAR2(30) := 'XX_TEST';
    l_itemkey VARCHAR2(300) := 'TEST';
    BEGIN
    Begin
    wf_engine.createprocess(l_itemtype, l_itemkey, 'XX_MAIN_TEST');
    Exception
    when others then
    dbms_output.put_line('Error in create process:' sqlerrm);
    End;
    BEGIN
    wf_engine.setitemuserkey(itemtype => l_itemtype
    ,itemkey => l_itemkey
    ,userkey => 'USERKEY: ' l_itemkey);
    EXCEPTION
    when others then
    dbms_output.put_line('Error in set userkey process:' sqlerrm);
    END;
    BEGIN
    wf_engine.setitemowner(itemtype => l_itemtype
    ,itemkey => l_itemkey
    ,owner => 'SYSADMIN');
    EXCEPTION
    when others then
    dbms_output.put_line('Error in set owner process:' sqlerrm);
    END;
    BEGIN
    wf_engine.startprocess(l_itemtype, l_itemkey);
    dbms_output.put_line('Process started');
    commit;
    EXCEPTION
    when others then
    dbms_output.put_line('Error in set owner process:' sqlerrm);
    END;
    END;These are the details of the functions used
    1> wf_engine.createprocess
    This API creates a new runtime instance of the workflow process, Pass the item type and item key for the workflow.
    2> wf_engine.setitemuserkey
    Use this API to mark the new runtime instance of the workflow process with an
    end–user key
    3> wf_engine.SetItemAttrText
    Use this API to set values for the item type attributes defined for workflow process .E.g.: Email ID, Description defined in the workflow.
    4> wf_engine.setitemowner
    Use this API to set the value of owner (Of Workflow)
    5> wf_core.context
    In case of exception, it will help in locating source of an error.
    6> wf_engine.startprocess
    Use this API to invoke the workflow for the item type and item key specified.
    Ajay

  • Debug background task in custom workflow for PO change

    Hi,
    We are on ECC 6.0 EHP7.
    I have a custom workflow for PO object type(delegated to std object type BUS2012).
    There is a background task which has some custom code written and I need to debug this code.
    Can someone please let me know how to debug a background task?
    Thanks.

    As suggested by ronen we can debug through swo1 but we have to pass values manually for importing parameters, by using sm50 also we can do debug and there is one more way  to debug
    if its custom task change background  task to fore ground and change business object method also change it to fore ground and activate the work flow.
    now change any  po  then it will stop at that step now take that work item id in swi1 and go to swia and execute after putting break point in that method of business object.
    But best way to debug  through infinite loop i.e sm50.
    suri

  • REPORT FOR INFO TYPE 586

    Hi All
    I am trying to create a report for INFO TYPE 586  in HR ABAP,where  in a table apporx 30 investment codes , proposed investment and actual amount are apperaring .
    Now My problem is,  I do not want to use IF .... ENDIF statment. Is there any other way to write the code .
    Please Help.
    Thanks in advance.

    Hi,
    In this situation you can use field-symbols and/or a internal table. Like this:
    tables: pa0586.
    field-symbols: <ff1> type any,
                   <ff2> type any,
                   <ff3> type any.
    data: w_campo1(30),
          w_campo2(30),
          w_campo3(30),
    data: w_nx(2) type n.
    data: begin of i_myitc occurs,
            itc like pa0586-itc01,
            dsc(30),
          end of i_myitc.
    * fixed selection or may be from a z table
    i_myitc-itc = '01'. i_myitc-dsc = 'AAAAA'. append i_myitc.
    i_myitc-itc = '02'. i_myitc-dsc = 'BBBBB'. append i_myitc.
    i_myitc-itc = '03'. i_myitc-dsc = 'CCCCC'. append i_myitc.
    select single * from pa0586.
    do 30 times.
       w_nx = sy-index.
       concatenate 'PA0586-ITC' w_nx into w_campo1.
       concatenate 'PA0586-PIN' w_nx into w_campo2.
       concatenate 'PA0586-AIN' w_nx into w_campo3.
       assign (w_campo1) to <ff1>.
       assign (w_campo2) to <ff2>.
       assign (w_campo3) to <ff3>.
       read table i_myitc with key itc = <ff1>.
       write: / <ff1>, <ff2>, <ff3>, i_myitc-dsc.
    enddo.
    Best regards,
    Leandro Mengue

  • How to use Purch. Info Record, for different Valuation Types ?

    Hi All,
    While doing Split Valuation,
    I have created three valuation types - say,  M1,M2,M3. for material M.
    Now, I want to create Info record for material M and Vendor V1.
    when i go to me11, system is allowing me to create info record for M and V1 once only,
    in Purchasing Organization View, I'm getting the Valuation type field,
    but can't entering 3 prices for 3 valuation types,
    such as in Material Master.
    Can any one help me regarding this....
    Thanks,
    Anand.

    if u create po with info update indicator then u can use your valuatiion type in po for whihc there is no ifo recrod existing then system willl createt one
    but actually the price will get stored in the price oder history not exactly in the pir

  • Why do I not get the checkout option for a pdf type document when clicking on the document link in the SharePoint workflow task?

    We are trying to use workflows to review and edit pdf files in sharepoint 2010. We are having a couple of issues and am hoping someone has the answer.....
    1)  When myself and coworkers click on the pdf document in the library, we get the check out option as expected.  However when we click on the document
    link in a workflow task (on the sharepoint site), the pdf opens as a temporary file and we do not get the check out option.  Why does this happen????? 
    2)  The same thing happens when we click on the document link in the workflow task email;   HOWEVER,  one of our co-workers does get the
    check out option when clicking on the link in the email task.  Why would she get the checkout option using the email and not when clicking on the link in the task list on the sharepoint site ????  We have compared our internet settings and adobe
    settings to ours and found no differences.
    We are using Sharepoint 2010, Windows 7, IE8, Adobe Reader X or XI.  Some of us have Adobe Pro X and have the same issues.

    Hi,
    According to your post, my understanding is that you could not get the checkout option for a pdf type document when clicking on the document link in the SharePoint workflow task.
    I try to reproduce the issue, however, no matter when I click the pdf type document in the library or click on the pdf document link in the workflow task email, it download the pdf doucment and then I can open it.
    It will be better if you can descript how you
    get the check out option as expected when you click on the pdf document in the library.
    Then I upload a
    word type document to the library, no matter when I click the word type document in the library or click on the word document link in the workflow task email, I can open the word document directly and get the check out option as expected.
    I recommend to use the other type docuemts to check whether the check out option works.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Workflow Status column for new content type

    Hi,
    Initially I had a document library and several workflows associated with it. After that I created a new content type inheriting Folder content type. My existing workflows could be started and work fine with any item of this new content type except anything
    related to the workflow status column, such as "Automatically update workflow status to the current stage name", or workflow action "Set workflow status". If I use the OOTB Folder content type, everything's fine. But I need custom fields
    for folder as well.
    The workflows can be started then it seems unreasonable that they are not associated with the items of the new content type, considering I set my new content type to be the child of the existing Folder content type. So why any item under this new content
    type does not have the workflow status column? I've tried removing the workflow from the list and publishing back using SPD without success.
    I also notice that when you associate a new content type to a document library/list which has some custom columns, you cannot edit those columns to be used in the new content type. You need to delete those columns and recreate them, then the option "Add
    to all content types" is there. Is this expected design?
    Thanks

    Hi,
    According to your post, an error occurred when you created a custom Edit form for new content type.
    We can do as follows:
    1.Add the MyNameSpace.MyNewEditPage dll file into GAC(C:\Windows\assembly).
    2. Execute the iisreset command.
    We can create a new content type using visual studio 2012/2013.
    http://www.sharepoint-journey.com/sharepoint-list-content-types-and-site-columns.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Triggering of Workflow for park documents based on Document type.

    Hi,
    I have activated workflow for park documents but it is triggering for all document types. Client dont want workflow for Customer park documents.
    I assigned SA document only in "release approval path" but it is triggering for all document types.
    Please help me.
    Thanks.
    Azeem

    Hi Azeem,
    We have the same requirement. Would you mind sharing how you were able to accomplish this?
    Thank you,
    Mark.

Maybe you are looking for

  • Photoshop Elements and Photoshop Elements Premiere serial numbers

    Hi, I just purchased Photoshop Elements Premiere bundle off Amazon (PC download). They weren't clear which serial number was for which programme. It seems that the serial number for PSE Premiere was accept for PSE. Now the other serial number isn't b

  • Resolution changing erraticily

    new hp500-c60 with samsung syncmaster943swx monitor screen resol changing erraticilly. only 2 weeks old This question was solved. View Solution.

  • Error message  Error! Check Activation.

    I just upgraded to Adobe Digital Editions 4.0.1.101645   on my Windows 8.1 machine. The hardware is ASUS and the antivirus is Kaspersky. McAffee was bundled with the machine, I don't use it, but I don't know if it is completely removed. I cannot add

  • Horizontal Menu Submenu alignment

    Problem: how to change the top alignment of a submunu list so that it aligns with the top of the first choice in the parent menu listing. ?? Presently "top=0" in CSS puts the top edge of the child submenu list in line with the top line of the selecte

  • Streaming Quicktime Won't Display (But did in earlier version)

    I'm a professor who had some streaming Quicktime movies embedded in the previous version of Keynote. They all worked great this summer. I upgraded to Keynote '08 and erased the old versions, only to find that the Streaming Quicktime movies no longer