Tuesday, July 9, 2013

fnd load

FND LOAD...


Create  LDT File from  where we already created Concarent Program

FNDLOAD apps/apps O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct XXOPENPOHEADERCONVLOADER.ldt PROGRAM APPLICATION_SHORT_NAME="CUST_TOP" CONCURRENT_PROGRAM_NAME="XXOPENPOHEADERCONVLOADER"


Adding concarent program throgh shall script based on downloded LTD File

chmod 755 XXAPSUPPLOADER.ldt >> $LOGFILE 2>> $LOGERR

dos2unix XXAPSUPPLOADER.ldt >> $LOGFILE 2>> $LOGERR

FNDLOAD apps/$P_APPS_PWD 0 Y UPLOAD $FND_TOP/patch/115/import/afcpprog.lct $CUST_TOP/ldt/XXAPSUPPSITELOADER.ldt - CUSTOM_MODE=FORCE >> $LOGFILE 2>> $LOGERR

Adding concarent program to request Group

BEGIN

IF NOT fnd_program.program_in_group(program_short_name => 'XXAPSUPPSITELOADER',
                          program_application  => 'CUST_TOP',
                          request_group => 'JAI_FixedAssets_RG',
                          group_application => 'JAIFARG') THEN

      fnd_program.add_to_group(program_short_name => 'XXAPSUPPSITELOADER',
                    program_application => 'CUST_TOP',
                    request_group => 'JAI_FixedAssets_RG',
                    group_application => 'JAIFARG');
  dbms_output.put_line('program attached to the  request group');
else
  dbms_output.put_line('program is in request group');
end if;                        

commit;
exception
   when others then
      raise;
end;


No comments:

Post a Comment