Modifying the source for my metadata navigation

I have an Enterprise Wiki site collection that contains 5 sub sites. and i want to enable filtering the main site collection and the 5 subsites using metadata terms. to do so , i did the following:-
1. i have enabled the meta data navigation for the 5 sub sites and the main site.
2. i have enabled tree view for the 5 sub sites and the main site.
3. finally i have added the following web part , which will do the redirect , when clicking on any term inside the metadata tree:-
public VisualWebPart1()
protected override void OnInit(EventArgs e)
var request = HttpContext.Current.Request;
var response = HttpContext.Current.Response;
if (!String.IsNullOrEmpty(request.QueryString["TreeField"])
&& !String.IsNullOrEmpty(request.QueryString["TreeValue"]))
response.Redirect(String.Format("{0}?TreeField={1}&TreeValue={2}",
SPContext.Current.ListItem.ParentList.DefaultViewUrl,
request.QueryString["TreeField"],
request.QueryString["TreeValue"]));
else if (!String.IsNullOrEmpty(request.QueryString["TreeField"]))
response.Redirect(String.Format("{0}?TreeField={1}",
SPContext.Current.ListItem.ParentList.DefaultViewUrl,
request.QueryString["TreeField"]));
base.OnInit(e);
protected void Page_Load(object sender, EventArgs e)
the problem i am facing is regarding the source for the filtering, for example if the user is inside the main site and he clicks on one of the terms , then only the pages that are within the current site collection and have the selected term, will be displayed,
while i want to include all the sub sites in the filtering  . so can anyone advice on this please?
in other way , i am trying to have the same behavior in the defualt search. as currently if i am inside the root site for the site collection and i search for certain word,  SharePoint will search the main site and all the sub sites for the word, while
if i am inside certain sub site only pages within that sub site will be searched. while in the metadata navigation and filtering if i am inside the main site and i want to filer based on certain term, then only pages within the main site will be filtered ,
rather than including all the sub sites pages...

Can anyone advice on my question, as i can not find any documentation that talks about changing the content source of the metadata navigation. so that i can specify to include all the sub sites , when filtering pages using the metadata navigation ??? please
any advice ?

Similar Messages

  • Has Oracle published the source for frmwebutil.jar?  (Duncan?)

    After working with webutil for quite some time now, I recently discovered a problem. Before I give details, I must emphasize that I am running using the Java Plug-In (JRE 1.5.0_11) under IE 6.0, which is certified at level 3 (passes Forms functional tests) according to Oracle's Client Platform Statement of Direction. I have not tested this under JInitiator with JRE 1.3, as I have written JavaBeans that require JRE1.4 or better.
    There appears to be some bad interaction between CLIENT_GET_FILE_NAME( ) and CLIENT_OLE2.CREATE_OBJ( ). Specifically, the following scenario results in JACOB error ComFailException: unable to co-create object...
    1. Call CLIENT_GET_FILE_NAME( ), then close
    2. Launch Excel using CLIENT_OLE2.CREATE_OBJ( ), close and dispose
    3. Again, call CLIENT_GET_FILE_NAME( ), then close
    4. Again, launch Excel using CLIENT_OLE2.CREATE_OBJ( )
    Excel should launch correctly in step 2 -- step 4 raises ComFailException.
    After a bit of research, I have concluded that Swing's (CLIENT_GET_FILE_NAME uses javax.swing.JFileChooser) threading model does not coexist happily with JACOB, at least not as it is being used in WebUtil 1.0.6.
    I have implemented an ugly hack that entails modifying JACOB's Dispatch class by changing one of its constructors:
      public Dispatch(String progid) {
        createInstance(progid);
      }to
      public Dispatch(String progid) {
        ComThread.InitMTA();
        createInstance(progid);
      }I realize that my fix imposes a threading model that may not be correct under all circumstances, and I have no idea what else it might break in WebUtil, but it fixes my immediate problem. A proper fix would be implemented in Oracle's Java classes (those that support CLIENT_OLE2) -- is the source for these available?
    If not, when will Oracle themselves update these classes? Jacob 1.8 is butt-ugly, from a developer's perspective, compared even to 1.9.1 (Jacob is now at 1.13-M2) -- particularly for lacking convenience methods like invokeGetComponent( ) and better handling of the Variant type.
    Any input is welcome and appreciated.
    Thanks,
    Eric Adamson
    Lansing, Michigan

    Hi Duncan,
    Thanks for such a speedy reply, and my apologies for "calling you out" -- I understand that responding to everyone who mentions your name would quickly prove cumbersome.
    I've yet to open a TAR, because I wanted to first make sure that the forums couldn't offer a quicker response, hopefully explaining something simple that I'd been overlooking. A potentially important distinction, regarding the scenario I'm describing, is that I'm trying to launch an application, create a document, populate it and hand it off to the user, rather than solely automate it and close upon finishing. In this circumstance, it's unclear to me, whether I should be calling CLIENT_OLE2.RELEASE_OBJ(myApp), as doing so with Jacob 1.8 closes the entire app, rather than leaving this up to the user. This does not appear to be the case, when using Jacob 1.9, but I suspect that this is only because with v1.9 Dispatch.release( ) becomes private, and safeRelease( ) becomes the public method, which I suspect breaks CLIENT_OLE2.RELEASE_OBJ( ) altogether.
    Given that this evidently appears TAR-worthy to you, I'll check Metalink for duplicate issues, and if none are reported, I'll open a TAR ASAP and tack it onto this thread. Thanks again, for your quick response.
    Regards,
    Eric Adamson
    Lansing, Michigan

  • On iPhoto you can click info and see which camera was the source for the photograph, is there any way to identify which camera took the video on iMovie?

    Is there a way to determine which camera was the source for video clips in iMovie?  You can do this in iPhoto by clicking info but I can't find out how to do it in iMovie.

    Not as far as I know.  (you can often tell from the file name format).
    Geoff.

  • Where is the source for com.sun.media.rtp?

    Is the source for com.sun.media.rtp available for download?
    I downloaded the JMF source code, but, it's not there. I have downloaded the source for J2SE and it's not there.
    Where is it?
    Greg Silverman
    NGC
    San Jose, CA

    Hi,
    This forum is exclusively for discussions related to Sun Java Studio Creator. Please post your question in the appropriate forum.
    Thanks,
    RK.

  • 2-3 things to watch out for when SAP is the source for a Data Warehouse

    Hello
    What are 2-3 things to watch out for when SAP is the source for a Data Warehouse (Informatica for ETL and Cognos for reporting)?
    Thanks
    G. Vijay

    Going through some or all of this might help:
    Empty Safari's cache (from the Safari menu), then close Safari.
    Go to Home/Library/Safari and delete the following files:
    form values
    download.plist
    Then go to Home/Library/Preferences and delete
    com.apple.Safari.plist
    Repair permissions (in Disk Utility).
    Start up Safari again, and things should have improved.
    If not, MacFixit have published a very detailed (very!) article on speeding up a slow Safari, here:
    http://www.macfixit.com/article.php?story=20070416000657464
    Many, including me, have also followed the advice given by others here to add DNS codes to their Network Settings, with good results in terms of speed-up:
    Open System Preferences/Network. Double click on your connection type, or select it in the drop-down menu. Click on TCP/IP and in the box marked 'DNS Servers' enter the following two numbers:
    208.67.222.220
    208.67.220.222
    Click on Apply Now and close the window.
    Restart Safari, and repair permissions.

  • [svn] 4222: Now that Shader is a first class Embed, we' ve modified the interface for ShaderFilter to accept a Shader instance directly (or Class representing a Shader Embed).

    Revision: 4222
    Author: [email protected]
    Date: 2008-12-03 10:37:15 -0800 (Wed, 03 Dec 2008)
    Log Message:
    Now that Shader is a first class Embed, we've modified the interface for ShaderFilter to accept a Shader instance directly (or Class representing a Shader Embed).
    Reviewer: Pete Farland
    QE Notes: Mustella tests require updating.
    Doc Notes: ASDocs have been update, just sanity check.
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateFilterInst ance.as
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ShaderFilter.as

    So this may be a kludge, but eventually I got it. In this case the appDelegate is waking up NIB's and subsequently causes the 'viewDidLoad' method to be called in the Object that manages the NIB.
    The problem was how to get 2 objects that had each been woken by the appDelegate to be aware of each other and be able to use methods in the other.
    In the appDelegate
    @class AViewControllerObject;
    @class A2ndVCObject;
    @interface AppDelegate
    AViewControllerObject * aViewControllerObject
    A2ndVCObject * a2ndVCObject;
    @property (
    @property (
    @end
    @implementation AppDelegate
    @synthesize aViewControllerObject;
    @synthesize a2ndVCObject;
    //instantiate the NIB's and place in the 'controllers' array
    aViewControllerObject = [[AViewControllerObject alloc]
    initWithNibName:@"aViewControllerNIB" bundle: nil];
    [controllers addObject: aViewControllerObject];
    a2ndVCObject = [[A2ndVCObject alloc]
    initWithNibName:@"a2ndVCNIB" bundle: nil];
    [controllers addObject: a2ndVCObject];
    So to make the 1st ViewControl Object aware of the 2nd viewControl Object, make the following method call from the appDelegate:
    [aViewControllerObject assignA2ndVCPointer: (A2ndVCObject *) a2ndVCObject];
    ....and in aViewControllerObject:
    @class A2ndVCObject;
    @interface AViewControllerObject
    A2ndVCObject * a2ndVCObject;
    @property (
    @end
    @implementation AViewControllerObject
    @synthesize a2ndVCObject;
    - (void) assignA2ndVCPointer: (A2ndVCObject *) pointer{
    self.a2ndVCObject = pointer;
    So this may seem bogus to 'old hands' but its the only way I could figure it out.
    If anyone has a better way, I'd love to hear it!!
    -- thanks for listening

  • How can I modify the UI for the crystalreportviewer prompt screen ?

    <p>Hi,</p><p> I am using Crystal Report XI with JRC.</p><p>I have come across a couple of issues. My report accepts 2 parameters from the user. One is a date field and the other is the &#39;Period&#39;. I have provided a drop-down having values as Daily, Weekly, Monthly, Quarterly, Yearly.</p><p> The following are the issues that I have come across:</p><p>1. Selecting a value from the drop-down and submitting the form gives the following error.</p><p>     [java] 17:46:20,265 INFO  [STDOUT] 17:46:20,265 ERROR [com.businessobjects.reports.sdk.JRCCommunicationAdapter] JRCAgent11 detected an exception: The value for parameter `Period` must match one of the specified default values.<br />     [java]     at com.crystaldecisions.reports.dataengine.d.case(Unknown Source)<br />     [java]     at com.crystaldecisions.reports.dataengine.d.at(Unknown Source)<br />     [java]     at com.crystaldecisions.reports.dataengine.d.new(Unknown Source)<br />     [java]     at com.crystaldecisions.reports.common.as.a(Unknown Source)<br />     [java]     at com.crystaldecisions.reports.common.ae.a(Unknown Source)<br />     [java]     at com.businessobjects.reports.sdk.b.k.a(Unknown Source)<br />     [java]     at com.businessobjects.reports.sdk.b.s.do(Unknown Source)<br />     [java]     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br />     [java]     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.q.else(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.q.for(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.q.do(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.q.if(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.u.performDo(Unknown Source)<br />     [java]     at com.crystaldecisions.proxy.remoteagent.u.a(Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.DataDefController.a(Unknown Sour<br />ce)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.modify(<br />Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.modify(<br />Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.setCurr<br />entValues(Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPromptParameterF<br />ields(Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPromptPa<br />rameterFields(Unknown Source)<br />     [java]     at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPr<br />omptParameterFields(Unknown Source)<br />     [java]     at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPromptParam<br />eterFields(Unknown Source)</p><p> When in the report I set allowcustomvalues to true then it accepts the value selected from the dropdown. But in this case the prompt screen shows a textbox next to the drop-down that gets populated on selecting any option from the dropdown. This textbox is editable and can accept any value. Is there a way I can get rid of this textbox. Also i would like to know why the drop-dwon by itself is incapable of passing the value.</p><p> 2. Secondly, Is there anyway I can change the UI for the crystalreportviewer prompt screen being displayed for accepting the parameters from the user. As per my clients requirement the messages displayed in the prompt screen should be customised.</p><p>3. The third issue is with the date parameter. When a date is selected using the calender control the textbox gets populated in the following format Date(yyyy,mm,dd). My requirement is that this should be a userfriendly format like mm-dd-yyyy. I have succesfully modified the crystalreportviewer javascript so that the calender returns the date in the required format i.e. mm-dd-yyyy. But in this case the date parameter is not accepted though no error is displayed on the console. I have tried rechanging the format into Date(yyyy,mm,dd) before the prompt form is submitted but even this didnot help. What can I do to overcome this problem? </p><p>Any help with respect to the above problems will be highly appreciated.</p><p>Thanks & Regards</p>

    <p>From the looks of it, the default parameter prompt screen isn&#39;t really fitting your requirements.  You have a number of requests for modification.</p><p>In your case I think the best thing to do would be to create your own parameter prompt screen.  You can use the SDK to create a page that works for all reports by inspecting the reports parameters before you set the values.</p><p>This would allow you the flexibility of easily meeting your customers requirements.</p><p>Point 1 - I&#39;m not sure.</p><p>Point 2 - There isn&#39;t much access to change the prompt screen.</p><p>Point 3 - I&#39;m not sure why you would want to change the formatting of the Date when you are already using a calendar object to get it.  It sounds like you might have a small mistake in the way you edited the javascript.</p><p>I really think you are probably better off creating your own prompt screen. <br /></p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • Where to get the Source for PS1 Dynamic Tab Shell?

    Hi!
    In the JDeveloper official home page, I came to the following recent blog entry "Source for PS1 Dynamic Tab Shell" which forward me to this blog by Steve Muench last November 27, 2009. But when I tried to download the corresponding zip, the file was empty. Is this right?
    Where then could I download the above subject?
    thanks,
    pino

    Hi Frank,
    I have just read the link that you posted.
    First, the link in the blog labeled "UIShell example application" is broken.
    Second, I was not actullay looking for the source of the sample usage, but the source of the supporting classes as stated by Steve Muench blog below:
    Steve Muench wrote on his blog:
    Several customers have asked me for this, so I posted the JDeveloper workspace containing the source of the built-in UI Shell template and supporting classes here.We are already tinkering the UI Shell Template but we need to have some modifications like for example to adjust the height bottom portion that holds the Copyright and About facets (currently, it takes so much screen real-state). We are also planning to preconfigure some other facets so that the new pages need not re-implement them.
    Actually we are able to tweak the template by directly modifying the dynamicTabShell.jspx in the jar (replacing the library referred by jdev to the modified one) but it would be much better if we could have the source code of the implementing classes. Do we need to file a Service Request?
    please advice,
    pino

  • Not able to modify the data for infotype 0008 using FM

    Hi All ,
    I have got a requirement for updating the infotype 0008 data  using FM : HR_MAINTAIN_MASTER_DATA.
    While trying to modify the wagetypes data which is of blank ..unable to upload the amount for that partcular field ..
    For this am herewith the link  of o/p :
    http://i55.tinypic.com/28jfw2c.jpg for this am also posting the code...
    Please suggest me furthur in what way i can upload..
          SELECT * FROM pa0008 INTO TABLE itab_pa0008
    FOR ALL ENTRIES IN itab
        WHERE pernr = wa_data-pernr
        AND begda = wa_data-begda_out
        AND endda = wa_data-endda_out.
        DESCRIBE TABLE itab_pa0008 LINES lin.
        IF lin EQ  0.
          c_action = 'INS'.
        ELSE.
          c_action = 'MOD'.
        ENDIF.
        LOOP AT itab INTO wa_itab WHERE pernr = wa_data-pernr.
          CLEAR: wa_bapireturn, wa_bapireturn1, wa_hr_return.
          REFRESH: it_pprop[],it_modified_keys[].
          it_pprop-infty = '0008'.
          it_pprop-fname  = 'P0008-TRFAR'.                 "1
          it_pprop-fval = wa_itab-trfar.
          APPEND it_pprop.
          CLEAR it_pprop.
          it_pprop-infty = '0008'.
          it_pprop-fname  = 'P0008-TRFGB'.                 "2
          it_pprop-fval = wa_itab-trfgb.
          APPEND it_pprop.
          CLEAR it_pprop.
          it_pprop-infty = '0008'.
          it_pprop-fname  = 'P0008-TRFGR'.                  "3
          it_pprop-fval = wa_itab-trfgr.
          APPEND it_pprop.
          CLEAR it_pprop.
          it_pprop-infty = '0008'.
          it_pprop-fname  = 'P0008-TRFST'.                  "4
          it_pprop-fval = wa_itab-trfst.
          APPEND it_pprop.
          CLEAR it_pprop.
          flag = flag + 1.
    *****************************************************************************************************5
          BREAK-POINT.
          IF NOT wa_itab-lga1 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA01'.
            it_pprop-fval = wa_itab-lga1.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet1.
          ENDIF.
          IF NOT wa_itab-bet1 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET01'.
            it_pprop-fval = wa_itab-bet1.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************6
         IF NOT wa_itab-lga2 IS INITIAL.
           it_pprop-infty = '0008'.
           it_pprop-fname  = 'P0008-LGA02'.
           it_pprop-fval = wa_itab-lga2.
           APPEND it_pprop.
           CLEAR it_pprop.
           bet1 = wa_itab-bet2.
         ENDIF.
          IF NOT wa_itab-bet2 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET02'.
            it_pprop-fval = wa_itab-bet2.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************7
          IF NOT wa_itab-lga3 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA03'.
            it_pprop-fval = wa_itab-lga3.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet3 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET03'.
            it_pprop-fval = wa_itab-bet3.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************8
          IF NOT wa_itab-lga4 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA04'.
            it_pprop-fval = wa_itab-lga4.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet4 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET04'.
            it_pprop-fval = wa_itab-bet4.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************9
          IF NOT wa_itab-lga5 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA05'.
            it_pprop-fval = wa_itab-lga5.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet5 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET05'.
            it_pprop-fval = wa_itab-bet5.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************10
          IF NOT wa_itab-lga6 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA06'.
            it_pprop-fval = wa_itab-lga6.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet6 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET06'.
            it_pprop-fval = wa_itab-bet6.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************11
          IF NOT wa_itab-lga7 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA07'.
            it_pprop-fval = wa_itab-lga7.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet7 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET07'.
            it_pprop-fval = wa_itab-bet7.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************12
          IF NOT wa_itab-lga8 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA08'.
            it_pprop-fval = wa_itab-lga8.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet8 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET08'.
            it_pprop-fval = wa_itab-bet8.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************13
          IF NOT wa_itab-lga9 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA09'.
            it_pprop-fval = wa_itab-lga9.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet9 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET09'.
            it_pprop-fval = wa_itab-bet9.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************14
          IF NOT wa_itab-lga10 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-LGA010'.
            it_pprop-fval = wa_itab-lga10.
            APPEND it_pprop.
            CLEAR it_pprop.
            bet1 = wa_itab-bet2.
          ENDIF.
          IF NOT wa_itab-bet10 IS INITIAL.
            it_pprop-infty = '0008'.
            it_pprop-fname  = 'P0008-BET010'.
            it_pprop-fval = wa_itab-bet10.
            APPEND it_pprop.
            CLEAR it_pprop.
          ENDIF.
    *******************************************************************************************************15
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-LGA11'.
       it_pprop-fval = wa_itab-lga11.
       APPEND it_pprop.
       CLEAR it_pprop.
       bet1 = wa_itab-bet2.
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-BET11'.
       it_pprop-fval = wa_itab-bet11.
       APPEND it_pprop.
       CLEAR it_pprop.
    ********************************************************************************************************16
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-LGA12'.
       it_pprop-fval = wa_itab-lga12.
       APPEND it_pprop.
       CLEAR it_pprop.
       bet1 = wa_itab-bet2.
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-BET12'.
       it_pprop-fval = wa_itab-bet12.
       APPEND it_pprop.
       CLEAR it_pprop.
    ********************************************************************************************************17
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-LGA13'.
       it_pprop-fval = wa_itab-lga13.
       APPEND it_pprop.
       CLEAR it_pprop.
       bet1 = wa_itab-bet2.
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-BET13'.
       it_pprop-fval = wa_itab-bet13.
       APPEND it_pprop.
       CLEAR it_pprop.
    ********************************************************************************************************18
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-LGA14'.
       it_pprop-fval = wa_itab-lga14.
       APPEND it_pprop.
       CLEAR it_pprop.
       bet1 = wa_itab-bet2.
       it_pprop-infty = '0008'.
       it_pprop-fname  = 'P0008-BET14'.
       it_pprop-fval = wa_itab-bet14.
       APPEND it_pprop.
       CLEAR it_pprop.
    BREAK-POINT.
          CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
            EXPORTING
              number = wa_itab-pernr
            IMPORTING
              return = wa_bapireturn1.
          BREAK-POINT.
         IF c_action = 'INS'.
           CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
             EXPORTING
               pernr           = wa_itab-pernr
               actio           = 'INS'
             tclas           = 'A'
               begda           = wa_data-begda_out             "'20110401'
               endda           = wa_data-endda_out             "'99991231'
               dialog_mode     = '2'
             luw_mode        = '1'
             IMPORTING
               return          = wa_bapireturn
               return1         = wa_bapireturn1
               hr_return       = wa_hr_return
             TABLES
               proposed_values = it_pprop
               modified_keys   = it_modified_keys.
           IF NOT wa_bapireturn IS INITIAL.
             WRITE : / wa_bapireturn.
             CLEAR : wa_itab , wa_bapireturn.
           ENDIF.
         ELSEIF c_action = 'MOD'.
            CALL FUNCTION 'HR_MAINTAIN_MASTERDATA'
              EXPORTING
             infty         = '0008'
                pernr           = wa_itab-pernr
                actio           = 'MOD'
                begda           = wa_data-begda_out             "'20110401'
                endda           = wa_data-endda_out             "'99991231'
          record        =  p_record
             recordnumber  = wa_itab-SEQNR
             operation     = change
             nocommit      = nocommit
                dialog_mode     = '0'
             IMPORTING
                return          = wa_bapireturn
                return1         = wa_bapireturn1
                hr_return       = wa_hr_return
              TABLES
                proposed_values = it_pprop
                modified_keys   = it_modified_keys.
            IF NOT wa_bapireturn IS INITIAL.
              WRITE : / wa_bapireturn.
              CLEAR : wa_itab , wa_bapireturn.
            ENDIF.
         ENDIF.
          CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
            EXPORTING
              number = wa_itab-pernr
            IMPORTING
              return = wa_bapireturn1.
        ENDLOOP.
      ENDLOOP.

    Here is a sampe, and the logic you are using for wages goes in the internal table for wages (you already have the enqueue & dequeue so you don't have to worry about that, so you only have to add the BAPI_TRANSACTION_COMMIT):
    CALL FUNCTION 'BAPI_BASICPAY_CHANGE'
      EXPORTING
        employeenumber             = pa0008-pernr
        subtype                    = pa0008-subty
        objectid                   = pa0008-objps
        lockindicator              = pa0008-sprps
        validitybegin              = pa0008-begda
        validityend                = pa0008-endda
        recordnumber               = pa0008-seqnr
        payscaletype               = pa0008-trfar
        payscalearea               = pa0008-trfgb
        payscalegroup              = pa0008-trfgr
        payscalelevel              = pa0008-trfst
    *   NEXTINCREASE               =
    *   LOCALALLOWLEVEL            =
    *   PARTNERSHIP                =
    *   CURRENCY                   =
    *   COMPARISONPAYSCLTYPE       =
    *   COMPARISONPAYSCLAREA       =
    *   COMPARISONPAYSCLGRP        =
    *   COMPARISONPAYSCLLVL        =
    *   COMPNEXTINCREASE           =
    *   CAPACITYUTILLEVEL          =
    *   HOURSWORKEDPERPERIOD       =
    *   ANNUALSALARY               =
    *   CASEGROUPCATALOG           =
    *   CASEGROUP                  =
    *   CURRENCYANNUALSALARY       =
    *   REASON                     =
    *   NOCOMMIT                   =
    * importing
    *   return                     =
    TABLES
       wagetypes                  = wages.
    Regards,
    Ryan Crosby

  • How to programmatically get the source for a class provided the class name?

    Hello,
    As a quick background, I am providing some tools to potential users of an in-house framework. One is the ability to generate quick prototypes from our existing demo applications. Assume a user downloads our jars and uses them in their project (we are using Eclipse, but that detail should not greatly affect my question). Included in the jars is a demos package that contains ready-to-run classes that serve to exhibit certain functionality. Since many users may just need quick extensions of these demos, I am trying to provide a way for them to be able to create a new project that starts with a copy of the demo class.
    So, the user is provided a list of the existing demos (each one uses a single class). When the user makes their selection, with the knowledge of our framework, I can translate that into what demo class they need (returned as a string of format package.subpack1.subpackn.DemoClassName). What I now want to do is to use that complete class name to get the source (look up the file) for the corresponding class, and copy it into to a new file in their project (the copying into the project can be done easily in Eclipse, so what I need help with is the bolded part). Is there a simple way to get the source given a class path for a class as described above? You may assume the source files are included in the jars for the framework.
    Thanks in advance.

    If there's a file named "package.subpack1.subpackn.DemoClassName.java" in a "demos" directory in the jar, then yes. You'd just use
    InputStream code = getResourceAsStream("/demos.package.subpack1.subpackn.DemoClassName.java");Or if those dots in the name actually separate directory names, i.e. you have a "package" directory under "demos" and a "subpack1" director under that and so on, then:
    InputStream code = getResourceAsStream("/demos/package/subpack1/subpackn/DemoClassName.java");

  • Error while setting up the ContentDB as the source for OSES

    Hello Experts,
    I am tring to create the ContentDB as the source to Oracle SES.
    1. while creating the Identity plug-in for Oracle Internet Directory, I am passing the following information:
    Host name: hostname of the OID
    Port: 389 (non SSL)
    Use SSL: false
    realm name: name of the realm
    User name: orcladmin
    password: password of orcladmin
    I am getting the error in log as follows:
    invalid credentials for entity user orcladmin
    OID plugin activation failure
    caught plugin exception: [LDAP: error code 49 - Invalid Credentials]
    am I making any mistake in format of passing credentials or is there any prerequisit for activating the OID plug-in.
    2. As per the doc of setting up the Content DB as the source to OSES:
    http://download-west.oracle.com/docs/cd/B32393_01/doc/search.1018/b32259/sources.htm#CIAIHJEJ
    the refers:
    The administrator account used by the Oracle Content Database source must have the ContentAdministrator role on the site that is being crawled and indexed.
    where and how this role can be assigned exactly.
    Thanks
    Krris

    Hello Raford,
    Thank you very much for the reply..
    Issue got resolved...it was due to the syntax I was following while providing realm credential:
    I was giving:
    realm name: realm_name
    correct syntax is:
    realm name: cn=realm_name, dn=com
    Thanks
    Krrish

  • Pls help me to modify the query for performance improvement

    Hi,
    I have the below initialization
    DECLARE @Active bit =1 ;
    Declare @id int
    SELECT @Active=CASE WHEN id=@id and [Rank] ='Good' then 0 else 1 END  FROM dbo.Students
    I have to change this query in such a way that the conditions id=@id and [Rank] ='Good' should go to the where condition of the query. In that case, how can i use Case statement to retrieve 1 or 0? Can you please help me to modify this initialization?

    I dont understand your query...May be below? or provide us sample data and your output...
    SELECT *  FROM dbo.students
    where @Active=CASE
    WHEN id=@id and rank ='Good' then 0 else 1 END
    But, I doubt you will have performance improvement here?
    Do you have index on id?
    If you are looking for getting the data for @ID with rank ='Good' then use the below:Make sure, you have index on id,rank combination.
    SELECT *  FROM dbo.students
    where  id=@id
    and rank ='Good' 

  • Can ANYONE please give me the source for converting IPV4 packets to IPV6

    I had a file which contains IPV4 packets, I need to convert these packets into IPV6 . Can anyone please give the source..

    java.venkat wrote:
    one of my friend downloaded that file
    my project is to evaluate intrusion detection systems with ipv6 dataGo back to the person who gave you this project and ask for help because you've got alot of problems going on here. Mainly there are two problems.
    1) Whatever it might be that you want to do doesn't seem like a very good fit for Java at all.
    2) You are just continually spouting rubbish that either are obvious statements of fact or make no sense, as in this last post here.
    If you refuse to talk to the person who gave you this project for some much needed direction (which would be foolish by the way) then you really must tell us what your end goal here is. Like specifically what you are looking to do, how you plan on capturing this information in general and why you think this is going to help you resolve your problem. Because as stated your problem isn't making much sense and even if it did I for one don't see how this puts you further along in evaluating "intrustion detection systems".

  • Where to find the source for HttpServlet

    Hello,
    I have the javaee.jar file but I also want to browse the sourcecode.
    Where can I find the src.zip or equivalent?
    I'm using eclipse btw.
    Thanks,
    Marcel

    Thanks for that.
    To conclude this thread:
    - sources for J2EE can be found in de source of the container.
    You can download Apache Tomcat source of Glassfish source for example.

  • Where can I get the source for boot of netinstall CD

    Sorry for the title, I wasn't able to write it out fully due to length constraints.
    So in an attempt to fix https://bbs.archlinux.org/viewtopic.php?id=139659 on my own, I thought I'd go and look at what the install CD does as it is booting up the version of Linux found on the netinstall CD.  It first creates a Linux environment where you can then run AIF.  I mounted and looked through the .iso of the installer that I used, but I couldn't find any useful config files for the boot process, so I'm thinking that it is in a binary form. I found the AIF source code, but that is for after the system boots up from the CD, and my problem happens before then.
    So where can I get the source code for the live CD portions that *aren't* AIF?

    It's a hybrid ISO, with a filesystem and a MBR slapped onto it which you can either write to a CD or "dd" to a HDD or USB stick.
    The bootloader is called ISOLINUX (which is part of the Syslinux project). You can find the "boot" files in the "isolinux" folder. For studying ISOLINUX itself, you have to shimmy on over to the Syslinux website. It's an awesome project. I ditched GRUB 2 for it and now use it as my primary bootloader. Much, much easier to work with.
    Last edited by DSpider (2012-04-16 16:45:21)

Maybe you are looking for