Customer Exit not called upon in the Query...

Dear Guys,
I am working on the "Slow Moving Item(MC46)" report in BW.We need "No.of Days Not consumed" in the Input selection screen in the BW Query.We tried creating a Formula variable upon "Calday" with Data type "Numeric" and then a Customer Exit is called to the Subtract the "No. of days not consumed" from "Today's date(System Date)" and gives the result as "Earlier date" .
(Eg: Today's Date : 04-04-08
       No. of Days Consumed : 30
       ZSlow_Mov_Date          : 03-03-08).
But for some reason the Customer exit is not called upon when we execute the Query (RSRT-->Execute + Debug option)..Can someone take time to throw some light on this,plz?
Manythanks
Arun

Hello Arun,  
In the User Exit Code, please check at what I_STEP value the variable exit is called.
See this link for more info about I_STEP
[Dependencies for Variables of Type Customer Exit |http://help.sap.com/saphelp_nw04/helpdata/en/1d/ca10d858c2e949ba4a152c44f8128a/frameset.htm]
Thanks
[Chandran|http://chandranonline.blogspot.com/]

Similar Messages

  • Why customer exit not call  ?

    i had imp customer exit 'MBCF0007'     use  CMOD
    When  i use Tcode 'MB21'  , it  work  ,but when  I use  "CALL TRANSACTION 'MB21' USING TABLE_BDC" in abap programm, it does not  work.
    why?
    pls  help
    thx
    Edited by: yudong Geng on Dec 11, 2008 4:16 PM

    Look at this OSS [ Note 899033 - Problems with the MBCF0007 enhancement|https://service.sap.com/sap/support/notes/899033]
    1. The user exit is not executed when a batch input session is running.
    Regards

  • How to log in with my old Apple account? I forgot my pass and I did change my apple ID before canceling first?? I am from Croatia so did folow al the discussion and the to resolve the problem but no luck. Can not call from Croatia the Apple help desk

    How to log in with my old Apple account? I forgot my pass and I did change my apple ID before canceling first?? I am from Croatia so did folow al the discussion and the to resolve the problem but no luck. Can not call from Croatia the Apple help desk.i did try all the options but I can not find the phone number to call from Croatia,
    I can not change my Apple ID to the old mail (not possible!)
    The old mail don't accept the new password..
    I can not delete the Icloud all the time asking my the password of the old mail!
    I realy need help

    You can not merge accounts.
    Apps are tied to the Apple ID used to download them, you can not transfer them.

  • Key Figures not showing up in the Query disigner

    I added a key figure to a characteristic as an
    attribute, but it is not showing up in the Query designer
    any idea why
    Raj

    Hi RajShekhar,
    This KF that you have added as an attribute to a char will not be available in the Key Figure section. Open the dimensions and find the char for which you created this attribute. Open up the attributes under it and you should find the KF. If you need to use this KF value in a calculation, then you will need to create a formula variable to pull in its value.
    Hope this helps...

  • Server does not return metadata, check the query.

    Hi,
    I need your help in using report designer of Bex, The issue is when we try to open a query in the report designer we get a Error Server does not return metadata, check the query.
    Thanks in Advance
    Kind Regards
    Phutane

    Hi,
    All the yellow and red lights will have an effect on query performance or execution.  Read up on them as there are too many to explain via this forum.
    There is a document on SDN on query performance.  Some useful links:
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9f4a452b-0301-0010-8ca6-ef25a095834a]
    [http://help.sap.com/saphelp_nw70/helpdata/en/41/b987eb1443534ba78a793f4beed9d5/frameset.htm]
    [http://help.sap.com/saphelp_nw70/helpdata/en/d9/31363dc992752de10000000a114084/frameset.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/2e/caceae8dd08e48a63c2da60c8ffa5e/frameset.htm]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0501cb9-d51c-2a10-239c-c141a22c45a6]
    Cheers...

  • Custom Widget not calling cpSetValue in Runtime mode

    Hi,
    for some reason , Captivate Runtime is not calling cpSetValue throught the ExternalInterface... so this is really problematic as i need to retreive the movie_handle and the variable_handle.
    is anyone already experienced this problem?
    Thank you!
    E.

    Hi, thank you for helping me.
    So whats happend here is based on the documentation and other widget example, captivate at runtime is supposed to call cpSetValue using the ExternalInterface Call.
    The problem is, not callBack is been called in runtime... Work well in Edit and Stage Mode thought.
    if(ExternalInterface.available == true)
              Todo : Register all the ExternalInterface functions
              ExternalInterface.addCallback( "isStatic" , isStatic );
              ExternalInterface.addCallback( "getInspectorParameters" , getInspectorParameters );
              ExternalInterface.addCallback( "setInspectorParameters" , setInspectorParameters );
              ExternalInterface.addCallback( "setParameters" , setParameters );
              ExternalInterface.addCallback( "cpSetValue" , cpSetValue );
              ExternalInterface.addCallback( "getEditModeWidth", getEditModeWidth);
              ExternalInterface.addCallback( "getEditModeHeight", getEditModeHeight);
              ExternalInterface.addCallback( "IsReadyForSnapShot", IsReadyForSnapShot);
              ExternalInterface.addCallback( "getListOfUsedInternalResources", getListOfUsedInternalResources);
              ExternalInterface.addCallback( "getListOfUsedExternalResources", getListOfUsedExternalResources);
              ExternalInterface.addCallback( "SetExternalResources", SetExternalResources);
              ExternalInterface.addCallback( "SetInternalResources", SetInternalResources);
              ExternalInterface.addCallback( "GetWidgetAPIVersion", GetWidgetAPIVersion);
              ExternalInterface.addCallback( "SetStageModeSize", SetStageModeSize);
              ExternalInterface.addCallback( "SetCaptivateVersion", SetCaptivateVersion);
              ExternalInterface.addCallback( "SetLanguage", SetLanguage);
    i have my functions defined properly and as stated previously its working in Edit and Stage Mode.
    Thank you!
    E.

  • Customer exit for calling a database a table

    Hi Friends,
    I want to write a customer exit code for customer exit variable which should call a database table which i have created. The database table  consist of two fileld username and the material value assign to that user.
    and when a  perticuler user execute a query using this customer exit variable the customer exit code will  check the user who is log in and will get filled by value assigned to it in the database table.
    i am new to the customer exit can any one send me the sample code for this.
    Points will be assign to helpful answer.
    Regards,
    Deepak

    Hay Diogo,
    here is the code.even if i put I_step = 2 i can not see any value in the variable as default and when i try to select it.i can not see any value in selection screen and i see message that You must have authorization for at least one characteristic value for the characteristic PLD_MPLAN.
    Database table created is ZPLDVALUES with following entries
      USERNAME     PLD_MPLAN
      TEST_DW03       000000000000101628            not working  when no I_Step in coad
      TEST_DW04       000000000000101628
      TEST_DW15       000000000000101628
    FUNCTION zpldvarexit_pld_mplan_u01.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_VNAM) TYPE  RSZGLOBV-VNAM
    *"     VALUE(I_VARTYP) TYPE  RSZGLOBV-VARTYP
    *"     VALUE(I_IOBJNM) TYPE  RSZGLOBV-IOBJNM
    *"     VALUE(I_S_COB_PRO) TYPE  RSD_S_COB_PRO
    *"     VALUE(I_S_RKB1D) TYPE  RSR_S_RKB1D
    *"     VALUE(I_PERIV) TYPE  RRO01_S_RKB1F-PERIV
    *"     VALUE(I_T_VAR_RANGE) TYPE  RRS0_T_VAR_RANGE
    *"     VALUE(I_STEP) TYPE  I DEFAULT 0
    *"  EXPORTING
    *"     VALUE(E_T_RANGE) TYPE  RSR_T_RANGESID
    *"     VALUE(E_MEEHT) TYPE  RSZGLOBV-MEEHT
    *"     VALUE(E_MEFAC) TYPE  RSZGLOBV-MEFAC
    *"     VALUE(E_WAERS) TYPE  RSZGLOBV-WAERS
    *"     VALUE(E_WHFAC) TYPE  RSZGLOBV-WHFAC
    *"  CHANGING
    *"     VALUE(C_S_CUSTOMER) TYPE  RRO04_S_CUSTOMER OPTIONAL
      "DATA material LIKE zpldvalue-pld_mplan.
      DATA: l_s_range TYPE rs_s_range,
            l_s_var_range LIKE LINE OF i_t_var_range.
    *if i_step = 2.
      DATA: BEGIN OF usevalue OCCURS 0,
            username LIKE zpldvalues-username,
            pld_mplan LIKE zpldvalues-pld_mplan,
            END OF usevalue.
       " Variable nach Selektionsbild bearbeiten
        SELECT pld_mplan FROM zpldvalues
        INTO  usevalue-pld_mplan
        WHERE username = sy-uname.
        ENDSELECT.
        refresh e_t_range.
        CLEAR l_s_range.            " Range-Tabelle füllen
        l_s_range-low  =  usevalue-pld_mplan.
        l_s_range-sign = 'I'.
        l_s_range-opt  = 'EQ'.
        APPEND l_s_range TO e_t_range.
    *endif.
    ENDFUNCTION.
    -Deepak
    Edited by: Deepak warbhe on Sep 2, 2008 5:18 PM
    Edited by: Deepak warbhe on Sep 2, 2008 5:28 PM

  • Customer Exit not working - need help in diagnosing

    Hi all,
    I need some help in identifying a Customer Exit issue in our QA system. 
    Currently, in Dev I have a customer exit defined and everything works perfectly.  However, the same code which was migrated to QA works fine when testing at the FM level but not when executing at the report level.  I tried inserting a breakpoint and executing the report, however the breakpoint never populates.  There seems to be a communication issue here.  When executing the report the variable does not call the customer exit FM/program. 
    How do you diagnose this problem?  Is this a BASIS issue?
    I tried testing the query in RSRT and I run into the same issue of nothing happening.  I tried deleting the variable and recreating with only the same results. 
    Is there a config or setting that is related to the customer exit functionality within BW?
    Also, when transporting the customer exit code I did not migrate the FM along with the Include.  Is there a proper way to migrate this?
    Thanks,
    DC

    Thanks for your response.
    I did double check the variable name to be exact.  I think the issue maybe related to the project not being activated.  I will update as I diagnose the problem.
    Thanks

  • Master data is not getting displayed in the Query Designer

    Hi,
    I have a DSO in which I have an InfoObject called Emp No. in the Data Field.
    The Emp.No is being maintained as master with (Emp Name, Address, Telephone No, DOB) as attributes.
    I have loaded the data in the Emp. No. master. Then tried loading the transaction data in DSO.
    The Emp.No is there in the DSO active data, but in the query designer its not getting displayed.
    Hope its clear.
    Please help.
    Thanks

    Hi,
    I have brought the Emp. No. in the Key Field and also have activate the master data again.
    Yet my Query Designer doesn't have the Emp. No.
    I have done a full load for both Master and Transaction.
    Please advice me what the other alternative.
    Thanks

  • Custom exit or badi for changing the user fields in operation of process order

    Hi all
        I want to find a exit or badi to set default value to the user fields in operation of process order when COR1.
        I have tried exit 'PPCO0001', but this exit is call after commit work, so I can not change any thing
        I also tried to use badi 'workorder_update', 'before_update', but all parameters in this BADI are importing, can't be changed, I've tried to change it and then program dump.
        Do you have any solution for this question?
    Thanks

    Do a Implicit Enhancement at the PBO of this subscreen.

  • Customer Exit Variable and Condition in a Query (Sequence of Execution)

    Hi,
      For a query i defined a Customer exit variable and a condition....
    Which will first execute...wether it is a  Variable and then Condition or vise versa
    Is there any way we can control sequence of execution
    My requirment is first to execute the condition and the variable how can i control this
    Thanks

    Hi
    In your customer exit you will be having a field by name I_STEP which will help you to handle the time of execution of the variable.
    Assign points if helpful
    Prathish

  • How to identify what customer exit variables are used in which query?

    Hi all,
    When i happened to check the CMOD transaction code i can find a list of customer exits are used. But i want to know what are those customer exist are used in which query? can anyone let me know the procedure of identifying it.
    Thanks a lot
    Pooja

    hii pooja
    check the foll links
    Very Urgent: Customer Exit Variable
    customer exit variable
    MIssing Authorisation for customer exit variable query
    Authorization variable or customer exit variables
    if it is helpful assign points
    thanks.

  • Contract Account Custom view not called when replicating thru CRM

    Hi All,
    We have modified the Contract account screen through BDT.
    Functionality -
    We have a custom table, that needs to be updated during contract account creation when reference contract account is used for creation.
    The update is successful when creating contract account via ISU, but when creating thru CRM, the custom view is not getting triggerred.
    I have checked in debugging as well, the process flow triggered via CRM is different than that from ISU. When Business Agreement is created via CRM, neither of PAI / PBO event is triggerred defined for the custom view created in BDT.
    When we have the custom field passed from CRM, it is getting updated correctly, but if the field is not passed from CRM view and we are updating using code logic in BDT modules, it is not successful.
    Could you please help in case I have missed on some config or is there any alternate way to get the custom requirement achieved.
    The requirement is to have custom table updated in both Create and Change mode.
    Thanks in Advance!!
    Regards,
    Rajesh Popat

    Hi Siva,
    Contract Account was replicating correctly for the ISU system. The issue was, we want to update some custom fields that are not passed as a part of CRM data, but using BDT and some validations, we were trying to populate that field and also update the custom table and link the same to sub screen attached for the contract account screen.
    The issues is now resolved. The custom view is getting triggered through CRM. There was some config missing for the BDT.
    When using BDT, only the PAI module gets called for all the views defined for the BDT.
    Thanks!!
    Regards,
    Rajesh Popat

  • Custom field not getting populated in the "Show Results where" drop down

    Hi all,
    In appointment detail page by clicking on Add button on the user related information section , it takes us to a search layout showing the list of available users.
    Here we have to filter the user's based on a custom field which has already been created in the user object. But I am not able to add the custom field in the "Show results where" drop down for which the search has to be done.
    It is getting reflected in the normal search layouts.So Can any one tell me why the change is not getting reflected in the user related info search layout?

    I tested your use case and you are correct. I would recommend that you submit a service request to CRM On Demand customer care in reference to this issue.

  • How to Include in Customer Exit to select max of the date

    Hi,
    Every Employee will have a health Insurance Policy which is valid for 6 six months.
    From Source System i am getting
    Employee and his policy Start date,Based on Policy Start Date in Transformations i am calculacting the Policy Expiry date (Policy Start date + 6 Months)(Ex:If Policy Start Date is 01/Nov/2007 then Exp date is 01/May/2008)
    My report is to Show employees who doesn't had a valid policy on the day report executed (Sys Date)
    For that i created a Customer Exit Variable on Policy Expiry Date
    (If Policy Expiry date is < Sys Date)
    IF i_step = 2.
          CLEAR l_s_range.
          l_s_range-low = sy-datum.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'LT'.
          APPEND l_s_range TO e_t_range.
        ENDIF.
    Problem:
    Data in the cube
    Employee--Policy Start date-Policy Expiry Date
    1--01/01/2008-----30/06/2008
    1--01/07/2007-----31/12/2007
    1--01/01/2007-----30/06/2007
    When i execute the report i should expect the Emp 1 shouldn't be displayed as he had valid policy which is going to expir in June 2008....but the above exit is displaying the below 2 records
    Can i include any changes in the above exit that will select the Max Policy Expire date and then it will check with the Sys Date
    Please update me on how to proceed
    Thanks

    Hi thomos,
    Thanks for the update
    Bit Confused.....could you please explain me
    "Your variable (intervall) should be based on the Policy Expiry Date
    l_s_range-low = '10000101'.
    l_s_range-high = 'sy-datum - 1.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'
    How this is going to solve my problem....
    As i got 3 records on a employee one of which got expiry date greater tha sys date
    Thans

Maybe you are looking for

  • Failed to initialize the application 'soa-infra' for SOA suite 11g

    Hello experts! Having followed the steps in http://www.packtpub.com/article/installation-configuration-oracle-soa-suite-11g-1, upon starting the cmd scripts, I received among others the following error message: <BEA-149205> <Failed to initialize the

  • Is it possible that BAPI_PO_CHANGE generates no messages in the background?

    Hello, I want to use BAPI_PO_CHANGE to force a new agreements condition calculation. I run it in the background and in sm37, I have some messages. When these messages are error messages (type E), the background job stops, and I don't want it to stop.

  • Bridge Disconnect​s

    Hi, I have a new Playbook and it is connected to my Blackberry Tour 9630, which is running v 5.0.0.975.  The carrier is Verizon. I am curious to see if anyone else is having issues with the bridge connection dropping.  Sometimes it drops when a new m

  • Why can someone use same icloud e-mail address as mine?

    Why can someone use same icloud e-mail address as mine? I Have found that the new facebook account has been set up in someone's name using my iclound e-mail.

  • UPK documents with only 1 screen shot?

    We are publishing UPK-developed documents for an upcoming training. In publishing any/all of these documents (Business Process Document, Instructor Manual, Job Aid, Test Document, Training Guide), we've noticed that the only screen shot that appears