Brekpoint in bbp_wfl_secur_badi

Hi,
in order to adapt some secure level customer has own logic which has to be implemented in the
bbp_wfl_secur_badi. But the debugger doesn't stop at my breakpoint in the bbp_wfl_secur_badi.
Do have an idea.
Regards
Marco

Hello,
Check note 1397991.
FM BBP_PDH_WFL_SECLEVEL_GET calls this badi. Perhaps you can set a breakpoint in this FM and check if badi is being called.
Kind regards,
Ricardo

Similar Messages

  • BBP_WFL_SECUR_BADI - for POs, Bids, Contracts ? (SRM 5.0)

    We have implemented the BBP_WFL_SECUR_BADI for SC creators to allow them to change a rejected SC.  Now, we would like similar functionality for POs (We are implementing an extended classic scenario), Bids, and Contracts.
    The Docu on this BADI does not indicate whether the BADI is called when an approver (for example) goes in to Process PO... In this case we would want to set their security to None (1). 
    The Docu also makes no mention of it being called at all for Bids  or contracts.
    Has anyone had any luck with this BADI on the above objects ?  And if so, was it able to allow/prevent changes both from within the workflow inbox, and from the Process PO, Process Bid, Process Contract transactions ?
    Many thanks,
    Sue

    Hi,
       I think this  BADI should work for PO also.Pls read the doc again and there you can see the scenario for  PO is also covered wherein the BAdI is called each time the shopping cart screen is opened and whenever a purchase order is ordered and held.
    For more information, also see the SAP Note 502952.
      But this will not work for BIDS/AUCTIONS.
    BR,
    Disha.
    Pls reward points for helpful answers.

  • BBP_WFL_SECUR_BADI triggered twice

    Hi Gurus,
    I am using BADI BBP_WFL_SECUR_BADI to retrigger workflow when user make changes to certain fields in the shopping cart. First I check SCENARIO is initial, then I use function BBP_PD_SC_GETDETAIL to get screen values, then I called function BBP_PROCDOC_RESET_DB_BUFFER_SG to reset database buffer before calling function BBP_PROCDOC_GETDETAIL to get database values.
    I compared values on screen verses values in database and then set NEW_SEC_LEVEL = 2 if retrigger is necessary. Everything works fine except this BADI is triggered twice, once before save and once after save. Second call is made after screen values are committed to the database. So this make my screen value and database value the same when the BADI is triggered for a second time. So approval is never retrigger since there is no difference.
    Appreciate any advice or help, thanks.

    Hi,
       I think this  BADI should work for PO also.Pls read the doc again and there you can see the scenario for  PO is also covered wherein the BAdI is called each time the shopping cart screen is opened and whenever a purchase order is ordered and held.
    For more information, also see the SAP Note 502952.
      But this will not work for BIDS/AUCTIONS.
    BR,
    Disha.
    Pls reward points for helpful answers.

  • BADI [BBP_WFL_SECUR_BADI]

    Hi,
    Would like to ask about this BADI. In the doc it is written that
    [[You use this BAdI to prevent the approval workflow from starting again
    if the manager changes only the cost center of a shopping cart during
    the approval process.]]
    In the BADI only these parameters are available
    ACTUAL_USER
    OBJECT_ID
    OBJECT_TYPE
    GUID
    SCENARIO
    NEW_SEC_LEVEL
    How the system knows which fields the approver has changed?
    Alok

    Hi
    <b>Go through the sample code below.</b>
    method IF_EX_BBP_WFL_SECUR_BADI~SET_SECURITY_LEVEL .
    data: ls_header type BBP_PDS_SC_HEADER_D.
    clear ls_header.
      CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
        EXPORTING
         I_OBJECT_ID             = OBJECT_ID
         I_WITH_ITEMDATA         = 'X'
       IMPORTING
         E_HEADER                = ls_header
    *   TABLES
    *     E_ITEM                  = lt_item
    *     E_ACCOUNT               = lt_account.
    *--- In lt_Account table.. you can find the details of the cost center..
    *--- Incase the shopping cart is changed, that means SC Creator name will
    *--- be  different from Approver (manger) name
    *-- If current user not = user who created cart set security level = 1
    If NOT ACTUAL_USER = ls_header-created_by.
       NEW_SEC_LEVEL = 1.
    Endif.
    endmethod.
    <u>Related BADI Documentation -></u>
    <b>BBP_WFL_SECUR_BADI</b>
    You can use the Business Add-In (BAdI) BBP_WFL_SECUR_BADI to determine whether
    1) A shopping cart can be changed during the approval process
    2) The approval workflow restarts when changes are made to the document
    3) A reviewer/approver can be added or changed
    4) These are the call scenarios (see import parameter SCENARIO).
    You use this BAdI to overwrite the settings for the authorization level of approver. The BAdI is called each time the shopping cart screen is opened and whenever a purchase order is ordered and held.
    For more information, see the SAP Note 502952.
    Example
    You use this BAdI to prevent the approval workflow from starting again if the manager changes only the cost center of a shopping cart during the approval process.
    Standard settings
    Rejection of a shopping cart item causes the approval process to be restarted (dependent on workflow start conditions and authorization level). SAP supplies a BAdI-Implementation that prevents a restart if you set the authorization level of the approver to "not defined".
    The standard system features the following authorization levels, which you can set in user maintenance (transaction SU01) or role maintenance (transaction PFCG) on the Personalization tab. Note that user settings override role settings:
    Not defined Initial setting: Authorization level on delivery.
    No authorization
    Changes to the document are not allowed while it is being approved.
    Low
    Changes can be made to the document. The approval workflow is restarted after every change.
    Medium
    Changes can be made to the document. After every change, the approval workflow either continues or is restarted.
    The system evaluates the start conditions and restarts the workflow if a new approval is required as a result of the change. If this is not the case, the approval workflow continues.
    High
    Changes can be made to the document. The current approval process always continues. A new approval workflow is not started when the document is changed.
    Note: if the approver is assigned several roles, the system uses the highest authorization level.
    Activities
    The following parameters are provided in the SET_SECURITY_LEVEL method:
    Import
    ACTUAL_USER (user whose authorization level is overridden)
    OBJECT_ID (transaction number of the document
    OBJECT_TYPE (business process type)
    GUID (unique document key)
    SCENARIO (scenarios in which the BAdI is called).
    Export
    NEW_SEC_LEVEL (determined authorization level)
    Hope this will help.
    Regards
    - Atul

  • Use of BADI BBP_WFL_SECUR_BADI in SRM 7 PCW

    Hi all,
    We are on SRM 7.0
    We had implemented the BADI BBP_WFL_SECUR_BADI to overwrite the authorization levels(basically BBP_WFL_SECURITY parameter) in SRM 5.0 so that when new approvers are added in SC workflow/SC approval process,they are able to change as well as approve the SC.
    Can someone please tell me how can I achieve the same now in SRM 7 with PCW?\
    Thanks.

    Thanks Saravanan.
    But in SRM 5,we had to do it selectively only for some users at runtime based on table entries in a custom table and also when the approver is the shopping cart creator.
    Considering,how do we do it now in SRM 7 PCWpartuclarky how to change the BBP_WFL_SECURITY at runtime in SRM 7 when the approver actually goes to approve the cart?

  • When SC is partially rejected my manager no workitems are not going to user

    Hi Gurus,
    Below is our requirement:
    Requester (User) creates a SC of multiple line items. Shopping cart is rejected by the manager for a particular line items and rest of the line items was approved, for the rejected line items workitems are not going to requestoru2019s inbox and also e-mail is not triggered to requistioner.(Informing that the SC is partially approved)
    Help us how to implement the above functionality? We have figured out a BADI- BBP_WFL_SECUR_BADI will this BADI suit to our functionality.
    IF then throw some input on this. Or please suggest any OSS note related to this functionality.
    Regards
    Paul

    Hi Daniel,
    Thanks for the quick response.
    WF we used is WS14000133, Last approver is Manager further no approvers.
    For Manger they havenu2019t set (BBP_WFL_SECURITY) any value.
    Regards
    Paul

  • Not able to change SC after partial rejection

    Hello,
    I am in the process of setting up a Shopping cart approval workflow on SRM 7.0 using process-controlled Workflow.
    We have 2 levels in our process schema.
    1 level: Approval with completion
    2 Level: Approval (Line mangager approves if total value exceeds requestors spending limit)
    If a Shopping cart with multiple line items go for approval, and the line manager approves one item and rejects another, the Shopping cart is returned to the requester to either accept the decision or to adjust the shopping cart.
    However, when the requestor receives the work item in his inbox, he has no possibility to change the shopping cart.
    I have checked the BBP_WFL_SECURITY setting for the requestor: Low (Workflow is always restarted when changes are made)
    I have implemented SAP Note 1397705 BBP_WFL_SECUR_BADI: Incorrect security level in default BAdI.
    Is there any experts who can advise what to do?
    I don't want to copy the existing Shopping cart, just to make some small changes, and then send the new SC for approval and delete the old, source SC.
    Best regards
    Per T. Olsen

    Hi,
    reading the note it is clear that in process-controlled workflows it is not possible to change a partially rejected Shopping cart, and have it restart the workflow.
    Is there any workaround to have a restart of the workflow when the requestor changes a partially rejected SC???
    I mean, it would be great to change a Shopping cart based on the Approvers notes, and then resubmit for approval. This way we can keep track of the approval notes. All we can do now is to copy the Shopping cart into a new one make the changes and then go for approval with the new one, but then we lose the approval note history.
    Is tehere anyone out there with a similar problem, who has any ideas or maybe found some workarounds??
    Best regards
    Per T.

  • Shopping cart edit in SRM 5.5

    Hi,
    I am not able to edit a shopping cart in SAP SRM 5.5 Shopping cart is not yet approved. its in the approval stage.
    Regarding security settings the in BBP_WFL_SECURITY its at LOW level.
    Also the BADI is BBP_WFL_SECUR_BADI is active and to deactivate the BADI corresponding note 1397705 is applied.
    However still the option of change of shopping cart is not active.
    I am not able to edit the quantity, price or delivery date of existing shopping cart that is in the approval stage.
    Can you provide thoughts on the above matter?
    Best Regards,
    Tushar

    Hello Tushar,
    Please check wiki below:
    [Changing shopping cart in approval stage|http://wiki.sdn.sap.com/wiki/display/SRM/Changingshoppingcartinapproval+stage]
    Regards.
    Laurent.

  • WCEM:clicking on custom button(Excel Downlaod) giving message "An error occurred; please try again. If the error persists, please contact technical support."

    Hi Expert,
    I need help.
    I created a custom button to download data to an excel sheet. after clicking the button I am getting message
    "An error occurred; please try again. If the error persists, please contact technical support.".
    I tried debugging WCEM, but it is not even reaching that point.
    Your help will be highly appreciated.
    here is the code.
    BitContentview.XHTML
    <wec:commandButton  id="bdtexcel" immediate="true" actionListener="#{cc.vch.DownloadBITData}" type="submit" value="#{i18n['invoices.ui.openitems.printSelected']}"/>
    UI-repository.xml
      <ViewComponent name="BITContentView"  componentHandlerClassName="com.cpr.cprwec.app.comm.module.ebpp.ui.handler.impl.BITDetailViewVCHandler"/>
    BITDetailViewVCHnadler.java
    package com.cpr.cprwec.app.comm.module.ebpp.ui.handler.impl;
    import com.cpr.cprwec.app.comm.module.ebpp.backendobject.interf.EbppBackend;
    import java.io.IOException;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.List;
    import javax.faces.context.FacesContext;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ActionEvent;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import com.cpr.cprwec.app.comm.module.ebpp.modulemgmt.impl.EbppModuleAccessImpl;
    import com.cpr.cprwec.app.comm.module.ebpp.modulemgmt.interf.EbppModuleAccess;
    import com.cpr.cprwec.app.comm.module.ebpp.ui.dto.impl.DisputeDataDTOImpl;
    import com.cpr.cprwec.app.comm.module.ebpp.ui.dto.impl.OpenItemDTOImpl;
    import com.cpr.cprwec.app.comm.module.ebpp.ui.dto.interf.DisputeDataDTO;
    import com.cpr.cprwec.app.comm.module.ebpp.ui.dto.interf.OpenItemDTO;
    import com.cpr.cprwec.app.comm.module.ebpp.ui.dto.impl.BITDataDTOImpl;
    import com.cpr.cprwec.app.comm.module.ebpp.ui.dto.interf.BITDataDTO;
    import com.cpr.cprwec.app.comm.module.ebpp.ui.dto.impl.BITDetailDTOImpl;
    import com.cpr.cprwec.app.comm.module.ebpp.ui.dto.interf.BITDetailDTO;
    import com.sap.wec.app.common.module.common.attachment.businessobject.interf.Attachment;
    import com.sap.wec.tc.core.backend.sp.jco.JCoConnection;
    import com.sap.wec.tc.core.businessobject.BusinessObjectException;
    import com.sap.wec.tc.core.common.exceptions.ApplicationBaseRuntimeException;
    import com.sap.wec.tc.core.common.logging.WCFLocation;
    import com.sap.wec.tc.core.common.searching.businessobject.impl.GenericSearch;
    import com.sap.wec.tc.core.common.searching.businessobject.interf.GenericSearchReturnResultData;
    import com.sap.wec.tc.core.common.util.GenericFactory;
    import com.sap.wec.tc.core.common.util.Message;
    import com.sap.wec.tc.core.common.util.MessageList;
    import com.sap.wec.tc.core.common.util.table.Table;
    import com.sap.wec.tc.core.common.util.table.TableRow;
    import com.sap.wec.tc.core.modulemgmt.ForeignModuleAccess;
    import com.sap.wec.tc.core.modulemgmt.ModuleAccess;
    import com.sap.wec.tc.core.modulemgmt.exceptions.ModuleInactiveException;
    import com.sap.wec.tc.core.modulemgmt.exceptions.ModuleLifecycleException;
    import com.sap.wec.tc.core.runtime.WecFrameworkRuntime;
    import com.sap.wec.tc.core.runtime.WecSession;
    import com.sap.wec.tc.core.runtime.jsf.WecFrameworkRuntimeJSF;
    import com.sap.wec.tc.core.runtime.jsf.composition.PageManagerBean;
    import com.sap.wec.tc.core.runtime.navigation.NavigationCondition;
    import com.sap.wec.tc.core.ui.composition.menu.MenuManager;
    import com.sap.wec.tc.core.ui.composition.menu.MenuMetadataException;
    import com.sap.wec.tc.core.ui.vc.BuildTime;
    import com.sap.wec.tc.core.ui.vc.NavigationParameterBinding;
    import com.sap.wec.tc.core.ui.vc.RequestParameterBinding;
    import com.sap.wec.tc.core.ui.vc.impl.ViewComponentHandlerBaseImpl;
    import com.cpr.cprwec.app.comm.module.ebpp.businessobject.interf.BIT;
    import com.cpr.cprwec.app.comm.module.ebpp.businessobject.impl.BITImpl;
    public class BITDetailViewVCHandler extends
            ViewComponentHandlerBaseImpl<EbppModuleAccess> {
        protected static final WCFLocation LOCATION = WCFLocation
                .getInstance(BITDetailViewVCHandler.class.getName());
        public BITDataDTO bitDataDTO;
        public BITDetailDTO bitDetailDTO;
        public List<BITDataDTO> BITDataDTOList;
        public List<BITDetailDTO> BITDetailDTOList;
        public boolean noBITData;
        public boolean noBITDetail;
        public boolean renderPanel = true;
        public boolean isDownloadBITData;
        public boolean isDownloadBITDetail;
        public boolean downloadStarted=false;
        public boolean BITFound =false;
        public boolean isBITFound() {
            return BITFound;
        public void setDownloadStarted( boolean downloadStarted ){
            this.downloadStarted = downloadStarted;
        public boolean getDownloadStarted(){
            return this.downloadStarted;
        public void setBITFound(boolean BITFound) {
            this.BITFound = BITFound;
        public String getObjectID() {
            return objectID;
        public void setObjectID(String objectID) {
            this.objectID = objectID;
        public List<BITDataDTO> getBITDataDTOList() {
            return BITDataDTOList;
        public List<BITDetailDTO> getBITDetailDTOList() {
            return BITDetailDTOList;
        public Boolean getNoBITData() {
            return noBITData;
        public Boolean getNoBITDetail() {
            return noBITDetail;
        public Boolean getRenderPanel() {
            return renderPanel;
        private static final int DEFAULT_BUFFER_SIZE = 1024000;
        public Attachment attachmentData;
        public Attachment getAttachmentData() {
            return attachmentData;
        @RequestParameterBinding(maxLength = 1024)
        protected String objectID;
        @BuildTime
        public String processBuildTime() throws BusinessObjectException {
            BIT BIT = null;
            noBITData = noBITDetail = false;
            renderPanel = true;
            if (isLoggedIn()) {
                if ( isDownloadBITData == true ){
                    this.downloadBITDataExcel();
                else {
                this.getModuleAccess().getBITBO().clearMessages();
                BIT = this.moduleAccess.getBITBO().getBITFromBackend(objectID);
                BITDataDTOList = BIT.getBITDataDTOList();
                BITDetailDTOList = BIT.getBITDetailDTOList();
                MessageList objectData = this.getModuleAccess().getBITBO()
                        .getMessageList();
                if (objectData.size() > 0) {
                    noBITData = noBITDetail = true;
                    renderPanel = false;
                    this.addMessageList(objectData);
            return checkLoginCondition();
        private boolean isLoggedIn() {
            return checkLoginCondition() == null;
        private String checkLoginCondition() {
            NavigationCondition navCondition = getNavigationCondition("login");
            if (!navCondition.isFullfiled()) {
                navCondition.addToNavigationStack();
                return navCondition.getOutcome();
            return null;
        public String downloadBITData(){
            downloadStarted = true;
            isDownloadBITData = true;
            downloadBITDataExcel();
            return checkLoginCondition();
        public void downloadBITDataExcel() {
        //    dummyDebug("downloadBITDataExcel", BITDataDTOList.size(), "", "" );
            if (BITDataDTOList.size() > 0) {
                try {
                    attachmentData = this.getModuleAccess().getDownloadBO()
                            .getBITDataExcel(BITDataDTOList);
                    if (attachmentData != null) {
                        FacesContext faces = FacesContext.getCurrentInstance();
                        HttpServletResponse response = (HttpServletResponse) faces
                                .getExternalContext().getResponse();
                        response.reset();
                        response.setContentType(attachmentData
                                .getAttachmentMimeType());
                        response.setContentLength(attachmentData
                                .getAttachmentContent().length);
                        response.setHeader("Content-disposition",
                                "attachment;filename="
                                        + attachmentData.getAttachmentName());
                        response.setBufferSize(DEFAULT_BUFFER_SIZE);
                        ServletOutputStream out;
                        try {
                            out = response.getOutputStream();
                            out.write(attachmentData.getAttachmentContent());
                            out.flush();
                            faces.responseComplete();
                        } catch (IOException e) {
                            throw new ApplicationBaseRuntimeException(
                                    "Problem opening file", e);
                        } finally {
                            attachmentData = null;
                } catch (BusinessObjectException e) {
                    e.printStackTrace();
            isDownloadBITData = false;

    Thanks Hamendra for checking the issue.
    I am setting up breakpoints in WCEM, tab JAVA EE then from menu RUN->Toggle brekpoints and then debug configuration.
    the breakpoints are in several places in  handler class BITDetailviewVCHandler class including method  downloadBITData.
    this method I am calling from BitContentview.XHTML
    <wec:commandButton  id="bdtexcel" immediate="true" actionListener="#{cc.vch.DownloadBITData}" type="submit" value="#{i18n['invoices.ui.openitems.printSelected']}"/>
    When the BIT page is loading the control stops at the breakpoint.
    but it is not stopping there  when i click the 'Excel Download' button.
    How do I get the log file. I am very new to WCEM, please guide me.
    I tried to debug the UI using Google chrome. it is giving me the following error.
    POST https://<>/<>/<>/<>HomePage.jsf?wec-appid=<>MAINAPP6&wec-locale=en_US 500 (Internal Server Error)
    when I expand the node
    c.event.trigger:<>/<>/javax.faces.resource/sap/comp.theme/templates/jquery/lib/jquery-1.4.2.min.js.jsf:54
    c.event.trigger:<>/<>/javax.faces.resource/sap/comp.theme/templates/jquery/lib/jquery-1.4.2.min.js.jsf:54
    c.event.trigger:<>/<>/javax.faces.resource/sap/comp.theme/templates/jquery/lib/jquery-1.4.2.min.js.jsf:66
    (anonymous function):<>/<>/javax.faces.resource/sap/comp.theme/templates/jquery/lib/jquery-1.4.2.min.js.jsf:30
    c.extend.each:<>/<>/javax.faces.resource/sap/comp.theme/templates/jquery/lib/jquery-1.4.2.min.js.jsf:24 c.fn.c.each:<>/<>/javax.faces.resource/sap/comp.theme/templates/jquery/lib/jquery-1.4.2.min.js.jsf:66 c.fn.extend.trigger:<>/<>/javax.faces.resource/<>dev/comp.theme/templates/jquery/js/commandButton.js.jsf:31
    com.sap.wec.commandButton.submitForm:<>/<>/main/<>HomePage.jsf?wec-appid=<>MAINAPP6&objectID=500000233&page=D61CFFF8E75D48A1B348F315D209EFF9&wec-locale=en_US:48 onclick
    Navigated to https://wsapdjd803.<>.ca:<>/<>/main/<>HomePage.jsf?wec-appid=<>MAINAPP6&wec-locale=en_US
    Seems to be it is failing somewhere commandButton-related JavaScript functions
    Thanks
    Subassish

  • IMPORT to memory id with field exit

    hi everyone, i need your help, i'm import to memory/export with field exit, I must capture a data of ik11, from table IMRG... this is the code:
    FUNCTION FIELD_EXIT_IMRC_MDOCM.
       DATA: V_MDOC LIKE IMRG-MDOCM.
    EXPORT V_MDOC TO MEMORY ID 'DOC'.
    ENDFUNCTION.
    And the field exit where capture the data and import to memory:
    FUNCTION FIELD_EXIT_IMRC_CNTRC.
        GET PARAMETER ID 'IPT' FIELD V_POINT.
          IMPORT V_MDOC FROM MEMORY ID 'DOC'.
        MESSAGE E001(ZEXITS_PRUEBAS) WITH V_MDOC.
    ENDFUNCTION.
    I proof with message, 'cause i can't use a break, really?!!!!
    Please help me!
    Thanks.!

    Hi Jimena,
    I remember a field exit being connected to a data element and program screen (dynpro). The field exit is processed when the screen field is processed by dynpro processor. But I do not see the screen field's value being exported to memory.
    The reason you can't put brekpoints is that actually the code is triggered by dynpro processor not abap runtime environment.
    If you want to proove thecode beeing executed, you can write info to file.
    SAP does not actively support field exits since a couple of releases. Are you sure this still works?
    You could try to find a BADI: Use the method I found at SDN some time ago:
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    Regards,
    Clemens

  • ICCMP_BP_CP event EH_ONSAVE

    HI Experts,
    I redifined event eh_onsave of view BupaConatactPersonCreate of the component iccmp_bp_cp .
    But when I am putting externam brekpoint on my redefined method , debuggers is not getting hit.
    But when I putting breakpoint on super method , debugger is going there.
    While redifing I am calling Super method too.
    Please help me , why my redefined eh_onsave is not getting hit.
    Thanks & Regards,
    Akhilesh Bhagat.

    Hi Akhilesh,
    Please check whether the enhancement set and client system ID has been maintained correctly in table view BSPWDV_EHSET_ASG.
    If everything maintained correctly then redefine the do_handle_event also then keep break in redefined method and check.
    Regards,
    Dharmakasi.

  • Breakpoints with Solaris 2.5.1

    Hi !
    Please, could anybody tell me how one can program brekpoints in Solaris 2.5.1, using Watchpoint ASR register in UltraSparc I architecture ?
    Watchpoint ASR registers are used for watching data acces, so, in more recent Solaris releases (2.6 and more) procfs file system provides watchpoint features enabling breakpoints. This is done by using WA_EXEC watch type in PCWATCH command, in prwatch struct of procfs.h. So, it seems possible !
    Thanks a lot.
    Alberto.

    Hi,
    The NI-488.2 for Solaris, v2.2 requires Solaris 2.5.1 or above, and the NI-488.2 for Solaris, v2.3 requires Solaris 2.6 and above. You will see these messages when you start up the installers. You are right that this information should be more clearly available at the website, at the download pages and perhaps in KnowledgeBase, too.

  • Invoice BUS2205 Workflow

    All-
    We are working on a SRM 5.0 (Classic Scenario Implementation). We have implemented the 2 step Invoice workflow along with other workflows. The business requirement is as follows:
    1.) Requester creates invoice
    2.)Special approver changes/Updates accounting data and approves.
    <b>3.) Once approved, the invoice Work item has to goto the next approver for approval without re-triggering the approval</b>
    <u><b>Problem</b></u>
    1.) Requester creates invoice
    2.) Special Approver changes/updates accounting data and approves.
    <b>3.) Once approved, the work item is again in the special approvers inbox with a notification sent to the requester (No Work item with accept changes button is sent to the requester, like in a SHC) that the invoice has been changed.</b>
    To tackle this problem, we are using the BADI BBP_WFL_SECUR_BADI and flipping the authorization level of the user from "Medium" to "High" when accounting data has been changed. Even after doing so, the workflow is retriggering and the work item is sitting again in the special approvers inbox.
    We also found out that the Workflow is not even hitting the BBP_WFL_SECUR_BADI.
    Question?
    1.) Does anybody know if this BADI can also be used for Business Object BUS2205. I know that we have used this BADI for our past clients for Confirmations but i am not sure if it can be used for BUS2205 Invoice?
    2.) Is there any setting that needs to be accomplished to stop this behaviour? How can we avoid this behaviour?
    Thanks,
    Sundeep

    Hi
    <b>I don't think the BADI - BBP_WFL_SECUR_BADI  will help in solving this issue.</b>
    Try this ->
    <u>You can use the AUTHORISE_FOR_CHANGE method of the BBP_CHNG_AGNT_ALLOW BAdI to prevent approvers from being changed.</u>
    If the workflow is not working as expected, see SAP Note 322526 Analysis for workflow problems.
    I guess, that the workflow conditions are not properly configured or this might be due to some OSS note missing in the system.
    <u>Some related OSS notes: -</u>
    <b>975852 No workflow is started after you have entered invoices
    1039864 INVOICE: Sometimes no Workflows started
    986391 Some objects have no workflow
    Note 1033007 - Requester is first approver during BAdI restart
    973915 Incorrect approvers during restart of BADI workflow
    1015915 Wrong restarts in some cases
    942115 Invoice IDocs are not sent
    889693 New exception category (Invoice entry overdue)
    710787 EBP: Message control: Additional messages (2)
    625344 Status change not possible because follow-on docs exist
    699300 EBP-INV purchaser as approver of his invoice
    373675 Problems with invoice generation (check list)
    362904 Completeness status is not in WF Container
    Note 942089 - 'Accept changes' creates restart</b>
    Please refer to these links.
    <u>http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/5a/af5f1185d011d2b42d006094b92d37/frameset.htm</u>
    Incase it does not help, please raise an OSS message with SAP.
    Regards
    - Atul

  • FA approver changes should not lead the cart to buyer

    Hi all,
    FA(Financial approver) changes the Product category, cart should not go back to buyers and if there is the change in Purchase types then  it should redetermine approvals based on new purchase types.
    In our current scenario, if FA approver changes the product category then it leads the cart to buyer for sourcing.so now the requirement is if FA approver changes the product category it should not leads to buyer.
    Please suggest your thoughts to proceed.
    thanks,
    sibi.

    Hi,
    Please check the BBP_WFL_SECURITY personalization key in personalization tab of PFCG or SU01 transaction.
    BBP_WFL_SECUR_BADI is also available.
    No authorization
    Changes to the document are not allowed while it is being approved.
    Low
    Changes can be made to the document. The approval workflow is restarted after every change.
    Medium
    Changes can be made to the document. After every change, the approval workflow either continues or is restarted.
    The system evaluates the start conditions and restarts the workflow if a new approval is required as a result of the change. If this is not the case, the approval workflow continues.
    High
    Changes can be made to the document. The current approval process always continues. A new approval workflow is not started when the document is changed.
    Regards,
    Masa

  • WS14500015 - changes in second approval level

    Hi all,
    I'm fine tuning our two step item level approval workflow based on the WS14500015 standard flow. I've come across a problem which seems to be quite commonly discussed here, but I've also gotten the feeling that it may result in a catch-22 situation.
    Scenario:
    We're using a custom model, in which approvers are fetched based on the criteria for the items in the basket from a table and are assigned approval objects. Second level approval is based on product category, where approvers are assigned approval objects only if they are found for the particular category.
    The issue arises when the second level approver alters the cart above the limits of the manager who approved in the initial level. We would like this to trigger a new chain of approvals, in which the manager responsible for the new value (or cost center) has to process the new cart from step 1, but as of now the cart is automatically approved following acceptance from the initial agent.
    In general, it would be best to just not let the second level approver alter the items since he or she is not really authorized to do so, but I can't see a way of controlling this, since we can't restrict the customer from using the same manager as first and second level approver (in cases where alteration rights based on security level is concerned).
    I've debugged the code, and confirmed that the objects are updated as expected, but the cart is still completely approved after a second level change.
    Is it in scope to allow interlevel cart changes? Can I use the BBP_WFL_SECUR_BADI to change security level according to current approval step?
    I would greatly appreciate a small summary of what is possible and what is not possible regarding this general scenario, and the recommended approach (if such exists).
    Many thanks in advance!

    as in all own implementations you should copy the sap workflow to an own one, like Siddharth proposed. I didn't try this, i never needed second level approval so take what i say with a grain of salt.  Copy the task that deals with the approval (the one showed in the UWL of the first manager) for the next approval (second manager). It should be then inserted in the workflow after the first approval. Between the original approval task and the second one you should insert a step where you call your own abap class to set the new processor of the workflow - copy the one used by SAP in the first approver task and remove what you don't need, modify the stuff that you could use.
    You might be able to get the approval in the approval application using the BADI proposed by Siddharth but I am not sure using that BADI will create a UWL entry for the second approver.
    @SAP: a propos the class used for workflow task methods--> stop creating final classes !

Maybe you are looking for

  • XML file in the Application server

    Hi all I am transferring the XML data in to application server but it is not transferring complete data . why it is not transferring complete data please tell me. Points will  be rewarded . Thanks. Prasad.

  • Virtual KF in a Query

    Hi Guys, I have some questions about virtual key figures/Characteristics . Could anyone help me, please? In a query you can change the columns and delete some of those . If you do that the "query" has to recalculate the value of key figure column bec

  • Can we call a transaction in background and get the list in report?

    I want to call the standard T-Code MC.9 from a report in background using Call Transaction and get the list in the report.There are some enhancement done to its base program RMCB0300 due to which if I use Submit ... exporting to memory and then impor

  • IDisk won't unmount / eject

    Since doing an Erase+Install of Leopard, I've been unable to cleanly eject/unmount my iDisk. Drag it to the trash, the Trash shows the Eject icon, but nothing happens. What I have to do is open Activity Monitor and quit the "webdav" process. Anyone e

  • How to assign search help using ovs for select options for ALV in web dynpr

    how to assign search help using ovs for select options for ALV in web dynpro