Issue while changing validity date for assigned roles: SAP IDM 7.2 SP8

Hello Experts
I assigned the Task on repository for validity modification for Roles as in below screenshot:
When I modify the role validity, Task defined for Validity modification doesnt get triggered and IDM executes the tasks defined as Modify Task and fails with below errors:
1. Could not obtain repository name from Pending object.
2. Error ! Audit id , Variable doesnt exist in MXPT_GET_ENTRYTYPE.
I tried checking provisioning audit logs but could'nt find any Audit ID created for validity modification and I guess due to this tasks are getting cancelled.
Why the task defined in Modify Valdity tasks doesnt get triggered when I modify the Role assignment validity ?
Am I doing anything wrong with the SAP Standard way of working ?
Regards
Deepak Gupta

Hi Deepak/Chris,
We are also facing a similar issue in our project where modifying validity of the role does not trigger any task. We then changed the Modify attribute(in task tab) on the priveleges to "inhereted".
The modify task is now triggered and completes successfully. However, no changes occur in backend.
We need unedrstand where do we maintain the setting to define which attributes(if changed) will trigger an event task in the provisioning framework. the "check attributes modification" task within the provisioning framework executes the below query:
select COUNT(VarName) from mxpv_audit_variables where AuditID=%AUDITID% and VarValue='%MSKEY%' and VarName='MARK_EXEC_MODIFY_ATTR%MSKEY%'
The query gives the result as "False" in case we only modify the validity of the role assigned to user. Thus no event tasks are executed for the same.
Can anyone please share where do we define the attributes for this query to give "True" as result for role validity modification.
regards,
Nits

Similar Messages

  • Change Validity Dates for BOM

    Dear Experts,
    Please guide to change the validity dates for a BOM without using ECM.
    What are the steps needed to be followed.
    Thanks & Regards,
    Rohit.

    Dear Sir,
    That is what I have done for a material.
    Apart from making Routing again after deleting the BOM, do I need to take care of any other thing?
    Thanks & Regards,
    Rohit.

  • Error while running Validation Data for category  not found in application

    Dear Experts
    While running Validation and IC Matching I am getting Error i.e. "Data for category  not found in application CONSOLIDATION"
    May some one tell me the reason and resolution.
    Thanks
    Ritesh

    Hi RItesh,
    I suppose your problem was solved in the meanwhile.
    Anyway we had the same issue, when running Validations against ICMatching App.
    That was because Method VALIDATION of Class CL_UJP_VALIDATE tries to relevant data in order to perform calculations (line 127), but if no data is found, ends raising an exception (with a misleading text line 143).
      read_trans_data_sqe( exporting i_application = d_application
                                     it_dim_list = dt_app_dim_list
                                     it_sel = lt_sel
                           importing
                                     er_t_data = lr_data
      assign lr_data->* to <lt_finance>.
      create data lr_data like line of <lt_finance>.
      assign lr_data->* to <ls_finance>.
      lr_data1 = lr_data.
      if <lt_finance> is initial.
    NO DATA FOUND -> EXCEPTION
        raise exception type cx_ujp_process_exception
              exporting textid = cx_ujp_process_exception=>ex_no_data_found
                        d_application = d_application
                        d_value       = l_value.
      endif.
    Hope it helps
    GFV

  • Maintain Validity Date for Documents

    Hi
    Any Idea how can we put and maintain Validity Dates for any Document uploaded in DMS Server.
    Validity Dates here means (Documents cannot be used if validty is over)
    I could not find any option in CV01*   T-Codes.
    Regards

    Dear Prasant,
    You can also do this solution also if you find it OK.
    1. Create a Class with "Validaty Date" as characteristics. Assign this Charac to class. Assign this class to doc Type. This charac should not be editable to any one except creator.
    2. Create a program with BAPI " Set Status" ( Check the name). which will run in background to check the validity date of Document. If the validity date is reached the BAPI will change the status to "S" as stated by Chritoph.
    This will help user to manually tracked which documents have exceded the validity date. You can also genegrate report and mail it to particular user that what documents have been set to Status "S".
    Hope I have provided a valid solution as I have tried similar kind of functionality with changing a characteristics with Date.
    With warm Regards
    Mangesh Pande

  • Activation error while changing the data type of a field of a table

    hi friends,
    i am facing one problem while changing a data type of a field of a table.
    i just created one table(Yqm32) .i have assigned charcter data type to one field(ztotal_count) .now i want to change this charcter data type to numeric data type.
      while changing to NUMC data type activation error is comming as below.
    Table is not yet classified                           
    Field ZTOTAL_COUNT: Type change                       
      ALTER TABLE is not possible                         
    Structure change at field level (convert table YQM32) 
    Check on table YQM32 resulted in errors   
    Table YQM32 could not be activated                       
    (E- Structure change at field level (convert table YQM32)
    plz suggest.i need to change the data type from char to numc.
    Thanks & Regards

    Hi Pabitra......
    From the SE11 change the table as u wanted and then from menubar select
    UTILITIES--> DATABASE UTILITY
    It will open database utility
    there u select the Activate and adjust database button.
    then the database table will get adjusted.
    just try it once.........
    Suresh......

  • Block change on dates for Approved Purchase Request

    Hi expert,
    I'm new to SAP Business One.
    I required to block change on dates for approved Purchase Request.
    What will be the best solution and how-to achieve this objective?
    Thank you.

    Hi,
    My company currently using SAP B1 version 9 PL05.
    I have already applied approval procedure that it will always launch approval procedure for Purchase Request document (attached screenshots for setup approval procedure).
    With above setup, Purchase Request document can only added after it has been approved (an [Approved] text has been shown on document view window and status is 'Open' as per attached below)
    The dates have not disabled for editing although it has go through approval process.
    The dates also not disabled for editing (Status is 'Closed' as per attached screenshot below) after it has been drawn to Purchase Order document.
    Is anyone encounter this issue?
    I know that SP_TN can prevent update but it is just a workaround method, not a best solution that I'm looking at.

  • Class type 001 - Changing validity date

    I need to change validity date of all classes of type 001.
    There are more than 5000 classes for this type.
    How can I do a mass change for this?
    Please advice.
    Thanks,

    do it with LSMW

  • How can I set an validity date for a given vendor?

    Hello,
    we are currently trying to set a "validity date" for vendors.
    Basically, our vendors need to be audited, and are "accepted" for a period of time, beyond which we'd need to re-audit them.
    What we'd like the system to do is block use of the vendor if this date was exceeded.
    Anyone has an idea on the way to achieve this?
    PS: We know that there is a way to do this at the material level, we instead wish to manage it centrally for the vendor
    Tx

    Hello Nisha,
    before doing business with a new vendor for services, our QA group needs to go thru a serie of verifications. We check various things such as insurance, certification,...
    Once "approved", the vendor can be utilised by the plant for a certain period of time, after which a "re-audit" is necessary.
    What I'd like to implement is a field where the QA group would enter this date, after which the vendor would be automatically blocked for usage.
    This would then trigger the "re-audit" followed by the release from QA (who'd re-modify the date with the new one), and so on.
    The vendor is not necessarily used for supply chain. Sometimes, it could be for services , maintenance, or other.
    Tx for the ideas.

  • Issue While executing the Query for Pagination using ROWNUM with like

    Issue While executing the Query for Pagination using ROWNUM with like.
    Database is Oracle11G.
    Oracle Database Table contains 8-9 lakh records
    1) SQL equal (=)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE = 'KMF22600920'
    Execution Time:- 0.00869245 seconds
    Returns 2 resultsets
    2) SQL like (one %)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE = 'KMF22600920%'
    Execution Time:- 0.01094301 seconds
    Returns 2 resultsets
    3) SQL like (two%)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE like '%KMF22600920%'
    Execution Time:- 6.43989658 seconds
    Returns 2 resultsets
    In Pagination, we are using Modified version of SQL Query 3) with ROWNUM as mentioned below :-
    4) SELECT * FROM (
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) WHERE RNUM > 0
    Execution Time:- Infinite
    ResultSets:- No as execution time is infinite
    a) Instead of like if we use = in the above query it is returning the 2 resultsets (execution time 0.02699282 seconds)
    b) Instead of two % in the above query, if use one example REFERENCE like 'KMF22600920%' it is returning the 2 resultsets (execution time 0.03313019 seconds)
    Issue:- When using two % in like in the above query i.e. REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) , it is going to infinite.
    Could you please let us know what is the issue with two % used in like and rownum
    5) Modified version of Option1 query (move out the RNUM condition AND RNUM <= 20)
    SELECT * FROM (
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE REFERENCE like '%KMF22600920%' ) WHERE RNUM > 0 AND RNUM <= 20
    Execution Time:- 7.41368914 seconds
    Returns 2 resultsets
    Is the above query is best optimized query which should be used for the Pagination or still can improve on this ?

    This would be easier to diagnose if there was an explain plan posted for the 'good' and 'bad' queries. Generally speaking using '%' on both sides precludes the use of any indexes.

  • Sysfail error "Enter Valid date for Example(02/25/2008) "  in EC5

    Hi ,
         I have a sysfail error "Enter Valid date for Example(02/25/2008) "  in the EC5 side.Can any one help me on this .What should I do and where can be the fault.This EC5 is the development system.

    Hi
    you have to pass the date in the format as yyyymmdd
    bcoz for internal storage the SAP system always understand the standard data format
    yyyyymmdd.
    so you have to pass the date in the format yyyymmdd.
    Thanks
    Rinku

  • Function Module/Document to change Reversal date for FI  document.

    Can anyone please provide me with the Function Module/Document to change Reversal date for FI  document.

    Hi Vikram,
    Normally, you post a reversing document in the same period you posted the original document.  The period of the original document must be open to post a reversing document. If the period is not open, you can overwrite the posting date field with a date in an open period, such as the current period.
    Regards,
    Manoj.

  • Validity Date  for RPTQTA00

    Hi Guys,
    Where do I set Validity Dates   for RPTQTA00?

    hello, friend.
    normally, you have validity periods for contracts and quotations but not for sales orders.  the reason for this is because sales orders are commitments made by the selling company to deliver a quantity of certain materials to the customer at a certain date. 
    in the sales order, you have several functionalities that will help you in your commitments.  for example, the availability check will allow you to see if you have sufficient stocks for the commitment.  the schedule line tabs will also show you if the delivery time required would allow you to bring the materials to your customer's doorstep by a certain date (sales order data also are relevant for planning and other cross-module functionality).  if an adjustment in commitments is needed, these are made in the sales order before the outbound delivery is created.
    hope this helped.
    regards.
    jty

  • Factory calendar issue changing validity date

    Hi,
    We have come across the OSS note 1532398 and 1529649. It's for our Solution Manager system. We are on SP24 EHP1 and i wanted to know how far up can you go in the validity date? I understand the holiday dates need to be changed first but how far up can i go and which calendar would apply for Solution Manager?  My understanding is that becuase we are based in the UK only the UK based calendars would need to be changed or does it depend on which country the user accessing the system is based?
    your help would be very much appreciated.
    Mani

    Hello Mani,
    If you look at SAP Note 501262 - UK Public Holiday Calendar Settings for 2012
    Look at Solution 3
    3. You can now -> Goto -> Public Holiday calendar -> Assign th
    2013 holiday to the calendars GS/GN/GE.
    Change valid from / to definition  -> select 'Spring Bank
    Holiday - 2013' ->  valid from = 2013 -> Save
    Valid from 2013 to 20XX on your demand
    This would suggest that the validity date can be set to any value in the format 20xx.
    Regards,
    Paul

  • Schedule changes and validity dates for prices in product catalog(SRM-MDM)

    Hello!
    I'm working on a project that is going to use SRM-MDM and the question is if it is possible to schedule changes(for example to add new prices that have a validity period, can you make the changes now that are going to be valid from 1st of februari?Or can I add products today that are only going to be available to buy from a particular date?).
    The other question is if it is possible to have a validity period for prices and when the date is valid,then the product is shown in the catalog.In the same way that when the date is not valid, the product is not shown in the catalog.Can this be made automactically?Can a logic be build to choose which products are going to be shown in the catalog?
    Do you have any suggestions for those issues?
    Thanks in advance!

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Changing validity date using BAPI_PROFITCENTER_CHANGE for a profit center.

    Hi Friends
    I need your help to know if we can use BAPI_PROFITCENTER_CHANGE to change the validity period of a profit center.I am using this BAPI in a LSMW program.
    The changes I want to make are something like changing the validity dates from
    1) 01/01/2006 - 12/12/9999 to 01/01/2007 - 12/12/9999
    2) 01/01/2006 - 12/12/9999 to 01/01/2005 - 12/12/9999
    3) 01/01/2006 - 12/12/9999 to 01/01/2006 - 12/12/2010
    or should I use BAPI_PROFITCENTER_CREATE?
    -Thanks
         Mitesh

    change document in profit center change
    Bapi - BAPI_ASSET_ACQUISITION_POST
    need a function module for profit center
    Please give me reward points...

Maybe you are looking for