FM for Creation of manager (Chief)

Hi
Anyone know how I can create a manager of an org unit programmatically?  I wish to create an A012 relationship in response to a portal request.
Regards
Ian

You can use the function module RH_RELATION_MAINTAIN to create an A012 relationship for na Org Unit. What you may have to do is put this function inside a warpper Rfc & invoke it from your portal Request.
~Suresh

Similar Messages

  • Query relating to the creation of Managed Service Accounts

    Hi Folks
    I am studying for my 70-411 exam and have a query relating to the creation of Managed Service Accounts.
    I have successfully created an MSA account named 'MSATest' on a DC  using:
     new-adserviceaccount -name msatest –dnshostname home-dc-01 -passthru
    and
     add-AdcomputerServiceAccount -identity home-ap-01 -serviceaccount msatest -passthru
    However the guide that I am using now says that I now need to run:  Install-ADServiceAccount on the host computer in the domain to install the MSA in order to make available it available for use by services.
    So on my member server (home-ap-01) I have installed the Active Directory Module for powershell and ran:
    PS C:\Users\administrator.PCECORP> Install-ADServiceAccount -Identity msatest
    Install-ADServiceAccount : Cannot install service account. Error Message: 'An
    unspecified error has occurred'.
    At line:1 char:1
    + Install-ADServiceAccount -Identity msatest
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : WriteError: (msatest:String) [Install-ADServiceA
       ccount], ADException
        + FullyQualifiedErrorId : InstallADServiceAccount:PerformOperation:Install
       ServiceAcccountFailure,Microsoft.ActiveDirectory.Management.Commands.Insta
      llADServiceAccount
    PS C:\Users\administrator.PCECORP>
    However this errors, Have I misunderstood the purpose of the Install-ADServiceAccount ?  or am I doing something wrong?
    Thanks in advance for you help.

    Try using  -RestrictToSingleComputer parameter when creating service account with New-ADServiceAccount.
    Gleb.
    Hi Gleb
    Thank you for your help, it is appreciated.  That did the trick.
    All the best.

  • Use of Emigall for creation of masters in the production environment

    Hi,
    The EMIGALL objects are normally used for migrating legacy master data and/or cut-over data before production environment is up.
    I am contemplating to use EMIGALL object for creation of contract account masters in production environment. One more option that I have is to use standard BAPI for creating contract account masters.
    Can anyone tell me whether it is proper to use EMIGALL object for day to day creation of master day in production environment. Is there any disadvantage or risk involved in it.
    Kindly reply soon.
    Regards,
    Ganesh

    I've already used emigall multiple times to do delta migrations into an operational prod environment.
    Purely looking at the functionalities, it should/would/must be possible to use emigall as a master data generator. I just think you need to look into the requirements:
    who will use it? end-user/application manager/...
    what's the amount of data to be loaded?
    what's the time window of the load? Day/night
    how is the data supplied?
    As you know, emigall EATS system resources like mad, so using it during the day might not be preferable. emigall is also very picky about the file format, whereas in a custom report you can define the input structure yourself.
    On the other hand, the error handling and follow-up of emigall is great...
    Personally, I'd go for a custom report with a BAPI... It'll give you more flexibility than emigall.

  • Transaction code for creation of  transaction keys in obyc

    Dear Experts,
    Can u tell me what is the transaction code for creation of transaction keys in obyc asap.
    Thanks & Regards,
    Radhika.

    Hi
    There is no TCode and the path is
    SPRO-Material Management-Purchasing-Conditions-Price Determination....
    Cheers
    Srinivas

  • Templates for deploying content management in sap ep at user end

    Where i can find templates for deploying content management at user end in sap enterprise portal ? or Please suggest me about default templates provided by sap if any for content management ?
    Regards-
    Sumeet Sharma

    My question is not yet answered
    hi, I want to know about Templates in the sense that what the information should be collected or form shoud be filled up for deploying content management at user's end from the user.?
    what must be the contents for that form or template for content management or user id creation......?
    Plz Reply...?
    Thank's in advance
    Regards-
    Sumeet Sharma

  • No key field found for creation of DataSource - Classification Datasource

    Hello,
    While trying to create a clasiffication datasource based on 0PLANT_ATTR, when i assign a characteristic and push the DataSource button, i get the following message:
    No key field found for creation of DataSource
    Diagnosis
    During generation of a classification or configuration DataSource, only those key fields for the object table (field "Obj.Tabelle") that are already present in the basis DataSource transferred to the extract structure.  This is the case when none of the key fields of the object table were found in the structure of the basis DataSource.
    System response
    A DataSource cannot be created without key fields. The action was cancelled.
    Procedure
    Check whether you have selected the correct basis DataSource and object table. For more information, please see SAP Note 569849.
    Do you know what can be the problem?
    Thank you and regards

    Hi Alberto,
    plants are a special case. The key which is used for the classification 
    of plants (object type BETR) is not the same as the key which is used in
    datasource 0PLANT_ATTR.
    BETR has key LOCNR (Site). That's a customer related to a plant. The    
    customer number will be extracted in field LOCNR.
    0PLANT_ATTR extracts the plant in its key field WERKS.
    Transaction CTBW and the generic extraction program for classifications 
    don't know the relationship between LOCNR and WERKS. So they cannot map     
    them.
    I do recommend a solution which would add the mapping between
    LOCNR and WERKS:
    1. Create please the classification datasource as intended, but use     
    datasource 0RT_LOC_MGR_ATTR as basis datasource. It's the only          
    datasource of the content where LOCNR is a key field. So                
    0RT_LOC_MGR_ATTR is used as a dummy here, to allow transaction CTBW to  
    create the classification datasource. It's not necessary to extract     
    data with datasource 0RT_LOC_MGR_ATTR.
    2. Extend please the extract structure of the created classification    
    datasource. Add please field WERKS using component type WERKS_D. Make   
    this field visible.
    3. Fill field WERKS in the extractor user exit EXIT_SAPLRSAP_002. WERKS 
    can be read from table KNA1 by using the customer number extracted to   
    LOCNR to select on field KNA1-KUNNR.
    4. Transaction CTBW_META on the BW system isn't able to append the      
    characteristics from the classification datasource to infosource        
    0PLANT, because the keys are different. So create please a new info     
    source with CTBW_META. This allows CTBW_META to create the info objects 
    for the characteristics used in the classification datasource.
    5. Add please the characteristics used in the classification datasource 
    to infosource 0PLANT manually. You will find the info object names of   
    the characteristics by looking up the characteristic datasources which  
    are assigned to the classification datasource in transaction CTBW. From 
    these names you can derive the info object names:                       
    1CL_A... -> C_A...
    6. Disconnect the infosource which has been created with CTBW_META from 
    the classification datasource.
    7. Connect please the classification datasource to infosource 0PLANT    
    Use following info object:
    info object   field
    0PLANT       WERKS
    The info object names for the characteristics are explained in step 5.
    8. Add an infopackage to infosource 0PLANT for the classification       
    datasource.
    Now the extraction of classifications of sites should work.
    Best regards,
    Rolf
    P.S. I saw the system messed it up and doesn't display any new and empty lines. Sorry, I hope you still can read it.
    Edited by: Rolf Doersam on Mar 26, 2010 6:56 PM

  • Need procedure for creation of BW Roles, Assigning Queries,Publishing Roles

    Hi Experts,
      Could you please let me know the procedure for creation of BW Roles, Assigning Queries,Publishing Roles in Business Explorer (BEx - BW 3.5)
    Thanks in advance,
    Andy

    Hi,
    Creating BW Roles
    http://help.sap.com/saphelp_nw04/helpdata/en/52/6714b6439b11d1896f0000e8322d00/frameset.htm
    Assigning Queries
    After creating the query, save the query to a role from the query designer.
    Publishing Roles in Business Explorer
    https://websmp101.sap-ag.de/~sapdownload/011000358700002894802003E/HowToBIPortal1.pdf
    Hope this helps you..!
    -Pradnya

  • IDOC for Creation of Production order and also adding components

    Hi ,
    I have a requirement like I get the data from a 3rd party system and using that i have to create production orders and also should be able to add more materials in COMPONENTS part of that Production order. I was looking for a BAPI which can handle this process.
    And also can any one help me by letting me know is there any Message type available for handling this process of Production order creation and Adding extyra components to it.
    I have a  message type LOIPRO (for Production Order) and associated function modle CLOI_MASTERIDOC_CREATE_LOIPRO for creation of master IDoc, but not sure can i handle the Components part in this.
    Please do send replies ASAP, its very urgent.
    Or else atleast suggest me the other ways of doing this .
    Also send me any BDC program if anyone has already developed for this.
    Thanks
    Kumar
    Edited by: Phani Kumar Peddagopu on Mar 19, 2008 6:56 PM

    Resolved .

  • Question for installing Solution Manager & ECC 5.0

    Any idea for installing Solution Manager 3.2 on Windows server 2003 with Oracle9i problem when install Database Instance. Installation failed when the intallation progress went to Oracle Post-Load Action.
    The message from startsap log file is
    "running C:\usr\sap\T01\SYS\exe\run/sapstart.exe name=T01 nr=03 SAPDIAHOST=saptest02 -Wait
    start service SAP01_03 on machine
    saptest02
    OpenService of SAPT01_03 failed. Error#: 1060
    CreateNamedPipe for
    saptest02\pipe\SAP01_03 Failed, Extended Error #2
    start service SAP01_03 on machine
    saptest02
    OpenService of SAPT01_03 failed. Error#: 1060
    C:\usr\sap\T01\SYS\exe\run/sapstart.exe=>sapparam(1c): No Profile Used."
    Another question is about installing the Oracle database software: should we choose Create Databse or not when install Oracle Server Software only?
    Is my installation process as following correct?
    ->SELECT A PRODUCT TO INSTALL:
      Oracle9i Database 9.2.0.1.0
    ->WHAT TPYE OF INSTALLATION DO YOU WANT:
      Enterprise Edition
    ->SELECT A DATABASE SUITED TO YOUR NEEDS:
      Software only
    After end of installation
    install Oracle9i Client 9.2.0.1.0->Administrator
    Thanks a lot

    Hi Shusen, I´m trying to do the same think (Install ECC IDES with Oracle 9i in one computer for educational propose), can you help me with this:
    1.I made the same Oracle install process because when I tried with sapserver.cmd nothing happened, for that reason i made:
    SELECT A PRODUCT TO INSTALL:
    Oracle9i Database 9.2.0.1.0
    ->WHAT TPYE OF INSTALLATION DO YOU WANT:
    Enterprise Edition
    ->SELECT A DATABASE SUITED TO YOUR NEEDS:
    Software only
    After end of installation
    I did not install client, is this correct?
    2.After install this, I run the sapins.exe but  show me this error: INSTALL FIRST SAP J2EE ENGINE, I download the JAVA SDK from JAVA page (java_ee_sdk-5-windows) but did not fix the problem: Do you know what file is this? Or, where is it in the DVD installation?
    Thanks in advance if you or somebody can help me and excuse me if the answers are obviously, but I´m not a system engineer I´m only try to install IDES for learn SAP WM.
    Thanks.

  • Risk category field is missing in dso for 0fiar_o09 credit management.

    Hi BI Experts,
    I am using the standard extractor for the credit management dso 0fiar_o09.  The field for risk category originates from our R3 system in table knkk-ctplc.  It displays correctly in the psa.  The transformation rsds 0fi_ar_9 maps it to 0risk_categ.  It appears as an infoObject in the infoSource.  The trcs transformation maps the rule also.
    However, when I try to display the data in the dso, the risk category field does not display at all.
    Please help with any possible suggestions to display the missing field.
    Kind regards,
    Cheryl Adamonis

    I resolved this issue by removing the check in the  'attribute only' selection on the general tab of the infoObject.

  • How to Create a Parameterized Report - The select "- ALL-" for department and manager not working.

    I downloaded the OEHR Sample Objects application and followed the steps in Oracle® Application Express Advanced Tutorials
    Release 3.2.
    The parameters and report seem to be working correctly except when I enter "all" for department or manager I get no matching hits.
    What's the most efficient way to retrieve "all" if the users selects all for dept and mgr - thus we'd want to return all records in the table.
    Region snipprt
    Enter Search
    Search Employee
    Dept
    - ALL -
    Administration
    Marketing
    Purchasing
    Human Resources
    Shipping
    IT
    Public Relations
    Sales
    Executive
    Finance
    Accounting
    Treasury
    Corporate Tax
    Control And Credit
    Shareholder Services
    Benefits
    Manufacturing
    Construction
    Contracting
    Operations
    IT Support
    NOC
    IT Helpdesk
    Government Sales
    Retail Sales
    Recruiting
    Payroll
    Mgr
    - ALL -
    Steven King
    Neena Kochhar
    Lex De Haan
    Alexander Hunold
    Nancy Greenberg
    Den Raphaely
    Matthew Weiss
    Adam Fripp
    Payam Kaufling
    Shanta Vollman
    Kevin Mourgos
    John Russell
    Karen Partners
    Alberto Errazuriz
    Gerald Cambrault
    Eleni Zlotkey
    Michael Hartstein
    Shelley Higgins
    The following is the sql that was provided as part of the turitoral.
    SELECT
       "OEHR_EMPLOYEES"."EMPLOYEE_ID" "EMPLOYEE_ID",
       "OEHR_EMPLOYEES"."FIRST_NAME" "FIRST_NAME",
       "OEHR_EMPLOYEES"."LAST_NAME" "LAST_NAME",
       "OEHR_EMPLOYEES"."EMAIL" "EMAIL",
       "OEHR_EMPLOYEES"."PHONE_NUMBER" "PHONE_NUMBER",
       "OEHR_EMPLOYEES"."HIRE_DATE" "HIRE_DATE",
       "OEHR_EMPLOYEES"."JOB_ID" "JOB_ID",
       "OEHR_EMPLOYEES"."SALARY" "SALARY",
       "OEHR_EMPLOYEES"."COMMISSION_PCT" "COMMISSION_PCT",
       "OEHR_EMPLOYEES"."MANAGER_ID" "MANAGER_ID",
       "OEHR_EMPLOYEES"."DEPARTMENT_ID" "DEPARTMENT_ID"
    FROM
       "#OWNER#"."OEHR_EMPLOYEES" "OEHR_EMPLOYEES"
    WHERE
         (lower(first_name) like '%' || lower(:P1_NAME) || '%' OR
          lower(last_name) like '%' || lower(:P1_NAME) || '%')
    AND department_id = decode(:P1_DEPT,'%null%',department_id,:P1_DEPT)
    AND manager_id = decode(:P1_MGR,'%null%',manager_id,:P1_MGR)

    Hi,
    Use this..
    SELECT
       "OEHR_EMPLOYEES"."EMPLOYEE_ID" "EMPLOYEE_ID",
       "OEHR_EMPLOYEES"."FIRST_NAME" "FIRST_NAME",
       "OEHR_EMPLOYEES"."LAST_NAME" "LAST_NAME",
       "OEHR_EMPLOYEES"."EMAIL" "EMAIL",
       "OEHR_EMPLOYEES"."PHONE_NUMBER" "PHONE_NUMBER",
       "OEHR_EMPLOYEES"."HIRE_DATE" "HIRE_DATE",
       "OEHR_EMPLOYEES"."JOB_ID" "JOB_ID",
       "OEHR_EMPLOYEES"."SALARY" "SALARY",
       "OEHR_EMPLOYEES"."COMMISSION_PCT" "COMMISSION_PCT",
       "OEHR_EMPLOYEES"."MANAGER_ID" "MANAGER_ID",
       "OEHR_EMPLOYEES"."DEPARTMENT_ID" "DEPARTMENT_ID"
    FROM
       "#OWNER#"."OEHR_EMPLOYEES" "OEHR_EMPLOYEES"
    WHERE
        (:P1_NAME IS NULL OR
            (:P1_NAME IS NOT NULL AND
                    (lower(first_name) like '%' || lower(:P1_NAME) || '%') OR
                    (lower(last_name) like '%' || lower(:P1_NAME) || '%')
        ) AND
        (:P1_DEPT IS NULL OR department_id = :P1_DEPT) AND
        (:P1_MGR IS NULL OR manager_id = :P1_MGR)

  • Standard New button for creation of bp is not appeared in ic agent bp role's main page.

    I have checked in.htm page of ICCMP_BP_MUL_S/BuPaSearchB2B which is getting called in web.
    in line no. 45 of .htm page there is condition to check whether new button should be displayed or not, when this condition is true no_bp_create is initial then only new button appears in ic agent.
    I have debugged so many times but unable to find out from where no_bp_create flag is populated and in conclusion new button is not appeared .
    I think there is some authorization which should be assigned to user for creation of bp so that above said flag (no_bp_create) is not getting populated.
    if i am on right track so please let me know which authorization is to be assigned to user so that user can see new button in ic_agent.

    Hi Sunny,
    The parameter no_bp_create is being set in the do_init_context method of the view controller class of same view but the value is being fetched using a badi.
    The authorization to create BP can be enabled by implementing the BADI BADI_CRM_BP_UIU_AUTHORITY (or enhancement spot CRM_UIU_BP_ENHANCEMENT).
    Users can be authorized to create/edit data for different UI components using this badi.
    In this badi put the condition for the application name may be as (based on your scenario or explore more)  cl_crm_ic_bp_constants=>gc_bp_create OR OR  cl_crm_ic_bp_constants=>gc_bp_edit and set the value of parameter cv_not_allowed = abap_false. Then you should be able to see the New button.
    Regards,
    Shobhit

  • How to change the posting date in UD stock posting for a HU managed item?

    Hi,
    We are using Handling Unit managed items with QM activation. For a specific HU managed material, we wanted to post the stock on a previous date. We have created PO on a back date and made GR also on a back date. Now the problem is, the system has generated an inspection lot. Now while trying to do UD and stock posting, I do not see the "Doc" tab which we normally see in UD stock posting for normal inspection lots (non-HU managed items) for changing the date.
    I don't see any other way to change the posting date for the HU managed item in UD stock posting. Anyone can help please?
    Thanks & Regards,
    Madhavan Krishnamoorthy.

    I don't think you can.
    Craig

  • How can I create a new E-mail address for the Marketing Manager

    Hullo,
    how can I create a new E-mail address for the Marketing Manager (i.e. marketing professional role in SAP CRM) please.
    That when you go and create a new E-mail campaign you need to choose an E-mail form in addition to the E-mail address of the Marketing Manager.
    Kind Regards.

    Hi Alhussien
    Add it to his Position in the Organisational Model. Transaction PPOMA_CRM.
    Under there address section is an option to populate the email address.
    Regards
    Arden

  • Logic required for creation of PR and PO report

    Dear Experts,
           I want to create a report which gives the details of internal lead time for creation purchase requisition to purchase order. Well which tables I need to use for this . I know some tables like eban, ekko to join. Can you please give me the correct information. I only want those purchase orders which are created with purchase requisition. I need to calculate how many days taken from PR to PO.

    Dear,
    PR release date will be found in CDHDR table in CDHDR-UDATE. PO dates you can find as mentioned in replies.
    But the problem is the time taking for executing the report. It will more lenghty to read different tables and give you output (if you go for yearly range data). ABAP dump error.
    Better, just consult with ABAP team and they can give you a correct solution.
    Regards,
    Syed Hussain.

Maybe you are looking for

  • Is it possible to create a form that allows users to import data from an excel spreadsheet

    I have not been able to start my reading on scripting or other livecycle features to be able to try to figure this out but I was wondering if anyone else had ever created a form with this feature or had any ideas of how it would be possible.  Our com

  • TV Anywhere poor video capture quality

    I have a Celeron 1.7, 20 and 60 gig hd at 7200 rpm, 512M of ram. My capture is of very poor quality. I have used the MSI software and also Virtual Dub. Still poor video capture quality. Anyone tell me what I can do or how to do this right? geo-ela

  • Import-Module WebAdministration question

    Hello all: I am writing a script that will copy files to a local root directory for a web app we have.  Once this is done, I want to refresh the application pool.  In reading on the process, I believe I would have to import the WebAdministration modu

  • Exchange Partition Problem

    Hi, I am trying to create a partition table for a non parttition table. create table dept_test partition by list(deptno) (partition p10 values(10), partition p20 values(20), partition p30 values(30), partition p40 values(40)) as select * from dept wh

  • HT3302 I dropped my iPhone 4S in the bath will I get an exchange

    I dropped my iPhone in the bath will I be able to exchange