USER_EXIT calls (FND)

Hi!
Were can I find detailed help on USER_EXIT('FND ...) calls and their different parameters.
Ur assistance is greately appreciated!
Thks
SDA
[email protected]

The actual call is
user_exit('FND GET_FUNCTION NAME="' || function_name ||
     '" ACCESSIBLE="GLOBAL.FND_FUNCTION_ACCESSIBLE" '||
     ' TYPE = "GLOBAL.FND_FUNCTION_TYPE" '||
     ' FORM_PATH = "GLOBAL.FND_FUNCTION_FORM_PATH" ' ||
     ' ARGUMENTS = "GLOBAL.FND_FUNCTION_ARGUMENTS" ' ||
     ' FUNCID = "GLOBAL.FND_FUNCTION_ID" '
Any idea. Is GET_FUNCTION a PL/SQL function/procedure.

Similar Messages

  • Forms 6.0/user_exit call to DLL--Thoughts anyone?

    I have 6.0 Forms that call to DLL functions where the DLL was built using MS VC++ 5.0--works fine.
    Upgraded to MS VC++ 6.0 and rebuilt DLL (no code changes). Pointed FORMS60_USEREXITS registry to new DLL but now get the following message when trying to call any functions from the new DLL:
    FRM-40800 User exit <somename> does not exist.
    Anyone?
    TIA

    It has been a while since I fixed this problem, but I think you have to run FRM50SEC.sql and then grant select on the FRM50_ENABLED_ROLES view to your target audience.
    Try This...
    create or replace view FRM50_ENABLED_ROLES as
    select urp.granted_role role,
    sum(distinct decode(rrp.granted_role,
    'ORAFORMS$OSC',2,
    'ORAFORMS$BGM',4,
    'ORAFORMS$DBG',1,0)) flag
    from sys.user_role_privs urp, role_role_privs rrp
    where urp.granted_role = rrp.role (+)
    and urp.granted_role not like 'ORAFORMS$%'
    group by urp.granted_role;
    create public synonym FRM50_ENABLED_ROLES for system.FRM50_ENABLED_ROLES;
    create role ORAFORMS$OSC;
    create role ORAFORMS$DBG;
    create role ORAFORMS$BGM;
    -- Added
    grant select on frm50_enabled_roles to public;
    null

  • How to call pl/sql that is included with FND call in java jdbc directly?

    in my case, I want to call my procedure that will call EBS FND procedure in java jdbc thin way.
    Actually I can run this procedure in sqlplus very well, but I can't run it in my java code, I found that is caused by FND_GLOBAL.APPS_INITIALIZE. In my opinion, the procedure should be running in same server side, I am confused why the procedure has different way in the client side such as jdbc or sqlplus?
    does anyone use pure jdbc thin to call EBS FND procedure directly, instead of AOLj? Thanks in advance

    before you run any oracle apps APIs you need to set environment.....n environment settings will be done by FND_GLOBAL.APPS_INITIALIZE API.
    From which java application you need to call FND Proc....
    whts the basic requirement ?

  • USER_EXIT used in Form6i

    We are using forms 6i as the front end with oracle10.2.0 as the back end.We have forms developed in Oracle Forms 6i which use user_exit function supported by earlier versions of Oracle.I would like to know that if we want to continue using Oracle Forms 6i as the front end with Oracle 10.2.0 as the backend database ,do we need to change these user_exits to pl/sql code or pro*C or shell script or we can continue using these user_exit calls although backend is migrated to Oracle 8.1.7.4 to 10.2.0?

    Hi,
    Yes, the idoc will go into error status.
    Regards
    senthil kumar

  • Forms User Exit calls

    Hi,
    I am trying to make a user_exit call in Forms9i. I have created a Pro*Cobol file as specified and created a form with user_exit calls. Everything has compiled.
    My platform is win2k. The place where I am stuck is I don't know how to create an environment so that the forms can run and make a call to the procobol procedure. Can somebody tell me where to find a documents which lists which config files to change, and where to place the procobol files etc so that my forms can run?
    Please help.
    Wriju

    Any particular reason why you are looking into user_exit and not into the ORA_FFI functionality?
    check the online help for information on ORA_FFI

  • SQLLDR: Setting oracle apps context before calling sqlldr

    Hi,
    I am on oracle apps 11.5.10. We are calling FND apis like fnd_global.user_id within control file to get current user etc.. SQLLDR is called from host based concuurent program(shell script). Since context is not set in host program when we call plsql packages so FND apis global value returns -1.
    Is there a way we can set the context or make FND APIS return value as if we are calling from PLSQL concurrent program.
    Thanks much.

    not that i'm aware of. Maybe you can use external table(s) instead?

  • Issue with fnd_file

    Hi Experts,
    We have a strange situation.
    There are 2 databases (DB1,DB2).
    And there are procedures proc1 registered in DB1 and proc2 registered in DB2.
    DB1 is the database used by Oracle Applications.
    We have registered a concurrent program in Oracle Applications.
    This concurrent program will run proc1.... and in proc1 we will be calling proc2(which is registered in DB2).
    So in proc2 we are writing code some thing like....
    fnd_file.put_line@database_link_to_apps_schema (1,'Success');
    However we are unable to see the output messages in fnd_logs.....
    How can i make the code to write the data to fnd_logs/fnd_output.
    Thanks
    parker.

    Haven't try it, but just an idea that comes into mind.
    1. Why don't you call the fnd_file in proc1 instead after calling proc2 ?
    example :
    proc1
    begin
    <calling proc2>
    fnd_file.put_line(1,'blalbalbalba');
    end;
    or
    2.
    Could you create a procedure in DB1 that internally calls fnd_file ?
    for example
    create or replace procedure show_msg(p_text varchar2);
    begin
    <calling fnd file>
    end;
    in proc 2 , you can call this procedure
    proc2
    begin
    show_msg@dblink(1,'Success');
    end;
    Hope that solves your problem

  • How to use FNDLOAD to add program to request group?

    Is there a way to use FNDLOAD to add a program to System administrators > security > responsilibity > request.
    I have try to use the following command to downlod this information to load it to other place but no record saved in ldt file:
    FNDLOAD apps/apps1234 O Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct PO_RESQUEST_GROUP_2.ldt REQUEST_GROUP REQUEST_GROUP_NAME="All Reports" APPLICATION_SHORT_NAME="XXPO"
    OR
    FNDLOAD apps/apps1234 O Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct PO_RESQUEST_GROUP_3.ldt REQUEST_GROUP APPLICATION_SHORT_NAME="Purchasing" REQUEST_GROUP_NAME="All Reports" UNIT_NAME="XXPO_PUR_REQ"
    if i delete APPLICATION_SHORT_NAME="Purchasing" , it downloaded many seemingly not relevant data as follow:
    Downloading REQUEST_GROUP to the data file PO_RESQUEST_GROUP_3.ldt
    Downloaded REQUEST_GROUP All Reports CUN
    Downloaded REQUEST_GROUP All Reports IGS
    Downloaded REQUEST_GROUP All Reports PSB
    Downloaded REQUEST_GROUP All Reports CSE
    Downloaded REQUEST_GROUP All Reports AHL
    Downloaded REQUEST_GROUP All Reports ENI
    Downloaded REQUEST_GROUP All Reports OFA
    Downloaded REQUEST_GROUP All Reports XTR
    Downloaded REQUEST_GROUP All Reports SQLAP
    Downloaded REQUEST_GROUP All Reports PO
    Downloaded REQUEST_GROUP All Reports CHV
    Downloaded REQUEST_GROUP All Reports QA
    Downloaded REQUEST_GROUP All Reports CE
    Downloaded REQUEST_GROUP All Reports POA
    Downloaded REQUEST_GROUP All Reports MFG
    Downloaded REQUEST_GROUP All Reports CRP
    Downloaded REQUEST_GROUP All Reports WIP
    How can I confine "Application"? which is under the field "Group" and how can I download all application named "custom puchasing" next to "Name"?

    When migrating to another instance and want to add a concurrent program to a request group, I do it in two steps. Within a shell script, I call
    1 - FNDLOAD to load ldt file (concurrent program definition)
    2 - SQLPLUS to run an sql file that call FND API that install concurrent program into proper request group.
    ex # 1 :
    FNDLOAD $apps_user/$apps_pswd@$dbsid 0 Y UPLOAD $XDO_TOP/patch/115/import/xdotmpl.lct $XX_TOP/XX_PGM.ldt - WARNING=YES CUSTOM_MODE=FORCE >> $LOG_FILE 2>&1
    ex # 2 :
    sqlplus -s $apps_user/$apps_pswd@$dbsid @$XX_TOP/XX_PGM_REQ_GROUP.sql >> $LOG_FILE 2>&1
    XX_PGM_REQ_GROUP.sql content.
    IF NOT fnd_program.program_in_group('XX_PGM','Business Online','GL Concurrent Program Group','General Ledger' ) THEN
    fnd_program.add_to_group(program_short_name => 'XX_PGM',
    program_application => 'Business Online',
    request_group => 'GL Concurrent Program Group',
    group_application => 'General Ledger');
    COMMIT;
    END IF;
    Hope this might help.

  • Query modification

    hi
    i have this query taken from the data model of report named "prepayment status report"
    the rdf is APXINPSR.rdf
    the query
    SELECT     AID.invoice_id      C_prepay_inv_id,
         AID.distribution_line_number          C_prepay_dist_number,
         nvl(AID.prepay_amount_remaining,AID.amount) C_prepay_amount_remaining,
         AP_UTILITIES_PKG.Get_Charge_Account( AID.dist_code_combination_id,
              :P_chart_of_accounts_id, 'APXINPSR')      c_prepay_charge_account,
         PH.segment1                C_prepay_po_number,
         RSH.receipt_num               C_prepay_receipt_number
    FROM      AP_INVOICES AI,
         AP_INVOICE_DISTRIBUTIONS AID,
         PO_DISTRIBUTIONS PD,
         PO_HEADERS PH,
         PO_LINES PL,
         PO_LINE_LOCATIONS PLL,
         RCV_TRANSACTIONS RTXNS,
         RCV_SHIPMENT_HEADERS RSH,
         RCV_SHIPMENT_LINES RSL
    WHERE AI.INVOICE_ID = AID.INVOICE_ID
    AND AID.LINE_TYPE_LOOKUP_CODE = 'ITEM'
    AND AI.INVOICE_TYPE_LOOKUP_CODE = 'PREPAYMENT'
    AND AI.PAYMENT_STATUS_FLAG||'' = 'Y'
    AND nvl(AID.PREPAY_AMOUNT_REMAINING,AID.AMOUNT) > 0
    AND nvl(AID.REVERSAL_FLAG,'N') != 'Y'
    AND AID.PO_DISTRIBUTION_ID = PD.PO_DISTRIBUTION_ID (+)
    AND PD.PO_HEADER_ID = PH.PO_HEADER_ID (+)
    AND PD.LINE_LOCATION_ID = PLL.LINE_LOCATION_ID (+)
    AND PLL.PO_LINE_ID = PL.PO_LINE_ID (+)
    AND AID.RCV_TRANSACTION_ID = RTXNS.TRANSACTION_ID (+)
    AND RTXNS.SHIPMENT_LINE_ID = RSL.SHIPMENT_LINE_ID (+)
    AND RSL.SHIPMENT_HEADER_ID = RSH.SHIPMENT_HEADER_ID (+)
    AND :P_prepayment_dist_flag = 'Y'can some on eguide me on
    how to modify the c_prepay_charge_account in the query so output doesnt get affected , i need it in olap report so i have to get rid of the bind parameters
    what do i replace :P_chart_of_accounts_id with
    if i comment AND :P_prepayment_dist_flag = 'Y' will the output differ or what do i have to relace it with
    both the bind parametes are specified in user parameters but no values mentioned
    the code of the function
    FUNCTION get_charge_account
                              ( p_ccid                 IN  NUMBER,
                                p_chart_of_accounts_id IN  NUMBER,
                                p_calling_sequence     IN  VARCHAR2)
    RETURN VARCHAR2 IS
        current_calling_sequence        VARCHAR2(2000);
        debug_info                      VARCHAR2(500);
        l_return_val                    VARCHAR2(2000);
    BEGIN
        -- Update the calling sequence
        current_calling_sequence := 'AP_UTILITIES_PKG.get_charge_account<-'||p_calling_sequence;
        debug_info := 'Calling fnd function to validate ccid';
          if p_ccid <> -1 then
                l_return_val := FND_FLEX_EXT.GET_SEGS(
                                   APPLICATION_SHORT_NAME => 'SQLGL',
                                   KEY_FLEX_CODE          => 'GL#',
                                   STRUCTURE_NUMBER       => P_CHART_OF_ACCOUNTS_ID,
                                   COMBINATION_ID         => P_CCID);
           else
      l_return_val := null;
         end if;
                    return (l_return_val);
    EXCEPTION
    WHEN OTHERS THEN
        if (SQLCODE <> -20001) then
            FND_MESSAGE.SET_NAME('SQLAP', 'AP_DEBUG');
            FND_MESSAGE.SET_TOKEN('ERROR', SQLERRM);
            FND_MESSAGE.SET_TOKEN('CALLING_SEQUENCE', current_calling_sequence);
            FND_MESSAGE.SET_TOKEN('DEBUG_INFO', debug_info);
        end if;
            return NULL;
    END get_charge_account;kindly guide me
    kindly help me
    Edited by: makdutakdu on Jul 4, 2010 2:19 PM

    hi
    for get_segments
    FUNCTION get_segments(application_short_name      IN  VARCHAR2,
                   key_flex_code            IN  VARCHAR2,
                   structure_number     IN  NUMBER,
                   combination_id            IN  NUMBER,
                   concat_segment_values     OUT VARCHAR2)
                                       RETURN BOOLEAN IS
        n_segs_out     NUMBER;
        segs_out     SegmentArray;
        catvals_out VARCHAR2(2000);
      BEGIN
         init_message;
    --  Call version that returns segments in array, then concatenate them.
        if(get_segments(application_short_name, key_flex_code, structure_number,
                   combination_id, n_segs_out, segs_out) and
           concat_segs(n_segs_out, segs_out, delim, catvals_out)) then
           return(output_string(catvals_out, concat_segment_values));
        end if;
        set_failed;
        return(FALSE);
      EXCEPTION
        WHEN OTHERS then
          FND_MESSAGE.set_name('FND', 'FLEX-SSV EXCEPTION');
          FND_MESSAGE.set_token('MSG', 'get_segments() exception:  ' || SQLERRM);
          set_failed;
          return(FALSE);
      END get_segments;set_name and set_Token
        procedure SET_NAME(APPLICATION in varchar2, NAME in varchar2) is
        begin
            MSGAPP  := APPLICATION;
            MSGNAME := NAME;
            MSGDATA := '';
            FND_LOG_MODULE := DEFAULT_FND_LOG_MODULE;
            MSGSET  := TRUE;
        end;
        **  ### OVERLOADED (new private version) ###
        **     SET_TOKEN - define a message token with a value
        **  Private:  This procedure is only to be called by the ATG
        **            not for external use
        **  Arguments:
        **   token    - message token
        **   value    - value to substitute for token
        **   ttype    - type of token substitution:
        **                 'Y' translated, or "Yes, translated"
        **                 'N' constant, or "No, not translated"
        **                 'S' SQL query
        procedure SET_TOKEN(TOKEN in varchar2,
                            VALUE in varchar2,
                            TTYPE in varchar2 default 'N') is
        tok_type varchar2(1);
        begin
            if ( TTYPE not in ('Y','N','S')) then
               tok_type := 'N';
            else
               tok_type := TTYPE;
            end if;
            /* Note that we are intentionally using chr(0) rather than */
            /* FND_GLOBAL.LOCAL_CHR() for a performance bug (982909) */
         /* 3722358 - replace chr(0) in VALUE with spaces */
            MSGDATA := MSGDATA||tok_type||chr(0)||TOKEN||chr(0)||
                       replace(VALUE,chr(0),' ')||chr(0);
        end set_token;
        **  ### OVERLOADED (original version) ###
        **     SET_TOKEN - define a message token with a value,
        **              either constant or translated
        **  Public:  This procedure to be used by all
        procedure SET_TOKEN(TOKEN in varchar2,
                            VALUE in varchar2,
                            TRANSLATE in boolean default false) is
        TTYPE varchar2(1);
        begin
            if TRANSLATE then
                TTYPE := 'Y';
            else
                TTYPE := 'N';
            end if;
            SET_TOKEN(TOKEN, VALUE, TTYPE);
        end set_token;
        ** SET_TOKEN_SQL - define a message token with a SQL query value
        ** Description:
        **   Like SET_TOKEN, except here the value is a SQL statement which
        **   returns a single varchar2 value.  (e.g. A translated concurrent
        **   manager name.)  This statement is run when the message text is
        **   resolved, and the result is used in the token substitution.
        ** Arguments:
        **   token - Token name
        **   value - Token value.  A SQL statement
        procedure SET_TOKEN_SQL (TOKEN in varchar2,
                                 VALUE in varchar2) is
        TTYPE  varchar2(1) := 'S';  -- SQL Query
        begin
            SET_TOKEN(TOKEN, VALUE, TTYPE );
        end set_token_sql;kindly guide

  • DFF in custom build reports

    How can we implement dff`s features in custom build reports?
    Does it works same way as the oracle bulid-in reports?

    This is all documented in the Oracle Applications Developers Guide in the chapter 'Coding Oracle reports concurrent programs'. Basically you will need to call 'FND SRWINIT' in the before report trigger and 'FND SRWEXIT' in the after report trigger. There are also user exits for the flexfield processing.
    Alternatively, you can just identofy the column names you require for the flexfield columns and build them into your reports in the same way as any other values.
    Edited by: mike_p on Oct 14, 2009 2:10 PM

  • Production Order creation in APO /  Setup  IDoc

    All,
    I am creating production orders in APO via the BAPI 'BAPI_MOSRVAPS_SAVEMULTI3'. But I need to change some values in different segment fields in the IDoc before to post it.
    Do you know if there is an user_exit available to do that (or how to find it) or IF I need to use an other method.
    Idoc Type used : MOAPS_SAVEMULTIPLE201
    Regards,
    Fred

    Hi Kemp,
      The usual method to find a user exit is to get the PACKAGE of the bapi by going to
    Goto->Object Directory Entry.
    Use this package name in smod transaction by giving this package in the pop up that comes when you press a F4 on the enhancement field of smod transaction.
    It will give you the list of user exits.
    2) Make a global find on the funcion module for the strings user, exit, user_exit, call customer-function etc
    Regards,
    Ravi

  • SRW.USER_EXIT('FND SRWINIT')  not working

    Hi
    Instance : R12.1.3, SRW.USER_EXIT('FND SRWINIT') is not working .
    the org context is not set when calling SRW.USER_EXIT('FND SRWINIT') from Before Report Trigger.
    Pls advice.
    Regards
    Yram

    Pl see if MOS Doc 420787.1 (Oracle Applications Multiple Organizations Access Control for Custom Code) can help
    HTH
    Srini

  • Oracle.apps.fnd.framework.OAException: Illegal method call because there is

    I am working on R12.1.3 multi node shared appltop installtion on OEL 5.4. installations were successful and running fine since 10 days , today suddnly i have got the error stack on login screen. please help.
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: Illegal method call because there is no database connection.
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1251)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:2195)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at OA.jspService(_OA.java:221)
    if any one got same issue pls help.
    Thx
    RB

    Hussain,
    No Errors found in Db alert log files.
    same issue in all client systems.
    only Apache service is showing as down in adopmnctl stattus
    You are running adopmnctl.sh version 120.6.12010000.5
    Checking status of OPMN managed processes...
    --------------------------------------------------------------+---------
    ias-component | process-type | pid | status
    --------------------------------------------------------------+---------
    OC4JGroup:default_group | OC4J:oafm | 3839 | Alive
    OC4JGroup:default_group | OC4J:forms | 3770 | Alive
    OC4JGroup:default_group | OC4J:oacore | 3623 | Alive
    HTTP_Server | HTTP_Server | 1802 | Stop
    Thx
    RB

  • How to know about the User_Exit being called in MB31

    Dear Sir,
    Kindly guide us about the steps to be followed , for knowing that which USER_EXIT are being called during the MB31 transaction .
    Also request you to kindly guide us about the steps to be followed in debugging of transaction MB31 .
    We assure to give full points for the suggested solution pl .
    Rgds
    B Mittal

    Hi,
    Check the code below. This will give you the list of Active User Exits.
    Hope this helps.
    *& Report  Y_TEST_USER_EXIT
    && This report displays all the active customer enhancements in the
    *& system and also displays whether they are active or implemented
    REPORT  Y_TEST_USER_EXIT.
    *Data decleration
    types: begin of s_function,
    fname like MOD0-FUNCNAME,
    ftext like tftit-stext,
    impl,
    active,
    example,
    end of s_function.
    TYPEs : BEGIN OF display_str,
    project type modact-name,
    enhancement type modact-member,
    fm type modsap-member,
    status type char20,
    END OF display_str.
    constants: c_true type char4 value 'True'.
    data : lt_member type table of modact-member,
    ls_member like LINE OF lt_member,
    lt_fm type table of modsap-member,
    ls_fm like LINE OF lt_fm,
    lt_modname type table of modact-name,
    ls_modname like line of lt_modname,
    lt_display type TABLE OF display_str,
    ls_display like LINE OF lt_display,
    ls_function type s_function,
    field1(30).
    START-OF-SELECTION.
    *Select active customer enhancement.
    select name from modattr into ls_modname
    where status = 'A'.
    append ls_modname to lt_modname.
    CLEAR ls_modname.
    ENDSELECT.
    if lt_modname is INITIAL.
    WRITE / 'no active enhancements'.
    endif.
    *Determine the details about the customer enhancement.
    LOOP AT lt_modname INTO ls_modname.
    CLEAR : ls_display.
    SELECT member from modact into ls_member where name = ls_modname.
    select member from modsap into ls_fm where name = ls_member and typ = 'E'.
    ls_display-project = ls_modname.
    ls_display-enhancement = ls_member.
    ls_display-fm = ls_fm.
    clear : ls_function.
    ls_function-fname = ls_fm.
    perform get_impl_status USING ls_function.
    if ls_function-impl = 'X'.
    ls_display-status = 'Implemented'.
    ELSE.
    ls_display-status = 'Active'.
    endif.
    APPEND ls_display to lt_display.
    endselect.
    ENDSELECT.
    ENDLOOP.
    *Displaying results
    format color = 1.
    write : 'Please double-click on the object for follow-on action'.
    new-LINE. uline.
    write : 'Customer Project', at 30 'SAP Enhancement', at 60 'Exit Func Mod', at 100 'Active/Implem'.
    ULINE.
    format color = 0.
    loop at lt_display into ls_display.
    new-LINE.
    write : ls_display-project, at 30 ls_display-enhancement, at 60 ls_display-fm,
    at 100 ls_display-status.
    ENDLOOP.
    *For calling transaction CMOD / SMOD / SE37.
    at line-selection.
    get cursor field field1.
    CASE field1.
    WHEN 'LS_DISPLAY-PROJECT'.
    set parameter id 'MON_KUN' field sy-lisel(10).
    call transaction 'CMOD' and skip first screen.
    WHEN 'LS_DISPLAY-ENHANCEMENT'.
    set parameter id 'MON' field sy-lisel+29(10).
    call transaction 'SMOD' and skip first screen.
    WHEN 'LS_DISPLAY-FM'.
    set parameter id 'LIB' field sy-lisel+59(30).
    call transaction 'SE37' and skip first screen.
    WHEN OTHERS.
    message 'Click on the right place.' TYPE 'I'.
    ENDCASE.
    **& Form get_impl_status
    *This FORM checks whether an EXIT FM is implemented or not
    form get_impl_status using p_function type s_function.
    data : l_mand LIKE tfdir-mand,
    l_incl_names TYPE smod_names OCCURS 1 WITH HEADER LINE.
    l_incl_names-itype = 'C'.
    APPEND l_incl_names.
    CLEAR l_mand.
    SELECT SINGLE mand FROM tfdir INTO l_mand WHERE funcname = p_function-fname.
    IF sy-subrc = 0 AND l_mand(1) = 'C'.
    p_function-active = 'X'.
    *l_status-active = c_true.
    ELSE.
    p_function-active = ' '.
    *l_status-inactive = c_true.
    ENDIF.
    CALL FUNCTION 'MOD_FUNCTION_INCLUDE'
    EXPORTING
    funcname = p_function-fname
    TABLES
    incl_names = l_incl_names
    EXCEPTIONS
    OTHERS = 4.
    IF sy-subrc = 0.
    LOOP AT l_incl_names.
    SELECT SINGLE name FROM trdir INTO l_incl_names-iname
    WHERE name = l_incl_names-iname.
    IF sy-subrc = 0.
    p_function-impl = 'X'.
    ELSE.
    p_function-impl = ' '.
    ENDIF.
    ENDLOOP.
    ENDIF.
    endform. "get_impl_status
    Also Check the code posted by me in the lonk below ,to get the List of available User exits and Badi for a particular tcode . very useful program.
    Re: User Exit for IW22 - to populate custom fields
    Hope it helps.
    Manish

  • Srw.user_exit('FND FLEXIDVAL

    Hi All,
    function G_BALANCINGGroupFilter return boolean is
    begin
    srw.reference(:STRUCT_NUM);
    srw.reference(:BAL_DATA);
    srw.user_exit('FND FLEXIDVAL CODE="GL#"
    NUM=":STRUCT_NUM"
    APPL_SHORT_NAME="SQLGL"
    DATA=":BAL_DATA"
    VALUE=":BAL_FIELD"
    SHOWDEPSEG="N"
    DISPLAY="GL_BALANCING"
    IDISPLAY="GL_BALANCING"
    SECURITY=":BAL_SECURE"');
    IF(:BAL_SECURE = 'S') then
    return(FALSE);
    ELSE
    return (TRUE);
    END IF;
    end;
    I am working on Foreign Currency General Ledger Oracle report,
    we want to change this report into select by account #,
    My question is when it run " srw.user_exit('FND FLEXIDVAL CODE="GL#" ... "
    does it return any value like :BAL_SECURE
    How can i find this script or program in Linux?
    Thanks,

    Oh my god,I have encountered same problem,Did you found reason?

Maybe you are looking for

  • Devolução de Transferência SD/MM com NF

    Prezados bom dia, Tenho o processo de transferência SD/MM (Mov 861/861) e agora me foi solicitado a criação do processo de devolução de transferência onde, segundo o fiscal, não podemos fazer simplesmente um outro PC UB para devolver a mercadoria. Pe

  • F150 dunning form

    Hi, I have to modify a Z.. dunning form created with sapscript. Does anyone have any idea how to locate this form? I can't find it in SE71 neither in NACE. Any clue? Thank you!

  • I'm attempting to create a pdf from InDesign and the Illustrator image does not appear properly.

    I'm attempting to create a pdf from InDesign and the Illustrator logo does not appear properly. The logo has a light blue color background with a black to white gradiant over it with a multiply designation set at 100%.  I flattened the logo in illust

  • Since 5.1 many image links do not work

    This must be the most bizarre bug of all times. Since upgrading to Safari 5.1 clicking on certain images produce NO result. Example: the icons (smileys, links, pictures, etc) of all of the forums I use when composing a post do nothing when I click on

  • How to give permission to Menu Item in PeopleSoft HR 7.5

    Hello All, I am new to PS 7.5. I like to find how to give permission to MenuItem in PS 7.5. I am able to go there via PeopleTools -> Security Administrator -> MenuItems -> double click on the Administer Workforce -> I will see my menuitem there. I hi