Function mudule for person substitution

HI,
My requirement is  substitution of person. The person number and range of date upto which he will be assigned will be imported from EP(Enterprise Portal) side. My requirement is to search for existing  function module for person substitution.
Is there any predefined function module for person substitution.
regards
sandeep

Hi Sandeep,
perhaps the function modules from function group RHW2
are helpful for you.
Regards
Bernd

Similar Messages

  • Any Function mudule for BOM Output as per IDOC BOMMAT Message type

    Hi
    is there any Function module which can retrive the field values from BOM tables and map to the BOM IDOC structure?
    Thanks
    JK

    Hi,
    I am looking for Function Module which can map BOM Table values to outbound BOM IDOC directly.
    Thanks
    JK

  • Search help (PREM) for personal no. is not coming in ALV grid table control

    hi experts,
    Search help (PREM) for personal no. is not coming in ALV grid table control.
    i have assigned the srch help (prem) to my 'ZFIEXP_PROJALLOC' table for the emp_id.
    but in output it is now showing the help.
    ls_fcat-fieldname = 'EMPLOYEE CODE'.
      ls_fcat-ref_table = 'ZFIEXP_PROJALLOC'.
      ls_fcat-ref_field = 'EMP_ID'.
      ls_fcat-outputlen = '10'.
      ls_fcat-key = 'X'.
      ls_fcat-edit = 'X'.
      ls_fcat-coltext = 'EMPLOYEE CODE'.
      ls_fcat-seltext = 'EMPLOYEE CODE'.
      append ls_fcat to pt_fieldcat.
      clear ls_fcat.
    Then i tried to solve it using the PA0002 . ie.,
    ls_fcat-fieldname = 'EMPLOYEE CODE'.
      ls_fcat-ref_table = 'PA0002'.
      ls_fcat-ref_field = 'PERNR'.
      ls_fcat-outputlen = '10'.
      ls_fcat-key = 'X'.
      ls_fcat-edit = 'X'.
      ls_fcat-coltext = 'EMPLOYEE CODE'.
      ls_fcat-seltext = 'EMPLOYEE CODE'.
      append ls_fcat to pt_fieldcat.
      clear ls_fcat.
    with this it is showing the help in employee code, but, when i click on an empl number, it is not added to my table control and allowing me to add the number by typing them.
    plz help me.
    thanks.

    Hi 
    In the layout give layout-sel_mode  = 'A'.  and
    pass  'A'    to  i_save  exporting parameter to method  set_table_for_first_display.
    The same thing if you are working with function module
    reuse_alv_grid_display.
    Reward points for useful answer.
    Venkat

  • Infopath form for sharepoint 2013 lags when searching for person or group.

    Dear all,
    After implementing a infopath form on sharepoint, the search for person or group column lags when I search for someone the second time. (The first time won't lag). Is there a fix to this? And is there a way to modify the search for person or group function
    to sharepoint OOTB person or group search? I think the OOTB one is a lot better. Thanks all.
    Timothy Liu

    Have a look at this thread which discussed a same question:
    http://social.msdn.microsoft.com/forums/sharepoint/en-US/c55f4245-b2b0-410b-94fc-2afd1ef80da8/preventing-users-from-editing-other-users-infopath-forms
    thanks,
    Flynn

  • Can you set default values for person/group picker fields? To current user?

    Two-part question/issue . . .
    Part 1:
    In InfoPath 2013 in use with SharePoint 2013, how do you set a Default Value for Person/Group Picker fields? Other field types like Text Boxes have a Default Value section in the Data tab of Properties.  There doesn't appear to be any equivalent for
    the Person/Group Picker field type in Properties.  I'd like to set a default person for a few fields in a form I've created.  Is this possible?
    Part 2:
    The default user I want to set for one of those Person/Group fields is the "current user."  I want a user to log into our SharePoint 2013 intranet, load a new form for edit/creation, and have one of the Person/Group fields in that form to
    automatically populate this particular user.  Is this possible?

    Hi Stephen,
    You can auto populate your InfoPath farm with current user Name and all other property that you have in your User profile, you have couple of options.
    First you can make a secondary connection in your InfoPath form with user profile and can use the UserProfileService.asmx and call the GetUserProfileByName method. Here is the steps you can follow.
    http://blogs.technet.com/b/anneste/archive/2011/11/02/how-to-create-an-infopath-form-to-auto-populate-data-in-sharepoint-2010.aspx
    Secondly you can use JQuery and SPServices ,
    $().SPServices.SPGetCurrentUser function to populate the values with script to achieve the same in this case you no need to use InfoPath form just create simple text type column in SharePoint
    list and auto populate it with getting the current user Name from User Profile here is the scripts
    <script language="javascript" type="text/javascript" src="../../jQuery%20Libraries/jquery-1.4.2.min.js"></script>
    <script language="javascript" type="text/javascript" src="../../jQuery%20Libraries/jquery.SPServices-0.5.4.min.js"></script>
    <script language="javascript" type="text/javascript">
    $(document).ready(function() {
      var userCurrentName = $().SPServices.SPGetCurrentUser({
        fieldName: "CurrentUser"
      $("input[Title='CurrentUser']").val(userCurrentName);
      var userPhone = $().SPServices.SPGetCurrentUser({
        fieldName: "WorkPhone"
      $("input[Title='Phone']").val(userPhone);
    </script>
    Krishana Kumar http://www.mosstechnet-kk.com

  • Function module for assigning BP Number to the Postion ID in org model

    Hi Experts,
    Is there any function module for assigning BP Number to the Postion ID in organizational model.
    The requirement is:
    1)There are some employees which are reporting to a Manager who has a position ID.
    2) Each of these employees should be assigned to the given position ID.
    This can be done by First Locate the BP Record in SAP via the Vantive Person ID  and retrieve the SAP BP Number.
    <b>Then assign the SAP BP Number found to the Position ID.</b>
    My question is <b>Is there any function module for assigning BP Number to the Postion ID .</b>
    Looking forward for reply.
    Thanks & Regards,
    Renju.

    Hi,
       Org. management uses API classe objects with static methods as APIs. You may be able to achieve this using
    CL_CRM_ORGMAN_SERVICES->MAPPING_ORGUNIT_TO_BP
    Reward if helpful!
    Regards,
    Sudipta.

  • Function Module for putting Flat File into Application Server

    Hi Pals,
         what is the   Function module for putting my flatfile into application server..
    because i dont have  authorizations to  put my flatfile  into application server directly..
    I know one function mudule is there for that ...so,  can you suggest me.. what is the function module... for that..
    thanks.. and points will be assigned..
    chitti

    Hi,
    well normally you use the method GUI_UPLOAD of class CL_GUI_FRONTEND_SERVICES to upload a file from your client pc. Then you use the abap statements open dataset, transfer and close dataset to put the file to the app-server.
    kind regards
    Siggi

  • Function module for reading payroll results

    HI,
    I need a function module for reading payroll results RT table.
    Import parameters are personal number, payroll area, and payroll period.
    Export should be RT table.
    Regards,
    Wasim Ahmed

    Hai Wasim
    Check the following Code
    data: payroll_cluster like t500l-relid.
        call function 'PYXX_READ_PAYROLL_RESULT'
             exporting
                  clusterid                    = payroll_cluster
                  employeenumber               = pernr-pernr
                  sequencenumber               = payroll-evp-seqnr
                READ_ONLY_BUFFER             = ' '
                READ_ONLY_INTERNATIONAL      = ' '
                CHECK_READ_AUTHORITY         = 'X'
           IMPORTING
                VERSION_NUMBER_PAYVN         =
                VERSION_NUMBER_PCL2          =
             changing
                  payroll_result               = payroll_us
            exceptions
                 illegal_isocode_or_clusterid = 1
                 error_generating_import      = 2
                 import_mismatch_error        = 3
                 subpool_dir_full             = 4
                 no_read_authority            = 5
                 no_record_found              = 6
                 versions_do_not_match        = 7
                 others                       = 8
        if sy-subrc <> 0.
          if sy-subrc <> 0.
            write: / 'Fehler beim Laden des US Abrechnungsergebnisses'(003).
            write: /'zu Personalnummer'(008), pernr-pernr,
                    'bei Sequence-Number'(012),
                     payroll-evp-seqnr.
            write: /  'Fehlercode ='(004), sy-subrc.
          endif.
        endif.
    Thanks & regards
    Sreenivasulu P

  • Problem using function module for infotype 21

    hi
    im uploading the infotype 21 (family details) through function module hr_infotype_operations. i found that infotype 0106 (family/related person)
    is a secondary infotype and that a record is created for 0106 ,everytime you create a record in 21. so i upload the family data of an employee using the function module for infotype 21 initially. and then fetch the same record from the table pa0106 and modify the same record with other information.
    for example : u have the address details of a dependent(father subtype 11) in infotype 21. this address data is stored in the table pa0106 .  im not able to modify the record for infotype 0106 using the function module 0106.
    i would like to know the reason for the same. Is it because that infotype 0106 is a secondary infotype and u cannot modify the record using the fn module..?/
    thanks
    sridharan

    Hi Sir,
    I am also facing the same issue...i need to update dependents Information  Date Of Birth n Perid(Which is stored in IT0106)...in IT 0021..
    Kindly correct my code....
    I am using the following code for this...
    data: w_return type  bapireturn1.
    data: p0021_struc TYPE p0021,
          p0106_struc TYPE p0106,
          p_pskey   TYPE pskey.
    start-of-selection.
    get pernr.
    p0021_struc = p0021.
    p0021_struc-favor = 'Gaurav'.
    p0021_struc-fgbdt = '05/10/1955'.
    Move p0021_struc-favor to p0021-favor.
      p0106_struc = p0106.
      p0106_struc-stras = '2235 BOmbay Road'.
      p0106_struc-perid = '123456789'.
      MOVE p0106_struc-stras to p0106-stras.
    Enqueue personnel number
      call function 'BAPI_EMPLOYEE_ENQUEUE'
        exporting
          number = pernr-pernr
        importing
          return = w_return.
      CALL FUNCTION 'HR_INFOTYPE_OPERATION'
        EXPORTING
          infty            = p_pskey-infty
          number           = p_pskey-pernr
          subtype          = p_pskey-subty
          objectid         = p_pskey-objps
          lockindicator    = p_pskey-sprps
          validityend      = p0021-endda         " '99991231'
          validitybegin    = p0021-begda
          record           = p0021_struc
          operation        = 'mod'
          tclas            = 'A'
          dialog_mode      = '2'
         nocommit         = p_test
          VIEW_IDENTIFIER  = '07'              "p0003-viekn
          secondary_record = p0106_struc
        IMPORTING
          return           = w_return
         key              = familykey
        EXCEPTIONS
          OTHERS           = 0.
    Enqueue personnel number
      call function 'BAPI_EMPLOYEE_DEQUEUE'
        exporting
          number = pernr-pernr
        importing
          return = w_return.

  • Any BAPI/Function Module for adding new record with dates in PA0027

    Hi all,
    I am tryig to find is there any BAPI/Function module for updating new record with Start Date and End date for specified Personal Number in PA0027 Table.
    In PA0027 table i will be passing start date and end date for selected personal number, it needs to add new record with this details in the table checking the condition that this start date and end dates should not be between any of of start date and end dates for the specified personal number.
    thanks for ur time.
    Murali

    Hi Raj/Suresh thanks for ur answers.
    but i am having a problem,i gave this values.
    INFTY               -
                0027
    NUMBER              -
                00000010
    SUBTYPE             -
                010
    OBJECTID
    LOCKINDICATOR
    VALIDITYEND         -
                03/12/2006
    VALIDITYBEGIN       -
                03/01/2006
    RECORDNUMBER        -
                000
    RECORD              -
                P0027
    OPERATION           -
                CHK
    TCLAS               -
                A
    DIALOG_MODE         -
                0
    NOCOMMIT            -
                Y
    VIEW_IDENTIFIER
    SECONDARY_RECORD
    i am getting short dump saying that
    The source field is too short.
    The current program, "SAPLHRMM", tried to assign a field to a field symbo
    However, the field is shorter than the type of the field symbol, which
    is not allowed.
    The statement in question is in the form ASSIGN f TO <fs> CASTING or
    ASSIGN f TO <fs> with a field symbol that was created using the
    STRUCTURE addition.
    I tried  operation - Chage,Create (same thing for all inputs)
    is this correct funtion moduel for my requirment?
    what ever i am passing the start and end dates this should check in the table records with this personal number and if this start date and end dates are not between of any start and end dates then it should add new record with this dates.
    Thanks for ur time.
    Murali.

  • Functional Specifications for Reports

    Hi All,
    Can anybody pls. share with me any helpful material which will direct me create Technical Specifications from Functional Specifications
    Thanks In Advance
    Regards
    PPMM

    Hi,
      When you convert the Functional requirement into technical Requirement you have to prepare the following document.
    1) Data Staging (Transfomation and Update Rule)
    2) Data Modelling (MDM and ERM Model)
    3) Data Flow
    4) Infoobject List (Compare with datasource fields)
    5) Reporting Requirement.
    You can used the Top Down Approach or bootom down approach for Modelling.
    From Reporting Perspective come to cube and infoobject List.Top Down approach.
    Or from the datasource Fields design the Infoobject List and start from there..
    this document can be useful...
    http://help.sap.com/bp_biv335/BI_EN/documentation/SolutionScope_EN.doc
    In BW Technical means the person involved in the configuration part i.e design and functional means the person working after the design level that means Production.
    Functional specs would be normally prepared by the client or functional guys and the technical specs are the ones prepared by you that is what are the infoobjects,cubes to be used etc..
    System specifiactions are technical settings of BW GUI and other system related aspects.
    In production support normally you see functional specs on which you'll be given tickets for any issues.
    I hope it will help you.
    thanks
    @jay

  • Financial software for personal use?

    I just bought my blackberry bold yesterday and I'm not sure which financial software to use.
    Has anyone used Ascendo or any of the other money management programs? Which ones do you prefer?
    I'm looking for something that's more for personal use than business expenses etc.
    Message Edited by Msitwin09 on 03-14-2009 02:17 PM

    You mean Quicken '07, I assume? There is no Mac version of Quicken '08. I use both Quicken '07 and MoneyDance. The latter is still rough around the edges, but I support it since I'd like to see some real competition in the field given Intuit's legendary second-class treatment of Mac users and the Mac platform (charging more for less features and almost never fixing bugs).
    Plus I think it's slimy to intentionally BREAK online features after a version is three years old like Quicken does. I fully understand desupporting an old version, but intentionally disabling functionality (in the consumer software world) is just crummy on another level. I've also used the beta of the replacement for Quicken '07, and it's pretty lousy so far.

  • Which laptop is good to build sharepoint 2013 environment for personal use ?

    Which laptop is good to build sharepoint
    2013 environment for personal use ?

    HI Chaitu,It depends on what function of development that you want to do.I suggest to have
    a below configuration to work with sharepoint.
    Fast CPU!
    32 GB of RAM (24 GB minimum, but 32 highly recommended)
    500 GB of space
    Please find also in the blog to know more about configurations and the installations.
    http://expertsharepoint.blogspot.de/2014/07/hardware-and-software-requirements-for.html
    Anil Avula[Microsoft Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

  • How to create ENQUEUE function module for s567 table

    Hi Experts,
    Anyone Plz tell the steps how to create a ENQUEUE function module for the table s567.
    Its somewht urgent, plz help me.
    <REMOVED BY MODERATOR>
    Mohana
    Edited by: Alvaro Tejada Galindo on Mar 10, 2008 4:21 PM

    Hi,
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    You have to use these function module in your program.
    Hope this will give a basic idea.
    Regards
    Sudheer

  • Missing important image functions - going for Hype

    I made a product presentation with a meny system and aniamtions using Edge.
    I unfortunatelly found some very important functions were missing.
    So I´m going for Hype now, that has got all of these.
    So all the job has to be doe again :-(
    I didn´t find any feedback area for Edge Animate, so I´m putting it here. The things missing are:
    - Automatic Image optimization (like in Muse)
    - No support for PSD
    - No retina support
    - Can´t replace image, e.g from PNG to JPG (I made it thou by editing the JS-file, but that seems scary)
    These are all small matters for Adobe to fix and I suppose they are doing this in the future.
    I really like Edge Animate thou, but since it lacks important workflow functions I can´t use it in production.

    Hi,
    Thanks. Yes, that worked.
    I actually didn´t find this because in all other Adobe applications, this is done from the Library panel.
    I really stress the importance for you to make your/Adobe applications the same. We users love Adobe apps, but are really not liking the unnecessary different solutions in some of them. It´s frustrating and a complete waste of time.
    I actually remade the whole animation using (Tumult) Hype.
    It´s much easier to work with. Edge seems good to work with Javscript, but with Hype editing Javascripts is not as much necessary since there are pre-made solutions.
    You should also look into some things Hype has that is really important:
    - Automatic generation of Retina images
    - Automatic resampling of images
    - Scenes (a very nice way to work)
    All in all, Hype is much more efficient to work with.
    A thing that I do want in Edge (and Hype) is
    - When using Photoshop originals, it should be possible to set how each image should be exported, i.e as JPG (and setting quality) or PNG.
    In the real practical user world, we do only want ONE image to carry around for different purposes, it.e web, animations, videos, print.
    And when designing (doing layout) in i.e Edge, I do not always from start know if the image could be in JPG or if it must PNG because it is e.g. overlapping.
    The feature of settings export options for Photoshop images, I also would like to see in Muse. As well as Retina support in Muse that i REALLY want.
    I like Edge (and really like Muse), but as it is now, selection Hype is an easy choice over Edge.
    I hope that you do update Edge to support an extremely good workflow - then I will certainly selected Edge, since I already do pay for it anyway
    Best regards
    Bosse Nilsson
    Tel +46 (0)703-233 150
    2014-02-11 kl. 19:28 skrev elainefinnell <[email protected]>:
    Re: Missing important image functions - going for Hype
    created by elainefinnell in Edge Animate CC - View the full discussion
    Hi, man&mouse-
    Please note that there is a way to swap images, though it will try to fit the new image into the old dimensions.
    Select your image element
    In the properties panel, look at the Images section
    Next to the image name, select the double arrow key
    Select your new image (must already be in the Library)
    http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-6110226-548268/437-302/ScreenShot2014-02-11at10.27.07+AM.png
    Hope that helps!
    -Elaine
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/6110226#6110226
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/6110226#6110226
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/6110226#6110226. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Edge Animate CC at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

Maybe you are looking for