SELECT VALUES FROM OBJECT TYPES

Hi
I want to select values in a object types in a table over the database link.
like
select name from [email protected]
where name is of type varray of varchar2(100)
and db.com is database link.
It is giving me error ORA-22804.
Oracle supports this or not?

SQL> var a refcursor
SQL> declare
  2   bb emp%ROWTYPE;
  3  begin
  4   select * into bb from emp where rownum = 1;
  5   open :a for select bb.ename ename, bb.empno empno from dual;
  6  end;
  7  /
PL/SQL procedure successfully completed.
SQL> print a
ENAME                                 EMPNO
SMITH                                  7369Rgds.

Similar Messages

  • Getting selected values from selectManyChoice component inside valueChangeListener

    Hwo do I get the selected values from the selectManyChoice component inside the valueChangeListener.
    The API docs for valueChangeEvent.getNewValue() show the return type as java.lang.object. This is good for single value what does it return in case of multiple values.
    My drop down has string values so I am expecting a set of string values.

    JDev - 11.1.2.3
    public void onRegionSelect(ValueChangeEvent event) {
    event.getComponent().processUpdates(FacesContext.getCurrentInstance());
    if (!PhaseId.INVOKE_APPLICATION.equals(event.getPhaseId())) {
    event.setPhaseId(PhaseId.INVOKE_APPLICATION);
    event.queue();
    } else {
    List<Object> values = Arrays.asList(event.getNewValue());
    System.out.println("Value changed ==>> "+values.size());
    DCBindingContainer dc =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding iter = dc.findIteratorBinding("RegVO1Iterator");
    ViewObject vo = iter.getViewObject();
    StringBuffer regions = new StringBuffer();
    for(Object index : values){
    String iIndex = (String)index;
    Row row  = vo.getRowAtRangeIndex(Integer.parseInt(iIndex));
    regions.append((String)row.getAttribute("Region")+",");
    String reg = regions.toString();
    if(reg.endsWith(","))
    reg = reg.substring(0,reg.lastIndexOf(","));
    System.out.println(reg);

  • Accessing Selected Value from Payment Terms (Item 47) in AR Invoice Form

    Hi,
    Have just started working in SAP Business One and SDK adn would really appreciate any help I could receive.
    I'm trying to access the selected value from Payment Terms field(Item 47) in the AR Invoice Form.
    Have successfully managed to do this against Customer Code field using the following code-:
    Private Sub eventHandlerTest(ByVal FormUID As String, pVal As SAPbouiCOM.ItemEvent, BubbleEvent As Boolean)
        Dim frm As SAPbouiCOM.Form
        Dim itmCustomer As SAPbouiCOM.Item
        Dim edtCustomer As SAPbouiCOM.EditText
        Dim itmRemark As SAPbouiCOM.Item
        Dim edtRemark As SAPbouiCOM.EditText
        Dim FieldNo As String
        Set frm = SBO_Application.Forms(FormUID)
        Set itmCustomer = frm.Items(pVal.ItemUID)
        Set edtCustomer = itmCustomer.Specific
        If UCase(edtCustomer.Value) = "CALECH1" Then
            FieldNo = "16"
            Set itmRemark = frm.Items(FieldNo)
            Set edtRemark = itmRemark.Specific
            edtRemark.String = "E"
        End If
    End Sub
    However when doing the same thing for Payment Terms I get the error "Run-time error '13': type mismatch" on the line
    Set edtOrderType = itmOrderType.Specific
    Thanks

    Hi,
    On the new invoice's form item 47 is ComboBox and I guess it's stay in the same type when you open existing invoice. So try to work with this item like with ComboBox. But if you need only get some information about existing invoice, you don't need to fork with the screen objects - you can get all you need from the DI Document object. Open Document object with Invoice type, find invoice and check PaymentGroupCode property.
    Best regards,
    Mark

  • Dvt:pivotFilterBar - how to get selected values from filter

    Hi all,
    I have a question: how to programmatically get selected values from pivot table's filter bar?
    I have tried to use
    pivotTable.getDataModel().getDataAccess().getValueQDR(startRow, startCol, DataAccess.QDR_WITH_PAGE);but for page edge dimensions it returns BAD DATA, it seems that it returns some cached values.
    Environment: JDev 11.1.1.3.0 without any patches.
    thanks,
    Miroslaw

    Hi,
    You can retrieve the selected value in the PivotFilterBar through the model of PivotFilterBar, instead of dataaccess:
    // get the model from the pivot filter bar instance
    QueryDescriptior queryDescriptor = (QueryDescriptor)pivotFilterBar.getValue();
    // retrieve a list of criterion, each one is used to populate each lov within the pivot filter bar
    ConjunctionCriterion conjunctionCriterion = queryDescriptor.getConjunctionCriterion();
    List<Criterion> criterionList = conjunctionCriterion.getCriterionList();
    for (int i=0; i<_criterionList.size(); i++) {
    AttributeCriterion criterion = (AttributeCriterion)criterionList.get(i);
    // _selected is the currently selected value
    Object selected = criterion.getValues().get(0);
    System.out.println(_selected);
    Hope that helps,
    Chadwick

  • How t print out selected values from a Jlist

    hi iam trying to get the selected values from a list to print out as a string but iam getting ,Invalid cast from java.lang.Object[] to java.lang.String.is there any way to get the selected values t print ut as a string?? import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class MultipleSelection2 extends JFrame {
    private JList colorList, copyList;
    private JButton copy;
    private String colorNames[] =
    { "Black", "Blue", "Cyan", "Dark Gray", "Gray",
    "Green", "Light Gray", "Magenta", "Orange", "Pink",
    "Red", "White", "Yellow" };
    public MultipleSelection2()
    super( "Multiple Selection Lists" );
    Container c = getContentPane();
    c.setLayout( new FlowLayout() );
    colorList = new JList( colorNames );
    colorList.setVisibleRowCount( 5 );
    colorList.setFixedCellHeight( 15 );
    colorList.setSelectionMode(
    ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
    c.add( new JScrollPane( colorList ) );
    // create copy button
    copy = new JButton( "Copy >>>" );
    copy.addActionListener(
    new ActionListener() {
    public void actionPerformed( ActionEvent e )
    // place selected values in copyList
    copyList.setListData(
    colorList.getSelectedValues());
    String s1 =(String)colorList.getSelectedValues();

    Since the JList method 'getSelectedValues' returns an object array you'll need to iterate through the array and cast each object in the array to a string as you access them.
    Object[] o = colorList.getSelectedValues();
    for(int count=0,end=o.length; count<end; count++) {
    String s = (String) o[count];
    Hope that helps
    Talden

  • Retrieve all values from project type when project type combo box is null

    Hi,
    We are facing a tight situation here. We have a scenario where we have 2 filter options.
    1) Department ID
    2) Project type
    When department ID is selected all the department IDs should be populated in the combo box and the project type combo box should be empty.
    Similarly, when project type is selected all the project types should be populated in the combo box and the department ID combo box should be empty.
    Then, when more than one value is selected from department ID box and all the values from project type must be retrieved from query level (as per business logic).
    How do we do this? Kindly help us with this situation.

    Basically my situation slightly different.
    I am trying to do a bulk insert on SQL Server table using prepared statement, during that time i am getting the exception. I am using JDBC-ODBC driver. However, if i do individual record insertion, it is working.
    Any idea about this type of problem ?
    Regards
    Ramesh

  • Error after selecting value from LOV - You are trying to access a page that is no longer active.

    Created a simple page with a few text inputs and 4 LOV. After selecting a value from the last LOV the following error is displayed:
    Error:
    You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please select Home to proceed.
    OA Framework              12.1.3
    Oracle OA Extension    10.1.3 - build 1313
    Any pointers to the cause ?
    Thanks

    [57]:EVENT:[xx.oracle.apps.ap..webui.EngagementCO]:OAF LOG: Event : Call Process Form Data, in: xx.oracle.apps.ap..webui.EngagementCO: Entering Process Form Data
    [57]:EVENT:[xx.oracle.apps.ap..webui.EngagementCO]:OAF LOG: Event : Call Process Form Data, in: xx.oracle.apps.ap..webui.EngagementCO: Entering Process Form Data
    [57]:EVENT:[fnd.framework.webui.OAFormValueHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAFormValueHelper: View:xxEngagementVO1 ,Attribute:VendorId , Return Value without datatype conversion :996
    [58]:EVENT:[fnd.framework.webui.OAFormValueHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAFormValueHelper: View:xxEngagementVO1 ,Attribute:VendorSiteId , Return Value without datatype conversion :60158
    [58]:EVENT:[fnd.framework.webui.OAFormValueHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAFormValueHelper: View:xxEngagementVO1 ,Attribute:BusinessPrincipalId , Return Value without datatype conversion :48375
    [59]:EVENT:[fnd.framework.webui.OAFormValueHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAFormValueHelper: View:xxEngagementVO1 ,Attribute:AttorneyPersonId , Return Value without datatype conversion :37430
    [59]:EVENT:[fnd.framework.webui.OAMessageLovInputHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageLovInputHelper: View:xxEngagementVO1 ,Attribute:Vendor , Return Value without datatype conversion :CLIFFORD CHANCE
    fnd.framework.webui.OAMessageLovInputHelper][60]:EVENT:[fnd.framework.webui.OAMessageLovInputHelper]:OAF LOG: Event : Get Attribute Value, in: oracle.apps.fnd.framework.webui.OAMessageLovInputHelper: View:xxEngagementVO1 ,Attribute:AttorneyName , Return Value without datatype conversion :Bloggs, Mr. Joe
    [60]:UNEXPECTED:[fnd.framework.webui.OAPageContextImpl]:MACCHECK: . Parameter failing validation is :MatterCode. Parameter "MatterCode" failed Validation. Value got from request object is 2435 
    Incoming URL is : /OA_HTML/OA.jsp?page=/xx/oracle/apps/ap/legal/webui/EngagementPG&_ti=752953423&language_code=US&&OAFMID=94470&OAPB=_OAFMID&oapc=16&oas=xSrFYCAbgOaPGVhqpb0-hA.. .
    Current URL is : /OA_HTML/OA.jsp?page=/xx/oracle/apps/ap/legal/webui/EngagementPG&_ti=752953423&language_code=US&&OAFMID=94470&OAPB=_OAFMID&oapc=16&oas=xSrFYCAbgOaPGVhqpb0-hA.. .
    Referer URL is : https://paydev.company.com/OA_HTML/RF.jsp?function_id=48080&resp_id=53189&resp_appl_id=20003&security_group_id=0&lang_code=US¶ms=CtXL5LFdg5E7c.aFPRw7fTZ5STWrUsz9iXF2ByXh3F4&oas=gAqepzP-un4kBOC8NUxtIQ.. .
    HTTP Request Method is : POST
    [62]:ERROR:[fnd.common.Message.auto_log]:FNDFND_FORM_POST_SECURITY_FAILEDYHOMEFND_GLOBAL_PRMPT_HOME
    [62]:ERROR:[fnd.framework.OAException]:You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please select Home to proceed.
    Click on browser Back button and all LOV values are empty on original screen. Try and select value from LOV and after selection:
    [23]:EVENT:[xx.oracle.apps.ap.legal.webui.EngagementCO]:OAF LOG: Event : Call Process Form Data, in: xx.oracle.apps.ap.legal.webui.EngagementCO: Entering Process Form Data
    [23]:EVENT:[xx.oracle.apps.ap.legal.webui.EngagementCO]:OAF LOG: Event : Call Process Form Data, in: xx.oracle.apps.ap.legal.webui.EngagementCO: Entering Process Form Data
    [23]:UNEXPECTED:[fnd.framework.webui.OAPageContextImpl]:MACCHECK: . Parameter failing validation is :VendorId. Parameter "VendorId" failed Validation. Value got from request object is 996 
    Incoming URL is : /OA_HTML/OA.jsp?page=/xx/oracle/apps/ap/legal/webui/EngagementPG&_ti=752953423&language_code=US&&OAFMID=94470&OAPB=_OAFMID&oapc=17&oas=lC4tbZwHYHffQY6uX7agiA.. .
    Current URL is :  /OA_HTML/OA.jsp?page=/xx/oracle/apps/ap/legal/webui/EngagementPG&_ti=752953423&language_code=US&&OAFMID=94470&OAPB=_OAFMID&oapc=17&oas=lC4tbZwHYHffQY6uX7agiA.. . 
    Referer URL is : https://paydev.company.com/OA_HTML/RF.jsp?function_id=48080&resp_id=53189&resp_appl_id=20003&security_group_id=0&lang_code=US¶ms=CtXL5LFdg5E7c.aFPRw7fTZ5STWrUsz9iXF2ByXh3F4&oas=gAqepzP-un4kBOC8NUxtIQ.. .
    HTTP Request Method is : POST
    [25]:ERROR:[fnd.common.Message.auto_log]:FNDFND_FORM_POST_SECURITY_FAILEDYHOMEFND_GLOBAL_PRMPT_HOME
    [25]:ERROR:[fnd.framework.OAException]:You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please select Home to proceed.

  • How to capture selected value from drop down by index

    Dear friends,
    i want to capture the value of select value from drop down by index, for eg if  select air france, how to capture , could any one please let me know
    Thanks
    Vijaya

    Hi Vijaya,
    You can get the value of selected from drop down as below
    Check out the event handler method attached to Onselect event of the ui element drop down by index , if no event is associated, then create an event and attach to the drop down list
    Now you will be having the CONTEXT_ELEMENT in the WDEVENT parameter
                   data lo_element type ref to if_wd_context_element.
                   lo_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT').
    Now, you can get the static attribute value of selected  drop down value & let us say your drop down list values are populated from context node 'ND_DRP_DOWN'
                   data ls_data type wd_this->element_nd_drp_down.
                             lo_element->get_static_attributes(
                                       importing
                                       static_attributes = ls_data ).
    Hope this helps you.
    Regards,
    Rama

  • Passing Values to Object Type Attributes

    Hi Experts,
    I need to pass values to object type attributes amount,channel and company code from zprogram.
    I have got FM 'SWO_INVOKE'.But in this FM how will I pass values to 3 attributes.
    I have created object type through SWO1 .Is it necessary to call FM SWO_CREATE before FM 'SWO_INVOKE'.
    Please suggest.
    Regards,
    Kaustubh.

    Hi,
    I guess you will have to Initialize business object first by using the function module "SWO_CREATE' and then call the other function module to pass the attributes. I am not sure, but please check by passing the attribute name and value to the tables parameter 'CONTAINER'.
    CONTAINER-ELEMENT = <Attribute name>.
    CONTAINER-VALUE = <value from the Zprogram>.
    Hope this will help.
    Thanks,
    Samson

  • How to get selected value from selectOneRadio ???

    Hi...i want to how to get selected value from selectOneRadio and use it in another page and in backing bean.
    Note i have about 10 selectOneRadio group in one page i want to know value of each one of them.
    Plzzzzzzzz i need help

    You have a datatable in which each row is a question, correct?
    Also in each row you have 5 possible answers that are in a radio, correct?
    So,
    You need to put in your datatable model, a question, and a list of answers (5 in yor case) and the selected one.
    So you will have a get to the question, an SelectItem[] list to populate the radios and another get/set to the selected question.
    ex:
    <h:selectOneRadio value="#{notas.selectedString}" id="rb">
    <f:selectItem itemValue="#{notas.valuesList}"/>
    </h:selectOneRadio>
    Search the web for examples like yours.

  • How to get selected value from OADefaultListBean.

    Hi All,
    How to get selected value from OADefaultListBean ?
    Thanks,

    Hi,
    To identify the user's selection(s) when the page is submitted, you would add the following logic to your processFormRequest() method:
    OADefaultListBean list =
    (OADefaultListBean)webBean.findChildRecursive("positionsList");
    String name = list.getName();
    String[] selectedValues = pageContext.getParameterValues(name);
    To retrieve all the values in the list box, call list.getOptionsData().
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to get selected value from SelectOneChoice

    Hi,
    I'm facing a problem to get selected value from SelectOneChoice. I have valueChangeListener event on a (SelectOneChoice)item. After user makes a choice I want to store selected value in a bean property to pass it to a method.
    For example List item shows dname from dept table after user makes a choice I want to get deptno and populate into bean which I use to pass into my method.
    If I use valueChangeEvent.getNewValue() I always get negative value instead I want deptno selected. Sample code pasted below.
    public void setDeptno(ValueChangeEvent valueChangeEvent) {
    BindingContainer b = getBindings();
    OperationBinding oB = b.getOperationBinding("setDeptno");
    //Checking instance of because same method is called from another text inputText item.
    if (valueChangeEvent.getSource() instanceof CoreSelectOneChoice){
    CoreSelectOneChoice cN = (CoreSelectOneChoice)valueChangeEvent.getSource();
    if (columnName.getId().toString().equals("deptDname")){
    JSFUtils.setManagedBeanValue("dept.deptDeptno",valueChangeEvent.getNewValue());
    }

    if your selectOneChoice has value equal to #{bindings.deptno} bound to the iterator Dept1Iterator,
    then the backing code will look more like
                    public void setDeptno(ValueChangeEvent valueChangeEvent) {
                        BindingContainer b = getBindings();
                        OperationBinding oB = b.getOperationBinding("setDeptno");
                        //Checking instance of because same method is called from another text inputText item.
                        if (valueChangeEvent.getSource() instanceof CoreSelectOneChoice){
                            CoreSelectOneChoice cN = (CoreSelectOneChoice)valueChangeEvent.getSource();
                        if (columnName.getId().toString().equals("deptDname")){
                            FacesContext ctx = FacesContext.getCurrentInstance();
                            Application app = ctx.getApplication();
                            ValueBinding bind = app.createValueBinding("#{bindings.Dept1Iterator.currentRow}");
                            Row row = (Row)bind.getValue(ctx);
                            JSFUtils.setManagedBeanValue("dept.deptDeptno", row.getAttribute("deptno"));
                    } I haven't tested it, so it could perfectly not work at all

  • How to capture the selected values from module pool dialog list box !

    Hi experts,
    Can anyone help me out in capturing the values from the list box.
    i am able to set the values in the list box.But i am not able to capture the selected value from the list box. Always the list box name is getting as "space"
    I also tried in using the FM "VRM_GET_VALUES" but it is retireving all the values. Is there is any flag for filttering out the selected value.
    Your inputs are appreciated.
    Thanks,
    Vijay.

    Along with the PBO and PAI event, add a POV event in the flow logic of the screen
    DEMO_DROPDOWN_LIST_BOX -is a good demo example.
    PROCESS ON VALUE-REQUEST.
    FIELD structure_name-field_name MODULE create_dropdown_box.
    In the report :
    MODULE create_dropdown_box INPUT.
      SELECT carrid carrname
                    FROM scarr
                    INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'CARRID'
                value_org       = 'S'
           TABLES
                value_tab       = itab_carrid
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc <> 0.
      ENDIF.
    ENDMODULE.
    In the layout, assign a Function Code , for eg : 'SELECTED' to the listbox and lets say name of the field is SDYN_CONN-CARRID. So in the PAI module,
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'SELECTED'.
          MESSAGE i888(sabapdocu) WITH sdyn_conn-carrid.
      ENDCASE.
    ENDMODULE.
    sdyb_conn-carrid will contain your selected field

  • How to get selected value from a listbox

    Hi !
    I use following code to fill in my LISTBOX with values :
    AT SELECTION-SCREEN OUTPUT.
      val-key = 1.
      val-text = '0016'.
      APPEND val TO list_values.
      val-key = 2.
      val-text = '0028'.
      APPEND val TO list_values.
      val-key = 3.
      val-text = '0035'.
      APPEND val TO list_values.
      val-key = 4.
      val-text = '2001'.
      APPEND val TO list_values.
      val-key = 5.
      val-text = '0515'.
      APPEND val TO list_values.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING id     = 'p_list'
                  values = list_values.
    My question is - how to get a selected key/text value ? i dont need it to be done dynamically - i just need it in START OF SELECTION to perform tasks.
    Thx in advance.

    Unfortunetly it does not work
    i Define parameter as follows :
    PARAMETERS:
      p_list AS LISTBOX VISIBLE LENGTH 10.
    Then i add values to it :
    AT SELECTION-SCREEN OUTPUT.
      val-key = 1.
      val-text = '0016'.
      APPEND val TO list_values.
      val-key = 2.
      val-text = '0028'.
      APPEND val TO list_values.
      val-key = 3.
      val-text = '0035'.
      APPEND val TO list_values.
      val-key = 4.
      val-text = '2001'.
      APPEND val TO list_values.
      val-key = 5.
      val-text = '0515'.
      APPEND val TO list_values.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING id     = 'p_list'
                  values = list_values.
    Then when i add a blank section :
    AT SELECTION-SCREEN ON p_list.
    I set a breakpoint in START OF SELECTION block - but the value is empty no matter what do i select.
    Actually when i select value from the list and hit enter key on selection screen the selection in a listbox goes empty :/
    Whats the cause of this ?
    Edited by: Jacek Zebrowski on Feb 26, 2009 12:38 PM

  • Copy selected values from a table control into another table control

    hi there,
    as seen in the subject i need to copy selected values from a table control into another table control in the same screen. as i dont know much about table controls i made 2 table controls with the wizard and started to change the code... right now im totally messed up. nothing works anymore and i don't know where to start over.
    i looked up the forums and google, but there is nothing to help me with this problem (or i suck in searching the internet for solutions)
    i have 2 buttons. one to push the selected data from the top table control into the bottom tc and the other button is to push selected data from the bottom tc into the top tc. does somebody has a sample code to do this?

    you're funny
    i still don't get it... can't believe, there is no tutorial or sample code around how to copy multiple selected rows from a tc.
    here's my code, maybe you can tell me exactly were i have to change it:
    tc1 = upper table control
    tc2 = lower table control
    SCREEN 0100:
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      MODULE get_nfo. --> gets data from the dictionary table
      MODULE tc1_change_tc_attr.
      LOOP AT   it_roles_tc1
           INTO wa_roles_tc1
           WITH CONTROL tc1
           CURSOR tc1-current_line.
      ENDLOOP.
      MODULE tc2_change_tc_attr.
      LOOP AT   it_roles_tc2
           INTO wa_roles_tc2l
           WITH CONTROL tc2
           CURSOR tc2-current_line.
      ENDLOOP.
    PROCESS AFTER INPUT.
      LOOP AT it_roles_tc1.
        CHAIN.
          FIELD wa_roles_tc1-agr_name.
          FIELD wa_roles_tc1-text.
        ENDCHAIN.
        FIELD wa_roles_tc1-mark
          MODULE tc1_mark ON REQUEST.
      ENDLOOP.
      LOOP AT it_roles_tc2.
        CHAIN.
          FIELD wa_roles_tc2-agr_name.
          FIELD wa_roles_tc2-text.
        ENDCHAIN.
        FIELD wa_roles_tc2-mark
          MODULE tc2_mark ON REQUEST.
      ENDLOOP.
      MODULE ok_code.
      MODULE user_command_0100.
    INCLUDE PAI:
    MODULE tc1_mark INPUT.
      IF tc1-line_sel_mode = 2
      AND wa_roles_tc1-mark = 'X'.
        LOOP AT it_roles_tc1 INTO g_tc1_wa2
          WHERE mark = 'X'.    -
    > big problem here is, that no entry has an 'X' there
          g_tc1_wa2-mark = ''.
          MODIFY it_roles_tc1
            FROM g_tc1_wa2
            TRANSPORTING mark.
        ENDLOOP.
      ENDIF.
      MODIFY it_roles_tc1
        FROM wa_roles_tc1
        INDEX tc1-current_line
        TRANSPORTING mark.
    ENDMODULE.                    "TC1_MARK INPUT
    MODULE tc2_mark INPUT.
      IF tc2-line_sel_mode = 2
      AND wa_roles_tc2-mark = 'X'.
        LOOP AT it_roles_tc2 INTO g_tc2_wa2
          WHERE mark = 'X'.             -
    > same here, it doesn't gets any data
          g_tc2_wa2-mark = ''.
          MODIFY it_roles_tc2
            FROM g_tc2_wa2
            TRANSPORTING mark.
        ENDLOOP.
      ENDIF.
      MODIFY it_roles_tc2
        FROM wa_roles_tc2
        INDEX tc2-current_line
        TRANSPORTING mark.
    ENDMODULE. 
    thx for anybody who can help with this!

Maybe you are looking for

  • On enterning NETFLIX I click on a Movie I wish to Watch. I receive this text on a red screen CHECKING DEVICE ACTAVATION

    Question On enterning NETFLIX I click on a Movie I wish to Watch. I receive this text on a red screen CHECKING DEVICE ACTAVATION

  • Hyperlink in java

    Is it possible to create hyperlink in java. If so please give me some suggestions

  • Creating a restricted access page.

    I need to create a restricted access page within my website, so that a username and password are required to access. The Dreamweaver instructions ask me to go to the Server Behaviors panel (Window > Server Behaviors), click the plus button and choose

  • Pl/sql parsing

    Hello! I'm developing a package that gets all the dependencies between the objects from a schema and since the table all_dependencies doesn't provide all the information needed (not enough detail), I thougth on making a pl/sql parser. Then I found Or

  • Class files problem

    Hi All, I am getting a problem in Eclipse. Suddenly i am not able to generate the class files in the Eclipse. I have checked my build path,removed the jar files and then again added. But still i am not able to generate the class files. Please help