I need code to get Action Column in MPS Planner Workbench Supply form( R 12)

Hi All,
I need Code to get Action Column that available in Supply form of  MPS Planner Workbench .
I need to have it in my report. we don't have Advanced Chain Installed.
Thank you.

Dear All,
Kindly Support...

Similar Messages

  • Need help on getting the column names of Tabletype

    I have a table Mapping with the following values: This Mapping table contains the table names (in Tabname) and the column names(colname) of various tables and values(ValuesTobeFilled) for the columns.
    I have to insert into the tables present in the Tabname field with the values present in the ValuesTobeFilled in the columns present in the Colname field.
    Note: The Mapping table need not contain all the columns of the base table. The columns that are not present can be filled with null. And this mapping table is not fixed i.e. rows can be inserted/deleted frequently.
    Sample values in mapping table:
    Tabname                        Colname        ValuesTobeFilled
    sample_items     Eno     Corresponding Expression to get the values from XML input
    sample_items     Ename     Corresponding Expression to get the values from XML input
    XXX     YYY     Corresponding Expression to get the values from XML input
    Before filling in the actual tables, I have to store the entire data temporarily and I have used a tabletype declared as follows:
    TYPE T_sample_items IS TABLE OF sample_items%ROWTYPE INDEX BY BINARY_INTEGER;
    l_sample_items T_sample_items;
    Where the table sample_items have the following columns:
    •     Eno
    •     Ename
    •     Eaddress
    •     Eemail
    So, the tabletype should be filled as:
    Eno     Ename     Eaddress     EEmail
    1     XXX     -     -
    I have declared a cursor to select the values from mapping table and I need to fill in the ValuesTobeFilled values to the corresponding table.
    CURSOR c_xpath (c_tname mapping.TABNAME%type)
    IS
    select * from mapping where tabname = c_tname;
    CURSOR c_tables
    IS
    SELECT DISTINCT TABNAME FROM mapping;
    FOR crsr IN c_tables
    LOOP
    p_tname := CRSR.TABNAME;
    FOR csr IN c_xpath(p_tname)
    LOOP
    IF l_xml_doc.EXISTSNODE(CSR.XPATH_EXP) = 1
    THEN
    l_node_value := l_xml_doc.extract(CSR.XPATH_EXP).getStringVal(); -- This is the value to be stored in the corresponding column
    ELSE
         l_node_value := NULL;
    END IF;
    IF CSR.COLUMN_NAME = ‘eno’
    THEN
         l_sample_items(1).eno := l_node_value;
    ELSIF CSR.COLUMN_NAME = ‘ename’
    THEN
         l_sample_items(1).name := l_node_value;
    END IF;
    END LOOP;
    END LOOP;      
    And I need to eliminate hard coding while comparing the column names (in the following piece of code) as the Mapping table values are subject to insertion/deletion:
    IF CSR.COLUMN_NAME = ‘eno’
    THEN
         l_sample_items(1).eno := l_node_value;
    ELSIF CSR.COLUMN_NAME = ‘ename’
    THEN
         l_sample_items(1).ename := l_node_value;
    END IF;
    I need to insert the values directly into the tabletype without this hardcoding. Please suggest me ways to compare the mapping table values with the field (column) names of the tabletype. If it is not possible using tabletype, please suggest any other ways of fixing the problem.
    Many thanks,
    Gopi

    I take it this isn't going to be a serious production system at the end of the day?
    Storing metadata in tables for extraction and insertion of data is just wrong in so many ways. It smells heavily of Entity Attribute Value modelling, which is the most wrong way to use a relational database and is known to have major performance implications and be liable to bugs and issues. The idea that EAV modelling allows for 'generic' databases where new data items can be added flexibly later on without having to change code is usually justified with an excuse of "it means we don't have to update all our tables when we want a new column" which is easily countered with "if you're adding a single column a good relational design wouldn't require you to add it to more than one table anyway in most cases".
    Just what exactly are you trying to do and why? There has to be a better way.

  • Need help in getting Calculation columns to work

    Hi,
    I have a crosstab metrics report, with Report Month as page item. Almost all the datapoints on the report are calculations. When the report is run for a range of months, eg. 'JUN-06' to 'MAY-07', for each month (page item), the calculations show up correctly. The problem occurs when user chooses <All> from the Report Month page item - that's when all the calculation items show either null value (mostly) or some arbitrary value, instead of showing totals or averages for the whole range of months. Am I missing any steps or doing something wrong here?
    Appreciate your time and help.
    Regards,
    Alka.

    Alka.
    As a starting point, I'd sure look at the values independently for the different Report Months.
    1. It sounds like you may have some months in there you don't want (ie: are you going against an Oracle Apps calendar and not specifying the exact calendar type (as there can be many)).
    2. You may have additional periods in the same calendar table that are from the exact same calendar (ie: JAN-07, JAN-2007, etc.) which may have problems, NULLs, etc.
    3. you may have NULLs in the data returned (so for calculations are you putting in NVL(item))?
    4. Maybe you should check to see what happens when you introduce just 2 months (as you've only see one month on the page item level OR <All> months). I'd just copy the worksheet to another one (using the copy option in Desktop / Plus), move the page -> item month to the left of the worksheet and put in a condition to return 2 months.
    Then does it make sense for just two months?
    Just a start.
    Russ

  • How can I get two column selection list in my html form

    I required to have two column selection list in my jsp page to show name and description of a product. How can i achieve this functionality or is there any other alternative to do so.

    If i understand correctly: you can't actually create two columns in a list because it can only hold one value. The only way to achieve what you want is by concatenating the two values you want to display and put this as the value of the listbox.

  • Help to get the column names from ResultSet.

    Hi,
    I hava a ResultSet and i want the column names into a String Array.
    i wrote the code to get the column names as below,
    String s = "select Dept_No,Dept_Name from tb_dept";
    rs = statement.executeQuery(s); // ResultSet defined before
    String[] columnNames1 = null;
    ResultSetMetaData meta = rs.getMetaData ( ) ;
    for (int x = 1; x <= meta.getColumnCount(); x++)
    columnNames1[x] = meta.getColumnName(x).toString();
    but i'm getting NullPointer exception. However if i print the column names means its printing the first column name and giving NullPointer Exception at the next step.
    Can anyone help me...
    Thanks,
    Rashmy

    but rs.getRow() ll give the current roe no right?
    but we can move to the last row using last() method
    and get the row count right?
    thank you yaar.
    private int getRowCount(ResultSet resultSet){
            int total = 0;
            try{
                resultSet.afterLast();
                if(resultSet.previous()) total = resultSet.getRow();
                resultSet.beforeFirst();
            }catch(SQLException sqle){
                javax.swing.JOptionPane.showMessageDialog(null,sqle);
            return total;
        }

  • Pull the tax code automatically in the column field ??

    Could you please guide me how to pull the tax code automatically in the column field in the Sale Order form? I don't refer to the tax determination.

    Hi,
    In the Demo database, please create a new Business Partner and assign a tax code under the Business Partner Master Data > Accounting tab > tax tab. Make sure that the Business Partner is tax liable.
    Then try to create a SO for that BP Code and see whether the tax code is populated in the tax code field.
    Also, check that the Item taken into the SO is tax liable and under the Sales Tab what tax code is selected.
    Please update the results from the testing.
    Kind Regards,
    Jitin
    SAP Business One Forum Team
    Edited by: Jitin Chawla on Aug 11, 2011 5:55 PM

  • Need sample code to get handle of Selected rows from ADF Table

    Hi,
    I am new to ADF. I have an ADF table based on VO object.On some button action,I need to get handle of selected rows in application module.
    If anybody is having sample code to do this then please share with me.
    Thanks,
    ashok

    wow now link http://blogs.oracle.com/smuenchadf/examples/#134 is working.thanks a lot.
    also the link http://baigsorcl.blogspot.com/2010/06/deleting-multi-selected-rows-from-adf.html is very useful. Thanks a lot for Sameh Nassar too.He made it clear that in 11g Select column is not available for a ADF table and provided a solution to get Select column.
    Thanks,
    ashok

  • I am having trouble printing I have a connection to my printer wirelessly but does not print out the correct page I want.When I do print I get a bunch of pages more than is needed and also get a code and symbols please help I am jammed at work

    I am having trouble printing I have a connection to my printer wirelessly but does not print out the correct page I want.When I do print I get a bunch of pages more than is needed and also get a code and symbols please help I am jammed at work

    This can be the result of selecting the wrong driver. An older, unsupported laser printer will sometimes work with the generic Postscript driver.

  • I purchased Creative Cloud through the Employee Purchase program. Had to reimage system. Need help reinstalling application. I have "redemption" code, but get error saying it has already been redeemed. Please advise.

    I purchased Creative Cloud through the Employee Purchase program. Had to reimage system. Need help reinstalling application. I have "redemption" code, but get error saying it has already been redeemed. Can you please advise how I go about getting my software reinstalled? If I was given the serial number when I redeemed, I don't have any record of it.
    Thank you,
    Starla

    Hi Starla Mehaffey,
    I would suggest you to sign in with your Adobe ID during installation and your product will automatically recognize your membership details.
    Refer this Link for any further assistance:- Redemption Code Help
    Hope that helps,
    Regards,
    Rahul Tyagi

  • How to hide Actions Column in Table

    Hi All,
    I have a simple requirement: I am showing a table (items)
    - the "Actions" column (Column with Buttons to Edit and Delete a particualr row) must not be show -> no changes to the table are allowed (I need to hide/ disable this column)
    How can I hide this column od the table?
    I have found out that the field is called thtmlb_oca and that htere is a getter method get-thtmlb_oca. However, the method does not contain coding and I do not know how to HIDE this field/ column...
    Please help me here..
    Thanks, Johannes

    Hi Johannes,
    To remove the column completely,
    you need to comment this line in the method GET_TABLE_LINE_SAMPLE of the Table View Context node class.
    TYPES: BEGIN OF line,
    *  thtmlb_oca  type  crm_thtmlb_one_click_action.
      INCLUDE TYPE xxxx.
      TYPES:  END OF line.
    Disabling can be controlled in the method GET_OCA_T_TABLE of the same class by putting code to delete the button.
    LOOP AT  rt_actions ASSIGNING <fs_actions>.
          <fs_actions>-active  = abap_false.
        ENDLOOP.
    Regards,
    Masood Imrani S.

  • How Can I get multi column values from dynamic search help?

    Hi Gurus;
    I'm using dynamic search help in my program.
    I want to get multi column values from search help. But I dont know solution for this issue.
    I'm using F4IF_INT_TABLE_VALUE_REQUEST FM.
    How Can I get multi column values from dynamic search help?
    Thanks.

    Believe it or not, the same FM worked for me in a dynpro. I will try to explain here how it works in custom screen and then you can do your work for other screens or program types. I am not going to write my actual work but will explain in general.
    I have 4 fields (FLD1, FLD2, FLD3, FLD4) and i made the search based on FLD2 and when user click on a line (could be any field), then this would bring the line on to the screens.
    There are like 3 steps.
    You have your value_tab for my fields FLD1, FLD2, FLD3 and FLD4. This is just the data that we pass into the FM. (data: IT_VALTAB type table of ZVAL_TABLE)
    Next map the screen fields into an internal table (data: It_dynpfld type table of dselc ). I also have other internal tables defined  (just to keep it straight, i will be putting here) data:  It_return type standard table of ddshretval.
    Next step is to call the function module. Make sure you have values in IT_VALTAB.
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
            retfield        = 'FLD2'
            value_org       = 'S'
          tables
            value_tab       = It_VALTAB
            return_tab      = It_return
            dynpfld_mapping = It_dynpfld
          exceptions
            parameter_error = 1
            no_values_found = 2
            others          = 3.
        if sy-subrc <> 0.
          message id sy-msgid type sy-msgty number sy-msgno
          with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        else.
          perform get_selected_fields tables It_return.
        endif.
    The code within the perform GET_SELECTED_FIELDS  - We need to map the result fields after user selects it. The code goes like this. This is step is to update the dynpro fields.
    I need a internal table as well as a work area here. like,
    data: lt_fields type table of dynpread,
            la_fields type dynpread.
      field-symbols: <fs_return> type ddshretval.
    so fill out LT_FIELDS from the IT_RETURN table
    loop at lt_return assigning <fs_return>.
        la_fields-fieldname = <fs_return>-retfield.
        la_fields-fieldvalue = <fs_return>-fieldval.
        append la_fields to lt_fields.
        clear: la_fields.
      endloop.
    Call the FM to update the dynpro
    call function 'DYNP_VALUES_UPDATE'
        exporting
          dyname               = sy-repid
          dynumb               = '1002' "This is my screen number. You could use 1000 for selection screen (hope so)
        tables
          dynpfields           = lt_fields
        exceptions
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          undefind_error       = 7
          others               = 8.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    good luck

  • How to get the column index inside a dataTable

    Hello,
    before I get staked, there are multiple threads handling familiar topics to the one I'm questioning about but none gives an anwer. If there is one, I'm propably to less skilled to see it.
    So here is my Problem: I've build a web-interface to a time-recording system. The hours worked on a certain project are displayed in a dataTable component which is generated out of a mySQL Query. Each entry (column/row) contains a inputText component to display and edit the specific value.
    Editing one of these inputText elements now fires a valueChangeEvent which reads the new value and stores it in the database. For that cause I need to know the row- and column-index of the inputText component that fired the event.
    Using the getClientId method from the valueChangeEvent I get some Information which makes it possible to calculate the row/column index. A typical clientID looks like "form_table:mainTable:0:_id14". "form_table" is the ID of the form the dataTable is in. "mainTable" is the id of the dataTable component. "0" is the row the component is in. And finally "_id14" stands for the id randomly given to the inputText component by JSF.
    My Problem is now, that though I can calculate the column out of the[i] "_id14", this calculation is hardcoded. So everytime I add a component in before the dataTable, the calculation needs to be adjusted in the code.
    The Questions:
    - How to force a sensefull id indicating a column-index for the inputText components inside the columns of a dataTable?
    - Nicer since no workaround: How to get the column-index inside the dataTable on a natural way? (e.g. out of the valueChangeEvent the specific inputText component fires)
    After some investigation here on the board and on the net I know multiple ways to get the row index, (Things like component-binding and so on) but I can't find a answer on how to get the column-index.
    Thanks to all answers and/or links to things my eyes missed while searching for one.

    ...then index 0 becomes index 1 and my program doesn't work properlyThe program works properly, just not as you expect it to.
    As you've noticed the table gives you the flexibility to move columns around. So if you move column 0 to column 1, why would you expect to still use 0 as the index? The table manages the reordering of columns for you to make sure the data being displayed in each table column comes from the correct column in the data model.
    You can manage this yourself using one of the following methods (I forget which one):
    table.convertColumnIndexToModel(int viewColumnIndex)
    table.convertColumnIndexToView(int modelColumnIndex)
    Or, you can get data from the data model directly:
    table.getModel().getValueAt(row, 0);

  • TLF with Flex Spark RichText ColumnCount - only getting one column

    Hey, I'm new to using TLF, I'm just trying to get a block of text to display its text flow as 3 columns.  I'm using the Spark RichText control (this uses the TLF right?).  I have given the control an explicit width of 800 and a height of 200.  I've then attached a css style wich specifies a columnCount of 3 for the control.  I then populated the controls content property with xml representing a textflow using the tlf markup.  I expected this to result in 3 colums of text that are 200px high and each one around 253px wide (allowing 20px columnGap).
    However the actual result is a single column that is 253px wide and the text extends beyond the 200px bounds of the RichText control wich does seem to have the correct height of 200px.  So it seems the TextFlow is getting that it needs to fit into the columns correctly but it's ignoring the height of the RichText container and so never reaches a bottom so that it can break over to the next column.
    How do i get the RichTexts textflow to listen to the RichTexts height and break over to the next column when it reaches the bottom.  Do i need to be setting the height of the text flow or somthing.
    I'm using the flash builder/ gumbo beta release from the adobe labs site and the TLF version that comes with that version of the sdk.  So maybe this is a bug? I cant find any tutorials or solid info about how to use the RichText control to make columns of text so everything I have done here has been guess work, is there anything i am missing?
    Heres the relevent code bits....
    <s:RichEditableText 
    id="shippingBody"content="
    {SHIPPING_COPY}" styleName="
    footerBody"height="
    200" width="800" />
    public  
    <TextFlow xmlns="http://ns.adobe.com/textLayout/2008"><p>
    <span>doopey dooo Lorem ipsum dolor sit amet... </span>
    </p>
    </TextFlow> ;
     static var SHIPPING_COPY:XML =  
    .footerBody { 
    font-family: Verdana; 
    color: #999999; 
    font-size: 10pt; 
    line-height: "200%"; 
    trackingRight:"10%"; 
    font-grid-fit-type:pixel; 
    column-count:3; 
    text-align: justify; 
    text-align-last: left;}

    Hey just a quick update to let you know this seems to be working now! not too sure whats happend, tried a few different things then ended up back at my origional possition and it has broken up into the columns!  I feel like I hit an old TV on the side and the picture went clear .
    One thing of note that held me up for a while...  I read in the decs that the default column gap is 20px so i didn't bother to change it... turns out it wasn't, it was 0px.  Combine this with some confusing looking lorem ipsum copy, and I had what appeared to be a solid block of text... meaning i had my 3 columns for a while without realising my achivement... just a little tip incase anyone else out there stumbles on the same thing

  • Getting Action Task Id of Guided Procedure Process

    Hi,
        The scenario is i have three actions with web dynpro GP Interface Callable Object in GP Process.This GP Process is initiated from web dynpro application.Once i initiate the process the first action start and display the action in the uwl.Once i click the uwl link and process it and complete the action it will start the second action.Its working fine.Here i want the second action Task Id in the first action web dynpro component.But iam only getting the previous action Task Id.Any solution to getting the Task Id by using the GP API.Provide me any solution to solve this scenario.
    Thanks and Regards,
    SatheshKumar R

    Hi Sathesh,
    I did not really understand the following line by you:
    Here i want the second action Task Id in the first action web dynpro component.But iam only getting the previous action Task Id.
    Why do you want the second action task id in the first action? Isn't the first action completed it's execution? And why do you need the task id at all? Please explain your requirement a little more clearly.
    To your question:
    Any solution to getting the Task Id by using the GP API.
    In the execute() method of the Interface controller of your web dynpro application, you can use the following code to get the current task id.
    this.executionContext = executionContext;
    String currentTaskId = executionContext.getTaskId();
    But I am still not sure how this code is going to help you. Kindly elaborate so that I can provide any more help.
    Bye
    Ankur

  • How to get the column index of the selected column

    Hi All,
    I have a dynamically populated advanceddatagrid. Iam trying to edit any column of a particular row. In my as file im able to get the row index using selecteditem property. But I need to get the column Index and the updated value of the column to be passed from the as file to the java method.
    So that I can update the DB with the updated value. Can somebody help with a sample code.

    ...then index 0 becomes index 1 and my program doesn't work properlyThe program works properly, just not as you expect it to.
    As you've noticed the table gives you the flexibility to move columns around. So if you move column 0 to column 1, why would you expect to still use 0 as the index? The table manages the reordering of columns for you to make sure the data being displayed in each table column comes from the correct column in the data model.
    You can manage this yourself using one of the following methods (I forget which one):
    table.convertColumnIndexToModel(int viewColumnIndex)
    table.convertColumnIndexToView(int modelColumnIndex)
    Or, you can get data from the data model directly:
    table.getModel().getValueAt(row, 0);

Maybe you are looking for

  • PrintToPrinter is having incorrect margins (Export to PDF is working fine)

    I've met with a strange situation where my report wont print properly when I use PrintToPrinter from .NET application. But if I export or preview it in the designer it works as expected. When I print, margins set in the reports are lost. How can I ma

  • Permission Denied error in DB check job

    We have schduled DB check job in SM37 everyday to collect the statistics of DB. But in recent days, the job is finished with errors. PFB the job log. BR0801I BRCONNECT 7.00 (32) BR0252W Function remove() failed for '/oracle/TBW/102_64/dbs/sapTBW.ora'

  • T400 came with 32 bit Vista but want to upgrade to 64 bit Vista...

    Hi All, Just received my T400 not too long ago.  It came with Vista Home Premium 32-bit preinstall.  A 64-bit Vista Home Premium was not offered.  My T400 was ordered with 4 GB of RAMs.  I have already created a set of 32-bit Vista Home Premium resto

  • Problems after updating to version 4

    I updated to version 4 today using iTunes as instructed. Everything went well but when I went into my music app to play all songs nothing is listed. However, songs are still listed by going into albums or artists. I deleted all tracks from iTunes lib

  • List Videos in Alphabetical Order on iPhone 3GS?

    I am having trouble with my recently synced videos to my iPhone 3GS - I have synced across a bunch of audio and video files and when I browse the songs they are all listed in alphabetical order yet the videos appear to be in a random order. I have co