Extending logic behind a checkbox in iRecruitment external candidate page.

Hi All,
We have a requirement to extend the logic behind the check box in Irecruitment external page (AplOtherInfoPG). The logic is buit in a AM (IrcCandidatePersonalAcountAM). Its a root AM for the page AplOtherInfoPG and its referred from many other pages too. I have extended this AM using following steps
1. FTP all the files from $JAVA_TOP/oracle/apps/per/* to your PC and configure your PC for OA Framework development
2. Create a new BC4J package in which the extension will reside.
3. Note down the path and the properties of existing AM that we wish to extend
4. Create a new AM, and specify the original AM being extended.
5. Ensure that the properties of original AM are applicable for new AM too.
6. Perform substitution. This will create a jpx file.
7. Upload the jpx file into Database.
8. Deploy the custom BC4J to $JAVA_TOP by FTP'ing all files.
9. Bounce the server
After this change I'm getting the error 'JBO-29000: Unexpected exception caught: java.lang.StackOverflowError, msg=null'. This error is appearing on all the pages where the same AM(IrcCandidatePersonalAcountAM) is referred. Its totally clueless.
I have got an suggestion that extending an root AM is not recommanded in OAF. If So, how I should go about it.
Please help me to achieve this requirement.
Thanks,
Guru

Hi Guru,
As you mentioned extending the rootAM is not advisable.
As a workaround what you can try is
1) Extend the controller in your page,
and get the RootAM, ChildAM, Your VO(where you have the checkbox attribute is there) and then set the value what do you wanted.
Use the below code to get your required AM and VO, please change the sample code according to your AM name...etc.
// Get requested AM from Root am
public OAApplicationModule getRequestedAM(OAPageContext pageContext, String requestedAMName)
writeLog(pageContext,"Requested AM called to check the AM "+requestedAMName );
String amName = "";
String objectivesAMName = requestedAMName;//"ObjectivesAM";
String nestedAMArray[] = pageContext.getRootApplicationModule().getApplicationModuleNames();
pageContext.writeDiagnostics(this,"Root AM=>"+pageContext.getRootApplicationModule().getName() + " Child AMs=>"+ nestedAMArray.length,1);
OAApplicationModule currentAM = null;
currentAM = (OAApplicationModule)pageContext.getRootApplicationModule();
for(int i = 0; i < nestedAMArray.length; i++)
amName = nestedAMArray;
pageContext.writeDiagnostics(this,"Nested AM Name=>"+amName + "and amName.indexOf(objectivesAMName) "+amName.indexOf(objectivesAMName),1);
currentAM = (OAApplicationModule)pageContext.getRootApplicationModule().findApplicationModule(amName);
                    //Get the view names
               String[] viewNames = currentAM.getViewObjectNames();
for (int i =0 ;i<viewNames.length ;i++ )
writeLog(pageContext,i +" Value "+viewNames[i]);
if(!(amName.indexOf(objectivesAMName)==-1))
pageContext.writeDiagnostics(this,"Found Handle to My Nested AM " + amName ,1);
break;
return currentAM;
Get the VO from the AM
OAViewObject objAssessmentVO = (OAViewObject)yourAM.findViewObject("yourVO");
Get all the attribute from a VO with Attribute Names in Custom CO
OAApplicationModule rootAM = pageContext.getRootApplicationModule();
OAApplicationModule apprAM = (OAApplicationModule)rootAM.findApplicationModule("AppraisalsAM");
String offlineStatus = (String)apprAM.invokeMethod("getOfflineStatus",new Serializable[]{appraisalId+""});
OAViewObject appraisalVO = (OAViewObject)apprAM.findViewObject("AppraisalVO");
if(appraisalVO !=null)
AppraisalVORowImpl appraisalVORow = (AppraisalVORowImpl) appraisalVO.first();
if(appraisalVORow !=null)
int attrCount = appraisalVO.getAttributeCount();
writeLog("XXRBG",pageContext,"Attrbuute count "+attrCount);
String[] attributeNames = appraisalVORow.getAttributeNames();
for (int i = 0 ;i< attributeNames.length ;i++ )
writeLog("XXRBG",pageContext," Name "+attributeNames[i] +" = "+appraisalVORow.getAttribute(i));
Thanks,
With regards,
Kali.
OSSi.

Similar Messages

  • How to enable Preferences link on Irecruitment External Candidate page?

    Dear all,
    We are accessing Irec External Candidate home page through below URL.
    http://host:port/OA_HTML/IrcVisitor.jsp
    Two languages are installed on this instance. (English, Arabic)
    Now while launching this page, we would like to choose Arabic language.
    How can we achieve this?
    Note:
    I already treid my hands on following.
    1. addedt ICX_GLOBAL_MENU to Irec Candidate global menu
    2.Added ICX_GLOBAL_MENU to External Candidate menu
    No luck.

    Pls check below link if this help:-
    In iRecruitment, Display Language Is A Required Field on External Site [ID 363614.1]
    Thanks,
    JD

  • R12 - irecruitment external candidate user account

    Hi,
    As part of Oracle's release R12.1.2, recruiter can create external candidate's user account.
    I have set the "IRC: Create User Account" to Yes at site level. This made the e-mail field on create candidate page as required. I created the cadidate with required information.
    After that, I can search the candidate with the first name, last name etc. However, no e-mail/notification is sent to that external candidate. When I checked the user for that external candidate using system administrator responsibility, the user account is created but there is no responsibility attached to it.
    Oracle is expected to send a notification to the e-mail id of external cadidate with login information which is not happening. What am I missing?
    Thanks!

    This sounds like a problem with standard functionality to me so you might want to kick off the SR route.
    A couple of things:
    1) Can you see the notification in wf_notifications?
    SELECT *
    FROM wf_notifications
    ORDER BY notification_id desc;
    (this gets all notifications ordered by the most recent, so scan through the begin_date to see if you can find one for this user)
    2) Do you see any responsibilities after running these concurrent programs:
    - Sync responsibility role data into the WF table.
    - Synchronize WF LOCAL tables

  • E-recruitment - External Candidate page should not be  allowed to enter int

    Hello,
    We have requirement in e-recruitment. When recruiter is entering Internal Candidate information using External Candidate site, system should check email adress (company email address), if this is matched and system should prompt with the candidate information that we already have. Do we need change the standard SAP code to implement this? or any other ways?

    For the GUEST user in portal we have done usermapping to the E-Recruitment system using 'J2EE_GUEST' user in E-Rec.
    In SLG1 we are gettting the following errors
    An exception occurred in E-Recruiting.
         CL_HRRCF_ABSTRACT_CONTROLLER==CPCL_HRRCF_ABSTRACT_CONTROLLER==CM00156
    No candidate could be found for US J2EE_GUEST
         The system cannot find any candidates using the data specified.
    Error while creating candidate

  • Irecruitment external candidate issue- Urgent Plz

    Hi All,
    We are having irecruitment enabled for the external site visitors in the website. This is working fine with the IE7 version. Now users are using IE 8 version and they are facing some problems like not able to upload the resume.
    So my question is, Is there any setups we need to do for the IE 8 version of the irecruitment version.
    Thanks and Regards,
    joshna.

    From this post i came to know that we need the form updation is required, if we update the forms versions. We may face different issues which can't be expected. So i want suggestion from you people to go forward.This is a must to meet the minimum requirements and ensure that your client browser and OS are certified with Oracle EBS.
    What i suggest to the client is enable a tip message in the External site visitor page that This application is not compatible to the IE 8 for time being, but i need to fix it asap.I believe there is no other fix (or workaround). If you do not want to apply the required patches to meet the minimum requirements, then you may log a SR and see if Oracle support would help (I doubt it since they will ask it to apply those patches first).
    Thanks,
    Hussein

  • Error While saving Basic Detail in iRecruitment External Candidate

    Guys
    Actually data was already saved by IEC responsibility after some changing then we accessed this page again then basic data was blank while address information was appearing properly, and we update again basic information then system is being raise error " No current row for View (IrcCandidatePerInfoVO)".
    this coused was due personalization ,
    Could you please help me this issued is appearing on prod system.
    Thanks.

    i checked the solution, which is step below, i have checked end date,but this field was blank.
    Could you please help me furthere if you don't mind.
    Edited by: oracle0282 on Nov 5, 2010 3:49 AM

  • E-Recruitment External Candidate Page in Portal

    Hello All,
    we have E-Recruitment 6.0(Stand alone installation) and EP 7.0.
    Have configured Anonymous logon in portal and created iViews for the External page(ABAP webdynpro for application hrrcf_a_startpage_ext_cand), since its a ABAP Webdynpro iView it is checking for the usermappin for SSO and hence the application thows error.
    The application is displayed properly using the URL
    "http://<E-rec_host_name>:<port 8000>/sap/bc/webdynpro/sap/hrrcf_a_startpage_ext_cand?sap-language=EN"
    The problem is only when trying to access through the Portal; We need this since we are exposing portal externally.
    As the main purpose of the application 'hrrcf_a_startpage_ext_cand' is to display a logon page and also allow a user to register, there should not be any user mapping done.
    Really confused how to handle this scenario; Can any one help in integrating this E-Recruiting with Enterprise Portal.
    Thanks All in advance.

    For the GUEST user in portal we have done usermapping to the E-Recruitment system using 'J2EE_GUEST' user in E-Rec.
    In SLG1 we are gettting the following errors
    An exception occurred in E-Recruiting.
         CL_HRRCF_ABSTRACT_CONTROLLER==CPCL_HRRCF_ABSTRACT_CONTROLLER==CM00156
    No candidate could be found for US J2EE_GUEST
         The system cannot find any candidates using the data specified.
    Error while creating candidate

  • Irec External Candidate issue

    We created external user in Irec. Username created successfully and following responsibility is assigned to him by system.
    iRecruitment External Candidate
    Now I try to log in with this username/password.
    After entering username/password of external candidate, it automatically goes to below url and I am getting no page found error.
    https://careers.abc.uk/OA_HTML/OA.jsp?page=/oracle/apps/fnd/sso/login/webui/MainLoginPG&akRegionApplicationId=0&transactionid=540823505&language_code=US&requestUrl=&username=IREC_USER&langCode=US&rfctx=bstfKXcnspEIVScal1nW3g76X1cwPYd-pHAbKQravIE&oas=x5NkJ7Hrj1CbAfiDDXFRvw..
    I believe, we are missing some setup.
    So please advice.

    From log, it clearly indicates that, when we try to open below link:
    http://erp-dev.ajman.ae:8021/OA_HTML/IrcVisitor.jsp
    then it divers to the "career.ajman.ae:443". it should be "erp-dev.ajman.ae:8021" instead of this.
    I think it is happening due to some framework profile.
    Once we will set the correct value in this profile, issue will be resolved.
    Can someone tell me the exact profile name?
    https://career.ajman.ae:443/OA_HTML/OA.jsp?page=/oracle/apps/irc/candidateSelfService/webui/VisHomePG&akRegionApplicationId=821&OAPB=IRC_BRAND&transactionid=1954324264&language_code=US&p_home_url=/OA_HTML/IrcVisitor.jsp&OASF=IRC_VIS_HOME_PAGE&OAHP=IRC_EXT_SITE_VISITOR_APPL&rfctx=O.aAEciZ4lS2n-qmSZgRyg76X1cwPYd-pHAbKQravIE&oas=a3TIuomUokplzudm3asqmg..
    GET /OA_HTML/IrcVisitor.jsp HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*
    Accept-Language: en-us
    UA-CPU: x86
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Host: erp-dev.ajman.ae:8021
    Connection: Keep-Alive
    Cookie: oracle.uix=0^^GMT+3:00^p
    HTTP/1.1 302 Moved Temporarily
    Date: Wed, 20 Apr 2011 08:40:19 GMT
    Server: Oracle-Application-Server-10g/10.1.3.0.0 Oracle-HTTP-Server
    Set-Cookie: JSESSIONID=c0a8646f54655c3cbb8705c64491ac23e910c88e534c.e34TbNaNaN0Qai0QaNeObhyTbN50; path=/OA_HTML
    Set-Cookie: DEV=9mJk2lvFEh-9AU5nqVygsZNS:S; Domain=.ajman.ae; Path=/
    Location: http://erp-dev.ajman.ae:8021/OA_HTML/RF.jsp?function_id=14296&resp_id=23350&resp_appl_id=800&security_group_id=0&lang_code=US&params=eH5l70xLXi1cY17ZmbkqBmDaVkSdJzj2r8LJn-7qn4IX5g3dynlT13MLJh34U.87&oas=7pFNuuV8mfnYYyBWkRLqYQ..
    Keep-Alive: timeout=15
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=WINDOWS-1256
    GET /OA_HTML/RF.jsp?function_id=14296&resp_id=23350&resp_appl_id=800&security_group_id=0&lang_code=US&params=eH5l70xLXi1cY17ZmbkqBmDaVkSdJzj2r8LJn-7qn4IX5g3dynlT13MLJh34U.87&oas=7pFNuuV8mfnYYyBWkRLqYQ.. HTTP/1.1
    Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*
    Accept-Language: en-us
    UA-CPU: x86
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Host: erp-dev.ajman.ae:8021
    Connection: Keep-Alive
    Cookie: JSESSIONID=c0a8646f54655c3cbb8705c64491ac23e910c88e534c.e34TbNaNaN0Qai0QaNeObhyTbN50; oracle.uix=0^^GMT+3:00^p; DEV=9mJk2lvFEh-9AU5nqVygsZNS:S
    HTTP/1.1 302 Moved Temporarily
    Date: Wed, 20 Apr 2011 08:40:19 GMT
    Server: Oracle-Application-Server-10g/10.1.3.0.0 Oracle-HTTP-Server
    Set-Cookie: JSESSIONID=c0a8646f54655c3cbb8705c64491ac23e910c88e534c.e34TbNaNaN0Qai0QaNeObhyTbN50; path=/OA_HTML
    Location: https://career.ajman.ae:443/OA_HTML/OA.jsp?page=/oracle/apps/irc/candidateSelfService/webui/VisHomePG&akRegionApplicationId=821&OAPB=IRC_BRAND&transactionid=1954324264&language_code=US&p_home_url=/OA_HTML/IrcVisitor.jsp&OASF=IRC_VIS_HOME_PAGE&OAHP=IRC_EXT_SITE_VISITOR_APPL&rfctx=O.aAEciZ4lS2n-qmSZgRyg76X1cwPYd-pHAbKQravIE&oas=a3TIuomUokplzudm3asqmg..
    Keep-Alive: timeout=15
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=WINDOWS-1256
    -------------------------------------------------------------------

  • IRec: Hosting multiple pages for external candidates

    Do we have any standard mechanism or possibility of hosting multiple pages iRecruitment External Candidate/ IrcVisitor.jsp?
    Thanks in advance.

    Hi
    There is no standard mechanism but you can definately refer to the article & solution provided by Anil which describes about how multiple IrcVisitor.jsp can be hosted for segregating vacancies geo wise.
    http://www.apps2fusion.com/solutions/82-oracle-hcm-solutions/454-irecruitment-vacancy-segregation-solution
    Hope it helps.
    Thanks,
    Sanjay

  • I need to change logic behind Calculate Duration button in Leave of Absence

    Hello,
    I need to change logic behind Calculate Duration button in Leave of Absence creation page.
    How I can do that?
    Please suggest.
    Regards,
    mofizur

    This will be a OAF customization, you have extend this oracle.apps.per.selfservice.absence.webui.AbsenceCO Controller.
    in processFormRequest you have catch event to Calculate Duration Button.
    You need to write custom your requrirement Logic for event to Calculate Duration.
    Thanks, Avaneesh

  • Logic behind negative 'Fade Out Linear Value'?

    Hi,
    our team is designing an ipad app. We did some testing on audio fades in Audition and found a 'Fade Out Linear Value' of -15 (over 2000 ms) is the perfect setting.
    However, we now have to pass on this information to a development company in a design document. I tried to find out what the logic is behind this setting so it can be mathematically explained and reproduced in iOS, but I cannot find it in the documentation.
    So does anybody know the logic behind this setting, or does anybody have an idea on how to pass on this information to an external development company in a design document?
    Greetings,
    Pieter-Jan

    I don't think that any of us will have the faintest idea, quite frankly, although I'll check and see if there's any obvious logic to it. IIRC, last time I checked this I couldn't see any direct correlation to anything else at all.
    The only way that I can think of detailing this to somebody else would be to record a constant amplitude sine wave in audition, apply what you think is your ideal fade,  and then measure the amplitude of the sine wave at fixed intervals along it. Make a note of the dB figures and the times, and send that to them.

  • Could you please help me understand the logic behind certain things in OSX?

    Ok, so I try to be an open-minded guy, and I bear no particular allegiance to either OS. I own a Sony TZ and a Mac mini, and my wife has a MacBook Pro. I use both Oses.
    There are certain things I have trouble understanding in th Mac OS, so what I'd really like to understand the logic behind certain design decisions in the OS, and why these might be better ways of accomplishing things. I know how to get around all of the things I mention, so I'm not looking for instructions; rather I'm looking for well-thought out explanations for why these features are the way they are.
    *1. Programs don't quit when you close the window.*
    - This totally puzzles me. Why design it so that program windows are independent are from the running program itself? There must be a reason, cold someone explain how this is more efficient? To me, it's simpler to click an X on the window you are working on to completely shut down a program, rather than to either mouse through menus to select quit, or be obligated to using Command Q keyboard shortcut.
    *2. Menu bars are on the desktop.*
    - Related to the first point, why make the main thing framing your desktop be something which is always changing depending on the program? Why have file menus outside the main window of the program. Having the menu bar on the desktop then necessitates an additional area, the dock, which has to be used as a launch bar and to tell you what programs are currently running. That obligates you to having 3 different areas of screen: 1 for program menus, 1 for running programs, and the program window itself. This seems very inefficient to me. Not to mention all the messy-looking floating palettes all over the place, again because everything is separated and not nicely contained in a single program window.
    - Really, having a changing menu bar that frames the desktop isn't even consistent wth the whole desktop metaphor, which is that you place things on a desktop, like programs, files, etc. Are you changing the whole desk everytime you load a new program, yet the wallpaper stays the same? Doesn't seem to be logically consistent to me.
    *3. No delete key.*
    - This one really gets me. Why make such a commonly used key be a function key (Fn + Backspace)? Why make the user press a secondary key for a major function?
    *4. No Cut command.*
    - I read something about how Cut doesn't actually make sense when moving files around, but I obviously didn't fully understand it. Why make the user command drag, when you can just do Ctrl X??.
    *5. Launching Apps from the Finder.*
    - This seems weird to me, that you find and launch applications from the same thing you use to view files. Program icons in the finder are placeholders for the entire program, not files, yet they are found in the file viewer. Again, to me this seems logically mixed. I really dislike scrolling through Finder to look for apps. I know there is Spotlight and the dock (used as a quicklauncher), but these are really just workarounds for a setup which seems inherently illogical. To me at least, a menu of applications make more sense, ie, the start menu.
    Anyway, those are all I can think of now, although there are other things aout OSX that don't make sense to me.
    Thanks in advance! If I can understand Apple's reasoning and it is convincingly better, that will go a long way towards making me more comfortable with this OS.

    1. Programs don't quit when you close the window.
    That's really more a matter of what you're used to. It comes down to a programming decision as to what Apple and Microsoft considered to make sense. MS thinks that if there are no open windows, you're done using the app. Apple thinks you aren't necessarily done yet, as others have mentioned. I certainly wouldn't want Photoshop to quit every time I closed the last open image I was working on. Would be nice though if Safari would quit when I close the last open browser window. It's quick to relaunch if you really weren't done with it, so wouldn't be much of a bother to have it shut down with the last window.
    2. Menu bars are on the desktop.
    Makes way more sense the Microsoft's approach of repeating the same file menu on every open document in a program. How many places do you need to see File, Options and other common menu headings?
    2. Menu bars are on the desktop.
    Related to number two. The forward app is the only one you can directly work in, so why not have the menu bar change to reflect the choices for that application? When you go back to the previous app you were in, the menu bar changes back. So what loss of functionality is there? It comes back to not having menu bars on every single open window. There's no need or purpose for it.
    3. No delete key.
    Backspace does the same thing.
    4. No Cut command.
    Command+X, not Ctrl+X. This is Mac, not Windows. There's also very little need to ever do this from the keyboard. If you're moving files that are on the same drive/partition, then just drag and drop from the target folder window to the source. It's automatically a move. If going from one physical drive or partition to another, it's automatically a copy. Press and hold the Command key during the drag to make it a move.
    Besides, you don't really think Windows cuts the entire folder or file contents into RAM, do you? If your computer has 4 GB of RAM, and you cut 12 GB of data, it of course can't possibly fit in the clipboard. All Windows does when you do a cut is visually remove the files and folders from the screen. If the items are going to a location on the same drive/partition, it does the same thing as if you did a drag and drop move. The file table is simply updated to reflect the new file or folder locations. If it's to a different drive/partition, it then performs a copy then delete action, same as OS X.
    5. Launching Apps from the Finder.
    A program is just as much a file as any other file. It takes up space on the drive. The OS of course knows what to do with it when you double click an app. Same as it knows what to do when you double click a document related to an app. Windows is no different. An .exe file is also just as much a file as a .doc file. The .exe extension tells Windows to try and treat it as a program to load into RAM. It's not just a simple placeholder. The program has to be made up of something.

  • What is the logic behind the start routine

    Dear One's,
    Kindly take a moment and explain the logic behind this start routine written in update rules of ODS.
    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    $$ end of global - insert your declaration only before this line   -
    The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CST_T07_O006.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries.
    DATA: ITAB_/BIC/AT07_O00600 TYPE SORTED TABLE OF /BIC/AT07_O00600
          WITH HEADER LINE
          WITH UNIQUE DEFAULT KEY INITIAL SIZE 0,
          DATA_PACKAGE_NEW TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
          WITH HEADER LINE
          WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    sort the datapackage based on lead number and lead program definition
    SORT DATA_PACKAGE BY /BIC/TLDNR /BIC/TLDPRGFTE.
    from the resources ODS read all lead values based on the values those
    SELECT * FROM /BIC/AT07_O00600 INTO TABLE
             ITAB_/BIC/AT07_O00600
             FOR ALL ENTRIES IN DATA_PACKAGE
             WHERE /BIC/TLDNR = DATA_PACKAGE-/BIC/TLDNR.
    FIELD-SYMBOLS: <LS_DATA_PACKAGE> TYPE DATA_PACKAGE_STRUCTURE.
    FIELD-SYMBOLS: <LS_/BIC/AT07_O00600> TYPE /BIC/AT07_O00600.
    loop at internal table of ODS to check if there are lead program defin
    from the source which mean the values of lead program definition in OD
    values of lead program definition in datapackage.
       LOOP AT ITAB_/BIC/AT07_O00600 ASSIGNING <LS_/bic/at07_o00600>.
         READ TABLE DATA_PACKAGE
          TRANSPORTING NO FIELDS
          WITH KEY
          /BIC/TLDNR = <LS_/bic/at07_o00600>-/BIC/TLDNR
          /BIC/TLDPRGFTE = <LS_/bic/at07_o00600>-/BIC/TLDPRGFTE
          BINARY SEARCH.
          IF SY-SUBRC <> 0.
    new lines with zero values are inserted because there are no correspon
    DATA_PACKAGE_NEW-/BIC/TLDNR = <LS_/BIC/AT07_O00600>-/BIC/TLDNR.
    DATA_PACKAGE_NEW-/BIC/TLDPRGFTE = <LS_/BIC/AT07_O00600>-/BIC/TLDPRGFTE.
      DATA_PACKAGE_NEW-/BIC/TLDFTE = 0.
      APPEND DATA_PACKAGE_NEW.
         ENDIF.
      ENDLOOP.
    append the new records which are created for the leads in the datapack
      APPEND LINES OF DATA_PACKAGE_NEW TO DATA_PACKAGE.
    reset the sorting of the datapackage back to its original state
      SORT DATA_PACKAGE.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.
    Thanks in advance

    hi,
    it's retrieve data from table /BIC/AT07_O00600
    and add to data package, so your records will be more than from source
    hope this helps.

  • Add logic behind 'Update Opportunity Totals' button in Oracle CRM On Demand

    HI,
    I need to add custom logic behind 'Update Opportunity Totals' button in Oracle CRM On Demand. Can anyone please let me know where can I implement this logic? Where can I find already implemented code of  'Update Opportunity Totals' button.
    Thanks,
    RM

    Pl post this in a Siebel related forum
    HTH
    Srini

  • Program/Logic behind the Copy functionality in SE38 Transaction

    Hi,
    In SE38 by using the copy option, Program along with sub-objects can be copied to another object.
    Please let me know the Program/Logic behind that functionality.
    Also let me know is there any option in SAP to copy program from one system to another system.
    Thanks,
    Madhuri.

    Hi Madhuri
    This is tha Program logic behind copying object thru se38
    where p_operation would have the value 'COPY'' in it.
      DATA: l_request TYPE REF TO cl_wb_request,
            l_wb_todo_request TYPE REF TO cl_wb_request,
            l_object_name TYPE seu_objkey,
            l_object_type TYPE seu_objtyp,
            l_program_state TYPE REF TO cl_wb_program_state.
      IF trdir-subc = 'I'.
        l_object_type = swbm_c_type_prg_include.
        CALL METHOD cl_wb_object_type=>get_concatenated_key_from_id
          EXPORTING
            p_key_component1 = space
            p_key_component2 = rs38m-programm
            p_external_id    = l_object_type
          RECEIVING
            p_key            = l_object_name.
      ELSE.
        l_object_type = swbm_c_type_prg_source.
        l_object_name = rs38m-programm.
      ENDIF.
      CREATE OBJECT l_program_state.
      CREATE OBJECT l_request
          EXPORTING p_object_type =  l_object_type
                    p_object_name = l_object_name
                    p_operation   = p_operation
                    p_object_state = l_program_state .
      CALL METHOD
        wb_pgeditor_initial_screen->mngr->request_tool_access
        EXPORTING
          p_wb_request      = l_request
        IMPORTING
          p_wb_todo_request = l_wb_todo_request
        EXCEPTIONS
          action_cancelled  = 1
          no_tool_found     = 2.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        EXIT.
      ENDIF.

Maybe you are looking for

  • How to get appinfo-Information

    Hi, here is an extract from my schema: <xs:element name="customers"> <xs:annotation> <xs:appinfo>some info</xs:appinfo> </xs:annotation> <xs:complexType> <xs:sequence> <xs:element name="customer" type="customer_type" /> </xs:sequence> </xs:complexTyp

  • Error in step Activate BW content for RCA

    Hi Experts, We have upgraded solution manager  7.1 system from SP06 to SP11. Facing issue in Solman_Setup -> Basic Configuration -> Configure Automatically -> Activate BW content for RCA. This step is going to error and not showing any log details in

  • W2 and 1099 Patches for year 2009 on E-Business Suite 11.5.10.2

    Friends - Is there any w2 and 1099 patches released for year 2009 for E-business suite 11.5.10.2 Recently we implement basic HR without any benefits. Please provide me list of patch details. Regards Satish

  • Customer exit in BEx to derive Cal month

    hey all, i need to write  a customer exit, to derive  prev Cal Month value from the given Calday. I have written the code but it derives the current cal month instead of previous. any suggestions ? case I_VNAM.   when 'ZCU_CMTH' .     if i_step = 2.

  • Upgrading to Lion OS - what do I need to do

    I need to upgrade to 10.7 lion to move to the cloud.  Any precautions?  I also run Quicken Essentials and am reasonably confident that will be OK.  Any guidance or tips, anyone?