Infotype 0105 creates usr01 when running HRALXSYNC

After Hiring new employee (pa48) and creating infotype 0105 the system creates user for the employee of type 'C' (communication date).
We do not want every employee to has user in the system.
therefor we want to prevent the automatic creating of user.
Is there any way to prevent that process?
best regards.
Yotam.

Hi Yotam,
No, a user is needed in E-Recruiting. That's the reason why we create a random user if you don't have IT0105 filled.
Regards,
Nicole

Similar Messages

  • DIM-00019 Cannot Create service (when running DBCA)

    DIM-00019 Cannot Create service (when running DBCA)
    Hello,
    I was trying to install Oracle9i and configure a DB instance (my first try at 9i, to be sure) and everything went ok until I was creating the DB instance. The dbca asked for all the parameters and when it was actually in the process of copying files/creating services it stops with the error
    DIM-00019 Create Service Error
    Then it tries to continue but another error comes up
    ORA-12560: TNS: Protocol Adapter Error.
    And then it aborts.
    Does anyone know what is going wrong here? I'm trying to install in Windows 2000 Server SP4.
    Thanks in advance for any help,
    --oswaldo santos.

    DIM-00019 Cannot Create service (when running DBCA)
    Hello,
    I was trying to install Oracle9i and configure a DB instance (my first try at 9i, to be sure) and everything went ok until I was creating the DB instance. The dbca asked for all the parameters and when it was actually in the process of copying files/creating services it stops with the error
    DIM-00019 Create Service Error
    Then it tries to continue but another error comes up
    ORA-12560: TNS: Protocol Adapter Error.
    And then it aborts.
    Does anyone know what is going wrong here? I'm trying to install in Windows 2000 Server SP4.
    Thanks in advance for any help,
    --oswaldo santos.

  • How to create spool when running a report in background

    hi folks,
    i am running a bdc report in bkgrnd... and i want all the success and eror messages to be displayed in a spool... plz explain with example as to how this can be achieved .

    Hello Nishant,
    You could use this sample code to create the spool.
    DATA : X_NAME       LIKE TSP03D-NAME,
           X_DEST       LIKE TSP03D-PADEST VALUE 'LOCL',
           X_ROWS       LIKE SXPCKLSTI1-BODY_NUM VALUE 0,
           X_STARTROW   LIKE SXPCKLSTI1-BODY_START VALUE 1,
           X_PAGES      LIKE RSPOTYPE-PAGES VALUE 1,
           X_PAGES_1    TYPE P DECIMALS 2,
           X_RQTITLE    LIKE SXPCKLSTI1-OBJ_DESCR,
           X_RQCOPIES   TYPE I VALUE 1,
           X_RQOWNER    LIKE TRDYSE01CM-USERNAME,
           X_IMMEDIATE  LIKE PRI_PARAMS-PRIMM VALUE ' ',
           X_RQID       LIKE TSP01-RQIDENT,
           I_CONTENTS    LIKE  SOLISTI1 OCCURS 0 WITH HEADER LINE.
    X_PAGES   = 1.
    X_RQOWNER = SY-UNAME.
    X_DEST     = 'LOCL'.
    X_STARTROW = 1.
    X_RQCOPIES = 1.
    X_IMMEDIATE = ' ' .
    I_CONTENTS-LINE = 'I Got your Childhood PHOTO'.
    APPEND I_CONTENTS.
    CALL FUNCTION 'RSPO_SX_OUTPUT_TEXTDATA'
    EXPORTING
          name                 =   x_name
        DEST                 =  X_DEST
        ROWS                 =  X_ROWS
        STARTROW             =  X_STARTROW
        PAGES                =  X_PAGES
        RQTITLE              =  X_RQTITLE
        RQCOPIES             =  X_RQCOPIES
        RQOWNER              =  X_RQOWNER
        IMMEDIATELY          =  X_IMMEDIATE
        IMPORTING
        RQID                 =  X_RQID
        TABLES
    <b>    TEXT_DATA            = I_CONTENTS</b> <b>Your Message Table</b>
        EXCEPTIONS
        NAME_MISSING         = 1
        NAME_TWICE           = 2
        NOT_FOUND            = 3
        ILLEGAL_LAYOUT       = 4
        INTERNAL_ERROR       = 5
        SIZE_MISMATCH        = 6
        OTHERS               = 7.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.      ENDIF.
    ENDIF.
    WRITE: X_RQID
    If useful reward.
    Vasanth

  • When i am running the RBDMDOC it will not genarated the idoc for the infotype 0105

                   Hi experts,
                            I am run a pa40 action and change the record of 0105 infotype, in bd64 as part of data filtering I am also mentioned 0105 . but when I am run the RBDMIDOC  the idoc is not generated of the infotype 0105 .
    Thanks in Advance .
    Venkateswara Rao.

    Hi Venkat Narayan,
       Thank for giving such a help,
    1.   I am created record for the infotypes  i.e :0,1,2,6,105.
    2    In bd64 I done a data filtering for above infotypes , its fine , but when I am running the bd21   Tcode the idoc is generated for    0,1, 2,6,. it is not generated for p0105.
         please find the following screen shorts.  
    Thanks.
    venkat

  • Create trigger not audited when run from sql developer Version 3.2.20.09

    Creating or editing a trigger is not being stored in the audit table when run from sql developer.
    Here is a sample script to show the issue:
    Grant Connect,create table,create trigger To testuser Identified By testuser;
    create table testuser.testtab(t1 number);
    Select Count(*) From Dba_Audit_Trail Where Owner='TESTUSER';
    CREATE OR REPLACE TRIGGER testuser.testtab_bi_trg BEFORE
      Insert
          ON testuser.testtab FOR EACH ROW
    begin
      null;
    end;
    Select Count(*) From Dba_Audit_Trail  Where Owner='TESTUSER';
    drop user testuser cascade;
    If I run the script from sql developer the CREATE TRIGGER statement does not get audited.
    If I run the script from sql plus or All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.
    If I edit the trigger from sql developer the CREATE TRIGGER statement does not get audited.
    If I edit the trigger from  All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.

    DoyleFreeman wrote:
    Not sure what you mean by "perform the audit".
    Have you tested my script? Does the "Select Count(*) From Dba_Audit_Trail  Where Owner='TESTUSER';" increment by 1 after each of the ddl statements or only after the Create table statement.
    Your question doesn't have ANYTHING to do with sql developer and should be posted in the Database General forum
    https://forums.oracle.com/community/developer/english/oracle_database/general_questions
    Yes - and it works just fine once you ENABLE AUDITING. Your scripIt  does NOT include the statements or code used to ENABLE auditing and, specifically, enable auditing for triggers.
    Auditing doesn't just 'happen'; you have to enable it and you have to specify any non-default auditing that you want to perform.
    Have you read any of the extensive documentation about auditing to learn how to use it?
    See the Database Security Guide
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm
    Also see 'Auditing Functions, Procedures, Packages, and Triggers
    http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm#BCGBEAGC
    And see the AUDIT statement in the SQL language doc for how to specify auditing of specific operations.
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm
    Select count(*) From Dba_Audit_Trail  Where (Owner='SCOTT' or username = 'SCOTT')
    and action_name = 'CREATE TRIGGER';
    COUNT(*)
    0
    audit create trigger by scott
    CREATE OR REPLACE TRIGGER emp_copy_bi_trg BEFORE
      Insert
          ON emp_copy FOR EACH ROW
    begin
      null;
    end;
    Select count(*) From Dba_Audit_Trail  Where (Owner='SCOTT' or username = 'SCOTT')
    and action_name = 'CREATE TRIGGER';
    COUNT(*)
    1

  • Class not being created when running from jar

    Hi all,
    Tech info first:
    IDE: Sun Java Studio Enterprise 8
    Plaform: windows xp
    I have created a Swing app, that connects to a com port(using the RXTXcomm). now, when I run the app in the IDE, everything is fine and dandy, but, when I run the jar file, the application loads, but the class in the app which deals with the com port is not created. here is the code:
        private static void createAndShowGUI() {
            //Make sure we have nice window decorations.
            JFrame.setDefaultLookAndFeelDecorated(true);
            Main receiver = new Main();
            receiver.getPropertiesFromFile();
            //Create and set up the window.
            frame = new JFrame("R�FILOG RFID Empf�nger");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setContentPane(receiver.mainPanel);
            frame.setJMenuBar(receiver.createMenuBar());
            frame.addWindowListener(receiver);
            frame.setLocationByPlatform(true);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
            portListener = new RFIDReaderComm(receiver, "COM3");
            portListener.getConfiguration();        
        public static void main(String[] args) {
            //Schedule a job for the event-dispatching thread:
            //creating and showing this application's GUI.
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();   
    portListener in the createAndShowGUI() function is an interface level parameter and is the class that is not being created. There is no error message.
    If I move the two lines that deal with the port listener before the frame.pack() line, then the GUI is not even loaded, and when I view the processes in the task manager, the process starts and then quits without anything becoming visible. So from this I guess there is a problem with creating the class when running from a jar, but without any error messages, I have not a clue where to start...can anyone help?
    thanks in advance.

    Well, some more info, so maybe someone can come up with some tips for me...this is really important, and any help is greatly appreciated.
    This is obviously a classpath problem. After running the my jar file with java -jar I finally got the error NoClassDefFoundError
    Kind of obvious I suppose. But, I cannot seem to get the two jar files I need into the classpath. I have tried the following:
    Updating my computers CLASSPATH with the relevant paths - not working
    Trying to get the Sun Java Studio Enterprise to build the required jar files into the final package - cannot get this to work
    Tried updating the manifest.mf in the following way:
    Created a text file Manifest.txt with the lines:
    Class-Path: RXTXcomm.jar
    Class-Path: BrowserLauncher2-10rc4.jar
    ran the command (in the same directory as Manifest.txt):
    jar cfm RUFILOGScanner.jar Manifest.txt classes/*.class
    but this does not work either. When I run: jar tf RUFILOGScanner.jar all I get is:
    META-INF/
    META-INF/MANIFEST.MF
    classes/
    classes/CRCCalculator.class
    classes/Main$1.class
    classes/Main.class
    classes/RFIDReaderComm.class
    classes/URLDialog$1.class
    classes/URLDialog$2.class
    classes/URLDialog.class
    the classes I want added are not there. Plus, (I think this is because I am running SE8) the manifest.mf is not in a folder called META-INF. In fact, I have no folder called META-INF. Is this significant?
    Please, can anyone help me?

  • IIf I create a partition for Bootcamp that is at least 30 GB in size, is that all the storage I get when running Windows?

    If I create a partition for Bootcamp that is at least 30 GB in size, is that all the storage I get when running Windows?

    There are differences between each Mac and what the original configuration of the Mac is/was. If your Mac originally came with an Optical drive, burning the ISO to a DVD and using it will work. Hardware modifications like Optibay will cause problems. Modifying Bootcamp info.plist will cause problems. Disk Utility partitioning will cause problems. A custom Hybrid MBR will cause problems. External Optical drives are unlikely to work. There is long litany of grief.

  • Infotype 0105 not updated via HRUSER

    Hi there
    I'm currently implementing ESS for SAP R/3 4.7 and running into issues running the HRUSER transaction. I can see a specific employee who has no user account setup but a personnel record in the system. When I select to setup the User ID the program successfully runs in the background but the User ID isn't created and the Personnel Record isn't updated with the Infotype 0105 record. I've ran an authority check and there aren't any failure messages so I'm struggling to see why the Infotype isn't being updated. If anyone could point me in the right direction it would be very much appreciated.
    Regards
    Nathan

    Check for the hiring dates of the personnel record. i.e. The employee record is valid on the ID creation date.

  • How to define default subtypes for Infotype 0105 on entry

    Hello;
      I have spend an entire day trying to look into PA configuration to determin how to make specific Subtype of the 0105 Communication Infotype automatically appear when an HR person is entering in a new employee.
    Currently we have the 0001, 0010, and ADP subtypes automatically appear in the Communication Infotype screen when the person is entering in a new employee.  I was asked to create three new Subtypes for Infortype 0105 and have these new subtypes automatically appear on the data entry screen for Infotype 0105.
    I can not find anywhere in configuration how to do this.  I ahve burnt an entire day searching configuration and have about had it with this garbage.
    Can someone please point me to specific spot in configuration where these subtypes of and Infotype can be identified as default data entry screens.
    I would greatly appreciate any help ... since I am not a HR Configurator ... just a plain old ABAP'er who has lost our configurators.
    Scott.

    Hi Scott,
    To create subtypes follow:
    Tcode: SPRO
    Path: Personnel Management>Personnel Administration>Communication>Create Communication Types
    Half the job is done. Then include those subtypes in your hiring action. To do so:
    Tcode: SPRO
    Path: Personnel Management>Personnel Administration>Customizing Procedures>Actions>Define infogroups>Info group
    Select your hiring infogroup and create new entries with operation INS for 105 and the three subtypes.
    You are all set!
    Cheers,
    Donnie

  • Updating Infotype 0105 "Communication" with SAPNWRFC and PERL (long !!)

    When I read the SAP-Press Book "mySAP HR: Technical Principles and Programming"
    (actually it was the german edition "Technische Grundlagen und Programmierung")
    I came across Chapter 9.1.3 "Using BAPIs", in which some sample code is provided
    for updating the email-adress in infotype 0105 "communication".
    I just thought: "OK, that could be easily (and better !) done with PERL and SAPNWRFC".
    My PERL-script should do the following:
    1) Read subtypes 0001 and 0010 from IT 0105 via RFC
    2) Compare that data against our LDAP-Server
    3) call the approbiate BAPIs for updating IT 0105 via RFC
    OK, here's the ABAP-code which accomplishes task #1: 
    [code]
    Z_EMAIL_TAB is a customer-defined structure with 3 components:
    component      component-type
    MY_PERNR       PERNR_D
    MY_NICKN       SYSID
    MY_EMAIL       COMM_ID_LONG
    FUNCTION z_read_email.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(MY_DATE) TYPE  ENDDA OPTIONAL
    *"  TABLES
    *"      Z_EMAIL STRUCTURE  Z_EMAIL_TAB
      DATA: sql_date  TYPE begda,
            sql_mandt type mandt.
      DATA: BEGIN OF wa_ldap_out,
                     pernr TYPE pernr_d,
                     nickn TYPE sysid,
                     email TYPE comm_id_long,
            END OF wa_ldap_out.
      DATA: exc_ref    TYPE REF TO cx_sy_native_sql_error,
            error_text TYPE string.
      IF my_date IS INITIAL.
        MOVE sy-datum TO sql_date.
      ELSE.
        MOVE date TO sql_date.
      ENDIF.
    we use native SQL (Oracle), so we have to specify the mandant
    exclude-values for PERSK refer to pensionists etc
    move sy-mandt to sql_mandt.
    EXEC SQL.
      open dbcur for
          SELECT DISTINCT
                pa0001.pernr,
                pa0105_0001.usrid,
                pa0105_0010.USRID_LONG
           FROM pa0000 pa0000,
                pa0001 pa0001,
                pa0105 pa0105_0001,
                pa0105 pa0105_0010
            WHERE
                 pa0000.pernr =  pa0001.pernr and
                 pa0000.begda <= :sql_date AND
                 pa0000.endda >= :sql_date AND
                 pa0001.begda <= :sql_date AND
                 pa0001.endda >= :sql_date AND
                 pa0001.persk NOT IN ('12' ,'13' ,'17' ,'18') AND
                 pa0000.stat2 = '3' and
                 (pa0001.mandt = pa0105_0001.mandt() and pa0001.pernr = pa0105_0001.pernr() and pa0105_0001.usrty() = '0001' and pa0105_0001.begda() <= :sql_date and pa0105_0001.endda(+) >= :sql_date) and
                 (pa0001.mandt = pa0105_0010.mandt() and pa0001.pernr = pa0105_0010.pernr() and pa0105_0010.usrty() = '0010' and pa0105_0010.begda() <= :sql_date and pa0105_0010.endda(+) >= :sql_date) and
                 pa0000.mandt =  pa0001.mandt and
                 pa0000.mandt = :sql_mandt
    ENDEXEC.
    DO.
        EXEC SQL.
            FETCH NEXT dbcur into :wa_ldap_out
        ENDEXEC.
        IF sy-subrc <> 0.
            EXIT.
        ELSE.
            APPEND wa_ldap_out to z_email.
        ENDIF.
    ENDDO.
    EXEC SQL.
      close dbcur
    ENDEXEC.
    ENDFUNCTION.
    [/code]
    Using Native-SQL (we have an Oracle-Backend) saves us from looping through IT0105 twice.
    (I don't like ABAP's Open-SQL, it's too limited)
    Now we have a nice little table with all our employees pernr, userid and email-adress.
    Let's stay on the ABAP-side and have a look at the update-function (task #3):  
    [code]
    FUNCTION z_upd_smtp .
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(MY_PERNR) TYPE  PERNR_D
    *"     VALUE(MY_EMAIL) TYPE  AD_SMTPADR
    *"     VALUE(MY_DATE) TYPE  BEGDA OPTIONAL
    *"  TABLES
    *"      BAPIRETURN STRUCTURE  BAPIRETURN1
      DATA: wa_bapireturn TYPE bapireturn1.
      IF my_date IS INITIAL.
        MOVE sy-datum TO my_date.
      ENDIF.
      CALL FUNCTION 'BAPI_EMPLOYEET_ENQUEUE'
        EXPORTING
          number        = my_pernr
          validitybegin = my_date
        IMPORTING
          return        = wa_bapireturn.
      IF wa_bapireturn-type NE 'E'.
        CLEAR wa_bapireturn.
        CALL FUNCTION 'BAPI_EMPLCOMM_CREATE'
          EXPORTING
           employeenumber        = my_pernr
           subtype               = '0010'
           validitybegin         = my_date
           validityend           = '99991231'
           communicationid       = my_email
         NOCOMMIT              =
         IMPORTING
            return                = wa_bapireturn
         EMPLOYEENUMBER        =
         SUBTYPE               =
         OBJECTID              =
         LOCKINDICATOR         =
         VALIDITYBEGIN         =
         VALIDITYEND           =
         RECORDNUMBER          =
        APPEND wa_bapireturn TO bapireturn.
        CALL FUNCTION 'BAPI_EMPLOYEET_DEQUEUE'
          EXPORTING
            number        = my_persnr
            validitybegin = my_datum
          IMPORTING
            return        = wa_bapireturn.
        APPEND wa_bapireturn TO bapireturn.
      ELSE.
        APPEND wa_bapireturn TO bapireturn.
      ENDIF.
    ENDFUNCTION.
    [/code]
    And finally the PERL-Script (task #2):
    [code]
    ##### Connect to LDAP-server #################################################
    use Net::LDAP;
    use Net::LDAP::Control;
    use Net::LDAP::Constant qw(LDAP_CONTROL_PAGED);
    $pagec = Net::LDAP::Control->new( LDAP_CONTROL_PAGED,
                                      size => 1000);
    --- replace with your company-specific values ------------------------------ #
    $ldap = Net::LDAP->new( 'your-ldap-server' ) or die "$@";
    $mesg = $ldap->bind( 'CN=your-ldap-user,CN=aaaa,DC=bbbb,DC=dd,DC=eeeeeee,DC=fff',
                          password => 'your-password'
    use SAPNWRFC;
    --- Connection to SAP  ----------------------------------------------------- #
    SAPNW::Rfc->load_config("your-config-file");
    $sap_conn = SAPNW::Rfc->rfc_connect;
    --- SAP RFCs --------------------------------------------------------------- #
    SAP_RFCs();
    --- read all Email-adresses from IT0105 ------------------------------------ #
    $rd_handle_eml = $rd_eml->create_function_call;
    $rd_handle_eml->invoke();
    foreach $row_hashref_eml (@{$rd_handle_eml->Z_EMAIL}) {
         $MY_PERNR = $row_hashref_eml->{MY_PERNR};
         $MY_NICKN = $row_hashref_eml->;
         $MY_EMAIL = $row_hashref_eml->;
         $MY_NICKN =~ s/ //g;
         $MY_EMAIL =~ s/ //g;
         if ($MY_NICKN ne '') {
             $strMail_LDAP = nick2email(lc($MY_NICKN));
             if (lc($MY_EMAIL) ne lc($strMail_LDAP) && $strMail_LDAP ne '') {
                 updIT0105("$MY_PERNR","$strMail_LDAP");
                 print "SUCCESS = $i_uit_success, $MY_PERNR $strMail_LDAP\n";
         else {
    do some error-processing here
    $sap_conn->disconnect();
    exit;
    sub SAP_RFCs {
    --- Read E-Mail-Adress from IT0105 ----------------------------------------- #
    $rd_eml = $sap_conn->function_lookup("Z_READ_EMAIL");
    --- Update E-Mail-Adress in IT0105 ----------------------------------------- #
    $rd_uit = $sap_conn->function_lookup("Z_UPD_SMTP");
    sub nick2email {
        $strNickn = $_[0];
        $strEMail = '';
    --- our userid is stored in LDAP-item "mailnickname", just change filter to your needs #
        $filter = qq {
                      (& (mailnickname=$strNickn)
                         (givenName=*)
                         (| (objectCategory=person)
                            (objectClass=person)
        while (defined ($search = $ldap->search(
                                base   => "OU=your-base-OU,DC=bbbb,DC=dd,DC=eeeeeee,DC=fff",
                                filter => $filter,
                                attrs => ['mailNickname','mail','whenChanged'],
                                control => [ $pagec ]
            foreach $entry ($search->entries) {
                $strEMail = $entry->get_value('mail') ;
            ($resp) = $search->control( LDAP_CONTROL_PAGED );
            last unless ref $resp && $pagec->cookie($resp->cookie);
        return $strEMail;
    sub updIT0105 {
        $rd_handle_uit = $rd_uit->create_function_call;
        $rd_handle_uit->MY_PERNR($_[0]);
        $rd_handle_uit->MY_EMAIL($_[1]);
        $rd_handle_uit->invoke();
        $i_uit_success = 1;
        foreach $row_hashref_uit (@{$rd_handle_uit->BAPIRETURN}) {
            if ($row_hashref_uit->{TYPE} ne 'S' && $row_hashref_uit-> ne ' ') {
                $i_uit_success = 0;
    [/code]
    I run this script every Friday on a virtual Windows XP machine (VMWare) scheduled with the AT-Command
    and it works really fine, enjoy !!!
    P.S.: I hope there aren't any typos in the code, but please check
    P.P.S: Thanks again to Piers for SAPNWRC, fantastic.

    Hi,
    I am very interested in your solution. Can you send me the scripts?
    Greeting Jan

  • No entry in table T001P when running time eval

    Hi,
    Can someone tell me, why this error occurs. "No entry in table T001P" when running time evaluation PT60. I checked his Infotype 1 and has the Personal Area/Subarea assigned.
    Thanks,
    Swarna.

    Hi,
    Please check these tables:
    V_001P_ALL
    V_503_AL
    Or try creating a blank entry in table T001P.
    Hope this helps,
    Reward points if helpful,
    Thank You,

  • Delimit Infotype 0105 Subtype 0001

    Hi All
    I am new to ABAP so need help.
    We need to delimit Infotype 0105 subtype 0001 records.
    I tried vai a number of ways but facing issues in someway or the other.
    When I try to do the same via FM: BAPI_HRMASTER_SAVE_REPL_MULT, it creates a new entry for the same record with end validity day as system date (the old record which has end validity date as 31.12.9999 remains).
    When i try to do the same via FM: BAPI_EMPLCOMM_DELIMIT, it throws an error 'EPG                  009No data stored for 0105 in the selected period' even though the record exists.
    CALL FUNCTION 'BAPI_EMPLCOMM_DELIMIT'
      EXPORTING
        employeenumber       = '00000049'
        subtype              = '0001'
        objectid             = 'P'
        lockindicator        = ''
        validitybegin        = '20100701'
        validityend          = '99991231'
        recordnumber         = '000'
        delimit_date         = '20120219'
    *   NOCOMMIT             =
    IMPORTING
       RETURN               = return.
    *   EMPLCOMMKEY          =
    Not sure how to go about it. I searched the forum which suggested to use Function Modules, but even then the issue isn't getting resolved.
    Please help.
    Martin

    Hi
    Your problem is the parameter OBJECTID It doesn't make sense to pass a 'P'.
    Other than that, you just have to lock and unlock the Personnel Number accordingly.
    Regards
    data: return type BAPIRETURN1.
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
      EXPORTING
        number        = '00000224'
    * IMPORTING
    *   RETURN        =
    CALL FUNCTION 'BAPI_EMPLCOMM_DELIMIT'
      EXPORTING
        employeenumber       = '00000224'
        subtype              = '0001'
        objectid             = ''
        lockindicator        = ''
        validitybegin        = '20070101'
        validityend          = '99991231'
        recordnumber         = '000'
        delimit_date         = '20120219'
    *   NOCOMMIT             =
    IMPORTING
       RETURN               = return.
    *   EMPLCOMMKEY          =
    BREAK-POINT.
    CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
      EXPORTING
        number        = '00000224'
    * IMPORTING
    *   RETURN        =

  • Runtime Error  -GETWA_NOT_ASSIGNED when running COI

    Hi ALL,
    We are getting run time error -  GETWA_NOT_ASSIGNED when running COI tasks.
    Error analysis
         You attempted to access an unassigned field symbol
         (data segment 32995).
         This error may occur for any of the following reasons:
         - You address a typed field symbol before it is set using ASSIGN
         - You address a field symbol that points to a line in an internal table
           that has been deleted
         - You address a field symbol that had previously been reset using
           UNASSIGN, or that pointed to a local field that no longer exists
        - You address a global function interface parameter, even
          though the relevant function module is not active,
          that is it is not in the list of active calls. You can get the list
          of active calls from the this short dump.
    How to correct the error
        You may able to find an interim solution to the problem
        in the SAP note system. If you have access to the note system yourself,
        use the following search criteria:
        "GETWA_NOT_ASSIGNED" C
        "CL_UC_COI_ACT_PT==============CP" or "CL_UC_COI_ACT_PT==============CM00P"
        "REDUCE_GOODWILL_ENTRIES"
        If you cannot solve the problem yourself and you wish to send
        an error message to SAP, include the following documents:
        1. A printout of the problem description (short dump)
           To obtain this, select in the current display "System->List->
           Save->Local File (unconverted)".
    2. A suitable printout of the system log
        To obtain this, call the system log through transaction SM21.
        Limit the time interval to 10 minutes before and 5 minutes
        after the short dump. In the display, then select the function
        "System->List->Save->Local File (unconverted)".
    3. If the programs are your own programs or modified SAP programs,
        supply the source code.
        To do this, select the Editor function "Further Utilities->
        Upload/Download->Download".
    4. Details regarding the conditions under which the error occurred
        or which actions and input led to the error.
    Information on where terminated
        The termination occurred in the ABAP program "CL_UC_COI_ACT_PT==============CP"
         in "REDUCE_GOODWILL_ENTRIES".
        The main program was "UCUWB000 ".
        The termination occurred in line 722 of the source code of the (Include)
         program "CL_UC_COI_ACT_PT==============CM00P"
        of the source code of program "CL_UC_COI_ACT_PT==============CM00P" (when
         calling the editor 7220).
    702   call method do_inv_net_change->create_data_reference
    703     exporting
    704       i_type   = cl_uc_coi_inv_net=>gc_ref_pt_block
    705       io_model = do_model
    706     importing
    707       er_data  = lr_t_data.
    708   assign lr_t_data->* to <lt_share_block>.
    709   call method do_inv_net_change->get_block
    710     importing
    711       et_pt_shares = <lt_share_block>.
    712
    713   create data lr_s_data like line of <lt_share_block>.
    714   assign lr_s_data->* to <ls_share_block>.
    715 * change due to selling invor's transaction
    716   read table <lt_share_block> into <ls_share_block> index 1.
    717
    718 * direct shares prior to divestiture
    719   assign component 'R_TH_DSH_OLD'
    720     of structure <ls_share_block> to <lr_th_dsh_old>.
    721   assign <lr_th_dsh_old>->* to <lt_dsh_old>.
    >>>>   create data lr_s_data like line of <lt_dsh_old>.
    723   assign lr_s_data->* to <ls_dsh_old>.
    724   assign component ucf6_cs_coi_fld-pcnt1
    725     of structure <ls_dsh_old> to <pcnt1_7a>.
    726
    727 * change of direct shares in divestiture
    Please provide your suggestions.
    Edited by: VM2727 on Feb 10, 2012 3:27 AM

    Or even these ones:
    SAP Note 1480856 - C/I: Program termination GETWA_NOT_ASSIGNED
    Symptom
    When you execute the consolidation of investments, a program termination
    occurs (short dump GETWA_NOT_ASSIGNED in the method CREATE_OCI_LIST of the
    class CL_UC_COI_ACT).
    Note 1467924 - Termination GETWA_NOT_ASSIGNED in CL_UC_COI_ACT_PD
    Symptom
    When you execute the consolidation of investments, the program termination GETWA_NOT_ASSIGNED occurs in the method CALC_NET_INCOME_MEM of the class CL_UC_COI_ACT_PD.

  • PersistenceService denies permission when running an Applet

    I'm converting an application that uses JWS to run inside a browser. Ok, so it's not just a matter of changing <application-desc> to <applet-desc> (which is just about the only change I made to the jnlp), but the problem I'm getting is not one I expected.
    try {
          URL newURL = new URL(newURLBase);
          InputStream is = ps.get(newURL).getInputStream();
          userProps.load(is);
          is.close();
        } catch (FileNotFoundException fne) {
          // nothing to do
        } catch (Exception e) {
          // any other error is bad
          Globals.nonFatalMsg(null, classId, propsFailureMsg, newURLBase, e.getClass().getName(), e.getMessage());
        }This code is throwing a MalformedURLException. (ps is an instance of PersistenceService). The Message returned by getMessage() is that access to persistent data was denied for the URL.
    This exact code works perfectly well when run from the desktop application. I'm serving the same jar for the application and the applet. So the URL in newURL is exactly the same for both the application and the applet (I'm serving them both from the same IIS web site). Just the HTML and the JNLP are different.
    I thought JWS applets and applications run in exactly the same sandbox. And I thought PersistenceService didn't need any kind of permissions. (Although the JavaDoc does say this can happen.)
    Could this be a Browser issue? I get the same result in FireFox and IE. Could it be a java.policy issue?
    I'm running 1.6.0_20.

    Doctor_Dad wrote:
    I converted Andrew Thompson's JotPad application, which illustrates the use of the Persistence Service in a JWS Application, to run as an Applet and got exactly the same result.
    From which I can only conclude that the Persistence Service doesn't work with Applets.
    Has anyone out there ever used the Persistence Service with Applets? Short story, no. I had your post flagged from when I first saw it, thinking "When I get time.." - but had not found any time yet.
    I'll check the Bug Parade to see if this has been reported...Good idea. It is not quite clear how a variety of the services of the JNLP API should translate to embedded applets. These would namely be.
    - SingleInstanceService // not an applet's right to control browser instances
    - BasicService.showDocument(URL) // replaces the applet page or opens new browser/tab?
    - IntegrationService // 1.6.0_18+ - shortcuts and menu items are not appropriate for an embedded applet.
    I was about to include the PersistenceService in that list, but ultimately it makes every bit of sense to allow embedded JNLP applets to have access to serialisation between runs. The older methods of applets storing data are now probably blocked to the JNLP embedded applets (e.g. creating a cookie).
    If you cannot find anything in the bug DB, please raise a bug report and request the documentation address all these areas.
    Edit 1:
    By 'bug report' above, read 'request for enhancement'. Whether it is a bug depends on Sun's expectation of what they wanted the API to do. ;)
    Edited by: AndrewThompson64 on Jun 15, 2010 10:06 AM
    Edit 2:
    BTW - did you try it with a free-floating applet as well, or just an embedded applet?
    Edited by: AndrewThompson64 on Jun 15, 2010 10:47 AM

  • Getting Access is Denied when Running Script in OSD Task Sequence

    I am attempting put in a script that will move the computer account to the proper OU in AD.  I have the script but when it launches inside of the TS I get "CScript Error: Loading script "C:\_SMSTaskSequence\WDPackage\Scripts\MoveOU.vbs" failed
    (Access is denied. )."
    I am using the Run Command Line, and using the "Run this step as the following account"  I have verified that the account has access to do what I need it to do in AD.  I have attached the logs as well.
    PackageID = 'WI10015A' InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    BaseVar   = '', ContinueOnError='' InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    SwdAction = '0001' InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    Getting linked token InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    failed to get the token information InstallSoftware
    3/21/2012 8:46:53 AM 3316 (0x0CF4)
    Get RunAs private desktop SMSTS-169042\SMSTSDesktop
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Run command line under a user account InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Found the location for the package _SMSTSWI10015A. The location is on \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    nPos != CCM::Utility::String::npos, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,253)
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Creating a connection to \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\ with default account
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Connection request for "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A"
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    No credentials available for connecting to "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A". See whether the share has already been connected.
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Connecting to "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A"
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Successfully connected to "\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A"
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Resolved source to '\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A'
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Command line for extension .exe is "%1" %* InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Set command line: Run command line InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Working dir '\\<SCCMSERVERNAME>\SMSPKGF$\WI10015A'
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Executing command line: Run command line InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Create a process under given user token InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Process completed with exit code 1 InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Microsoft (R) Windows Script Host Version 5.8
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Copyright (C) Microsoft Corporation. All rights reserved.
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    CScript Error: Loading script "C:\_SMSTaskSequence\WDPackage\Scripts\MoveOU.vbs" failed (Access is denied. ).
    InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Command line returned 1 InstallSoftware
    3/21/2012 8:46:54 AM 3316 (0x0CF4)
    Entering ReleaseSource() for \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    reference count 1 for the source \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\ before releasing
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Released the resolved source \\<SCCMSERVERNAME>\SMSPKGF$\WI10015A\
    InstallSoftware 3/21/2012 8:46:54 AM
    3316 (0x0CF4)
    Process completed with exit code 1 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Failed to run the action: Move Computer to Correct OU. 
    Incorrect function. (Error: 00000001; Source: Windows)
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Sending status message . . . TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Send a task execution status message SMS_TSExecution_ActionFailError
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    MP server <SCCMSERVERNAME> and port 80. SSL=false. CRL=false.
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Site code: WI1 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Client machine name: 1J44KQ1 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Client Identity: GUID:6ffb32d4-1184-4e40-a1c8-26272a707a72
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    Advertisement ID: WI12029D TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Package ID: WI1001E7 TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Sending StatusMessage TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    Formatted header: TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    <Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>ABB94CBE-33F4-4EB9-A151-34EE3474A0F9</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2012-03-21T12:46:54Z</SentTime><Protocol>http</Protocol><Body
    Type="ByteRange" Offset="0" Length="4174"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
    TSManager
    3/21/2012 8:46:54 AM 2520 (0x09D8)
    CLibSMSMessageWinHttpTransport::Send: URL: <SCCMSERVERNAME>:80  CCM_POST /ccm_system/request
    TSManager 3/21/2012 8:46:54 AM
    2520 (0x09D8)
    The request has succeeded. 200 OK TSManager
    3/21/2012 8:46:55 AM 2520 (0x09D8)
    Set a global environment variable _SMSTSLastActionRetCode=1
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Set a global environment variable _SMSTSLastActionSucceeded=false
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Clear local default environment TSManager
    3/21/2012 8:46:55 AM 2520 (0x09D8)
    Let the parent group (Testing) decides whether to continue execution
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    The execution of the group (Testing) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows)
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Failed to run the last action: Move Computer to Correct OU. Execution of task sequence failed.
    Incorrect function. (Error: 00000001; Source: Windows)
    TSManager 3/21/2012 8:46:55 AM
    2520 (0x09D8)
    Any suggestions would be greatly appreciated!
    "You can't fix stupid!"

    I'm having the exact same issue.  I'm using AutoIT for my script to move the computer account.  I've tried using ADO, LDAP, and LDAP/ADSystemInfo object.  They all fail with access denied.  In fact the ADO version of my script fails just
    trying to create the "ADODB.Connection" object which I know for a fact doesn't require elevation or administrator access.  However, all three versions of the script work correctly when run manually outside the TS.  They also work correctly on XP
    machines during OSD.  Only when deploying a Win7 machine do they fail during the TS.  I've tried adding the runas user to the local administrators group beforehand but no dice.  Did you have to restart the computer after doing the net localgroup
    change?  There has to be some other security config in Win7 that is set somewhere doing this.  I just can't figure out what.  I've even started looking at DCOM/COM permissions to see if something isn't right there.
    I don't see why but maybe the script needs to be run locally?  Any other ideas?

Maybe you are looking for

  • ABAP runtime error in selection

    Hey, I have an old program with some select options fields. Inside the program, some select options fields are going to be filled, if they are initial at the beginning. When using this select options field in my SQL selection, I´m getting a runtime e

  • Windows service does not stop when DB is shutdown from SQL*Plus

    I have a 11g XE DB in a Windows 7 machine. The installation has created a Windows service called OracleServiceXE. It's status is STARTED. I then login to SQLPLUS as sysdba and do a shutdown immediate; SQL> shutdown immediate Database closed. Database

  • Queue data sharing between multiple LabVIEW Executables

    I have 2 LabVIEW Executables(Exe) where one Exe produces data and other one consumes the same. Is there anyway I can use a single queue reference for the same ? First Exe obtains the queue reference number and stores the reference number in V.I.G whe

  • Multiple schemas assigned to a workspace

    I'm trying to write an app that accesses other schemas besides the apex user I'm using. I can't figure out how to assign more than one schema to a workspace. All help is sincerely appreciated Rich

  • Xi Pro wont convert all sheets of an Excel 2013 to pdf

    When using the "combine files in Acrobat" only sheet #1 of the spread sheet is converted.  However, this only happens on our machine that has Excel 2013.  The same documents are converted flawlessly when the feature is used on a machine that has Exce