ISetup - Migration of User doesn't attach to Previously Migrated Employee

I am attempting to figure out iSetup and its functionality. I successfully migrated an employee to my target instance. I also migrated a user that was attached to the migrated employee in the source but after migration to the target, the two were not attached. The migrated user had the correct responsibilities still tied to it though. Is this how it works or is there something else I need to do?
THANKS!
Chris

That worked fine. I have one account (the Imight want to pull, that is, the account with the same username as what's on the machine I'm migrating to.
But I'll do that only if I see signicant stuff on that account, nd I'll create a temporary account, yank everything I can get from that user's account, and then bring over "duplicate-main" (that's not its name).

Similar Messages

  • The SAP SSO authentication will fail because the current user doesn't...

    Hi Experts!
    I am facing an issue and I have tried to do all the tips on answers of topics under same subject.
    Once I enter on my report and refresh, it prompts me a message that I don't have acess on one or more data providers, asking me if I want to proceed ( ID : WIS_30286) then I click yes and run the refresh and it prompts me another message: The SAP SSP authentication will fail because the current user doesn't have an alias that matches system BIDCLNT100..
    I checked the connection and tested, but the server not answers (SBO0001), on details I see the same message above.
    This on PRD, because on DEV it works fine.
    Thanks in advance!

    Hi,
    for the first part where you don't access I would suggest you do an authorization trace to ensure that the user has all the necessary authorizations.
    and on the second part - yes the user needs to have credentials for the system that you trying to access
    Ingo

  • How to stop user doesn't have "approver" to approve PR from "forward"

    When we have an issue from our customers that an approver forward via email to the user doesn't have "approve" right. But this use be cable to approve this PR. Is there profile or setting to stop this ?
    we are using EBS 12.0.1 and database 11.1. Hope some one can shed lights on us.
    Thanks,
    Albert

    Sanjay,
    Our issue is when any approver used "forward" function from Gmail or any mail program and send the PR to an user. This user doesn't have any approval right ,but this user can open this mail from "forward" and she clicks "approve" button from the bottom of this email and send "approve" action back to Oracle EBS. After a few minutes we went to database to check this status of PR is approved by "Approver" but not by this user.
    Thx.
    Albert

  • Select which users doesn't logged their work yesterday on MS Project 2013

    We use MS Project 2013 to control people work report.
    I wanna make a SQL query that will catch all users that doesn't set their work yesterday on WebProject App.
    My intention on that is to alert them by e-mail about this.
    If the user doesn't logged his work for three or more days consecutive, his coordinator must be alerted too.
    Is there any configuration property on MS Project to do this ?
    Thanks! Bye

    Hi
    You may query the table MSP_EpmAssignmentByDay if the task updates are approved an published
    Sample query to check if the user has reported time for yesterday
    select resourcename,ResourceEmailAddress  from MSP_EpmResource
    where ResourceUID in ( select resourceuid from MSP_EpmAssignment where assignmentuid in (
    select assignmentuid from MSP_EpmAssignmentByDay where
    Convert(varchar(10),TimeByDay,101) = Convert(varchar(10),DATEADD(d,-1,getdate()),101) and AssignmentWork >0 and AssignmentActualWork =0))
    Note: This is a sample Query , you may modify it accordingly. you can query the table "MSP_TimesheetActual" in the same way if you want to look at the timesheet tables
    Refer Project Server SDK to get more information for Reporting Schema
    --Happy Troubleshooting
    Thanks --Ajith

  • When I design with Muse and export as HTML Dreamweaver doesn't attach the style sheets. Any answers?

    When I design with Muse and export as HTML Dreamweaver doesn't attach the style sheets when I open the files with Dreamweaver. Essentially when I design with Muse the files don't render the same with Dreamweaver. Is this a bug? Any work arounds?

    Then you will have to install a local server and use live view.  It's not that DW isn't rendering it or isn't attaching it, it's that Muse decided to use server-side processing to include it which is ok for a CMS practice when you are combining stylesheets for better caching, but it really isn't ideal for a single style sheet.  This is a shortcoming of Muse and one of the reasons many professionals don't back the product at the moment.  That and you can't actually buy Muse, so unless you are on a subscription you don't have it.  It's trying to fill a void for those who don't want to invest in the professional design tools like Fireworks or Photoshop or Dreamweaver, but want a cross between them to make designs.  If you have invested in the subscription though and want a better way to make layouts I highly recommend coding it yourself and using Fireworks or Photoshop to do the layout for you.  There is an excellent tutorial on the devnet (3 parts) to show you how its done ( http://www.adobe.com/devnet/dreamweaver/articles/dw_fw_css_pt1.html ).  Once you start using Fireworks or Photoshop you will realize just how limited Muse is in design.

  • If the user doesn't Exit forms but shutdown PC [SOLVED]

    Suppose the user doesn't klik the Exit button on forms but shutdown his local PC machine. He communicate with IAS 10g through web forms 10g with browser MSIE7 or Mozilla.
    What is I'd like to know is if there could be some problem about this; could some session hang or something... ?
    Thanks for advice!
    m.
    Edited by: marussig on Sep 8, 2008 11:47 PM

    Hi ,
    Termination of the Forms session is based on FORMS_TIMEOUT parameter in default.env. Normally, when the FORMS_TIMEOUT kicks in , the Forms session should be disconnected, as there was no response from the Forms client for more than the time specified by Forms_Timeout .
    You can set FORMS_TIMEOUT to 5 minutes for example, and close a client by shutdown to verify this.
    After 5 minutes the session should be teminated
    Hope it helps
    Mihai

  • FB50 - force user to add attachment

    Hi,
    Is there a way to force user to add attachment in FB50 before allow user to post the entry? In other words, the FB50 entry should not be post into SAP if user did not attach any document. Please advice. Thanks.

    Hi
    Please refer the below link
    Email Billing document as PDF Attachment while saving from VF01/02
    http://www.whypad.com/posts/sap-attach-documents-to-a-journal-entry/45/
    hope this will help you
    regards
    Praveen P C
    Edited by: Praveen Chirakkel on Apr 13, 2011 6:06 AM

  • If the user doesn't have their email address defined

    Hi,
    If some users doesn't have their email address in fnd_user table, then will the work notification goto the user? What should i do to make sure that the workflow doesn't throw an error in such a situation and still send a notification to that user?
    Thank you
    Kumar

    Hi,
    Email is completely optional, so Workflow won't throw an error if there is no email address found.
    In order to receive an email, you need the following:
    - Workflow user / role to be notified must have an email address set.
    - Workflow user / role to be notified must have a preference set to receive email.
    - Workflow mailer must be running for that particular item type, or a generic mailer needs to be running.
    Without all of those, you won't see any emails - but you won't see any errors, either :)
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • When the schema/user doesn't have an entry in dba_ts_quotas

    DB version:11.2.0.2
    Developers have been creating/dropping objects in LANTS_ENTMT_NA_DEV_01 schema for several weeks now. Today, while trying to create a table in this schema they got
    ORA-01536: space quota exceeded for tablespace 'LANTS_DATA'So, I wanted to check the quota allocated to this user. But this user doesn't have an entry in dba_ts_quotas ! This means that this user was never granted any quota on any tablespace . Right ?
    But, I am curious , without any QUOTA , how this user was able to create objects in its default tablespace until now and suddenly get "ORA-01536: space quota exceeded" error today.
    SQL > select distinct tablespace_name from dba_segments where owner = 'LANTS_ENTMT_NA_DEV_01';
    TABLESPACE_NAME
    LANTS_DATA
    SQL > select MAX_BYTES from dba_ts_quotas where username = 'LANTS_ENTMT_NA_DEV_01';
    no rows selected
    SQL > select username, default_tablespace from dba_users where username = 'LANTS_ENTMT_NA_DEV_01';
    USERNAME                       DEFAULT_TABLESPACE
    LANTS_ENTMT_NA_DEV_01          LANTS_DATA
    SQL > select count(*) from dba_ts_quotas where username = 'LANTS_ENTMT_NA_DEV_01';
      COUNT(*)
             0
    SQL > alter user LANTS_ENTMT_NA_DEV_01 quota 20g on LANTS_DATA;
    User altered.
    -- After setting the quota, the user has an entry in dba_ts_quotas
    SQL > select MAX_BYTES from dba_ts_quotas where username = 'LANTS_ENTMT_NA_DEV_01';
    MAX_BYTES
    2.1475E+10
    SQL > select TABLESPACE_NAME, MAX_BYTES/1024/1024/1024 from dba_ts_quotas where username = 'LANTS_ENTMT_NA_DEV_01';
    TABLESPACE_NAME                          MAX_BYTES/1024/1024/1024
    LANTS_DATA                                                     20If LANTS_ENTMT_NA_DEV_01 didn't have any quota at all on this tablespace , this user should have got a different error ie. "ORA-01950: no privileges on tablespace" as shown in the test below.
    SQL> create user testuser02 identified by abcd123 default tablespace FRCRS_TS;
    User created.
    SQL> grant create session to testuser02;
    Grant succeeded.
    SQL> grant select on dba_objects to testuser02;
    Grant succeeded.
    SQL> grant create table, create session to testuser02;
    Grant succeeded.
    SQL> select count(*) from dba_ts_quotas where username= 'TESTUSER02';
      COUNT(*)
             0
    SQL> conn testuser02/abcd123
    Connected.
    SQL> create table john as select * from dba_objects where rownum < 30;
    create table john as select * from dba_objects where rownum < 30
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'FRCRS_TS'

    So, I wanted to check the quota allocated to this user. But this user doesn't have an entry in dba_ts_quotas ! This means that this user was never granted any quota on any tablespace . Right ?no, this means that this user currently doesnt have quota, but it could have in the past
    But, I am curious , without any QUOTA , how this user was able to create objects in its default tablespace until now and suddenly get "ORA-01536: space quota exceeded" error today.see above, or:
    users with the UNLIMITED TABLESPACE system privilege have unlimited quota on all tablespaces without giving any specific quota on a tablespace

  • My user doesn't log in

    Hi,
    I bought the Mountain Lion OSX, and after installed it my regular user doesn't log in.
    After I putted the right password the mac gave me a gray screen and come back to the first screen of users, anyone knows what I do to solute this?
    Thanks!

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on some Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode.)

  • Mail doesn't attach files through dragging and dropping the files!

    Help please,
    Mail doesn't attach files through dragging and dropping the files on OS X ML, it crashes for a while !!

    Open Disk Utility and Repair disk permissions on the First Aid tab.
    Then, Restart and boot into Recovery Mode by holding down cmd-r on restart until you see a gray screen. When the Mac boots, you will be presented with some options. Choose Disk Utility and select your Hard drive volume (Macintosh HD is the default name). Then, on the First Aid tab, click Repair Disk (not permissions).
    If that doesn't help, you could try installing the 10.8.2 combo updater from the Apple Downloads site:
    http://support.apple.com/kb/DL1581

  • Outlook 2010 cannot save to archive folders listed. Message says that message was already moved or that user doesn't have permission.

    Outlook 2010 cannot save to archive folders listed. Message says that message was already moved or that user doesn't have permission.

    Hi,
    Does this issue occur when you manually archive items in Outlook, do you drag them into the archive folder?
    The first thing I wonder is if the .pst file has been corrupted, please run Scanpst.exe to repair the archive .pst file:
    http://support.microsoft.com/kb/272227/en-us
    Please logon your Webmail(owa), check if the emails are available. If the emails have been moved and Outlook Client hasn't synced yet, this issue may occur as well.
    We can also create a new .pst file to archive the file, check if the issue persists.
    For more information, we can refer to Archive items manually:
    http://office.microsoft.com/en-in/outlook-help/archive-items-manually-HA010355564.aspx
    When you browse to the archive file in step 5, type in a new .pst file name.
    If my understanding is not accurate, please detail your scenario and provide the exact error message.
    Regards,
    Melon Chen
    TechNet Community Support

  • JAAS logon module portal user doesn't redirect any website

    I adopted customing JAAS login module.(WAS640 SP14)
    in login(), when portal user doesn't exist, portal site redirect any other website.
    doesn't work res.sendRedirect
    plaese post how do i work.....
    =============================
         public boolean login() throws LoginException {
              NameCallback nameCallback = new NameCallback("user name: ");
              PasswordCallback pwdCallback = new PasswordCallback("password: ", false);
              try {
                   _callbackHandler.handle(new Callback[] {nameCallback, pwdCallback});
              } catch (java.io.IOException ioe) {
                   throwUserLoginException(ioe, LoginExceptionDetails.IO_EXCEPTION);
              } catch (UnsupportedCallbackException uce) {
                   _shouldBeIgnored=true;
                   return false;
              String _userId      = nameCallback.getName();
              _password = pwdCallback.getPassword();
              pwdCallback.clearPassword();
              //WebCallback call
              WebCallback wcb = new WebCallback ();
              HttpServletResponse res = wcb.getResponse();
              try
                   refreshUserInfo(_userId);
                   user =userContext.getUserInfo(_userId);
              } catch(SecurityException e)
                try {
                     res.sendRedirect("http://www.naver.com");  <<<==========
                } catch (Exception e1) {
                     e1.printStackTrace();
                   //throwUserLoginException(e, (byte)0);
    =======================================
    Error in some of the login modules.
    [EXCEPTION]
    com.sap.engine.services.security.exceptions.BaseLoginException: Error in some of the login modules.
         at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:149)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:154)
    Message was edited by: Won-Woo Park

    I am getting this exact same error when attempting to redirect out of the JAAS custom login module we created.  I inherited this code, so I am not sure what to do to make this work.  Did you ever get it resolved?  If so, can you tell me what you did to fix it?
    My code looks similar to yours:
    WebCallback wcb = new WebCallback ();
    this.callbackHandler.handle(new Callback [] {wcb});
    HttpServletResponse rsp = wcb.getResponse();
    myLoc.infoT("URL: " + this.changepasswordurl + this.username);
    rsp.sendRedirect(this.changepasswordurl + this.username);
    I'm getting exactly the same stack dump you got.  The URL gets printed in the trace log, and when I enter it directly into the browser, it works just fine.  Something about the redirect is wreaking havoc in the portal.
    Can anyone suggest how to make this redirect work?
    Thank you,
    Dave

  • Migrating Employees to SAP HR

    Hi,
    I want to migrate the Employees details from an Active Directory LDAP system to SAP HR. I found some BAPIs using which Infotypes like Address, Pay, Communication details, etc can be created. But, however I don't see any option to create an employee using some BAPI.
    I'm using SAP4.6c.
    Is there any work around for migrating Employees from a different system to SAP HR ?
    Please help me out with your suggestions.
    Thanks & Regards,
    Chandrasekhar.

    Create a sample JCo application which will be calling the below BAPI for synchronizing the LDAP user to SAPHR
    Note: The Import parameters A,B,C,D can be UserName etc ...
    FUNCTION BAPI_SYNC_USER.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(A) TYPE  FLAG
    *"     VALUE(B) TYPE  FLAG
    *"     VALUE(C) TYPE  FLAG
    *"     VALUE(USER) TYPE  XUBNAME OPTIONAL
    data: da, db, dc,
          ea, eb, ec,
          fa, fb, fc,fd.
    CASE A.
    WHEN '1'.
      da = 'X'.
      db = ''.
      dc = ''.
    WHEN '2'.
      da = ''.
      db = 'X'.
      dc = ''.
    WHEN '3'.
      da = ''.
      db = ''.
      dc = 'X'.
    ENDCASE.
    CASE B.
    WHEN '1'.
      ea = 'X'.
      eb = ''.
      ec = ''.
    WHEN '2'.
      ea = ''.
      eb = 'X'.
      ec = ''.
    WHEN '3'.
      ea = ''.
      eb = ''.
      ec = 'X'.
    ENDCASE.
    CASE C.
    WHEN '1'.
      fa = 'X'.
      fb = ''.
      fc = ''.
      fd = ''.
    WHEN '2'.
      fa = ''.
      fb = 'X'.
      fc = ''.
      fd = ''.
    WHEN '3'.
      fa = ''.
      fb = ''.
      fc = 'X'.
      fd = ''.
    WHEN '4'.
      fa = ''.
      fb = ''.
      fc = ''.
      fd = 'X'.
    ENDCASE.
    SUBMIT RSLDAPSYNC_USER USING SELECTION-SCREEN 1000
                                          with SERVERID eq 'LDAP_BWSERVER'
                                          with LDAPCON  eq 'LDAP_BWSERVER'
                                          with USERIDS-LOW eq USER
                                          with FLAG11 eq da
                                          with FLAG12 eq db
                                          with FLAG10 eq dc
                                          with FLAG21 eq ea
                                          with FLAG22 eq eb
                                          with FLAG23 eq ec
                                          with FLAG31 eq fa
                                          with FLAG32 eq fb
                                          with FLAG33 eq fc
                                          with FLAG34 eq fd
                                          EXPORTING LIST TO MEMORY
                                          AND RETURN  .
    ENDFUNCTION.
    *& Report  RSLDAPSYNC_USER                                             *
    REPORT  rsldapsync_user.
    INCLUDE rsldapsync_usertop.
    DATA:
      gf_class_dummy TYPE usr02-class,
      gf_ustyp_dummy TYPE usr02-ustyp.
    SELECTION-SCREEN BEGIN OF BLOCK serverid WITH FRAME TITLE text-004.
    PARAMETERS serverid LIKE ldapserver-serverid OBLIGATORY.
    PARAMETERS ldapcon LIKE ldapgatew-rfcdest.
    SELECTION-SCREEN END OF BLOCK serverid.
    SELECTION-SCREEN BEGIN OF BLOCK userid WITH FRAME TITLE text-009.
      SELECT-OPTIONS userids FOR gf_userid.
      SELECTION-SCREEN BEGIN OF LINE.
        PARAMETERS gf_usflt TYPE char1 USER-COMMAND dummy.
        SELECTION-SCREEN COMMENT 3(72) com_usfl FOR FIELD gf_usflt.
      SELECTION-SCREEN END OF LINE.
      SELECTION-SCREEN BEGIN OF LINE.
        SELECTION-SCREEN COMMENT 3(72) com_warn MODIF ID wrn
          FOR FIELD gf_usflt.
      SELECTION-SCREEN END OF LINE.
      SELECTION-SCREEN SKIP.
      SELECT-OPTIONS class   FOR gf_class_dummy.
      SELECT-OPTIONS ustyp   FOR gf_ustyp_dummy NO INTERVALS.
    SELECTION-SCREEN END OF BLOCK userid.
    SELECTION-SCREEN BEGIN OF BLOCK topf1 WITH FRAME TITLE text-038.
    PARAMETERS flag11 TYPE ldap_flag RADIOBUTTON GROUP rad1.
    PARAMETERS flag12 TYPE ldap_flag RADIOBUTTON GROUP rad1.
    PARAMETERS flag10 TYPE ldap_flag RADIOBUTTON GROUP rad1 DEFAULT 'X'.
    SELECTION-SCREEN END OF BLOCK topf1.
    SELECTION-SCREEN BEGIN OF BLOCK topf2 WITH FRAME TITLE text-039.
    PARAMETERS flag21 TYPE ldap_flag RADIOBUTTON GROUP rad3.
    PARAMETERS flag22 TYPE ldap_flag RADIOBUTTON GROUP rad3.
    PARAMETERS flag23 TYPE ldap_flag RADIOBUTTON GROUP rad3 DEFAULT 'X'.
    SELECTION-SCREEN END OF BLOCK topf2.
    SELECTION-SCREEN BEGIN OF BLOCK topf3 WITH FRAME TITLE text-040.
    PARAMETERS flag31 TYPE ldap_flag RADIOBUTTON GROUP rad4.
    PARAMETERS flag32 TYPE ldap_flag RADIOBUTTON GROUP rad4.
    PARAMETERS flag33 TYPE ldap_flag RADIOBUTTON GROUP rad4.
    PARAMETERS flag34 TYPE ldap_flag RADIOBUTTON GROUP rad4 DEFAULT 'X'.
    SELECTION-SCREEN END OF BLOCK topf3.
    SELECTION-SCREEN BEGIN OF BLOCK perf WITH FRAME TITLE text-044.
    PARAMETERS flagx TYPE ldap_flag AS CHECKBOX.
    SELECTION-SCREEN END OF BLOCK perf.
    Indicator that report called from external.
    Will not use SY-CALLD to control behavior because it has drawbacks:
      a) Also set during batch processing
      b) SE38, Execute, F3 (back), Execute --> SY-CALLD set
    Effects of the parameter:
      a) Log data are exported to memory
      b) Log data are not automatically shown upon exit
      c) Log data are persisted to DB only if something was changed
         or warning or error messages were collected.
    PARAMETERS: gf_calld TYPE xflag NO-DISPLAY.
    Language indicator for external call (needed to have the free texts
    in the right language). Note that the SET LOCALE LANGUAGE statement
    does not change the language setting for MESSAGE, so the caller
    is still in the need to process SY-messages language dependent.
    PARAMETERS: gf_langu TYPE sylangu NO-DISPLAY.
    INCLUDE rsldapsync_userf01.
    Programmstart
    INITIALIZATION.
      com_usfl = 'Apply user selection to the directory'(073).      "#EC *
      CALL FUNCTION 'ICON_CREATE'
        EXPORTING
          name   = 'ICON_WARNING'
          text   = 'Take notice of SAP Note 748490'(074) "#EC *
          info   = 'Warning'(075)                                   "#EC *
        IMPORTING
          RESULT = com_warn
        EXCEPTIONS
          OTHERS = 0.
      CALL FUNCTION 'LDAP_VALID_SERVERID'
        EXPORTING
          applic        = 'USER'
        IMPORTING
          serverid      = serverid
        EXCEPTIONS
          nothing_found = 0
          OTHERS        = 0.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR ldapcon.
      PERFORM f4_gateway100 IN PROGRAM sapmldap.
    AT SELECTION-SCREEN OUTPUT.
      IF gf_usflt IS INITIAL.
        LOOP AT SCREEN.
          IF screen-group1 = 'WRN'.
            screen-active = '0'.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    START-OF-SELECTION.
    Time mark for report start.
      GET TIME STAMP FIELD gf_time_start.
    The calls to LOG_PERF in the report calculate the difference between
    the current time and the parameter given in the interface. So the
    variable used for this purpose must be set to the start mark.
      gf_time_current = gf_time_start.
      SELECT * FROM ldapmap12 INTO TABLE gt_ldapmap12
               WHERE serverid = serverid
               ORDER BY mapkey nr.
      SELECT * FROM ldapmap62 INTO TABLE gt_ldapmap62
               WHERE serverid = serverid
               ORDER BY mapkey.
      SELECT * FROM dbobj INTO TABLE gt_dbobj
               WHERE objecttype = 'USER'.
    Set language environment, if required
      IF NOT gf_langu IS INITIAL.
        SET LANGUAGE gf_langu.
      ENDIF.
    Application Log anlegen
      PERFORM log_create.
      IF flagx = 'X'.
        PERFORM log_perf USING    text-051
                         CHANGING gf_time_current.
      ENDIF.
    Anfang - Zentrale Schleife
      DATA:
        lf_connected(1) TYPE c.
      DO 1 TIMES.
    Check existence of LDAP Server and that it belongs to application USER
        DATA:
          lf_application TYPE ldap_appl.
          SELECT SINGLE
              appl
            INTO
              (lf_application)
            FROM
              ldapserver
            WHERE
              serverid = serverid.
        IF sy-subrc <> 0.
          MESSAGE e040(ldap) WITH serverid INTO dummy.
          PERFORM log_add.
          EXIT.
        ELSE.
          IF lf_application <> 'USER'.
            MESSAGE e043(ldapsync)
              WITH serverid lf_application INTO dummy.
            PERFORM log_add.
            EXIT.
          ENDIF.
        ENDIF.
    Check mapping for consistency
        PERFORM check_mapping
          USING
            serverid
          CHANGING
            gf_rc.
        IF gf_rc <> 0.
          EXIT.
        ENDIF.
    Verbindung zum Verzeichnis herstellen
        PERFORM dir_connect USING serverid CHANGING gf_rc.
        IF gf_rc <> 0. EXIT. ENDIF.
        IF flagx = 'X'.
          PERFORM log_perf USING text-052
                           CHANGING gf_time_current.
        ENDIF.
        lf_connected = 'X'.
    Menge der Objekte in Verzeichnis und Datenbank ermitteln
        SELECT * FROM ldapsync INTO TABLE gt_objects_sync
               WHERE serverid = serverid.
        SORT gt_objects_sync BY serverid objkey.
        IF flagx = 'X'.
          PERFORM log_perf USING text-064
                           CHANGING gf_time_current.
        ENDIF.
      Read data from directory.
      If directory contais duplicates in the filterattribute, these
      appear as single lines in GT_OBJECTS_DIR still (so that SYNC_CALC
      considers them correctly), but are also
      contained in the GT_DIR_DUPLICATES table with details. It is the
      obligation of the report to exclude these records if they are
      to be processed.
        PERFORM dir_search
          USING
            serverid
            gt_objects_sync
          CHANGING
            gt_objects_dir
            gt_dir_duplicates
            gf_rc.
        IF gf_rc <> 0. EXIT. ENDIF.
        IF flagx = 'X'.
          PERFORM log_perf USING text-053
                           CHANGING gf_time_current.
        ENDIF.
        PERFORM db_search USING serverid gt_objects_sync
                       CHANGING gt_objects_db gf_rc.
        IF gf_rc <> 0. EXIT. ENDIF.
        IF flagx = 'X'.
          PERFORM log_perf USING text-054
                           CHANGING gf_time_current.
        ENDIF.
    Erforderliche Synchronisationsrichtungen ermitteln
        READ TABLE gt_ldapmap62 WITH KEY syncout = 'X'.
        IF sy-subrc = 0. gf_attrs_exp = 'X'. ENDIF.
        READ TABLE gt_ldapmap62 WITH KEY syncin = 'X'.
        IF sy-subrc = 0. gf_attrs_imp = 'X'. ENDIF.
    Arbeitsvorräte anlegen
      Object lists must be sorted by OBJKEYSAP because the determination
      of the three classes (only in DIR, only in DB, both) uses OBJKEYSAP
      and BINARY SEARCH for mutual table access.
        SORT gt_objects_dir BY objkeysap.
        SORT gt_objects_db  BY objkeysap.
        PERFORM sync_calc USING gt_objects_dir gt_objects_db
                                gf_attrs_exp gf_attrs_imp
                       CHANGING gt_objects_both gt_objects_dir_only
                                gt_objects_db_only.
      Users that were excluded from the GT_OPBJECTS_DB due to
      CLASS or USTYP might appear now in the GT_OBJECTS_DIR_ONLY section
      if they were found in the directory. If such a user exists in USR02,
      it must be removed (because in this case obviously the user in
      USR02 does not match the selection criteria).
        IF NOT gt_objects_dir_only IS INITIAL.
          DATA:
            lt_all_users TYPE HASHED TABLE OF xubname
                         WITH UNIQUE KEY table_line.
          SELECT
              bname AS table_line
            INTO
              TABLE lt_all_users
            FROM
              usr02
            WHERE
              bname IN userids.
          DATA:
            ls_user TYPE ty_s_syncobject.
          LOOP AT gt_objects_dir_only INTO ls_user.
            READ TABLE lt_all_users
                       WITH TABLE KEY table_line = ls_user-objkeysap
                       TRANSPORTING NO FIELDS.
            IF sy-subrc = 0.
              DELETE gt_objects_dir_only.
            ENDIF.
          ENDLOOP.
        ENDIF.
        IF flagx = 'X'.
          PERFORM log_perf USING text-055
                           CHANGING gf_time_current.
        ENDIF.
    Attributmengen bilden
      Which fields must be exported and imported
        CLEAR: gt_attrs_i, gt_attrs_o.
        LOOP AT gt_ldapmap62 WHERE syncin = 'X' OR syncout = 'X'.
          CLEAR: gs_attrs.
          gs_attrs-var = gt_ldapmap62-var.
          gs_attrs-fld = gt_ldapmap62-fld.
          READ TABLE gt_dbobj WITH KEY var = gt_ldapmap62-var
                                       fld = gt_ldapmap62-fld.
          IF sy-subrc = 0 AND NOT gt_dbobj-hexflag IS INITIAL.
            gs_attrs-typ = 'X'.
          ELSE.
            gs_attrs-typ = 'C'.
          ENDIF.
          IF gt_ldapmap62-syncin = 'X'.
            APPEND gs_attrs TO gt_attrs_i.
          ENDIF.
          IF gt_ldapmap62-syncout = 'X'.
            APPEND gs_attrs TO gt_attrs_o.
          ENDIF.
        ENDLOOP.
        SORT gt_attrs_o BY var fld typ.
        DELETE ADJACENT DUPLICATES FROM gt_attrs_o.
        SORT gt_attrs_i BY var fld typ.
        DELETE ADJACENT DUPLICATES FROM gt_attrs_i.
      Which fields are required for creation of directory entries
        CLEAR: gt_attrs_req_ldap.
        LOOP AT gt_ldapmap12 WHERE mflag = 'X'
                                OR rflag = 'X'
                                OR fflag = 'X'.
          CLEAR: gs_attrs.
          gs_attrs-var = gt_ldapmap12-var.
          gs_attrs-fld = gt_ldapmap12-fld.
          gs_attrs-typ = 'C'.
          READ TABLE gt_dbobj WITH KEY var = gt_ldapmap12-var
                                       fld = gt_ldapmap12-fld.
          IF sy-subrc = 0 AND NOT gt_dbobj-hexflag IS INITIAL.
            gs_attrs-typ = 'X'.
          ELSE.
            gs_attrs-typ = 'C'.
          ENDIF.
          APPEND gs_attrs TO gt_attrs_req_ldap.
        ENDLOOP.
      Which fields are required for creation of database entries
        CLEAR: gt_attrs_req_db[].
        LOOP AT gt_dbobj WHERE mandflag = 'X'.
          CLEAR: gs_attrs.
          gs_attrs-var = gt_dbobj-var.
          gs_attrs-fld = gt_dbobj-fld.
          IF gt_dbobj-hexflag IS INITIAL.
            gs_attrs-typ = 'C'.
          ELSE.
            gs_attrs-typ = 'X'.
          ENDIF.
          APPEND gs_attrs TO gt_attrs_req_db.
        ENDLOOP.
        IF flagx = 'X'.
          PERFORM log_perf USING text-056
                           CHANGING gf_time_current.
        ENDIF.
    Objekte, die im Verzeichnis und in der Datenbank vorhanden sind
        log_context-level1  = text-057.
        log_context-objkey  = text-058.
        DESCRIBE TABLE gt_objects_both LINES lf_count.
        lf_dummy = lf_count.
        CONDENSE lf_dummy.
        CONCATENATE text-038 lf_dummy INTO lf_dummy SEPARATED BY space.
        PERFORM log_text USING lf_dummy.
        CASE 'X'.
          WHEN flag11 OR flag12.   "Objekte synchronisieren
            gt_attrs_r = gt_attrs_i.
            gt_attrs_w = gt_attrs_o.
            DELETE gt_attrs_r WHERE var = 'PASSWORD' AND fld = 'BAPIPWD'.
            DELETE gt_attrs_w WHERE var = 'PASSWORD' AND fld = 'BAPIPWD'.
            LOOP AT gt_objects_both INTO gs_objects_both.
              PERFORM sync_db_dir USING serverid gs_objects_both
                                        gt_attrs_w gt_attrs_r.
            ENDLOOP.
            log_context-level1  = text-057.
            log_context-objkey  = text-058.
            dummy = gf_update_both_success.
            CONDENSE dummy.
            CONCATENATE text-014 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
            dummy = gf_update_db_success.
            CONDENSE dummy.
            CONCATENATE text-100 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
            dummy = gf_update_ldap_success.
            CONDENSE dummy.
            CONCATENATE text-016 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
            dummy = gf_update_failed.
            CONDENSE dummy.
            CONCATENATE text-017 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
            dummy = gf_update_not_necessary.
            CONDENSE dummy.
            CONCATENATE text-018 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
          WHEN flag10.   "ignorieren
            log_context-level1  = text-057.
            log_context-objkey  = text-058.
            DESCRIBE TABLE gt_objects_both LINES gf_ignored.
            dummy = gf_ignored.
            CONDENSE dummy.
            CONCATENATE text-019 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
        ENDCASE.
        IF flagx = 'X'.
          PERFORM log_perf USING text-070
                           CHANGING gf_time_current.
        ENDIF.
    Objekte, die nur im Verzeichnis vorhanden sind
        log_context-level1  = text-057.
        log_context-objkey  = text-058.
        DESCRIBE TABLE gt_objects_dir_only LINES lf_count.
        lf_dummy = lf_count.
        CONDENSE lf_dummy.
        CONCATENATE text-039 lf_dummy INTO lf_dummy SEPARATED BY space.
        PERFORM log_text USING lf_dummy.
        CASE 'X'.
          WHEN flag21.   "in DB anlegen
            CLEAR: gt_attrs_r.
            APPEND LINES OF gt_attrs_req_db TO gt_attrs_r.
            DELETE gt_attrs_r WHERE var = 'PASSWORD'
                                AND fld = 'BAPIPWD'.
            APPEND LINES OF gt_attrs_i TO gt_attrs_r.
            SORT gt_attrs_r.
            DELETE ADJACENT DUPLICATES FROM gt_attrs_r.
            CLEAR: gt_attrs_w.
            APPEND LINES OF gt_attrs_req_db TO gt_attrs_w.
            APPEND LINES OF gt_attrs_i TO gt_attrs_w.
            SORT gt_attrs_w.
            DELETE ADJACENT DUPLICATES FROM gt_attrs_w.
            LOOP AT gt_objects_dir_only INTO gs_objects_dir_only.
              PERFORM db_add USING serverid gs_objects_dir_only
                                   gt_attrs_r gt_attrs_w.
            ENDLOOP.
            log_context-level1  = text-057.
            log_context-objkey  = text-058.
            dummy = gf_create_db_success.
            CONDENSE dummy.
            CONCATENATE text-021 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
            dummy = gf_create_db_failed.
            CONDENSE dummy.
            CONCATENATE text-022 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
          WHEN flag22.   "in LDAP löschen
            LOOP AT gt_objects_dir_only INTO gs_objects_dir_only.
              PERFORM dir_delete USING serverid gs_objects_dir_only.
            ENDLOOP.
            log_context-level1  = text-057.
            log_context-objkey  = text-058.
            dummy = gf_delete_ldap_success.
            CONDENSE dummy.
            CONCATENATE text-023 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
            dummy = gf_delete_ldap_failed.
            CONDENSE dummy.
            CONCATENATE text-024 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
          WHEN flag23.   "ignorieren
            log_context-level1  = text-057.
            log_context-objkey  = text-058.
            DESCRIBE TABLE gt_objects_dir_only LINES gf_ignored.
            dummy = gf_ignored.
            CONDENSE dummy.
            CONCATENATE text-025 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
        ENDCASE.
        IF flagx = 'X'.
          PERFORM log_perf USING text-072
                           CHANGING gf_time_current.
        ENDIF.
    Objekte, die nur in der Datenbank vorhanden sind
        log_context-level1  = text-057.
        log_context-objkey  = text-058.
        DESCRIBE TABLE gt_objects_db_only LINES lf_count.
        lf_dummy = lf_count.
        CONDENSE lf_dummy.
        CONCATENATE text-040 lf_dummy INTO lf_dummy SEPARATED BY space.
        PERFORM log_text USING lf_dummy.
        CASE 'X'.
          WHEN flag31.   "in LDAP anlegen
            CLEAR: gt_attrs_r.
            APPEND LINES OF gt_attrs_req_ldap TO gt_attrs_r.
            APPEND LINES OF gt_attrs_o TO gt_attrs_r.
            SORT gt_attrs_r.
            DELETE ADJACENT DUPLICATES FROM gt_attrs_r.
            CLEAR: gt_attrs_w.
            APPEND LINES OF gt_attrs_o TO gt_attrs_w.
            SORT gt_attrs_w.
            DELETE ADJACENT DUPLICATES FROM gt_attrs_w.
            LOOP AT gt_objects_db_only INTO gs_objects_db_only.
              PERFORM dir_add USING serverid gs_objects_db_only
                                    gt_attrs_r gt_attrs_w.
            ENDLOOP.
            log_context-level1  = text-057.
            log_context-objkey  = text-058.
            dummy = gf_create_ldap_success.
            CONDENSE dummy.
            CONCATENATE text-031 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
            dummy = gf_create_ldap_failed.
            CONDENSE dummy.
            CONCATENATE text-032 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
          WHEN flag32.   "in DB löschen
            LOOP AT gt_objects_db_only INTO gs_objects_db_only.
              PERFORM db_delete USING serverid gs_objects_db_only.
            ENDLOOP.
            log_context-level1  = text-057.
            log_context-objkey  = text-058.
            dummy = gf_delete_db_success.
            CONDENSE dummy.
            CONCATENATE text-033 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
            dummy = gf_delete_db_failed.
            CONDENSE dummy.
            CONCATENATE text-034 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
          WHEN flag33.   "in DB sperren
            LOOP AT gt_objects_db_only INTO gs_objects_db_only.
              PERFORM db_lock USING serverid gs_objects_db_only.
            ENDLOOP.
            log_context-level1  = text-057.
            log_context-objkey  = text-058.
            dummy = gf_lock_db_success.
            CONDENSE dummy.
            CONCATENATE text-035 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
            dummy = gf_lock_db_failed.
            CONDENSE dummy.
            CONCATENATE text-036 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
          WHEN flag34.   "ignorieren
            log_context-level1  = text-057.
            log_context-objkey  = text-058.
            DESCRIBE TABLE gt_objects_db_only LINES gf_ignored.
            dummy = gf_ignored.
            CONDENSE dummy.
            CONCATENATE text-037 dummy INTO dummy SEPARATED BY space.
            PERFORM log_text USING dummy.
        ENDCASE.
        IF flagx = 'X'.
          PERFORM log_perf USING text-071
                           CHANGING gf_time_current.
        ENDIF.
    Laufzeitmessung -> Ergebnis ausgeben
        PERFORM log_perf USING text-041
                         CHANGING gf_time_start.
    Ende - Zentrale Schleife
      ENDDO.
    Disconnect from directory
      IF NOT lf_connected IS INITIAL.
        PERFORM dir_disconnect USING serverid CHANGING gf_rc.
        IF flagx = 'X'.
          PERFORM log_perf USING text-059
                           CHANGING gf_time_current.
        ENDIF.
      ENDIF.
    Write messages about duplicate records in directory for which
    no message was written yet.
      log_context-level1 = text-057.
      log_context-objkey = text-061.
      DATA:
        ls_duplicate TYPE ty_s_dir_duplicates.
      LOOP AT gt_dir_duplicates INTO ls_duplicate
                                WHERE message_sent IS INITIAL.
        MESSAGE w018(ldapsync)
          WITH
            ls_duplicate-dn1
            ls_duplicate-dn2
            ls_duplicate-objkeysap
            ls_duplicate-number_duplicates
          INTO
            dummy.
        PERFORM log_add.
      ENDLOOP.
    Application Log speichern
      PERFORM log_save.
    Application Log anzeigen
      IF sy-batch IS INITIAL AND gf_calld IS INITIAL.
        PERFORM log_display.
      ENDIF.
    F4-Hilfe für LDAP-Server
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR serverid.
      CALL FUNCTION 'LDAP_SERVERID_F4'
        EXPORTING
          applic   = 'USER'
        IMPORTING
          serverid = serverid.

  • PA30, attaching documents through the employee personal master dat

    Dear freinds,
    We are attaching documents through the employee personal master data
    PA30, Our client wants to know where exactly these attachments are
    getting saved; Our SAP environment is ECC6.0 on AIX 5.3. so i exactly would like to know what is the exact path where these documents are getting saved on AIX machine.
    I would appreciate if you can tell us where exactly these documents are
    getting saved at OS level, any particular file system you think,
    because I probed in but couldnu2019t find where exactly there are on the
    OS..
    Regards
    ayush

    hello,
    SAP generally recommends that you store employee documents with a bar code. You can find the documentation to 'Storage Within Personnel Administration' using the following path:
    => Help => SAP Library => Human Resources => Personnel Management (PA)=> Personnel Administration (PA-PA) => Storage Within Personnel Administration (PA-PA)
    In the SAP Standard it is not possible to tie original documents to specific personnel numbers in the PA30 transaction. The only exceptions are two specific scenarios where you can tie original documents in the PA30 transaction:
    1. late storing with bar code
    2. late storing without bar code
    During both scenarios you start out in the Trx PA30. If the bar code entry is deactivated the actual key data will have to be transferred to the document in any case, otherwise you will be asked to enter a barcode again. Therefore the document would be transferred to the scanning location and then assigned to a specific business object.
    Unfortunately it is NOT possible to upload a document directly into archive in the PA30 any other way.
    Let me emphasize once more that PA30 can not be used for storing infotype specific documents. Via the special scenarios mentioned already by my colleague you are able to assign documents to the specific infotypes but the storing has to be completed outside of PA30.
    Using the option Extras -> Assign facsimile in PA30 will be interpreted by the system as start for late scanning with barcode thus the error message.
    Hope this help
    Sarah

Maybe you are looking for