Anda di halaman 1dari 7

oracle apps interview questions and answers part4 -------------------------------------------------76)Which procedure should be used to make the DFF read

only at run time FND_DESCR_FLEX.UPDATE_DEFINITION() 77)What is the difference between flexfield qualifier and segment qualifier Flexfiled qualifier identifies segement in a flexfield and segment qualifier ide ntifies value in a segment. There are four types of flexfiled qualifier 1) Balancing segment qualifier 2) co st center 3) natural account and 4) intercompnay segemtn qualifier :- 1) allow budgeting 2) allow posting 3) account type 4) cont ral account and 5) reconciliation flag 78)Where do concurrent request logfiles and output files go The concurrent manager first looks for the environment variable $APPLCSF If this is set, it creates a path using two other environment variables: $APPLLOG and $ APPLOUT It places log files in $APPLCSF/$APPLLOG Output files go in $APPLCSF/$AP PLOUT So for example, if you have this environment set: $APPLCSF = /u01/appl/com mon $APPLLOG = log $APPLOUT = out The concurrent manager will place log files in /u01/appl/common/log, and output files in /u01/appl/common/out Note that $APPLC SF must be a full, absolute path, and the other two are directory names. If $APP LCSF is not set, it places the files under the product top of the application as sociated with the request. So for example, a PO report would go under $PO_TOP/$A PPLLOG and $PO_TOP/$APPLOUT Logfiles go to: /u01/appl/po/9.0/log Output files to : /u01/appl/po/9.0/out Of course, all these directories must exist and have the correct permissions. Note that all concurrent requests produce a log file, but n ot necessarily an output file. 79)How do I check if Multi-org is installed SELECT MULTI_ORG_FLAG FROM FND_PRODUCT_GROUPS If MULTI_ORG_FLAG is set to 'Y', Then its Multi Org. 80)How do I find out what the currently installed release of Applications is /H ow do I find the name of a form We can also find out through Help > About Oracle Applications 81)Why does Help->Tools->Examine ask for a password Navigate to the Update System Profile Screen. (\ navigate profile system) 32 - Select Level: Site - Query up Utilities:Diagnostics in the User Profile Options Zone. If the profile option Utilities:Diagnostics is set to NO, people with access to the Utilities Menu must enter the password for the ORACLE ID of the current resp onsibility to use Examine. If set to Yes, a password will not be required. 82)What are the API used in PO cancellation Ans. For Partial cancellation -> To modify the Ordered quantity v_return_flag := apps.gems_public_apis_pkg.po_update_po ( x_po_number => v_po_number , x_release_number => NULL , x_revision_number => v_revision_num , x_line_number => v_line_number , x_shipment_number => v_shipment_num

, new_quantity => p_quantity , new_price => NULL , new_promised_date => NULL , launch_approvals_flag => 'Y' , update_source => NULL , x_interface_type => NULL , x_transaction_id => NULL , version => '1.0'); For Full cancellation -> apps.gems_public_apis_pkg.po_control_document ( p_api_version => v_api_version_number , p_init_msg_list => apps.fnd_api.g_true , p_commit => apps.fnd_api.g_false , x_return_status => p_return_status , p_doc_type => 'PO' , p_doc_subtype => v_sub_type , p_doc_id => v_po_header_id , p_doc_num => NULL , p_release_id => NULL , p_release_num => NULL , p_doc_line_id => v_po_line_id , p_doc_line_num => NULL , p_doc_line_loc_id => p_line_loc_id , p_doc_shipment_num => NULL , p_action => 'CANCEL' , p_action_date => SYSDATE , p_cancel_reason => 'GPO_WAREHOUSE_DENIAL' , p_cancel_reqs_flag => 'N' , p_print_flag => 'N' , p_note_to_vendor => apps.fnd_api.g_miss_char); 33 83)How an API is initialized Ans. apps.gems_public_apis_pkg.fnd_apps_initialize ( user_id => p_user_id , resp_id => p_resp_id , resp_appl_id => p_resp_appl_id) 84)What is the name of the API parameter when they are True,False and NULL Ans. apps.fnd_api.g_true, apps.fnd_api.g_false and apps.fnd_api.g_miss_char resp ectively. 85)What are the different steps in sending a mail from PL/SQL Ans. PROCEDURE glp_send_mail_po_cancel ( p_org_id IN VARCHAR2 , p_feeder_source IN VARCHAR2 , p_subject IN VARCHAR2 , p_message_body IN VARCHAR2 , p_return_status OUT VARCHAR2 , p_error_message OUT VARCHAR2 ) v_host_name := utl_inaddr.get_host_name(); v_host_ip := utl_inaddr.get_host_address(v_host_name); v_mailconn := utl_smtp.open_connection(v_host_ip, 25); utl_smtp.helo(v_mailconn,v_host_ip); utl_smtp.mail(v_mailconn,v_from_email_id); utl_smtp.rcpt(v_mailconn,v_to_email_tab(v_addr_cnt)); v_message := v_message || 'To: ' || v_to_email_tab(v_addr_cnt) || '>' || crlf;

utl_smtp.data(v_mailconn,v_message); -- calling mail procedure utl_smtp.quit(v_mailconn); 86)How do u call a mail program from Shell program Ans. for file in `find . -name " .com ~$5" -print |cut -c3-120` do echo $file frm=`echo $file | cut -d'~' -f1` tom=`echo $file | cut -d'~' -f2 | sed 's/,/ /g'` echo $frm echo $tom echo "Sending mail to $tom" mailx -r "$frm" -s 'Order Shipment Confirmation' "$tom" < "$file" rc=$ if [ $rc != 0 ] then echo 'invalid file name' fi 34 rm -f "$file" rc=$ if [ $rc != 0 ] then echo 'invalid file name' fi done 87)How do submit a concurrent program from PL/SQL Ans. apps.fnd_global.apps_initialize (user_id => p_user_id ,resp_id => p_resp_id ,resp_appl_id => p_resp_appl_id) ; / p_error_message := p_error_message ||'Calling Receiving transaction processor '||chr(10); v_request_id := apps.fnd_request.submit_request ('PO' ,'RVCTP' ,NULL ,NULL ,FALSE ,'BATCH' ,p_batch_id ); dbms_output.put_line('request id is :'||v_request_id); COMMIT; p_error_message := p_error_message ||'Receiving Transaction Processing Request i d :'||v_request_id ||chr(10) ; IF (v_request_id > 0) THEN v_complete := FND_CONCURRENT.wait_for_request ( request_id => v_request_id , interval => 10 , max_wait => 0 , phase => v_phase , status => v_status , dev_phase => v_dev_phase 35 , dev_status => v_dev_status , message => v_message); 88)How do u register a concurrent program from PL/SQL

Ans. apps.fnd_program.executable_exists -> To check if executable file exists apps.fnd_program.executable -> To make executable file fnd_program.program_exists -> To check if program is defined apps.fnd_program.register -> To register/define the program apps.fnd_program.parameter -> To add parameters apps.fnd_program.request_group -> To add to a request group 89)How do u initialize an API Ans. apps.gems_public_apis_pkg.fnd_apps_initialize ( user_id => p_user_id , resp_id => p_resp_id , resp_appl_id => p_resp_appl_id) And U can get the parameters from the following script -> SELECT DISTINCT f5.user_id , f4.responsibility_name responsibility_name , f4.responsibility_id responsibility_id --INTO --v_user_id --, v_responsibility_name --, v_responsibility_id FROM applsys.fnd_user_resp_groups f6 , apps.fnd_user f5 , apps.fnd_profile_options f1 , apps.fnd_profile_option_values f2 , apps.fnd_responsibility f3 , apps.fnd_responsibility_tl f4 WHERE SYSDATE BETWEEN f6.start_date AND NVL(f6.end_date,SYSDATE) AND f5.user_id = f6.user_id AND UPPER(f5.user_name) like '%GLOBALPARTS%' AND f6.responsibility_id = f4.responsibility_id AND f2.profile_option_value = TO_CHAR(13) -- Putting the ORG ID Value AND f2.profile_option_id = f1.profile_option_id AND f1.profile_option_name = 'ORG_ID' AND f3.application_id = 201 AND f2.level_value = f3.responsibility_id AND f3.responsibility_id = f4.responsibility_id AND UPPER(f4.responsibility_name) LIKE UPPER('GEMS%PO%MANAGER%') 36 AND ROWNUM = 1; 90)How Do u register a table & a column Ans. EXECUTE ad_dd.register_table( 'GEMSQA', 'gems_qa_iqa_lookup_codes', 'T', 51 2, 10, 70); EXECUTE ad_dd.register_column('GEMSQA', 'gems_qa_iqa_lookup_codes', 'LOOKUP_CODE ', 1, 'VARCHAR2', 25, 'N', 'N'); 91) What resources are provided for developing applications which will be integrated into Oracle Applications Release 11 a. The Oracle Applications Developer's Guide Release 11 and the Oracle Applications User Interface Standards Release 11. b. The AU_TOP/forms/US/TEMPLATE.fmb for developing a new form. c. The AU_TOP/forms/US/APPSTAND.fmb contains standard property classes for your runtime platform. d. The AU_TOP/resource/FNDSQF.pll contains routines for Flexfields, Function Security, User Profiles, Message Dictionary. e. The AU_TOP/resource/APPCORE.pll contains standard User Interface routines. f. The AU_TOP/resource/APPDAYPK.pll contains the Calendar Widget routines.

g. The AU_TOP/resource/CUSTOM.pll for adding custom code which affects Oracle Applications forms without changing Oracle Applications code. h. The AU_TOP/resource/GLOBE.pll allows Oracle Applications developers to incorporate global or regional features into Oracle Applications forms without modifying the base Oracle Applications forms. Globe calls routines JA, JE, and JL libraries. i. The AU_TOP/resource/JA.pll called from Globe and contains Asia/Pacific code. j. The AU_TOP/resource/JE.pll called from Globe and contains EMEA (Europe/Middle East/Africa) code. k. The AU_TOP/resource/JL.pll called from Globe and contains Latin America code. l. The AU_TOP/resource/VERT.pll allows Oracle Applications developers to incorporate vertical industry features (for automotive, consumer packaged goods, energy, and other industries) into Oracle Applications forms without modifying the base Oracle Applications forms. 37 m. Oracle Developer/2000 Server Release 1.6.1. NOTE: All FMB and PLL files must be migrated to your desktop if you intend to develop and integrate custom applications into Oracle Applications Release 11. 92. What are the supported versions of Forms and Reports used for developing on Oracle Applications Release 11 Answer-----a. The following supported versions are provided in Developer/2000 Release 1.6.1: i. Forms 4.5 ii. Reports 2.5 93. How do I compile and/or generate an Oracle Applications form Answer-----a. UNIX cd $AU_TOP/forms/US f45gen module=FNDSCAUS.fmb userid=APPS/APPS output_file= /appl/v1100000/fnd/11.0.28/forms/US/FNDSCAUS.fmx module_type=form batch=no compile_all=special b. Windows NT cd F:\applr11\au\11.0.28\forms\US f45gen32 userid=APPS/APPS module=FNDSCAUS.fmb output_file= applr11\fnd\forms\US\FNDSCAUS.fmx module_type=form batch=no compile_all=special 94. How do I open, compile and/or generate a custom Oracle Applications form on my desktop Answer -----a. To port the AU_TOP/forms/US and AU_TOP/resource files to your Windows desktop: i. Make copies of all required files. ii. Replicate the AU_TOP directory structure on your desktop. iii. Move the files to their appropriate AU_TOP/forms/US for FMB and AU_TOP/resource for PLL. iv. Include the AU_TOP/forms/US and AU_TOP/resource directories in your FORMS45_PATH. v. Open, compile and/or generate forms. NOTE: The FORMS45_PATH is specified either in your Registry or oracle.ini. NOTE: It may sometimes be necessary to convert FMB -> FMT and PLL -> PLD before 38

porting from a Unix platform to your desktop. 95. How do I add a CUSTOM_TOP to Oracle Applications Answer a. Replicate an existing Oracle Applications product directory structure underne ath your APPL_TOP: APPL_TOP | XXCUS_TOP | bin------forms-----html-----lib-----log-----mesg-----out-----reports | | US US b. Make sure all the permissions on the files and directories are the same as the other product directories. c. Add the full path to this CUSTOM_TOP to your APPLSYS.env ( Source your APPLSYS.env) or your Windows NT Registry: UNIX: /u01/oracle/apps/vd11/xxcus/11.0.28 Windows NT: D:\oa\appltst\vd11\xxcus\11.0.28 d. Login to Oracle Applications using the System Administrator or Application Developer Responsibility. e. Navigate: Application -> Register and add your new CUSTOM_TOP to Oracle Applications. Application Short Name Basepath Description ------------------------------------------------------------------------------Custom Application XXCUS XXCUS_TOP Custom Application f. Shutdown and restart your Internal Concurrent Manager (ICM) so that the concurrent manager will recognize the change to the environment that was made to the APPLSYS.env and Registry. 96. How to get the data from the views in Multi_ORG views A. Using the profiles and client info package. Eg: SELECT FROM po_headers this is multi org view If we can?t get the data with the above query then we have to write a procedure as shown below. DECLARE x NUMBER:=0; 39 BEGIN x:=fnd_profile.value('org_id'); fnd_client_info.set_org_context (204); END; Compile and run the query once again. 97) What is Responsibility / Request Group Ans: Responsibility is used for security reason like which Responsibility can do what type of jobs etc. Set of Responsibility is attached with a Request group. When we attach the reque st group to a concurrent program, that can be perform using all the Responsibili ties those are attached with Request group. 98) What is DFF Ans: The Descriptive Flexi field is a field that we can customize to enter addit ional information for which Oracle Apps product has not provided a field. Ex. ATP program calculates for those warehouses where Inventory Org Type is DC o r Warehouse in DFF Attribute11 of MTL_PARAMETERS table. 99) What is Value Set

Ans: Value Sets define and store the valid items of data, which may be entered i nto a field. Key Flexfields, Descriptive Flexfields and many standard fields use Value Sets. Oracle already comes with hundreds of Value Sets. We define additional Value Sets to support our own user-defined Key and Descript ive Flexfields (although we may use any existing standard Value Sets if they sui t our purpose). In defining a new Value Set, we are defining the physical format of valid data, which can reside in that Value Set. Data in a Value Set can be of several types: Independently loaded into a Value Set (through a standard form). Resident in a table (to which we direct the Value Set definition). There could be No Validation (any data can go into the field, but still subject to the formatting rules.) Dependent on the value of data in a preceding Independent segment (loaded throug h a standard form). Ex: For Supplies & Accessories CC in ATP, we define GEMS_GPO_ASSIGN_SET value se t for the assignment set associated with that OU. 100) What is multi-org Ans: It is data security functionality in Oracle 10.6 and above. Applicable User responsibilities are created and attached to specific Operating Unit. User can access the data that belongs to the Operating unit they login under. 40 The benefit is it enables multiple operating units to use a single installation of various modules, while keeping transaction data separate and secure by operat ing unit. It has an effect on the following modules: Order Entry Receivable Payable Purchasing Project Accounting

Anda mungkin juga menyukai