Check while replacing approver in SC creation

Hello expert,
Whenever user replaces default approver using replace button in shopping cart creation, is there any badi exit through which i can validate the new user. I have already implemented BADI "BBP_CHNG_AGNT_GET".
This badi gets triggered when user clicks on find button. Sometimes user directly hit the replace button instead of find and then replace.
Thanks in advance.
Regards,
SVS

unfortunately there is no badi available for the customers , but srm has a few standard checks bulit in to validate the user entered

Similar Messages

  • SRM Create Confirmation - Short Dump while adding Approver

    Dear Experts.
      Currently I am facing following issue.
    Issue:
      In SRM “Create Confirmation” Screen, when user click on check button and after that if user tries to add approver in approval tab then it is going to short dump. Please find the short dump info:
    Category ABAP Programming Error
    Runtime Errors UNCAUGHT_EXCEPTION
    Except. CX_OS_OBJECT_NOT_FOUND
    ABAP Program /SAPSRM/CL_WF_PROCESS_MANAGER=CP
    Application Component SRM-EBP-WFL
      I had analyzed this issue and following points are my findings.
    We have written code in BBP_DOC_CHECK_BADI to check the approver is added or not in approval tab. For this purpose we are using METHOD lo_conf_adv->/sapsrm/if_pdo_do_apv_ext~get_process_info (Here lo_conf_adv is object of interface /sapsrm/if_pdo_bo_conf_adv) and the instance of lo_conf_adv is getting from METHOD /sapsrm/cl_pdo_fact_conf_adv=>get_buffered_instance By pasing Doc GUID.
    As per my analysis, the above code only causing the short dump while adding the approver in aproval tab. More importantly the CHECK BADI (BBP_DOC_CHECK_BADI) is not triggered while adding the approver. 
    If I comment this code (which is mentioned in point 1), then the application is not giving any short dump and adding approver successfully.   
    I tried to find SAP notes but there are no SAP notes related to this issue. Also, I tried to find alternate METHOD to replace lo_conf_adv->/sapsrm/if_pdo_do_apv_ext~get_process_info but I have not got relevant method.     Please let me know if there is any solution for this issue.
    Thanks & Regards,
    Sasidhar V

    Hi Ritesh,
      Thanks for the fast response.
      We are using Process Controlled Workflow. In Doc Check BADI, we are checking the respective approver is added or not in approval tab in "Create Confirmation" Screen. While creating confirmation, when user click on "CHECK" button and If respective approver is not added then throwing error message.
      We are using Method "GET_PROCESS_INFO" to get approval information only. when this method is triggered in Check BADI then it is doing respective validations and displaying messages. After that when we try to add approver then the system trying to read entry from table "/SAPSRM/D_WF_003" by passing OID to LEVEL_GUID. But there is no entry in this table and that's why it is giving short dump.
      Can you please let me know why it is reading entry in that table and why entry is not exist.
      FYI, If I don't use method "GET_PROCESS_INFO" in check BADI then respective code where short dump happening is not triggering (System is not trying to read entry from /SAPSRM/D_WF_003 table) and so it is not giving short dump.
    Thanks & Regards,
    Sasidhar V.

  • Approval of role creation

    Hi All
    I need to create a WET for role creation, this is simple But I need to incorporate approval of the creation of the new MX_ROLE entry. I can only find documentation/guides on how to implement approval of role and privilege assignment. Does anyone know if it is possible to setup approval on creation on a new entry?
    Kind regards,
    Heidi

    I have tried to implement the MX_INACTIVE solution. Now it is not possible to see the role on the "Adminstrate"-tab, and there is an approval task on the "To do"-tab. When I click this task, details on the role are displayed properly, but when I try to process the request by clicking the "Show request"-button (button name translated from Danish, it might be translated differently...) I get an error: "Access denied".
    I have set correct approver on the approval task, and I was able to process approval requests, before I set the role to inactive.
    On the approval task, I have checked the "Use inactive entries" checkbox.
    Does anyone have an idea what could be wrong?
    Kind regards,
    Heidi Kronvold

  • Workflow to approve Material Master creation

    Dear all,
    I would like to create workflow to approve Material Master creation as below:
    When Material is created -> Check & Approval (Yes) -> Material is active
                           -> Check & Approval (No)   -> Material is inactive
    How can I do that?
    Could you pls help me to solve this?
    Thanks,
    CH

    Hi,
    Before designing the workflow, you need to find what is the business object and what is the event which gets triggered when material master is created... you can do that using event trace....
    1. SWELS - switch on trace
    2. Create material
    3. SWEL - check trace to find which event is fired
    This will give you business object name..
    Now start building workflow using SWDD... Go thru basic steps for designing workflow...

  • How to disable CD-DRIVE checking, while using a Dolphin file manager

    Hello.
    I  would like ask for a help. I have one problem that's quite annoying. It is related to checking cd-drive when using a dolphin file menager. It always cheecks it when Dolphin is launched from K or launcher on taskbar for the first time, again it happens when i close it and open again.
    Is there a way to disable checking of cd-drive in Dolphin? This behaviour occurs on KDE with all linux system that i checked: Slackware, Arch, Kubuntu. Look at this:
    Disabling CD-DRIVE checking, while using a file manager
    I would like to disable it in order to speed up opening Dolphin, launching it.

    Udisks2 is what dolphin uses to handle external drives of all kinds (USB, optical, etc).  Udisks is an automounting tool that allows normal users to mount disks.  The permission handling before was handled with consolekit and has now been replaced by systemd-logind (which is much better anyway).  So what I am suggesting is that it might be that dolphin is using udisks2 as the tool that polls for the existence of a disc in your optical drive.
    Unfortunately, it is a bit more confusing than that because udisks2 is the replacement for the original udisks.  It is totally different and not compatible.  So I remember seeing a way to turn off optical drive polling, but I cannot remember if it was udisks or udisks2.  But it was done with a udev rule. 
    So I think if you tried to google for "udisks optical (or cd or dvd) polling" or something like that, you might be able to figure out how this is done.
    Edit: unfortunately, I do not use dolphin or udisks2.  But I do have the original udisks installed.
    Edit2: It seems that the method I remembered is for the original udisks.
    Last edited by WonderWoofy (2013-07-25 17:51:56)

  • Duplicate check on search term for BP creation in CRM

    HI,
    I want to do a duplicate check on search term for BP creation in CRM.
    i found one BADI ADDRESS_SEARCH. But the method address_search is not getting called.
    Is there any other BADI available? how can I handle this issue?

    hello,
    BP is BDT (Business Data toolset) enabled (you can check it by adding break point in FM BUS_PBO and executing BP transaction). You can add your check directly to standard view (the check will be executed each time when user pushes enter) or you could add you check to appropriate action (during saving etc.) there are number of actions which you could use it depends on your requirements. You can find a lot of info about BDT (if you are not familiar) in Wiki.
    br,
    dez_

  • Check while creating PR with account assignment K

    Hi Gurus,
    Can I put a check while creating PRs for account assignment category K, that only statistical order number range is allowed.
    In other words, user should not be allowed to put any internal order other than statistical order in PR, while creating it with account assignment category K..
    Thanks in Advance,
    Vikash

    Hi,
    You can check on business transaction RMBA - it's the purchase requisition. Set it to prerequisites and for the validation select the order type (it's better than a number range - I believe you use different order types for real/statistical I/O) from AUFK (you will see this structure as available, when creating a validation). If you do use the same order type, then check on I/O itself COBL-AUFNR.
    Regards,
    Eli

  • How to check if the approver returned from AME is the last apporver

    Hi,
    I have setup multiple Approval Groups which uses a query to derive the approver list. Each Self Service HRMS transaction is attached to a different approver group.
    My requirement is to write a function in Workflow to check if the approver returned from AME is the last approver of the group.
    Please let me know how I can achieve this.
    Thanks,
    Rachana

    there is some seeded attribute like is_last_approver. Check the value if this returns tru then it is last approver

  • Quantity and Rate check while creating PR through PS

    Hi Friends,
    I am Creating PR through PS (Project System CJ20N). while creating PR i want to give reference of Outline Agreement (Contract).
    I want the contract limits (Value or Quantity) should be checked while creating PR.
    Is there any message control to check if the PR quantity and Rate exceeds the Contract Quantity and Rate
    Regards
    Sujit

    Hi,
    PR is not a purchasing document. It is an internal document. In PR. only valuation price appears which comes from material master. Hence how that price will be compared with contract price and rates?
    Regards,
    Aaditya

  • Alerts to Approver on PO creation & to vendor on PO approval

    Hi,
    Requirement is to send the alerts to the approver on PO creation and on approval - the alert should be sent to the vendor.
    Can anyone please help me out as to how can we handle both these requirements ?
    Thanks in Advance to All !!!!
    Regards,
    Laxmi

    Hi,
    I am not able to set release group.  An error message is flashed saying -
    We can set only one release class for overall release and another single class for non-overall release.  Is this right for PO ?
    If yes, then the issue is that the current release class has 4 charac's whereas i want to define values only for 2 charac's - is this possible - meaning i will be keeping the value as blank for other 2 charac's - will the system will consider those charac's as non-relevant ( as i intend to do) or will it take it as blank BECAUSE
    If it is picked up as blank then it will create a problem.
    Can anyone help on this.
    Regards,
    Laxmi

  • Regular Expressions for textfield syntax checking while typing?

    Hi all,
    my application has a textfield for entering customer numbers. The customer numbers have a certain syntax which I want to have checked while the user types.
    According to our company's style guide, the textfield's background color has to be
    - RED in case of an error,
    - WHITE in case of correct input,
    - YELLOW when the input is incomplete but the beginning is correct.
    To check the syntax with Regular Expressions is easy for the WHITE and RED cases. But I'm struggling with the YELLOW case.
    public static boolean checkTest(String s) {
         String regExp = "(\\d{6,8},\\d{1,3},\\d{1,3},\\d{1,2})";
         return Pattern.matches(regExp, s);
    }The above method returns true for the following examples:
    "12345678,1,2,3"
    "123456,11,22,33"
    "1234567,123,123,12"
    I now need another method which returns true if the user entered a valid beginning, for example:
    "123"
    "1234567,"
    "123456,123,1"
    Any ideas? I would be glad to get this done...

    @notivago
    In the meantime I also came up with a pattern to
    check the YELLOW case:
    String partly =
    "\\d{0,8},?|\\d{6,8},\\d{0,3},?|\\d{6,8},\\d{1,3},\\d{
    0,3},?|\\d{6,8},\\d{1,3},\\d{1,3},\\d{0,2}";Sounds good to me.
    It seems to work. But my actual goal is to do such
    color-coded syntax checking for other number types
    (other patterns) as well. And it should be easy to
    add or change number types.I cant figure how to do that for now.
    So it would be nice to have a generic way to generate
    the YELLOW-pattern from the other one. Is it
    possible? Probably, but I cannot come up with any idea now.
    Is there a better solution than my one
    ("String partly" above)? Something I can just append
    to the original pattern for example?There are others, but it is hard to say what would be better or worse.

  • GRC10 Access control-how/where to check if an approval request email was sent?

    Hi experts
    Please could you let me know how/where to check if an approval request email was sent?
    I some approvers complaining that they havent received the approval request email from GRC.
    Please advise.
    Thanks
    Ran

    Hi Ranjit
    I tested it as well by stripping the access back and then used STAUTHTRACE (much nicer than ST01). You are right - it is asking for S_DEVELOP 02 DEBUG
    METHOD check_admin_auth .
       DATA: lo_message_manager TYPE REF TO if_wd_message_manager,
           lo_api_controller TYPE REF TO if_wd_controller,
           lr_auth_node TYPE REF TO if_wd_context_node.
       lo_api_controller ?= wd_this->wd_get_api( ).
       lo_message_manager = lo_api_controller->get_message_manager( ).
       lr_auth_node = wd_context->get_child_node( name = 'AUTH' ).
       TRY.
           cl_grfn_msmp_authorizations=>check_sap_debug_authorization( ).
           lr_auth_node->set_attribute(
              EXPORTING
                value =     'X'
                name  =     'CAN_RUN'
         CATCH cx_grfn_msmp.
           MESSAGE e197(grfnmw) INTO cx_grfn_msmp=>m_msg_str. ----> E197 (GRFNMW) matches the error msg
           lo_message_manager->report_t100_message(
        METHOD check_sap_debug_authorization.
       AUTHORITY-CHECK OBJECT 'S_DEVELOP'
                 ID 'DEVCLASS' DUMMY
                 ID 'OBJTYPE'  FIELD 'DEBUG'
                 ID 'OBJNAME'  DUMMY
                 ID 'P_GROUP'  DUMMY
                 ID 'ACTVT'    FIELD '02'.
       IF sy-subrc NE 0.
         MESSAGE e219(grfnmw) WITH sy-uname INTO cx_grfn_msmp=>m_msg_str.
         grfnw_msmp_raise_msg: cx_grfn_msmp_no_authorization.
       ENDIF.
    ENDMETHOD.
    I recommend raising a customer incident with SAP to get their input as I don't think DEBUG should be necessary for MSMP Instance Runtime - and then let us all know the outcome
    Regards
    Colleen

  • Opening a new tab in safari opens an untitled tab while replacing the existing tab with top sites

    When I open a new tab in safari, it opens an untitled tab while replacing the existing tab with top. Then if I have other tabs open, the website url of the page I was on before I opened the untitled tab freezes and is shown on each other tab.
    How can i fix this problem? It is starting to occur with increasing frequency.

    I had the same problem and I suspect you are using Glims. I uninstalled Glims and voila, problem gone. I reinstalled Glims and the problem returned.
    Link to Glims uninstaller for those who have this problem http://www.MacHangout.com/dwnlds/Glims-UnInstall.dmg.zip
    I'll report the bug and hope they fix it soon, I like Glims.

  • Authorisation checks while calling SAPGUI.

    Hi All,
    I am analysing the authorisations required to call SAP GUI Script.
    Autho obj S_SCR with ACTVT 16, should be present in user's profle to successfully call the SAPGUI Script.
    However auth check will only be active sapgui/user_scripting_per_user to TRUE.we have set the parameter to TRUE and were expecting for SAPGUI Script call to fail because of above missing authorisation.
    However, as the SAPGUI Script was successfully called without access to S_SCR auth obj.
    (Trace shows a check and returns a code RC=12,  for obj S_SCR).
    Can someone provide me inputs on authorisation checks while calling SAPGUI.

    Additional authorization check of S_SCR through parameter : sapgui/user_scripting_per_user is available with below software versions :
    SAP GUI for Windows
    1- 6.40: Patch 22 and following
    2- 7.10 and following
    SAP System
    1 - 6.40: Kernel 6.40 patch level 159, support package SAPKB64020
    2 - 7.00: Kernel 7.00 patch level 87, support package SAPKB70011
    3 - 7.10 and following
    Just check the version of SAP GUI and let us know.

  • How to avoid authorization checks while debugging

    Hi,
    Can anyone let me to know how to avoid authorization checks while debugging
    for a standard transaction?
    -B S B

    Hello BSB,
    To start the debug put /hs will start the system debug.
    Then place the break points aat STATEMENT -- MESSAGE and F8
    So now the system will stop at the point where it throwing the error message change the value of SY-SUBRC to 0 from 4.
    Regards,
    Vasanth

Maybe you are looking for

  • Windows 8.1 error/crash: DRIVER_IRQL_NOT_LESS_OR_EQUAL

    I've been getting a bunch of errors and automatic restarts. This was the most recent one.  https://onedrive.live.com/redir?resid=ABF6FF188301339%21111 here are my dump files. There are only three. I don't know if this link will work I've never used s

  • What license do I need to install QuickTime on educational machines?

    I work as a technician and webmaster for Martin Luther College and we are looking into installing QuickTime onto our institutional machines. I am wondering what permission/licenses we need to have in order to do that along with what restrictions thre

  • Samsung SyncMaster 940MW

    I have just bought a new SyncMaster 940MW tv/Monitor and a new Mac Mini. They work great together and I have set the monitor at 1440x900, which gives the best quality image, but everytime I restart the Mac or wake it from sleep the monitor size reset

  • Multiple audit records per one report refresh

    We use BO XI R3 on Windows with CMS on DB2. I need to create audit reports on BO report usage with following data: username, timestamp, duration, report name for DeskI and WebI reports. I use auditing on DesktopIntelligenceCacheServer and WebIntellig

  • Ipad screen goes dark and unable to power on

    my ipad screen goes dark when charged as usual, then unable to start. What's wrong with it? How to slove the problems?