Using cust. exit: IHCL0001

Hello all,
I would like to know when the customer exit runs.
We need to replace class type and class number of equipment master data when a production order is released or GI and the system make materials having serial numbers.
Reading the help document of the customer exit, it seems to do as I expect.
When I set break-point and made a production order released and save, I could not see a debug screen and it did not come to break-point.
Could you advice us?

Hi,
It is not harmful but as As long as the exit is not replaced by SAP there is no need to convert a CMOD exit to a BADI.
But same time not all BW CMOD enhancements have been converted to BADIs.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/a-c/customer%20enhancements%20and%20userexits%20in%20bw%20-%20sap%20netweaver%20%20know-how%20network%20webinar.pdf
Regards,
San!
if helpful, assign points

Similar Messages

  • Cust Exit variable- refresh option is not working

    Hi Experts,
    My requirement is:
    I am passing a value from manual i/p variable to cust exit variable based on certain condition. The functionality is working fine. But when I changed the value of my manual i/p variable using change variable value option of BEx analyzer the new value is not getting reflected in customer exit variable.
    BR,
    /venu.

    Hi ,
    CODE:
    DATA: l_s_range TYPE rsr_s_rangesid,
    loc_var_range LIKE rrrangeexit,
    v_period1(3) TYPE n,
    v_period2(4) TYPE n,
    zktansw TYPE /bic/oigwktansw.
    clear: zktansw,l_s_range,loc_var_range.
    IF i_step = 2.
    loop at i_t_var_range into loc_var_range where vnam eq 'GFA_CONACC'. --- Manual input var
    IF loc_var_range-low+0(5) = '00160'.
    CONCATENATE loc_var_range-low+0(6) '9999' INTO zktansw.
    l_s_range-low = loc_var_range-low.
    l_s_range-high = zktansw.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    ENDIF.
    endloop.
    ENDIF.
    Kindly suggest your inputs.
    BR,
    Venu

  • How to get data for current week and previous week using customer exit in Bex.

    Hi everyone,
    I have a scenario in which I need to display data for current week and previous week (based on "sy_datum" the program has to calculate current week and previous week) in Bex using  Customer exit. I have created one variable in Bex Query Designer and I have written code for the variable in CMOD. But it is not working fine, (I know that we can do the same by using offset value in Bex). Can some one guide me how to achieve my requirement using customer exit.
    Thanks in Advance,
    G S Ramanjaneyulu.

    Hi krishna,
    Thanks for your quick reply, can you have a look at my code,
    case i_vnam.
    WHEN 'ZPWK_CWK'.
    ranges : pre_week for sy-datum.
    data : start_date type DATS,
           end_date TYPE dats .
    ************FM TO GET FIRST DATE OF CURRENT WEEK ************************
    CALL FUNCTION 'BWSO_DATE_GET_FIRST_WEEKDAY'
      EXPORTING
        DATE_IN  = sy-datum
      IMPORTING
        DATE_OUT = start_date.   " WEEK FIRST DATE
    end_date = START_DATE + 6.   " WEEK LAST DATE
    END_DATE   = START_DATE - 1.   " PREVIOUS WEEK END DATE
    START_DATE = START_DATE - 7.   " PREVIOUS WEEK START  DATE
    **********PREVIOUS WEEK DATES IN PRE_WEEK******************
    pre_week-SIGN   = 'I'.
    pre_week-option = 'BT'.
    pre_week-LOW    = START_DATE.
    pre_week-HIGH   = END_DATE.
    APPEND  pre_week.
    CLEAR : START_DATE,END_DATE.
    endcase.
    Regards,
    G S Ramanjaneyulu.

  • Change gl account in MIGO by using user exit

    Dear all,
    Could you tell me how to use user exit to change the gl account in MIGO?
    I have searched in SDN and found some code.
    In user exit: MBCF0002 ( EXIT_SAPMM07M_001 ).
    FIELD-SYMBOLS <F2> TYPE ANY."Field Symbol for the GL ACCOUNT
    DATA : W_KONTO_NAME(50) VALUE '(SAPMM07M)DM07M-KONTO'.
    ASSIGN (W_KONTO_NAME) TO <F2>.
    MOVE "GLACCOUNT" TO <F2>.
    "GLACCOUNT" is the new GL account you want to change.
    but thecode doesn't work, it can not change the BSEG-HKONT.
    Could you help me solve this problem?
    Many thanks
    Message was edited by:
            Chen Zhonghua

    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Transaction Code - MIGO                     Goods Movement
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    No of Exits:          8
    Rewards if useful.........
    Minal

  • In Oracle, Can i use if exits clause in a query?

    In Oracle, Can i use if exits clause in a query?
    For example, "Drop table if exists tablename"
    Is the above command valid in oracle?
    If not then is there any equivalent for if exists clause?

    Here is the SP code code that might help you to Drop a table if it exisit, whith out throwing an error if the table is not present.
    create or replace PROCEDURE DROP_TABLE(TabName in Varchar2)
    IS
    temp number:=0;
    tes VARCHAR2 (200) := TabName;
    drp_stmt VARCHAR2 (200):=null;
    BEGIN
    select count(*) into temp from user_tables where TABLE_NAME = tes ;
    if temp =1 then
    drp_stmt := 'Drop Table '||tes;
    EXECUTE IMMEDIATE drp_stmt;
    end if;
    EXCEPTION
    WHEN OTHERS THEN
    raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
    END DROP_TABLE;
    Call this SP in your Scripts by : CALL DROP_TABLE ('<Table Name>')
    Hope this Helps!
    Regards,
    Kaarthiik

  • How to update old records of LIPS used user exit MV50AFZ1

    To All Experts,
    I have used User Exit MV50AFZ1 and in this user exit i updated the fields
    USEREXIT_MOVE_FIELD_TO_LIPS.
    LIPS-ETENR = VBEP-ETENR.
    Its working fine for new VL0N1 t-code, but what about old recods of LIPS table ?
    How to update old records ? Pl. guide me.
    Yusuf

    Hi Yusuf,
    See SAP Note 415716 - User exits in delivery processing, it explain how these userexits work and cautions that you must have.
    Regards
    Eduardo

  • Count the number of days in the selected range using Customer exit

    Hi Experts,
    we have requirment where user is asking to add a column to report, which will have 'count of days for which key figure is having values' for each of the months and the Header would be 'Day Count'
    Please let me know if its possible using Customer exit?

    Hi,
    In our report we have two characteristics site no. and product and we have 6 key figures of type quantity and Input for the report is Fiscal year/period
    So in the report Key figures are populated with values for respective site no. and product combination
    Now the user wants new column in report which will have header u2018Day countu2019 and it should Simply count the number of days in the selected range that have a volume different than 0 for key figure
    Please let me know if more details are required

  • Custom Field using screen exits CS01/CS02/CS03

    Dear Experts,
    I am using Screen exits to add some text description in CS01/CS02/CS03, my requirement is to add a field 'Product Appearance' with multiple lines for the material description. For this I have created customer field 'ZTEXT1' and appended it to STKO table. Now in screen painter(SE51) i need to add 3-4 lines of type stko-ztext1 because the product desc is of size 300-400 character.
    I am not able to create 3-4 lines of type stko-ztext1. Can u plz suggest how can i add 3-4 lines of  type stko-ztext1 in SE51.
    I am able to create a blank field in SE51 using Edit->Grouping->Step Loop->Define,  but while activating it is giving error as "Input/Outpt field STKO-ZTEXT1 and key word are not in the same screen".
    Plz suggest.
    Regards

    Hi Kurtt,
    Below are the available user exits :-
    PCSD0001  Applications development R/3 BOMS
    PCSD0002  BOMs: Customer fields in item
    PCSD0003  BOMs: Customer fields in header
    PCSD0004  BOM comparison
    PCSD0005  BOMs: component check for material items
    PCSD0006  Mass changes user exit
    PCSD0007  Check changes in STKO
    PCSD0008  WBS BOM: Customer-specific explosion for creating
    PCSD0009  Order/WBS BOM, determine URL page
    PCSD0010  Order/WBS BOM, determine explosion date
    PCSD0011  Knowledge-based order BOM, parallel update
    PCSD0012  Customer - Mat. number/mat. number during material exchange
    PCSD0013  Customer-specific processing of an explosion for BOM browser
    PCSD0014  Knowledge-based order BOM: Status
    Check which one suits your requirement.
    Regards
    Abhii

  • DMEE  - How to supress tags with no values – Using Module exit

    Hi,
    I have created a payment format tree using transaction DMEE The problem is, when I don’t have
    any values in a tag, I don’t want to display the tag for that particular node.
    I am using Exit module mapping procedure, so I can’t add any condition. (See attached image)
    Could you help me , please?
    Thanks a lot in advance.
    Best regards.
    Ana

    Hi Shannon,
    I understand that it is possible using conditions tab of the given node.
    Can you exactly tell me the condition that you used?
    I am using some exit function module to populate my node.
    So what should be the condition that I should put there to chck that the value fetched from the exit FM is not blank?
    Thanks a lot for your help.
    Regards,
    Suganya

  • Can i use user exits

    Hi,
    Can anybody tell me if i can use user exits for not applying cost centre fields for Assets and liabilites gl a/c when we post transcations in fb60 0r fb50 f-22 etc
    warm regards
    Manjunath

    hi Manjunath,
    you can try to set up a substitution and see if it is working. On the other hand P/L accounts must have a CO object by posting, of course cost center is just one option.
    ec

  • How to create/use SAP Exit variable of Query designer

    Hello experts,
    Can you please guide me on how to create/use SAP Exit variables ?
    Is there any way we can transport customer exit include in which we write all codes related to customer exit variables?
    Kindly provide your valuable inputs on this.
    Thanks,
    Mitesh

    Hello Gautam,
    I think you should first implement the user-exit via the transaction SMOD/CMOD and the SAP-Enhancement RSR00001 User-Exit ( BW Reporting )
    For the concrete implementation I would suggest to encapsulate the variables, as it is described here
    Easy implementation of BEx-Userexit-Variables
    and here: BEx-Userexits reloaded
    Kind regards,
    Hendrik

  • Using Field Exit for a field in table KNA1

    Hi everyone,
    I am working on a ticket, the problem is we have a field called STRAS in table KNA1 which holds the address of the customer but now we want to increase the length of this field from 35 charachters to 55 due to some business requirement. SO my question is if this can be done using Field Exit and if yes.. can you please tell me how as I have never used Field exits.
    Thanks,
    Rajeev

    Hi,
    Using field exit, you can only validate the data entry for the field (either globally or on a particular screen field)
    This is usually done by implementing the field exit for the data element corresponding to the field(in your case STRAS_GP)
    Hence you cannot increase the length of the field using the concept of the field exits...
    Please note that after SAP R/3 4.6c, SAP has stopped the creation of field exits and there will be no support for any new ones created.
    Regards
    Shiva

  • Crystal Reports with BEx Query using Custom Exit Variable

    Hi,
    We have BW BEx Query using Customer User Exit variable to derive  the Fiscal Week for Last Year (called it VAR2) based on another user input variable Current Fiscal Week (called it VAR1).
    VAR2 is derived from VAR1 in CMOD via some codings and thus it DOES NOT have the "Variable is Ready for Input" flag ticked in the BEx. VAR1 is user input variable, so it has "Variable is Ready for Input" flag ticked in the BEx.
    When we create a Crystal Reports with the BEx Query using variable VAR2, and when we run it we got an error message saying "Failed to execute query; '[]<java.lang.UnsupportedOperationException: No Selection State Support!ZP_MI_LYPUBWEEK>'. Redesign your query or contact the data source maintainer to solve the problem".  (note: ZP_MI_LYPUBWEEK is VAR2 in this case).
    Could anyone please assist? Surely, CR supports BEx customer user exit variables like the above, right?. I also refer to the forum below as it seems to have a similar issue (except mine with an error message), but it does not provide a solution in it.
    Crystal Reports with BEx Query using Custom Exit Variable
    Thanks,
    Andy

    Hi Vibhav,
    We have the SAP Crystal Reports for Enterprise XI4.0 Version 14.0.0. Not sure if SP0 or other SP, got to check with Basis Team later.
    We tried that "mandatory" option and did not work either.
    Anyway, SAP has now come back again saying it is something they will fix it in next release/version. We got a phone call from them and a reply below to our OSS.
    23.08.2011 - 08:20:49 CET - Info for Customer by SAP  
    I have raised this issue on the Idea#s Place as an enhancement request
    on the below link:
    https://cw.sdn.sap.com/cw/ideas/5586
    This ER contains the information of including the customer exit
    variables in the report without checking the #input for ready# option.
    This ER can be considered for being implemented in the future
    versions. You can refer to SAP Note: 1515837 - How To: Enhancement
    Request Process - "Idea Place" for more information regarding the Idea
    Place.
    Cheers,
    Andy

  • Substituting the field PROJK of BSEG table using Substituting Exit

    Hi All,
    Actually I am using substituting the PROJK field using substitution exit U901.
    but after this form routine standard routine in program GBTC2FIJ is getting called which is reverting my changes.
    because there is a  temp structure which is not having the field and while saving this temp structure to bseg this will create BSEG-PROJK as initial.
    Please help on this.
    Thanks

    Hi,
    I think the field PROJK is available for substitution.  Check the table GB01 for
    BOOLCLAS = '9' ,
    CLASSTYPE = 'S',
    BCLFIELD='PROJK'.
    if the field BEXCLUDE is holding the value 'X', then the field is not available for substitution.
    Regads
    Vinod

  • MIRO using user exit  EXIT_SAPLFYTX_USER_001

    We are using user exit EXIT_SAPLFYTX_USER_001 for both ME21N and
    MIRO.  ME21N works fine in that we added an item number field to I_INPUT_USER  and it populates with the current item number on the po so we are able to get the gl account from EKKN.  The problem is for tcode
    MIRO.  The data in the I_INPUT_USER is all header data.  There is no material number, qty, item number, etc.  So we cannot go back to the po/item to get the gl account number to pass to vertex.  I used note 302998 to try and add fields EVRPT and EVRTN to the  I_INPUT_USER but they are not populated and when I look at KOMP those fields are also blank there. 
    For MIRO the I_INPUT_USER-KPOSN always has a value of 999999 where for ME21N it has the actual item that it is processing on the po.  I have looked and tried multiple OSS notes and nothing seems to work.  It seems that the MIRO transaction will only pass header data to vertex.  Any help is greatly appreciated!!!! thanks  - deb

    Martha - I did have an OSS note out there but I found the solution for us.
    To get the line item info in I_INPUT_USER and I_TAX_ITEM_INPUT for MIRO we had to go to transaction OBCO and turn on line item processing for our external tax system.  As for your question  - the header information should be in I_TAX_ITEM_INPUT and in I_TAX_HEADER_INPUT.  the I_INPUT_USER is for users to add their own fields that are currently in KOMP.  Look at OSS note 302998 it explains how to extend the I_INPUT_USER  and how to export and import data that you might need.  If this note does not help - go to OSS and do a search on EXIT_SAPLFYTX_USER_001 and some of the other notes should help you. thanks - deb

Maybe you are looking for

  • After changing my Apple ID and password, I can no longer sign into iCloud on my iPhone or iPad.  What do I do?

    After successfully changing my Apple ID and password on my MacBookPro, I can no longer connect with iCloud on my iPad2 or iPhone 4.  Both devices have the latest OS updates, although the MBP is 10.5.8.  When attempting to connect with iCloud, Setting

  • What/Where is the 32-bit version of Windows System Image Manager?

    I'm running into the problem described as follows in the WAIK documentation:  "Windows SIM fails to create a catalog for a 32-bit Windows image from a 64-bit version of Windows SIM. To workaround this issue, use the 32-bit version of Windows SIM to c

  • Apache webserver start error

    Hi All, We have installed content server ver 630 on IBM-AIX ver 5.3 machines along with Apache web server ver Apache_1.3.41. while starting the server following is the error, $ apachectl start Syntax error on line 205 of /apache/kprcs/conf/httpd.conf

  • CS4 Design Premium key works off DVD but not Harddrive

    I have an Educational Site license for Adobe Creative Suite 4 Design Premium. If I put in the DVD's and run setup.exe it "checks" my Serial Key and accepts it. If I copy the 2 DVD's to the D:\Server share and run setup.exe based on the network deploy

  • Complex Payment term???

    Hello Experts, Can anyone suggest how do I configure the following payment term: Net 34 End of Month: i.e. Payment is due net 34 or end of the following month. Basically it means that if the Net 34 does not coincide with the month end then the due da