July 13, 2015

Quick Overview of HRMS functional Setup.

HRMS Functional Setup:

1.Create Key Flexfileds
    -JOB
    -GRADE
    -COMPETENCE
    -POSITION

2.Create Location
3.Create Business Group
4.Create Organization,Hierarchy,diagramer
5.Create JOB
6.Create Career Path
7.Create Position,Hierarchy,diagramer
8.Create Grade,rate and Scale
9.Assign all position to the grade and points.

April 14, 2015

Consult the OPP service log for details.

For XML reports with layout or Cross tab type template errors will encounter with Complete/warning with Error Msg Consult the OPP service log for details.

Need to Check log file for error:
The path is
/u01/DZWD(service SID)/inst/apps/DZWD_jvezdap1/logs/appl/conc/log/filename.txt

To find the file Path  use the query



SELECT 

fcpp.concurrent_request_id req_id, fcp.node_name, fcp.logfile_name 

FROM fnd_conc_pp_actions fcpp, fnd_concurrent_processes fcp 
WHERE fcpp.processor_id = fcp.concurrent_process_id
 AND fcpp.action_type = 6
 AND fcpp.concurrent_request_id = 20918150(&concurrent program request_id)
;

Mostly the error will come when the template code given differs.
Note:Concurrent program short name and data definition short name should be the same and template code can differ from concurrent program short name.

Scripts for fndload upload /downlod step by step

Place this script file in temporary location with the reports and *.ldt file under same temp directory.

Step1:-Code for Login in Database and java base for DD & RTF File
*******************************************
# +===================================================================+
TMPDIR=`'pwd'`
# +===================================================================+
#  Function to Check the validity of loginids and password.
# +===================================================================+

CHKLOGIN(){
       if sqlplus -s /nolog <<! >/dev/null 2>&1
          WHENEVER SQLERROR EXIT 1;
          CONNECT $1 ;
          COLUMN tbl NEW_VALUE tbl_name NOPRINT;
          SELECT  table_name tbl
          FROM  all_tables
          WHERE table_name  = '$2'
          AND   ROWNUM      = 1;
          EXIT;
!
    then
        echo OK
    else
        echo NOK
    fi
}
APPSID="$XX_APPS_LOGIN_PASS"
# +===================================================================+
#  Check if APPS Login Id is entered else prompt to get it
# +===================================================================+
while [ "$APPSID" = "" -o `CHKLOGIN "$APPSID" "DUAL"` = "NOK" ]
do
    if [ "$APPSID" = "" ];then
            echo -e "Enter APPS Login Userid/Passwd : \c"
            read APPSID
    else
        echo "APPS Login Userid and Password entered is not CORRECT"
        APPSID=""
    fi
done
APPS_LOGIN=`echo $APPSID | cut -d"/" -f1`
APPS_PWD=`echo $APPSID | cut -d"/" -f2`
echo "Enter JDBC Connection String e.g 10.22.16.38:1543:IMDU: "
read APPSJDBC
#:: eg jaorddu1.dpa.co.ae:1533:DWCD
*********************************************************************
Step 2:Copy all the files You need to deploy in temp folder:

->shell script file name: cp $TMPDIR/SCRIPT.install                    $XXHR_TOP/bin/SCRIPT.install
->Any Packages/SQL/Views: cp $TMPDIR/XXHR_PACKAGE.sql                        $XXHR_TOP/admin/sql/XXHR_PACKAGE.sql
->Concureent program *.ldt file cp $TMPDIR/XXHRXMLRPT.ldt                    $XXHR_TOP/admin/import/XXHRXMLRPT.ldt
->template file related to the report : cp $TMPDIR/XXHRXMLRPT.rtf                    $XXHR_TOP/admin/import/XXHRXMLRPT.rtf
->rdf file related to the report cp $TMPDIR/XXHRXMLRPT.rdf                            $XXHR_TOP/reports/US/XXHRXMLRPT.rdf
**********************************************************************
Step3:Upload Valusets,Concurrent Program And Data Definition:

->$FND_TOP/bin/FNDLOAD $APPSID O Y UPLOAD $FND_TOP/patch/115/import/afffload.lct  valueset.ldt - WARNING=YES UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE
->Concurrent Program
if $FND_TOP/bin/FNDLOAD $APPSID O Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct XXHRXMLRPT.ldt UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE
then
    echo "Successfully uploaded Concurrent Program - XXHR:Employee  Report"
else
    echo "Error uploading in Concurrent Program -  XXHR:Employee   Report"
fi

#TEMPLATE of the Report
if java oracle.apps.xdo.oa.util.XDOLoader UPLOAD -DB_USERNAME $APPS_LOGIN -DB_PASSWORD $APPS_PWD -JDBC_CONNECTION $APPSJDBC -LOB_TYPE TEMPLATE -APPS_SHORT_NAME XXHR -CUSTOM_MODE FORCE -XDO_FILE_TYPE RTF -LANGUAGE en -LOB_CODE XXHRXMLRPT -FILE_NAME XXHRXMLRPT.rtf
then
   echo "Successfully uploaded xsl template - XXHR:Employee  Report"
else
   echo "Error uploading in xsl template -  XXHR:Employee  Report"
fi
#
##Data Definition Of the Report+
if $FND_TOP/bin/FNDLOAD $APPSID O Y UPLOAD $XDO_TOP/patch/115/import/xdotmpl.lct XXHR_EMP_PROB_PRD_REP_DD.ldt
then
    echo "Successfully uploaded DD -  XXHR_EMP_PROB_PRD_REP_DD"
else
    echo "Error uploading in DD -  XXHR_EMP_PROB_PRD_REP_DD"
fi
#
****************************************************EOF*************************

FNDLOAD UPLOAD(RTF,XSL),DOWNLOAD

Create the concurrent program.to move you need to extract the ldt and upload the same through the script for nay other instance.Below have listed the commands used to download and upload of concurrent programs.

FNDLOAD command for Download

Concurrent:
FNDLOAD username/Password O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct FILENAME.ldt PROGRAM APPLICATION_SHORT_NAME="HR" CONCURRENT_PROGRAM_NAME="FILENAME"

Valueset:
FNDLOAD username/Password O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct SETNAME.ldt VALUE_SET FLEX_VALUE_SET_NAME="SETNAME"

Data Def:

FNDLOAD username/Password O Y DOWNLOAD  $XDO_TOP/patch/115/import/xdotmpl.lct FILENAME.ldt XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME='HR' DATA_SOURCE_CODE='SHORTNAME' TMPL_APP_SHORT_NAME='HR' TEMPLATE_CODE='SHORTNAME'

Copy the rtf rdf and xsl file in local temp folder-dont download those.
UPLOAD:

Value Set:
$FND_TOP/bin/FNDLOAD $APPSID O Y UPLOAD $FND_TOP/patch/115/import/afffload.lct  LOV.ldt - WARNING=YES UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE

Conc Prog:
$FND_TOP/bin/FNDLOAD $APPSID O Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct  FILENAME.ldt - WARNING=YES UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE

RTF:
java oracle.apps.xdo.oa.util.XDOLoader UPLOAD -DB_USERNAME $APPS_LOGIN -DB_PASSWORD $APPS_PWD -JDBC_CONNECTION $APPSJDBC -LOB_TYPE TEMPLATE -APPS_SHORT_NAME HR -CUSTOM_MODE FORCE -XDO_FILE_TYPE RTF -LANGUAGE en -LOB_CODE SHORTNAME -FILE_NAME FILENAME.rtf

XSL:
java oracle.apps.xdo.oa.util.XDOLoader UPLOAD -DB_USERNAME $APPS_LOGIN -DB_PASSWORD $APPS_PWD -JDBC_CONNECTION $APPSJDBC -LOB_TYPE TEMPLATE -APPS_SHORT_NAME HR -CUSTOM_MODE FORCE -XDO_FILE_TYPE XSL-FO -LANGUAGE en -LOB_CODE SHORTNAME -FILE_NAME FILENAME.xsl

DD:
 $FND_TOP/bin/FNDLOAD $APPSID O Y UPLOAD $XDO_TOP/patch/115/import/xdotmpl.lct FILENAME.ldt


March 19, 2015

FND Script and Shell Scripting

Download

Concurrent:
FNDLOAD apps/q1w2e3r4 O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct XXHREMPPAYH.ldt PROGRAM APPLICATION_SHORT_NAME="XXHR" CONCURRENT_PROGRAM_NAME="XXHREMPPAYH"  

Valueset:
FNDLOAD apps/q1w2e3r4 O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct XXHR_CCCODE.ldt VALUE_SET FLEX_VALUE_SET_NAME="XXHR_CCCODE"

Data Def:

FNDLOAD apps/q1w2e3r4 O Y DOWNLOAD  $XDO_TOP/patch/115/import/xdotmpl.lct XXHREMPPAYHDD.ldt XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME='XXHR' DATA_SOURCE_CODE='XXHREMPPAYH' TMPL_APP_SHORT_NAME='XXHR' TEMPLATE_CODE='XXHREMPPAYH'


Upload:
Value Set:
$FND_TOP/bin/FNDLOAD $APPSID O Y UPLOAD $FND_TOP/patch/115/import/afffload.lct  XXHR_BU_LOV.ldt - WARNING=YES UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE

Conc Prog:
$FND_TOP/bin/FNDLOAD $APPSID O Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct  XXHREMPPROM.ldt - WARNING=YES UPLOAD_MODE=REPLACE CUSTOM_MODE=FORCE

 RTF:
java oracle.apps.xdo.oa.util.XDOLoader UPLOAD -DB_USERNAME $APPS_LOGIN -DB_PASSWORD $APPS_PWD -JDBC_CONNECTION $APPSJDBC -LOB_TYPE TEMPLATE -APPS_SHORT_NAME XXHR -CUSTOM_MODE FORCE -XDO_FILE_TYPE RTF -LANGUAGE en -LOB_CODE XXHREMPPROM -FILE_NAME EMP_PROM_REP.rtf

DD:
 $FND_TOP/bin/FNDLOAD $APPSID O Y UPLOAD $XDO_TOP/patch/115/import/xdotmpl.lct XXHREMPPOSPAYDD.ldt

Script Process:

Make a temp folder in instance you have registered the reports and create the ldt of Concurrent program,valuset and assosiated RTF if any using the fndload downlod command from unix machine login
Script the *.install File with command to copy the sql,view,ldt,rtf,rdf,valusets etc related to the report.
together create the tar file using command tar -cvf TARFILENAME.tar FOLDER_NAME(CONTAINS files specified in script)
Now Move the tar to the desired instance and extract the tar file using the command tar -xvf TARFILENAME.tar 
go the the extracted folder and run the *.install file using command ./Filename.install


December 16, 2014

BI and OBIEE Difference

A short intro to the consultants confused with OBIEE and BI Publisher.


OBIEE is a stand alone suite and its different for a developer who works on only XML publisher(EBS suite).

The common thing mostly confused is template builder which is used in both the BI development.

OBIEE is stand alone suite has n number features graphic tool depreciation in it.The BI (XML Publisher )Is limited with template builder and fallows same old standards of XML tags.


Happy Reading !!!

May 27, 2012

Functional Review

A ERP should support different categories of a organisation,for example

-It needs to support the Manufacturing Unit Operation,
-It needs to support the Finanacial Operations,
-It needs to support the Service Operations,
-It needs to support the Supply chain Operations like stock holding and clearance details on live and
-It needs to support the live operating and customer's dealings too.

The flow of functional Modules in Oracle Apps is like,


ERP is in Need for high level of transaction Management,Which can be customized according to the industry.Will See About Each modules in Next Upcoming Postings.Happy reading !!!!!
                                       

COALESCE-SQL

Coalesce- return the null values from the expression. It works similar to a case statement where if expression 1 is false then goes to expr...