Standard Dialog to select manager name

Hi,
  I am new to Adobe forms. My requirement is to activate already existing standard dialog to choose the manager name as  a signee that will appear in the form. The form is a standard T1 form. Form name is HR_RU_T1.
Please let me know.
Thanks,
Sri

HI,
check this program.
<b>
report ZTEST2.
data:  file type string,
       path type string,
       file_path type string.
data: itab type standard table of cskt.
start-of-selection.
  SELECT * FROM cskt INTO TABLE itab.
  call method cl_gui_frontend_services=>file_save_dialog
      exporting
                FILE_FILTER = '*.PDF'
      changing FILENAME = file
               path     = path
               fullpath = file_path.
  check not file_path is initial.
  call method cl_gui_frontend_services=>gui_download
    exporting    filename                = file_Path
                  WRITE_FIELD_SEPARATOR = 'X'
     changing    data_tab                = itab.
</b>
REgards,

Similar Messages

  • Selecting manager names for 20 levels

    Hi,
    Could you please help me on the following scenario?
    Table "Base" holds the list of employee ids and names. Table "Mgr" holds the list of employee ids and their mgr ids (Who are also an employee) from level 1 to level 20. The requirement is to select the employee name with the 20 level mgr names (which can be obtained by referring the Base table).
    For sample scenario, the following Creation Scripts add data for only 2 levels:
    create table BASE
    ENAME VARCHAR2(10),
    EID NUMBER
    insert into BASE (ENAME, EID)
    values ('A', 1);
    insert into BASE (ENAME, EID)
    values ('B', 2);
    insert into BASE (ENAME, EID)
    values ('C', 3);
    insert into BASE (ENAME, EID)
    values ('D', 4);
    insert into BASE (ENAME, EID)
    values ('E', 5);
    commit;
    create table MGR
    EID NUMBER,
    MGRLVL1 NUMBER,
    MGRLVL2 NUMBER
    insert into MGR (EID, MGRLVL1, MGRLVL2)
    values (1, 3, 4);
    insert into MGR (EID, MGRLVL1, MGRLVL2)
    values (2, 1, 5);
    insert into MGR (EID, MGRLVL1, MGRLVL2)
    values (3, 4, 2);
    commit;
    I tried to achieve the result using the following query:
    select
    m.eid,b1.ENAME,b2.ENAME lvlonemgrname ,b3.ENAME lvltwomgrname
    from
    base b1,
    mgr m,
    base b2,
    base b3
    where
    b1.eid=m.eid
    and b2.eid=m.mgrlvl1
    and b3.eid=m.mgrlvl2
    EID     ENAME     LVLONEMGRNAME     LVLTWOMGRNAME
    1     A     C     D
    2     B     A     E
    3     C     D     B
    It provided the output fine. But i used 2 "Base" table instances to populate 2 level manager names. In the actual requirement of selecting 20 manager names it makes me to add 20 instances of "Base" table.
    With out creating 20 instances, we can use PL/SQL function and achieve the output.
    Is there any other way to do this using SQL ? Please advise me

    select m.eid, b1.ENAME,
           max(decode(b2.eid, m.mgrlvl1, b2.ENAME)) lvlonemgrname,
           max(decode(b2.eid, m.mgrlvl2, b2.ENAME)) lvltwomgrname
    from base b1, mgr m, base b2
    where b1.eid=m.eid
      and b2.eid in (m.mgrlvl1, m.mgrlvl2)
    group by m.eid, b1.ENAME

  • Any standard BAPI available to get the project manager name or id

    Hi all,
    Any standard BAPI available to get the project manager name or id  for the particular  employee working on that project.
    Regards,
    Surjith

    I dont know abt any BAPI but this FM do the same so can be copy to RFC enabled and use the same.
    HRCM_GET_ORGUNITS_FOR_MANAGER
    Regards,
    Amit
    Reward all helpful replies.

  • Adobe Acrobat 9.0 Standard - PDF Printer suppress file name prompt

    Hi,
    We are currently developing a product for Autodesk Revit with regards to drawing generation/export.  Revit does not have an inbuilt PDF writer.  As such most users either use free PDF Printers or Adobe Acrobat Standard.
    We have managed to automate the naming of files using some of the free PDF printers, and suppress the file save as name prompt for each sheet in a set of prints.
    We'd also like to add support for Adobe Acrobat 9.0 Standard.  Is this possible through the Acrobat API?
    Any prompt help would be greatly appreciated as we are keen to get our product out to market very soon!
    Thanks.

    Thanks.  That's all I needed for now.  Our developer will take a look when he comes to doing that section of the product.
    Cheers.

  • Hr abap issue find the manager name and mail-id

    hi all,
    my requirement is below this. can any one help me to send code for this requirement.
    1.Logic for Employee status: Check if employee position has any other position reporting to it. Check if a record exists in HRP1001 where OTYPE = u2018Su2019, PLVAR = u201801u2019, RSIGN = u2018Au2019, RELAT = u2018002u2019, ISTAT = u20181u2019, BEGDA <= start date in selection, ENDDA >= end date in selection, SCLAS = u2018Su2019 and SOBID = Position. If yes set Employee Status as u2018Manageru2019. Else set as u2018Non-Manageru2019
    2.Manager name/Email: Identify the reporting position through B002 relationship from HRP1001. For this reporting position identify the Manager by A008 relationship. For this personnel number retrieve Name from IT0001 and Email ID (USRID) from IT0105 SUBTYPE as u20180010u2019.
    thanks & regards
    revathi raj.
    Edited by: revathi raju on Sep 5, 2008 12:06 PM

    thanks

  • Set SSIS variable = database connection manager name

    Is it possible to set a SSIS string to only the name of a database connection manager or even the connection string it uses ? I don't see an option for that in Evaluate as expression property of ssis variable.
    This is what I mean - 
    SSIS Connection manager name = SQL_DBASE
    SSIS String str_managerName = SSIS Connection manager name: Can you do this dynamically in SSIS ?

    I'm guessing what they really want to do is evaluate some indicator (some input from a user or an infrastructure setting) and then dynamically connect to any one of 10 (arbitrary example) database servers based on what they get as input.  They
    don't care about the connection manager per se.  What seems reasonable is the that the Connection Manager might take a server variable but if they wanted to do things like that they would have bought Datastage.
    You might try attacking this problem at the Control Level and then connect to the database you want based on a variable you set.   I'm seeing that a Sequence Container can branch on the contents of a variable. 
    Or if the dba is your friend you might get the dba to add all your servers as linked servers to a central connection machine and then you might be able to do this by putting the ssis variable in a "Sql Command from a Variable" variable. 
    It might look something like this:
    Server is designated in ssis var @[User::Machine]
    then executing from a variable
    "select top 100 * from " + @[User::Machine] + ".mydb.dbo.mytable"
    Be careful as hades about levels of indirection and what quotes you want at what level.  Evaluate Expression in ssis helps with this.  The syntax I show works only with an ms sql connection server to a remote ms sql server.  This is what a
    dynamic connection to a linked server connection to Oracle would look like:
    "select * from
    openquery("+ @[User::Machine] + ",'select * from oradb.oratable where rownum < 100')"
    When ever a thousand of your best friends are helping you connect to your database (using tools like linked servers as opposed to direct connections) it's probably best to use with only small specific updates or queries, large queries or large
    updates would probably take a long time and or might not finish.  But try it before you give up.   We are actually doing fairly large Oracle queries (5-10 million rows) through ms sql linked server.

  • MDM: Search for images in the dialog window "Select Multiple Images"

    Hi,
    are there possibilities to search for images in the dialog window "Select Multiple Images" (if you want to add a image to a record)?
    I know the possibilities to sort the images and the possibilities with the data groups. But I don't know a possibilities to search for a single image.
    Thanks for any help!
    Best regards, Melanie

    Hi,
          From the question you asked; its not much clear what your clear requirement is; but if its what i get then the solution is:
          How is that you want to select the image? With Image view or By viewing the image itself ? For it when u select "Select Multiple Images" you can find two as "Available Images" and "Selected Images" and in between u can find some buttons, after "All, Add, Remove and None" you can find two buttons "Thumb Nail" and "view Details". I think you can use these buttons for your solution.
          When you select "Thumb Nail" button you can see the image in real and select the image.  OR you can select "View Details" and check the file name or path or the requirement as required.
          CHARAN
    Lead, follow or Get out of way

  • Manager name LOV in hr schema

    dear all
    im trying to get manager name as list of value to update the employee manager id.
    ive add the Employee entity object with the EmpManagerFKAssoc.Employee association to the employee View and create a calculated field to get the manager first name and last name from the EmpManagerFKAssoc.Employee association and build list of value based on this calculated field .
    every things goes fine when i open the list of value and choose the manager name the field manager id updated correctly but the field manager name which is based on the calculated field does not updated.
    please note that when i open the employee view the manager name field filled normally but the problem is only when i choose employee from manager list of value
    also note that i know this can be achieved by using custom popup or task flow opened as popup but i want to do it using standard business component LOV.
    best regards

    dear
    when we define LOV based on view object attribute we don't have to set partial trigger because the LOV based on the same field and if it needs so then when i drag the data control it is generated automatically like when i create the form from the data control it generate partial trigger on the manager id reference on the manager name and it update the manager name.
    any way i set partial trigger on the manager name field and nothing happened still the same behavior
    any additional suggestion..
    best regards

  • How to add Project manager Name on CJ03 screenlayout?

    Right now I am able to see only the project manager ID. How can I add one field which will display the manager name on the screenlayout of CJ03?
    Thanks
    Ruchika

    Hi Ruchika,
    You need to implement Screen Exit in the standard SAP program. The program for CJ03 transaction is 'SAPLCJWB'.
    Follow these instructions to Find the Exit and Implement a new field.
    http://wiki.ittoolbox.com/index.php/Implement_a_screen_exit_to_a_standard_SAP_transaction

  • Same select (user, name, profile, role, table_name, privilege table)

    hello Everyone
    1.- i don't know how to merge the two qys to see in the same select (user, name, profile, role, table_name, privilege table)
    Im using the tables usuarios and view dba_users : See next qry
    SELECT Nvl(US.IDUSUARIO,DU.USERNAME) USUARIO,
    US.DESCRIPCION NAME,
    ACCOUNT_STATUS STATUS,
    DU.PROFILE,
    CREATED FECHA_CREACION
    FROM USUARIOS US,
    SYS.DBA_USERS DU
    WHERE DU.USERNAME = US.IDUSUARIO(+)
    UNION
    SELECT Nvl(US.IDUSUARIO,DU.USERNAME) USUARIO,
    US.DESCRIPCION NAME,
    ACCOUNT_STATUS STATUS,
    DU.PROFILE,
    CREATED FECHA_CREACION
    FROM USUARIOS US,
    SYS.DBA_USERS DU
    WHERE DU.USERNAME = UPPER(US.IDUSUARIO)
    ORDER BY NAME;
    this extract me, USER, REAL NAME, STATUS, PROFILE, CREATION_DATE
    JP01 Johan Pena OPEN DEFAULT 05-07-2010
    on the other hand:
    select * from role_tab_privs
    this extract me, ROLE, TABLE_NAME and PRIVILEGE
    DBA TABLE1 SELECT
    DBA TABLE1 INSERT
    DBA TABLE2 DELETE
    1.- i don't know how to merge the two qys to see in the same select (user, name, profile, role, table_name, privilege table)
    2.-i want something like this.
    USER, REAL NAME, STATUS, PROFILE, CREATION_DATE ROLE, TABLE_NAME PRIVILEGE
    JP01 Johan Pena OPEN DEFAULT 05-07-2010 DBA TABLE1 SELECT
    JP01 Johan Pena OPEN DEFAULT 05-07-2010 DBA TABLE1 DELETE
    Ect Ect. Ect.
    who can HELP ME.

    I have part understood your requirement and assumed the rest! Hence, I have used dba_role_privs in addition to the list of tables you used.
    Also, I think your LEFT OUTER JOIN on sys.dba_users is incorrect. I think you are trying to get all users from USUARIOS table for which roles / privileges exist in the database. If that is what you want the following query should help out. If not change the LEFT keyword in the MAIN query (NOT the one in WITH clause) to RIGHT but the results might be unpredictable.
    Note: Using ANSI standard keywords for JOIN allows you to use functions in the JOIN clause (such as UPPER(column name), which the Oracle propreitary notation does not allow and hence made you opt for the UNION option).
    WITH OS AS
            SELECT
                 DU.USERNAME
                ,DU.ACCOUNT_STATUS
                ,DU.PROFILE
                ,DU.CREATED
                ,DRP.GRANTED_ROLE
                ,RTP.TABLE_NAME
                ,RTP.PRIVILEGE
            FROM
                sys.dba_role_privs drp
            LEFT OUTER JOIN
                role_tab_privs     rtp
            ON
                ( drp.granted_role    = rtp.role    )
            LEFT OUTER JOIN
                sys.dba_users      du
            ON   
                ( du.username         = drp.grantee )
    SELECT
         NVL (US.IDUSUARIO, OS.USERNAME)    USUARIO
        ,US.DESCRIPCION                     NAME
        ,OS.ACCOUNT_STATUS                  STATUS
        ,OS.PROFILE                         PROFILE
        ,OS.CREATED                         FECHA_CREACION
        ,OS.GRANTED_ROLE                    ROLE
        ,OS.TABLE_NAME                      TABLE_NAME
        ,OS.PRIVILEGE                       PRIVILEGE
    FROM
        USUARIOS US
    LEFT OUTER JOIN
        OS -- temporary result set created using WITH clause above
    ON
        UPPER (US.USERNAME) = OS.USERNAME
    ORDER BY 2 ;Edited by: VishnuR on Jul 5, 2010 8:44 PM
    Edited by: VishnuR on Jul 5, 2010 8:47 PM

  • Provision to AD - Manager Name how to?

    Hey,
    Been banging my head against this all day. What's the proper way to provision a user with Manager Name properly to Active Directory?
    I can provision the user successfully, but not the Manager. I tried entering a full name, I tried entering an existing AD user's full DN, nothing...
    Any ideas?

    Hi,
    If you want test the Kevin suggestion, for example, I think you can try the code below to grab the DN off the user's existing provisioning process form. It works for me. Create a java class and an adapter to use this code. Parameters:
    resourceObjectName = AD User
    userKey = User Definition.User Key
    fieldName = UD_ADUSER_ORGNAME
    dbProvider = Map to the Adapter References, Database reference
         public String getProcessFormFieldValue(String resourceObjName, String userKey, String fieldName, tcDataProvider dbProvider){
              String result = "VALUE_NOT_FOUND";
              StringBuffer strSQLOrcKey = new StringBuffer();
              strSQLOrcKey.append("SELECT DISTINCT ");
              strSQLOrcKey.append("     oiu.orc_key, procsdk.sdk_name ");
              strSQLOrcKey.append("FROM ");
              strSQLOrcKey.append("     obj obj, oiu oiu ");
              strSQLOrcKey.append("          left outer join orc orc on oiu.orc_key = orc.orc_key ");
              strSQLOrcKey.append("          left outer join tos tos on orc.tos_key = tos.tos_key ");
              strSQLOrcKey.append("          left outer join sdk procsdk on tos.sdk_key = procsdk.sdk_key, ");
              strSQLOrcKey.append("     obi obi, ost ost ");
              strSQLOrcKey.append("WHERE ");
              strSQLOrcKey.append("     oiu.obi_key = obi.obi_key AND ");
              strSQLOrcKey.append("     oiu.ost_key = ost.ost_key AND ");
              strSQLOrcKey.append("     (ost.ost_status = 'Provisioned' OR ost.ost_status = 'Enabled') AND ");
              strSQLOrcKey.append("     (obi.obj_key = obj.obj_key AND UPPER(obj.obj_name) LIKE UPPER('" + resourceObjName.toUpperCase() + "%')) AND ");
              strSQLOrcKey.append("     oiu.usr_key = " + userKey);
              try {
                   String strOrcKey = null;
                   String strSdkName = null;
                   tcDataSet dataset = new tcDataSet();
                   dataset.setQuery(dbProvider, strSQLOrcKey.toString());
                   dataset.executeQuery();
                   if(dataset.isEmpty() == false){
                        strOrcKey = dataset.getString(0);
                        strSdkName = dataset.getString(1);
                   }else{
                        throw new Exception("The user does not have a valid resource: " + resourceObjName);
                   StringBuffer strSQLFormField = new StringBuffer();
                   strSQLFormField.append(" SELECT " + fieldName);
                   strSQLFormField.append(" FROM " + strSdkName);
                   strSQLFormField.append(" WHERE orc_key = " + strOrcKey);
                   dataset.setQuery(dbProvider, strSQLFormField.toString());
                   dataset.executeQuery();
                   if(dataset.isEmpty() == false){
                        result = dataset.getString(0);
                   }else{
                        throw new Exception("VALUE NOT FOUND: It was not possible to get the Form Field Value.");
                   System.out.println("**************** Exiting getFormFieldValue *******************");
              } catch (Exception ex) {
                   result = "EXECUTION_ERROR";
                   System.out.println("############## Exception in getFormFieldValue ###############");
                   ex.printStackTrace();
                   System.out.println("#############################");               
              return result;
    Also, if you have the MS AD User Management Connector, you can see how its adapters uses the library to connect AD and execute some commands. For example, see how the adapter ADCS Get ObjectGUID gets the user's GUID.
    Renato.

  • Standard Dialog module RH_INFOTYP_1001 missing in E-Recruiting

    Hi Friends,
    We have e-Recruitment on a seperate server and connected it to HR using ALE. The object transfer "O(Organizational Unit)" shows error during PFAL transfer from HR to e-Recruiting.
    The problem is the standard dialog module "RH_INFOTYP_1001" does not exist when checked in SE35. When checked from PPCI also, it shows "Dialog module RH_INFOTYP_1001 does not exist".
    The table T777D, however, has dialog module entry for Infotype 1001 but the Dialog module name is RH_INFOTYP_S001 which exists.
    1. What needs to be done to load the dialog module RH_INFOTYP_1001 in 
        the e-Recruitment server ???
    2. Also, we have the folowing packages installed on our e-Rec server:
       SAP_OCS(SPAM/SAINT Update)
       SAP_ABA, SAP_BASIS, PI_BASIS, SAP_BW, ERECRUIT
       Do we also need to apply EA-HR and SAP_HR packages ?? Why ??
    Please advice.
    Thanks,
    Shashank Shirali

    Well,
    have you activated the E-Recruiting ALE Inbound processing?
    Take a look at IMG:
    SAP E-Recruiting->Technical settings -> SAP ERP Central Component integration -> Sofware running on different systems -> ALE Inbound Processing
    You need to activated BADI Implementations HRALE00SPLIT_INBOUND of BADI HR_INB_PROCESS_IDOC and HRALE00INBOUND_IDOC of BADI HRRCF00_DELETE_SPREL.
    This is needed because PA infotypes are not existing and the PD-Object P is just defined as external object.

  • How to get the Manager Name

    Hi,
    I want to display the Manager name of the Employee on the termination Date.
    In case the immediate supervisor is not there i need to display the 1st level of supervisor and if this is also not maintained i need to find the top level manager of the employee.
    Please help me how to find out the manager of the employee with the above mentioned scenario.
    Thanks,
    Poonam

    HI Poonam,
    DATA: gd_pos TYPE HRP1000-objid,
    gt_LEADING_POS TYPE STANDARD TABLE OF HROBJECT WITH HEADER LINE,
    gt_p1001 TYPE STANDARD TABLE OF HRP1001 WITH HEADER LINE.
    *Assign the position to gd_pos.
    CALL FUNCTION 'RH_GET_LEADING_POSITION'
      EXPORTING
        PLVAR                   = '01'
        OTYPE                   = 'S'
        SOBID                   = gd_pos.
        DATE                    = SY-DATUM
      AUTH                    = 'X'
      BUFFER_MODE             = ' '
      CONSIDER_VAC_POS        = ' '
      TABLES
        LEADING_POS             = gt_LEADING_POS
    EXCEPTIONS
      NO_LEAD_POS_FOUND       = 1
      OTHERS                  = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'RH_GET_PERSONS_FROM_POSITION'
      EXPORTING
        PLVAR                    = '01'
        OTYPE                    = 'S'
        OBJID                    = gt_LEADING_POS-objid
        STATUS                   = '1'
        BEGDA                    = date
      NODE_KEY                 =
      MASSN                    =
      MASSG                    =
      CHANGETYPE               = 'S '
      OLD_JOB                  =
      OLD_JOB_ENDDA            =
      TABLES
        I1001                    = gt_p1001
      I77INT                   =
    EXCEPTIONS
      WRONG_OTYPE              = 1
      PLVAR_ERROR              = 2
      POSITION_NOT_FOUND       = 3
      ORGUNIT_NOT_FOUND        = 4
      INITIAL_GSVAL            = 5
      OTHERS                   = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    The manager emp no would be there in gt_p1001-objid.
    BR/Manas

  • How to get Manager name of a particular BP/User from territory management

    Hi Guys,
    I want to retrieve the Manager name of a particular BP/User from territory management. The manager might be in any territory hierarchy level above the user.
    Please guide.
    Regards,
    Shaili

    Hi Shailip,
    Basically Territory hierarchy is customized based on client's business, from your reply if i understood properly i think your territory has 3 levels and 
    First level : District
    Second level: Area
    Third level: Branch
    when an employee at third level is passed, you need employees assigned to area and district levelwhich are above Branch(in your case managers)
    Solution:  Example
    First level : District - territory length(2 char)
    Second level: Area - - territory length(4 char)
    Third level: Branch- territory length(4 char)
    1. Read the territory hierarchy(which is customized to meet clients requirement) using function module
        CRM_TERRMAN_TERRLEVEL_READ ehich gives territory levels with territory length and territory offset
    2. pass employee(business partner number) to FM  CRM_TERRMAN_TERR_EMP_DETERMINE  and get the branch path id.
    3. Based on territory length for above levels drill down to Area's path id and District's path id and pass those path id's to
    FM CRM_TERRMAN_EMPLOYEE_DETERMINE  to get managers.
    Hope this helps.
    Thanks,
    Priyanka

  • How to get the dialog of select ODBC source

    how to get the dialog of select ODBC source which system provide.

    JNI.
    Or buy/find a library that does it for you (using JNI.)

Maybe you are looking for

  • Payment order to pick lineitems due on future date then run date

    When we use payment order option for any payment method defined it means that :Where a payment order is to be carried out at some time in the future, the line items are not cleared very much earlier than the date on which the payment is made. However

  • Re: Error message: the resource type must not be null.

    Hi Gopi, During the installation of OAM, default policy objects are created in the DB (actually this step is completed during the first startup of the OAM Admin Server). It looks like this step has failed for some reason. Possibly messages in the Adm

  • Idvd keeps freezing during burn of slideshow

    Any suggestions?

  • Wich is better in SOUND solutions??

    hello there, I just want to know wich of this options could be better to create a home theatre system for movies and games. (for playing movies on my DVD and play games in my PC or play station) Get a Creative speaker system and a DTSS Decoder + a so

  • Ff stalls out when opening new tabs, using 100% cpu on mac

    went to leave this in the feedback section but that doesnt work either, nothing gets sent. but anyways, new tabs always feeze or stall for over a min, using 100% cpu. running mac 10.6.8. never had problem on earlier versions of ff but ff5 is broken i