Execution of membership rules during creation event in OIM

Hi,
I have a question regarding the execution sequence of a role membership rule/s. As noted in the section "Orchestration Concepts" of the Oracle 11gR1 Developer's Guide (http://docs.oracle.com/cd/E21764_01/doc.1111/e14309/oper.htm#CCHJHFGE), there are 6 Orchestration stages:
1. Validation: Stage to perform validation on the orchestration, such as validity of orchestration parameters. Orchestration parameter is the data that is required to carry out the orchestration operation.
2. Preprocess: Stage to perform orchestration parameter manipulations or get approvals or perform Segregation of Duties (SoD) checks.
3. Action: Stage in which the action takes place.
4. Audit: Stage in which the auditing of operation is performed.
5. Postprocess: Stage in which consequent operations related to the current operation takes place. Examples of consequent operations are auto role membership and policy evaluation on a user creation.
6. Finalization: Last stage in the process to perform any clean up.
The question is: If a role membership rule has been set up so that a user will be assigned a role if a particular user attribute is set during the preprocess or postprocess stage, when is the actual execution of the membership rule performed? i.e. in which orchestration stage is the role membership rule executed?
regards,
Evangelo
Edited by: 953049 on 25-Sep-2012 22:04

Custom Preprocess handler doesn't work in 11g. Are you sure? The documentation only states that it will not work for trusted reconciliation (from Oracle support article ID 1262803.1 - OIM11g: Sample Code For A Custom Event Handler Implemented for Pre-Process Stage During Create User Management Operation).

Similar Messages

  • Validating Internal Order Settlement Rule during creation

    Does anybody know of a user exit, badi, anything, that can be used to validate assignement data when creating/changing the settlement rule on an internal order?
    Appreciate the help...
    Sam

    Hi, I just wanted to come back and add this extra information incase someone else needs it in the future:
    I think we were finally able to come up with an acceptable solution.
    <b>The Problem:
    ============</b>
    SAP does not provide an easy way to validate detail section of a settlement rule for an internal order. The user exits that are available do not import the COBRB structure that contains the screen data entered by user in the detail screen.
    <b>Solution:
    ===========</b>
    Watch out for wrapped lines!
    (1) Implement the BADI: <b>CO_SRULE_CHECK</b>; NO filter; Settlement Rule Custom Validation BADI
    (see current thread for details)
    Inside the <b>DISTRIBUTION_RULE_CHECK</b> method of your BADI, implement your custom validation. You can call out to your standard CO validaton module, or whatever.
    (2) Implement user exit: EXIT_SAPLRKIO_002(include zxaufu02): Call settlement_rule_check.
    (3) Implement a subroutine as shown (adapt to your business environment):
    FORM settlement_rule_check.
    DATA: exit type ref to IF_EX_CO_SRULE_CHECK.
    DATA: lt_cobra LIKE cobra OCCURS 0 WITH HEADER LINE, lt_cobrb LIKE cobrb OCCURS 0 WITH HEADER LINE.
    don't validate in display mode
    CHECK I_ACTVT NE 03.
    Call function to get the current settlement rule from
    memory buffer (this is the crux of the solution)
      call function 'K_SETTLEMENT_RULE_GET'
           EXPORTING
                objnr     = i_aufk-OBJNR
                x_all     = ' '
              TABLES
                e_cobra   = lt_cobra
                e_cobrb   = lt_cobrb
              EXCEPTIONS
                not_found = 1
                others    = 2.
      if SY-SUBRC <> 0.
    raising E_MESSAGE.
      endif.
    Now Prepare/call BADI to check the custom rules
      class CL_EX_CO_SRULE_CHECK definition load.
    create an instance of BADI
      call method cl_exithandler=>get_instance
           changing
            instance = exit.
    call the check method of the BADI
      call method: exit->DISTRIBUTION_RULE_CHECK
           EXPORTING
               DISTRIBUTION_RULE = lt_cobrb
      EXCEPTIONS
         not_allowed                = 1
         not_allowed_with_msg       = 2.
    either use a standard message function or create your
    own
      IF sy-subrc = 1.
        PERFORM message_send
          USING 'KD' 'E' '027' space space space space space.
      ELSEIF sy-subrc = 2.
        PERFORM message_send
          USING sy-msgid sy-msgty sy-msgno
                sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
                space.                   "...
      ENDIF.
    endform.
    (4) Test, Test, Test. Hope it works for you.
    Sam

  • Event Handler not Triggered when user is assigned by Membership Rule

    I have defined a post-processed event handler for RoleUser Entity.
    The handler is triggered normally when a user is manually assigned a role.
    However, it is not trigger, if users are assigned through membership rule.
    I have tried both the single execute method and the bulk execute method.
    OIM version: 11gR2

    Hi,
    Check the list of orchestration handlers triggered for this operation in the Diagnostic Dashboard. Check whether, if your custom event handler is present in the list. If its isn't, then there must be something wrong with your Plugin.
    Thanks,
    RK.

  • Can we write Substitution rule during payment document creation

    Hi,
    I have to subsitute a value in a field during f110, is it possible ??

    Thanks for the reply.
    I tried this logic in GGB1.
    SYST-TCODE = 'f110' AND BSEG-DMBTR >= '100000'
    Substitute Payment method supplement with a constant value = 15
    but this is not working.....Actually i need to get the second signature manually on the check amount greater than 100000. so i am using payment method supplement to sort high amount checks.
    this logic is working when i am using rule during invoice processing...but not working during f110.
    please advice.
    Thanks
    Riya

  • Error in auto role assignment based on membership rule

    Hi All,
    Now this is a strange behavior I am finding. I had created an auto-membership rule in OIM and had assigned that to a role in my OIM. Now whenever I created an user, and based on a custom attribute that I was setting in the create user page. Now this was working totally fine. After that I did LDAP Sync and all and I am sure it was working even then. Now suddenly the auto assignment of role has stopped working and the user doesn't seem to get the role automatically at all.
    And more strange is the point that when I modify any attribute in the user profile, the membership rule gets triggered just like it should during the user creation.
    Can someone suggest anything for this if they have faced the same?
    Thanks,
    $id

    I had been struggling with Role membership and access policies myself on 11.1.1.5.2.
    Look at the following articles if those help:
    Auto Role Membership Not Getting Evaluated On Create Event With Custom Post-Proccess Event Handler [ID 1469286.1]
    Role Memberships Given, But Access Policies Not Triggered For Enabled Users [ID 1473348.1]
    As for the limited release 11.1.1.5.2AK patch, it changes the way event handlers are triggered and the way access policy is re-evaluated. Also in that patch Oracle has given out new API for getting the service in event handler and that is supposed to bring order and synchronization of the event handlers. As far as confirmation from support goes, the event handlers are same from B2 to B3 and B4. Oracle is waiting to hear from customers about the results of the 11.1.1.5.2AK patch before it would be made available in GA.
    -Bikash
    Ref: {thread:id=2421106}

  • Error during creation of application entity for the plug-in.

    Hi Experts,
    As part of creating Content Database source for SES....
    We,
    1 Activated the Oracle Internet Directory identity plug-in for the Oracle Content
    Database instance.
    2) However after activating Identity plug-in for Oracle Internet Directory.... ......... we used the csPlugin.ldif file to create an application entity for the plug-in by running the following command "$ORACLE_HOME/bin/ldapmodify -h oidHost -p OIDPortNumber -D "cn=oracle" -w password -f csPlugin.ldif" ....but in the process executing the above command.... getting the following error(we gave correct login details):
    SASL/DIGEST-MD5 authentication started
    ldap_sasl_interactive_bind_s: Invalid credentials (49)
    How can i resolve this.
    I have another query...in the command "$ORACLE_HOME/bin/ldapmodify -h oidHost -p OIDPortNumber -D "cn=oracle" -w password -f csPlugin.ldif" which user name should i specify..... is it "cn=oracle" or "cn=orcladmin"
    Thanks
    peter.

    Hi Raford,
    Thanks for your reply.
    We tried to create Content Database Source with the details we have...
    However in this process getting an exception....
    11:20:20:778 INFO     main          
    11:20:20:784 INFO     main          Oracle Secure Enterprise Search, Crawler: Release 10.1.8.2
    11:20:20:785 INFO     main          Copyright © 2006, 2007, Oracle. All rights reserved.
    11:20:20:785 INFO     main          
    11:20:20:785 INFO     main          ================== Crawling settings ==================
    11:20:20:785 INFO     main          Reading configuration file from /mnt/u08/SOADEVIL/seshome/search/data/config/crawler.dat
    11:20:20:785 INFO     main          Agent = Oracle Secure Enterprise Search
    11:20:20:807 INFO     main          User = EQ_TEST
    11:20:20:807 INFO     main          Database connect string = jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=devilrays.appsassociates.com)(PORT=1525))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=Devilses.devilrays.appsassociates.com)))
    11:20:20:807 INFO     main          Source type is User-defined
    11:20:20:807 INFO     main          Source is "BJ_Cont"
    11:20:20:807 INFO     main          Document access control policy is user-defined
    11:20:20:808 INFO     main          Number of crawling threads = 5
    11:20:20:808 INFO     main          Queue table = I1S8
    11:20:20:808 INFO     main          URL table = EQ$URL
    11:20:20:808 INFO     main          Maximum documents to crawl = no limit
    11:20:20:808 INFO     main          Maximum depth to crawl = 2
    11:20:20:808 INFO     main          Document size limit = 10M
    11:20:20:808 INFO     main          Locale of the crawler message is "en_US"
    11:20:20:808 INFO     main          URL exclusion rule = (?i:(?:\.gif)|(?:\.jpg)|(?:\.jar)|(?:\.tif)|(?:\.bmp)|(?:\.war)|(?:\.ear)|(?:\.mpg)|(?:\.wmv)|(?:\.mpeg)|(?:\.scm)|(?:\.iso)|(?:\.dmp)|(?:\.dll)|(?:\.cab)|(?:\.so)|(?:\.avi)|(?:\.wav)|(?:\.mp3)|(?:\.wma)|(?:\.bin)|(?:\.exe)|(?:\.iso)|(?:\.tar)|(?:\.png))$
    11:20:20:808 INFO     main          URL exclusion rule = \?.*(.*\+)\1{3}
    11:20:20:812 INFO     main          Document read timeout threshold = 30 second(s)
    11:20:20:812 INFO     main          Crawler default character set is "8859_1"
    11:20:20:812 INFO     main          Crawler default language is "en"
    11:20:20:813 INFO     main          Auto language detection is on
    11:20:20:813 INFO     main          Auto character set detection is off
    11:20:20:813 INFO     main          Document service pipeline is "Default pipeline"
    11:20:20:813 INFO     main          Verbose mode is on
    11:20:20:935 INFO     main          Caching on: directory = /mnt/u08/SOADEVIL/sesdata/Devilses/cache/I1DS8/, max size = 250, action = SES_TASK
    11:20:20:935 INFO     main          Filtering on: filter path = /mnt/u08/SOADEVIL/seshome/ctx/bin/ctxhx, number of filters = 2
    11:20:20:935 INFO     main          MIME inclusions = text/html text/plain application/pdf application/x-msexcel application/vnd.ms-excel application/ms-excel application/x-mspowerpoint application/vnd.ms-powerpoint application/msword
    11:20:20:935 INFO     main          URL table attributes = url, depth, signature, last_modified, status, url_id, access_url, enqueue_status, TITLE, DESCRIPTION, AUTHOR, CRAWLED_DATE, CONTENT_LENGTH, CONTENT_TYPE, LANG, CACHE_FILE_PATH, DS_ID
    11:20:20:936 INFO     main          SQL callback statement is "begin eq_crw.crawler_callback(?,?,?,?); exception when eq_def.search_error then eq_err.raise; when others then eq_err.raise; end;"
    11:20:20:936 INFO     main          Cookie support is enabled
    11:20:20:937 INFO     main          Maximum number of cookies = 300
    11:20:20:939 INFO     main          Maximum number of cookies per host = 20
    11:20:20:939 INFO     main          Maximum size of cookie = 4096 bytes
    11:20:20:940 INFO     main          Cache file deletion is disabled
    11:20:20:940 INFO     main          Crawler plug-in manager class is "oracle.search.plugin.ocs.cservices.OCSCSPluginMgr"
    11:20:20:940 INFO     main          SQL hook ID is "8"
    11:20:20:940 INFO     main          SQL command hook statement is "begin ? := eq_crw.crawler_get_command(?,?,?,?); end;"
    11:20:20:940 INFO     main          SQL response hook statement is "begin ? := eq_crw.crawler_send_response (?,?,?,?,?,?,?,?,?,?,?,?,?); end;"
    11:20:20:940 INFO     main          Crawler launched by schedule "BJ_Cont"
    11:20:20:940 INFO     main          
    11:20:20:940 INFO     main          =================== Crawling status ===================
    11:20:20:941 INFO     main          Crawling started at 9/18/07 11:20 AM
    11:20:21:912 INFO     main          URL manager connecting to Oracle...
    11:20:21:974 INFO     main          connected
    11:20:22:586 INFO     main          Queue manager connecting to Oracle...
    11:20:22:631 INFO     main          connected
    11:20:23:497 INFO     main          Invoking "oracle.search.plugin.ocs.cservices.OCSCSPluginMgr"
    11:20:23:501 INFO     main          URL manager connecting to Oracle...
    11:20:23:529 INFO     main          connected
    11:20:23:531 INFO     main          Initializing crawler plug-in manager "oracle.search.plugin.ocs.cservices.OCSCSPluginMgr"
    11:20:23:531 ERROR     main          SES keystore location: null
    11:20:23:532 ERROR     main     null oracle.search.sdk.crawler.PluginException     oracle.search.plugin.ocs.cservices.OCSCSPluginMgr:getParamValue:351     oracle.search.plugin.ocs.cservices.OCSCSPluginMgr:init:479     oracle.search.crawler.WebCrawler:begin:1076     ImtCrawler:run:1831     ImtCrawler:main:480
    11:20:23:532 ERROR     main     null oracle.search.sdk.crawler.PluginException     oracle.search.plugin.ocs.cservices.OCSCSPluginMgr:getParamValue:351     oracle.search.plugin.ocs.cservices.OCSCSPluginMgr:init:479     oracle.search.crawler.WebCrawler:begin:1076     ImtCrawler:run:1831     ImtCrawler:main:480
    11:20:23:676 INFO     Thread-1          Remote command "reportstatistics" received, argument = "quit"
    11:20:23:676 INFO     Thread-1          Executing remote command "reportstatistics"
    11:20:23:697 INFO     Thread-1          Send back remote command execution result
    11:20:25:944 INFO     main          Shutting down all crawling threads...
    11:20:25:948 INFO     main          
    11:20:25:949 INFO     main          =================== Crawling results ===================
    11:20:25:949 INFO     main          Crawling started at 9/18/07 11:20 AM
    11:20:25:949 INFO     main          Crawling stopped at 9/18/07 11:20 AM
    11:20:25:949 INFO     main          Total crawling time = 0:0:5
    11:20:25:949 INFO     main          
    11:20:25:954 INFO     main          Total number of documents fetched = 0
    11:20:25:954 INFO     main          Document fetch failures = 0
    11:20:25:954 INFO     main          Document conversion failures = 0
    11:20:25:954 INFO     main          Total number of unique documents indexed = 0
    11:20:25:954 INFO     main          Total data collected = 0 bytes
    11:20:25:954 INFO     main          Total number of non-indexable documents = 0
    11:20:25:955 INFO     main          
    11:20:25:955 INFO     main          Number of times disk cache is full = 0
    We have followed the installation details provided in "SESAdmiistratorGuide".
    In that guide.... during creation of Content Database source he did not mention any entry for "SES keystore location", and the exception which we are getting is related to "SES keystore location: null" (please look into the exception stack).
    could you please guide us.
    Thanks
    peter.

  • How to update line items if it exceeds 17 during creation of SO in va01.

    Hi,
    I have implemented one logic in mv45afzz for updating IO (internal order) with respect to line items during creation of SO through VA01.
    It is working fine.
    My problem is: For first 17th line items it is working fine , but those line items which come after 17th not working.
    Please suggest.
    Thanks,
    Sakti

    Hi,
    Pls find the below code for your reference.
    LOOP AT xvbap INTO wa_xvbap.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
          EXPORTING
            input  = wa_xvbap-matnr
          IMPORTING
            output = wa_xvbap-matnr.
        IF ( wa_xvbap-matnr = c_matno_1 OR
           wa_xvbap-matnr = c_matno_2 ) AND
           wa_xvbap-updkz <> 'D'.
    *Before changing container number first check first check the IO attached to
    *this container number fully settled or not.
          IF NOT yvbap[] IS INITIAL.
            SORT yvbap[] BY vbeln posnr.
            READ TABLE yvbap INTO wa_yvbap WITH KEY vbeln = xvbak-vbeln
                                                    posnr = wa_xvbap-posnr
                                                    BINARY SEARCH.
            IF sy-subrc = 0 AND
              ( wa_yvbap-arktx <> wa_xvbap-arktx OR
               wa_yvbap-z_container_no <> wa_xvbap-z_container_no.
              CALL FUNCTION 'CONVERSION_EXIT_OBART_INPUT'
                EXPORTING
                  input  = c_sdi
                IMPORTING
                  output = l_output1.
              CONCATENATE 'ORX'
                          wa_yvbap-z_container_no
                          INTO g_objnr1.
              SELECT SINGLE *
                          INTO wa_cobrb_sdi
                          FROM cobrb
                          WHERE objnr = g_objnr1 AND
                                konty = l_output1.
              IF sy-subrc <> 0.
                CONCATENATE 'ORY'
                              wa_yvbap-z_container_no
                              INTO g_objnr1.
                SELECT SINGLE *
                            INTO wa_cobrb_sdi
                            FROM cobrb
                            WHERE objnr = g_objnr1 AND
                                  konty = l_output1.
              ENDIF.
            ENDIF.
          ENDIF.
    *If the Io is fully settled, then can not change container number.
          IF wa_cobrb_sdi-ersja IS NOT INITIAL.
            MESSAGE s303(me) WITH 'Container can not be changed as IO already settled for' wa_yvbap-posnr.
            CLEAR:wa_yvbap,
                  wa_cobrb_sdi,
                  g_objnr1.
            PERFORM folge_gleichsetzen(saplv00f).
            fcode = 'ENT1'.
            SET SCREEN syst-dynnr.
            LEAVE SCREEN.
          ELSE.
    *Check container number is initial or not
            IF wa_xvbap-z_container_no IS NOT INITIAL AND tcode = c_va01.
              CONDENSE wa_xvbap-z_container_no.
    *Add 'X' to container number and serch for IO exist or not
              CONCATENATE c_x
                          wa_xvbap-z_container_no
                          INTO l_aufnr.
              SELECT SINGLE aufnr objnr
                         FROM aufk
                         INTO (g_aufnr,g_objnr)
                         WHERE aufnr = l_aufnr.
              IF sy-subrc = 0.  " AND wa_xvbap-arktx = l_aufnr.
                l_flag = 'X'.
              ELSE.
    *Add 'Y' to container number and search for IO
                CONCATENATE c_y
                            wa_xvbap-z_container_no
                            INTO l_aufnr.
                SELECT SINGLE aufnr objnr
                          FROM aufk
                          INTO (g_aufnr,g_objnr)
                          WHERE aufnr = l_aufnr.
                IF sy-subrc = 0.  " AND wa_xvbap-arktx = l_aufnr.
                  l_flag = 'X'.
                ELSE.
    *Display error message if Io was not found or forgot to enter IO in description field
                  MESSAGE s083(me) WITH 'IO was not found for' wa_xvbap-posnr.
                  PERFORM folge_gleichsetzen(saplv00f).
                  fcode = 'ENT1'.
                  SET SCREEN syst-dynnr.
                  LEAVE SCREEN.
                ENDIF.
              ENDIF.
           ELSE.
            ELSEIF tcode = c_va01.
    *Display error message if user forget to enter container number
              MESSAGE s083(me) WITH 'container number for' wa_xvbap-posnr.
              PERFORM folge_gleichsetzen(saplv00f).
              fcode = 'ENT1'.
              SET SCREEN syst-dynnr.
              LEAVE SCREEN.
            ENDIF.
            IF l_flag EQ 'X'.
              CALL FUNCTION 'CONVERSION_EXIT_OBART_INPUT'
                EXPORTING
                  input  = c_sdi
                IMPORTING
                  output = l_output.
              CALL FUNCTION 'CONVERSION_EXIT_PERBZ_INPUT'
                EXPORTING
                  input  = c_ful
                IMPORTING
                  output = l_ful.
    *Fetch 1st line of settlement rule
              CALL FUNCTION 'CONVERSION_EXIT_OBART_INPUT'
                EXPORTING
                  input  = c_gl
                IMPORTING
                  output = l_gl.
              SELECT SINGLE *
                    INTO wa_cobrb_gl
                    FROM cobrb
                    WHERE objnr = g_objnr AND
                          konty = l_gl.
              IF sy-subrc EQ 0.
    *Populate values for second line settlement
                wa_cobrb-objnr = g_objnr.            "OBJNR
                wa_cobrb-lfdnr = '003'.
                wa_cobrb-konty = l_output.           "Category
                wa_cobrb-kdauf = xvbak-vbeln.        "Order No
                wa_cobrb-kdpos = wa_xvbap-posnr.     "Item No
                wa_cobrb-prozs = c_percent.          "Percentage
                wa_cobrb-perbz = l_ful.              "Settlement
                wa_cobrb-extnr = c_no.               "No
                wa_cobrb-gabpe = wa_xvbap-erdat+4(2).      "From period
                wa_cobrb-gabja = wa_xvbap-erdat+0(4).      "From Fiscal
                APPEND wa_cobrb TO gt_cobrb.
              ELSE.
    *Populate values for second line settlement
                wa_cobrb-objnr = g_objnr.            "OBJNR
                wa_cobrb-lfdnr = '003'.
                wa_cobrb-konty = l_output.           "Category
                wa_cobrb-kdauf = xvbak-vbeln.        "Order No
                wa_cobrb-kdpos = wa_xvbap-posnr.     "Item No
                wa_cobrb-prozs = c_percent.          "Percentage
                wa_cobrb-perbz = l_ful.              "Settlement
                wa_cobrb-extnr = c_no_1.               "No
                wa_cobrb-gabpe = wa_xvbap-erdat+4(2).      "From period
                wa_cobrb-gabja = wa_xvbap-erdat+0(4).      "From Fiscal
                APPEND wa_cobrb TO gt_cobrb.
              ENDIF.
              IF wa_cobrb_gl IS NOT INITIAL.
                wa_cobrb_gl-gbisp = wa_cobrb-gabpe - 1.
                wa_cobrb_gl-gbisj = wa_cobrb-gabja.
                APPEND wa_cobrb_gl TO gt_cobrb_gl.
              ENDIF.
         ELSEIF wa_cobrb-ersja IS NOT INITIAL.
           MESSAGE 'Container number can not be reassign' TYPE 'E'.
            ENDIF.
          ENDIF.
        ENDIF.
        CLEAR:wa_cobrb,
              g_objnr,
             wa_aufk,
              wa_cobrb_gl,
              wa_cobrb_sdi.
      ENDLOOP.
      IF l_flag EQ 'X'.
    *Create 2nd line for settlement rule.
        SORT gt_cobrb[].
        DELETE ADJACENT DUPLICATES FROM gt_cobrb[].
        IF NOT xvbak-vbeln IS INITIAL AND tcode = c_va01.
          IF NOT gt_cobrb[] IS INITIAL.
            CALL FUNCTION 'K_SRULE_SAVE_UTASK'   "IN UPDATE TASK
              TABLES
                t_cobrb_insert    = gt_cobrb[]
              EXCEPTIONS
                srule_utask_error = 1
                OTHERS            = 2.
    Thanks,
    Sakti

  • Installation error during creation of user SAPJSF

    Hello,
    i'm performing SOLMAN installation and the installation stops in "Import Abap" step with problem creating the SAPJSF user. Several posts regarding the same error did not helped. When the sapinst is trying to create the SAPJSF user, i notice that the DB2 service in Windows services changes from "started" to "stopped"
    OS:windows 2003 enterprise 64bit
    DB:db2 udb
    SOlman: 7.0 including EHP1
    The error from "sapinst.log":
    WARNING 2010-09-17 10:32:40.906
    Execution of the command "I:\usr\sap\SOF\DVEBMGS00\exe\jlaunch.exe UserCheck.jlaunch com.sap.security.tools.UserCheck "C:\Program Files\sapinst_instdir\SOLMAN\SYSTEM\DB6\CENTRAL\AS\install\lib;C:\Program Files\sapinst_instdir\SOLMAN\SYSTEM\DB6\CENTRAL\AS\install\sharedlib;C:\Program Files\sapinst_instdir\SOLMAN\SYSTEM\DB6\CENTRAL\AS\install" -c sysnr=00 -c ashost=fmgrsolman -c client=001 -c user=DDIC -c XXXXXX -a checkCreate -u SAPJSF -p XXXXXX -r SAP_BC_JSF_COMMUNICATION_RO -user_type system -message_file UserCheck.message" finished with return code 4. Output:
    Sep 17, 2010 10:30:29... Info: User management tool (com.sap.security.tools.UserCheck) called for action "checkCreate"
    Sep 17, 2010 10:30:30... Info: Connected to backend system SOF client 001 as user DDIC
    Sep 17, 2010 10:30:30... Info: Called for user SAPJSF
    Sep 17, 2010 10:30:30... Info: Formal password check successful
    Sep 17, 2010 10:30:30... Info: Will create user SAPJSF
    Sep 17, 2010 10:31:38... Warning: Error during creation of user SAPJSF. Will remove user again to ensure clean exit state
    Sep 17, 2010 10:32:40... Error: Exception during execution of the operation
    [EXCEPTION]
    com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: 00024No connect to database, session terminated??????????????????????????
         at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:518)
         at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1086)
         at com.sap.mw.jco.JCO$Client.connect(JCO.java:3255)
         at com.sap.security.tools.UserCheck.resetJCOClient(UserCheck.java:2479)
         at com.sap.security.tools.UserCheck.deleteUser(UserCheck.java:2024)
         at com.sap.security.tools.UserCheck.main(UserCheck.java:300)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:331)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Sep 17, 2010 10:32:40... Info: Leaving with return code 4
    The error from "UserCheck.log":
    Sep 17, 2010 10:36:58... Info: User management tool (com.sap.security.tools.UserCheck) called for action "checkCreate"
    Sep 17, 2010 10:36:59... Info: Connected to backend system SOF client 001 as user DDIC
    Sep 17, 2010 10:36:59... Info: Called for user SAPJSF
    Sep 17, 2010 10:36:59... Info: Formal password check successful
    Sep 17, 2010 10:36:59... Info: Will create user SAPJSF
    Sep 17, 2010 10:37:59... Warning: Error during creation of user SAPJSF. Will remove user again to ensure clean exit state
    Sep 17, 2010 10:38:56... Error: Exception during execution of the operation
    [EXCEPTION]
    com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: 00024No connect to database, session terminated??????????????????????????
         at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:518)
         at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1086)
         at com.sap.mw.jco.JCO$Client.connect(JCO.java:3255)
         at com.sap.security.tools.UserCheck.resetJCOClient(UserCheck.java:2479)
         at com.sap.security.tools.UserCheck.deleteUser(UserCheck.java:2024)
         at com.sap.security.tools.UserCheck.main(UserCheck.java:300)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:331)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Sep 17, 2010 10:38:56... Info: Leaving with return code 4
    Edited by: DimitrisDimas on Sep 20, 2010 5:38 PM

    hi
    wat s ur JDK version??
    please refer this,
    [SAPJSF - no password for user - ECC6 - IDES|SAPJSF - no password for user - ECC6 - IDES]
    jansi

  • User Exit/ BADI during creation of vendor master

    Dear Friends,
    During creation of vendormaster if the with holding tax is maintained then PAN no. field should be made mandatory.
    So far I know this can't done through standard field selection of vendor master. So this is to be done through BADI/User exit. Please provide me the same where in run time I can get PAN no field. It comes from the excise table.
    Regards

    First try for any Customization is available.
    If not we can achieve with enhancement point.
    Try to find out an implicit enhancement point on PAI event of the screen there validate for the "PAN No"
    if the "PAN No" is blank raise an error message & EXIT from the PAI.
    It would serve your purpose.
    Regards.
    Abhijit

  • Maintain ECC Document during creation on WebUI

    Hi experts,
    I want add a new item during creation of a sales order on CRM WebUI.
    I'm on CRM 7.0 and i'm using the LORD component to maintain the data on ERP system.
    I created a custom component to search the material on ERP system; the user can salect a material and set the quantity to order.
    I want that after an event (click on button ),  the selected material to be included in the document.
    Any suggestions ?
    Thanks in advance
    Daniele

    Thanks for the reply jalpesh, you answered the filename on file upload method.
    But what about the filename changes due to create document (WYSIWYG editor) method. The content filename changed to the property-name.ext about saving the content, which is quite a strange behaviour. As the user will not be able to add the same type of content on current directory cause the content filename follow the property-name.ext and cause same filename conflicts when saving.
    We are using the weblogic portal server 9.2 MP 2 with oracle database (bea type 4 connection driver).
    Any advices or suggestions?
    Regards,
    Keaton

  • Another tax determination code being picked up along with right tax determination code during creation of BBP

    Hi Experts,
    There is an issue I am facing while creating BBP, the slices in table DFKKMOP are having another tax determination code being picked up along with the right tax detemination code.
    E.g. -> In EK02 for the BBP I have configured tax determination code ZA for main 0051 and sub 0050 for all the company codes, but it is also picking ZX  which I have configured for main 100 - sub 202,203 , main - 200 sub 202,203 , main 300- sub 202,203.
    Strangely In the table DFKKMOP the tax determination code ZX is coming in the line which has main 0051 and sub 0050.
    I dont understand why ZX is being shown in the field BB grouping - Budget Billing: Grouping Key for Tax Determination Code.
    I have double checked the customizing in EK02 and I dont find this tax determination code being defined for main 0051/sub 0050, then why is it being picked up for BBP line item in table DFKKMOP.
    Any suggestions are appreciated.

    Well the issue was during creation of BBP items in DFKKMOP the VAT corresponding to Main/Sub 100/ 3xx was being picked up and when I adapted the tax determination code there. The items was created without any split.
    For the second one PA issue, well in this case the tax determination in the standard during the creation of PA invoice via EA27 is happening on the date of execution and not on the selection date or posting date. This is because in SPRO the config. of invoicing <<Define Basic Settings for Invoicing>>
    has <<Date type for tax determination in Invoicing for Part. Bills.>> set to <<tax determination in invoicing based on entry date>> that is why it takes the execution date into  consideration.So even when we do a posting for SOLLDAT in future to take another tax code it doesnt take that SOLLDAT instead takes todays execution date for which the new tax code is not valid.
    To overcome this issue either we need to make the new tax code valid from date in past ie. before the date of execution or we need to change this parameter in customizing <<Define Basic Settings for Invoicing>> to <<tax determination in invoicing based on Posting date>>.
    Voilà!

  • Dump during creation of service entry sheet (ML81N)

    Dump during creation of service entry sheet (ML81N)
    Hi,
    ML81N>Select PO>Enter>goto entry sheet create (empty page)>service entry sheet displayed with internal no. assigned >click tab "service selection">Input PO No.--> enter (here we get Dump ABAP RUNTIME ERROR "TABLE_INVALID_INDEX").
    This is happening only for some POs. What can be the problem?. Is this has something to do with SAP database ???
    - rahul

    Hi,
    it could have the cause that the note 1113220 was missing from your system or that data are inconsistent in your PO.
    If you implemented 1113220 and you still get the dump, please check in transaction ST22 the run time error long text to the dump:
    Parts:
    - How to correct the error?
    - Information on where terminated
    - Source Code Extract -> if you set a breakpoint before the line where the error occured, you could debug the process.
    - Active Calls/Events: if you have an own program displayed here, please check first your program wether it has caused the issue.
    If these do not help to find out the problem cause, please open a SAP ticket and include all of the relevant information regarding the dump.
    Regards,
    Edit

  • OIM 11g R2 Membership rules and roles

    All,
    I have noticed that the NOT operator is not available while creating the membership rules in roles.
    Is there any work around for this?
    I am planning to write a post process event handler to add the roles if I can't find any other way around this.

    You can add elements but that would be difficult to manage. Suppose you have 100 departments and you want exclude Department 1000 then it would be difficult to add Department 1 to Department 999 in your rule.
    As of now you can go ahead with your Event handler.
    I opened an ER with Oracle long back.

  • BADI/EXIT/Enhancement spot in during creation of PO to edit Vendor partner

    Hello,
    I am looking for BADI/EXIT/Enh. spot to edit the vendor partner during creation of a PO.
    Due to some business requirement we maintained multiple vendor partner( for same role like goods supplier) in the vendor master and for such cases during creation of PO it throws a pop-up to choose one of the partners. However, in some cases, I have to select a particular vendor partner based on some other field value, and suppress the pop-up.  So to choose the right vendor partner I need a suitable location where I can put my program logic.
    Looking forward to your replies...
    Thanks in advance.
    Best Regards,
    Amarjit Singh

    By now I am unable to test this BADI to see which data is retrieved and the moment that this happens. But the popup that you mentioned is a Z routine ?? If yes couldn't  you put your logic there?
    Regards,
    Felipe

  • Setting default values to CUSTOMERH field during creation of ORDER?

    Hi guys,
    Does anyone know of any BAdI that is called once during the ORDER creation?
    I have a CUSTOMERH field that needs to be set to 'X' during creation, and the user can de-select them anything. Anyone know how this can be achieved??
    Many thanks in advance, points to be awarded for any helpful ideas.

    Hi Joshua,
    have a look to the interface IF_EX_ORDER_SAVE.
    this give you the Methods CHANGE_BEFORE_UPDATE and PREPARE.
    I hope you can use this.
    kind regards an happy x-mas
    Torsten

Maybe you are looking for