How to set a @age id to an item

Hi,
Could you please how I can set a page id to an item on the page? I have tried to create a tree using the following query on page 1, and also I have create a item P1_SCID:-
===
select "SCID" id,
"CID" pid,
"SUBCATEGORY" name,
'f?p=105:&PAGE_ID.'||"SCID" link,
null a1,
null a2
from "#OWNER#"."CATEGORIES"
===
When I click a link on the tree, I will move the page which is set to &PAGE_ID, then I want to set the value of page id to P1_SCID.
Thanks and regards,
Rui

Sorry for confusing you, Scott,
I am confusing substitute strings PAGE_ID and APP_PAGE_ID. Is PAGE_ID 'Build-in substitute string' for Oracle HTML DB??? I understand that I can use APP_PAGE_ID to get the value of the current page ID...
Anyway, what I would like to do is the following:-
1. Create a tree which is based on the above query in page 1. It means that the value of "SCID" is set as the one of PAGE_ID.
2. When I click a link on the tree in page 1, I can go to page 13. In this case, I assum that the value of PAGE_ID will be set '13' because of SCID = 13.
Then, I would like to set the value 13 to other item P1_SCID on page 1, and I also use the value of P1_SCID as the one of new item, P13_SCID on page 13.
Any suggestions, please.
Best regards,
Rui

Similar Messages

  • How to set the default value of an item type DATE PICKER to the day of yest

    Hi
    How to set the default value of an item type DATE PICKER to the day of yesterday ?
    Thank you very much !
    Christian.

    Hi Christian,
    Have a look at this thread Re: Default the Date Picker to Today
    It covers this issue in detail.
    Regards
    Paul

  • How to set delv. completed in 2nd line item which created in PO by default

    Dear guru,
    When creating 1st line item by default the 2nd line item has been created. I understand that the 2nd line item is free because no net price has been stated but free good check box in not ticket. Further more the 2nd line is grayed out including all tab in item details. Meaning we can't do any changes in this line item.
    User set delivery completed in 1st line item but couldn't set in 2nd line item. This caused to this PO show still pending for delievery when run the report. How we can set this 2nd line item has delivery completed eventhough GR haven't done fully.
    rgds,
    nantha

    Dear Mahesh,
    The 2nd line is free good that assign with 1st line item. This has been set in purchasing info record under condition view. Thus when I create PO for 1st line item, system created 2nd line item as auto default. The issue here is the 2nd line item & all the field that in item details in PO become grayed out eventhough I go to ME22N. I cant do any changes on 2nd line item. I believe there would be some control maintain for free good. Please advice. Thank you.
    rgds,
    nantha

  • How to set query SQL on db throug item value?

    Hi
    I've two pages:
    the first page contain the item textfield value (P1_NAME) and second page contain the query SQL.
    Where the query sql instruction insert in the second page rendering?
    In the Items, in the buttons, in the computation, in the process?
    How display the results of query?
    Help Me!!!

    On re-reading I think I get it. When you open the second page, which could be anywhere, you'll have to tell me (could be a Branch, could be a linked column in a report, could be triggered from a button). Whervever the code that opens the second page is, you will see a setting labelled "Target is a" and the chosen selection will be "Page in this Appication" Right under that, you will see two other fields labelled "Set These Items" and "With These Values" this will let you set whatever items you wish on the page that you are opening.

  • How to set selectedChild/Index of TileList ViewStack item

    Hello, I currently have a TileList that has 6 items. I am currently rendering each item as a ViewStack (as shown below), but when I try to set the selectedIndex attribute of the object, it doesnt work...the content1 content shows up for each item instead of object w/ id = N showing content N. Any ideas how I can get this to work?
    <mx:TileList >
                <mx:itemRenderer>
                    <mx:Component>
                        <mx:ViewStack>
                            <mx:HBox  id="content"1>
                                  <mx:Label text="card 1  Content" />
                            </mx:HBox>
                            <mx:HBox id="content2">
                                    <mx:Label text="card 2 Content" />
                             </mx:HBox>
                               <mx:HBox id="content6">
                                    <mx:Label text="card 6 Content" />
                             </mx:HBox>
                        </mx:ViewStack>
                    </mx:Component>
                </mx:itemRenderer>
                <mx:Object id="obj1" selectedIndex="0"/>
                <mx:Object id="obj2" selectedIndex="1"/>
                <mx:Object id="obj6" selectedIndex="5"  />
            </mx:TileList>

    try this
    <mx:TileList >
                <mx:itemRenderer>
                    <mx:Component>
                        <mx:ViewStack selectedIndex="{data.selectedIndex}">

  • How to set dynamic column width for analysis item

    Dear Experts,
    I have a query view which is added in the web template as an analysis item. The web item properties on width is not working - I tried entering a value in the width but when I execute the template, the query view's width still stays the same.
    Module com.sap.ip.bi.rig.ColumnWidth don't seem correct because I don't want the column width to be static. As my number of columns may change, I wanted the overall width of my query view to stay the same.
    Appreciate any ideas which can solve this issue
    Thanks and Regards,
    huimin
    BW newbie

    Hi Huimin,
    I don't think it is possible to fix the width of the Analysis webitem since it dynamically adjusts its width based on the text maxlength within its cells. Unless you use com.sap.ip.bi.rig.ColumnWidth where the cols are static, you cannot achieve this.
    Even if you do override the css settings using a cell padding or something, the portal settings would override the same. How about using a Report webitem to insert tables/charts & check if the width can be adjusted here - just a thought.
    --Priya

  • How to set focus on a custom PO Item screen field when in error?

    Hi All,
    I have an interesting situation that i'm wondering if others have solved.  We have extended the PO item table (EKPO) by adding two new fields.  We then have implemented two BAdI's:  ME_GUI_PO_CUST and ME_PROCESS_PO_CUST to add them to the ME21N/ME22N/ME23N screens and logic to do some validation, via these respective BAdI's mentioned.  Everything works perfectly - with one small issue.  When we are doing some validation via a method on the ME_PROCESS_PO_CUST - and "invalidate" the field (and throw an error) when it is in error - I also want to be able to "set focus" on the field in question (basically: go to the particular tab on the ME* screen and highlight the field).  I have tried using SET CURSOR FIELD *****  within this BAdI (ME_PROCESS_PO_CUST) - but doesn't seem to work.  Has anyone tried to do this and have come up with a solution?  Would be much appreciative if you shared it!!!  Thanks much.
    Cheers,
    Matt
    ERP version that we have is:  ECC 6.0

    Just have a look at oss note 310154 - ME21N/ME51N: Customer-specific check, generating error log.
    In short:
    Add your error messages in EXIT_SAPMM06E_012 (using specific macros).
    Sample code (provided in Oss note) :
      loop at tekpo where knttp eq 'X'.
        loop at tekkn where ebeln eq tekpo-ebeln and
                            ebelp eq tekpo-ebelp and
                            kostl eq space.
          if not tekkn-id is initial.
            mmpur_business_obj_id tekkn-id.
            mmpur_metafield MMMFD_ACCOUNTINGS.
          endif.
          mmpur_message_forced 'E' 'ZE' '777' '' '' '' ''.
        endloop.
      endloop.

  • How to set deletion flag in Production order item level

    Hi Friends,
    I have a requirement like...
    Suppose production order conatians 100 items. now i want to set deletion flag for 20 items only.
    In Co02 t.code deletion check box is disable mode.
    There are nearly 100 production orders .i have to write the program....
    Is there any BAPI or other way to meet this requirement.
    Can you please help me..

    Also, You might want to have a look at the BAPIs like BAPI_PRODORD_SET_DELETION_FLAG which are used to set the deletion indicator but it appears to me the deletion flag can only be set at the header level using these BAPIs.
    Please have a look at SAP business object BUS2005 methods from transaction SW01 for more Production Order related BAPIs.
    One more thing ... since you mentioned that in CO02 the deletion indicator is greyed out, then it might mean you are missing the authorizations to set the deletion flag. Please consult with your Authorization (BASIS) administrator. As a hint, the authorization object here is C_AFKO_AWK.
    Cheers,
    Aditya

  • How to set the default value for page item in report

    Hi Gurus
    I currently i have company name as page item in one of my report screen ,but it is displaying the value for company name in its drop down column ,but i want to make it "*ALL* as default after the query result ",this is user requirement ,please share ,how can i make it ,is it possible ??,thanx in advance
    thanx
    Pratap

    Hi,
    I don't think this is possible. You can of course use a parameter to select the page item and default the parameter but then the user will have to rerun the report to see other pages items.
    Rod West

  • How to set value of a column in report region

    Hi,
    I have a report region based on a query.In this my first column is selectlist "select row" having to values "yes" & "No".
    I have two buttons on top of the region "Check all" and "uncheck all".
    My requirement is when I click check all button all rows corresponding to "select row" column gets selected to Yes and when I click No all rows gets selected to "No".
    Thanks
    Vikram

    Actully I want to set the value of a column in report region.
    There are replies in the forum but in those the item is in form but not in the report region.
    I am generating report region by using htmldb_item.selectlist and i dont know how to set value in these type of items.

  • How to Set Value of page item?

    String dimLayoutNew[][] = new String[3][];
    dimLayoutNew[0] = new String[1];
    dimLayoutNew[1] = new String[1];
    dimLayoutNew[2] = new String[2];
    dimLayoutNew[0][0] = measureString;
    dimLayoutNew[1][0] = strDimension1;
    dimLayoutNew[2][0] = strDimension2;
    dimLayoutNew[2][1] = strDimension3;
    Boolean applyNewLayoutFlag = tableQuery.layout(dimLayoutNew);
    In this Layout,How to set the value of strDimension2 page item to one member of strDimension2?
    thanks!

    what about this - look up the javadoc to get more >info ....You would have to admit, while BI Beans are great, the documentation is a little light.
    int targetHPos[] = targetDataAccess.getEdgeCurrentHPos (2);
    now apply the order to the targethpos as you like...now, once you make your changes to the targetHPos, how does one actually make the change to the Query object (i.e. what method does one need to call to pass the new targetHPos in??) I looked through the JavaDoc and didn't see a SetCurrentHPos or equivalent function in the DataAccess Class. Is there one?
    Also, what role, if any, should the SetCurrentPage method of the query object play if I'm not using it correctly?

  • Inventory ageing for slow moving Items

    Hi,
    Please how to make Inventory aging of slow moving items in BI.
    What is the logic?
    What are the key fig and characterstics taking into account?
    It is any standard report available in BI
    Thanks and Regards
    Ajit Dude

    Hi,
    If you are taking about Inventory Stocks then you need to talk about 0IC_C03 Cube , because it will have all teh information for you rrequirement.So check 0IC_C03_Q0021 -- Inventory Aging report on 0IC_C03  Cube.This report is given SAP.
    Else
    You can define the Zreport based on your requirement.
    Eg: I want to know the ageing of teh Material ...
    1. I'll take Date from Batch (Using Replacement Path Formula variable).
    2. I'll calculate the todays date using Customer Exit variable
    3. Create formula and do substraction i.e. point2 - pont1.
    4. You will get no. of days.
    Thanks
    Reddy

  • How do I set up age restrictions on iPad pls

    How do I set up age restrictions on iPad pls

    Settings>General>Restrictions has some options.
    What, exactly, are you trying to do?
    ~Lyssa

  • How to set a custom column in a workflow task.

    Hello,
    I'm looking for some assistance a bit with how to set a custom column in a Workflow Task.
    I have a List Workflow that starts when an item is created in a list. The workflow, platform type SharePoint 2013, starts a new task, Task1, with Content Type 1. This Content Type has a custom column called Age. Once the Task1 is completed a new task, Task2,
    with Content Type 2, starts and has the same column Age, as Task1.
    How can I populate the Age column in Task2 with the content of the Age column in Task1?
    Since I start the task by running "Assign a task to ..." Action I was thinking to copy the Age column from the Task1 to the list item that started Task1, which has a column Age as well, and then in Task2 to start another workflow - which is associated
    with the Content Type 2,  that would try to read the Age column from the list item that started Task2, which was set once Task1 was competed - I know it's complex but this is how I was thinking. 
    The problem with this approach is that I can't get a reference to the list item that started Task2 to read the Age from the list item.
    Is there a better approach? I use SharePoint Designer 2013 to design all this.
    Any assistance is appreciated.
    Thank you.

    Hello Sebastian,
    you can get the Age column from Task 1 and then update the Task 2 Age column with that value. I am not sure why you want to run another workflow on Task 2.
    You can perform below steps to set Age column from Task 1 to Task 2.
    1.  Create Task 1 using Assign a task , wait till the task is completed.
    2. Get the Age column value based on Task 1 once the task is completed.
    3.Create Task 2 using Assign a task ,  uncheck wait till the task is completed option.
    4. Update the Task 2 with Age column in Task1.
    5. Use Wait for the field to equal value , check for Task Status is completed or not.
    >>The problem with this approach is that I can't get a reference to the list item that started Task2 to read the Age from the list item.
    you can get the related item from task list item to get the main list item.
    Other option is, Use Javascript and CSOM  in task edit form to get the Age column from Task1 and prepoluate the Age value when Task2 is opened.
    Hope this helps.
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • How to set the width of DataGridColumn dynamically?

    What I want to do is, load data from a text file and put into a DataGrid component, the fields of ech record in the text have fixed length, and are seperated by a space, like this:
    personal.txt
    50 Uvwxyz  Male    123456789
    60 Hijklmn  Male    67890123456789
    30 Abcdefg Male    123456789012345
    40 Opqrst   Female 987654321012345678
    the configuration file is column.xml:
    <dgcolumn>
         <personal>
              <len>20</len>
              <title>Name</title>
         </personal>
         <personal>
              <len>3</len>
              <title>Age</title>
         </personal>
         <personal>
              <len>6</len>
              <title>Sex</title>
         </personal>
         <personal>
              <len>20</len>
              <title>IdNumber</title>
         </personal>
    </dgcolumn>
    First I load the column.xml into an arrColumn, then read the personal.txt and seperate the record by the width( "len" in the xml file ), and put the seperated fields into another arrField, set the arrayFld as the dataProvider of a DataGrid, thus, the title can be showed as the headerText of the DataGrid and the data can be loaded correctly.
    private function handleComplete( event:Event ):void
         var arrField:Array = new Array();
         var arrFile:Array = loader.data.split(/\n/);
         for( var i:int = 0; i < arrColumn.length; i ++ )
              arrField[i] = convIcom( arrFile[i] );
         adgFile.dataProvider = arrField;
         trace( "The data has successfully loaded" );
    private function convIcom( strRecord:String ):Object
         var key:String = null;
         var dataField:String = null;
         var offset:int = 0;
         var obj:Object = new Object();
         if( strRecord.length > 0 )
              for( var i:int = 0; i < arrColumn.length; i ++ )
                   dataField = strRecord.substr( offset, arrColumn[i].len );
                   key = arrColumn[i].title;
                   obj[key] = dataField;
                   offset += arrColumn[i].len + 1;
         return obj;
    <mx:DataGrid x="10" y="100" width="400" id="dgFile" />
    The problem is, the width of the DataGridColumn is average, how to set the column width by the length of each field? I can calculate the rate of each field ( field / fields ), but I don't know how to change the property of the DataGridColumn.width.
    Thanks for helping.

    In the above post, I pasted an old version of personal.txt, so I paste it again:
    personal.txt
    Uvwxyz  50 Male   123456789
    Hijklmn 60 Male   67890123456789
    Opqrst  40 Female 987654321012345678
    Abcdefg 30 Male   123456789012345
    And I have another question, when the data is loaded into the DataGrid, the fields of each record are ordered in alphabetical order ( the "Age" column will appear firstly, then "IdNumber", "Name", "Sex" ), not as the order in column.xml, how to make it keep the sequence of the xml file?
    Thanks again.

Maybe you are looking for

  • HELP! i want to download itunes 10.5!

    I keep trying to download itunes 10.5 but it keeps telling me "old file cant be replaced" or something along those lines.. I tried to remove my old program but now i have no itunes on my computer, and it still wont download! help!

  • Need my adobe acrobat 9 standard installed on new laptop

    how can I get this installed in new computer? does anyone have a number for adobe to talk to a live person?

  • How to fix "no sim card" message?

    I keep getting the "no sim card installed" message when I'm in the middle of a phone call (iphone 4).  I turn the phone off then on and that seems to help but it happens again eventually.  Has happened every time I'm talking on my iphone in the past

  • HT4904 booting frizzed after apple logo

       command R does not work to boot my system? what can i do? but also the cloud sign do not appear , so what is the problem? In addition, i took out the hardware ,RAM and also keyboard , but nothing did not happend.Moreover the safemode also could no

  • Gui screen from TestStand

    Hi, I have extensive experience with TS + CVI but nothing at all with LB. I seek some assistance to accomplish something which is quite easy with CVI.  I'll describe it here and hopefully somebody can point out an example or send me one. I want a TS