How to populate data from screen on to search help field

Hello all,
I have a requirement in which for a field i have attached a search help and i am calling the search help by using the FM
F4IF_FIELD_VALUE_REQUEST it is working fine.
I have one additional requirement that whernever any data is entered on the screen field say ( A* ) then F4 is pressed on the search help in the field this value must be considered. Now it appears blank but i want this data to get populated from the screen
field how can i achieve it.
Warm Regards,
Naveen M

hii naveen,
YOu have to make use of the function modules:
DYNP_VALUES_READ Read screen field values before PAI field transport
DYNP_VALUES_UPDATE Change screen field contents w/o PBO
Each of which is very well documented
or
trigger the drop-down in POV.
PROCESS PAI.
FIELD <FIELD>.
PROCESS ON VALUE-REQUEST.
FIELD FIELD MODULE F4HELP_FOR_FIELD.
MODULE F4HELP_FOR_FIELD.
> Call search help: see the fm VRM_* to manage dropdown list
DATA: DYNAME LIKE D020S-PROG,
DYNUMB LIKE D020S-DNUM.
DATA DYNPFIELDS LIKE STANDARD TABLE OF DYNPREAD WITH HEADER LINE.
DYNPFIELDS-FIELDNAME = <other field name>.
DYNPFIELDS-FIELDVALUE = <value>.
APPEND DYNPFIELDS.
CALL FUNCTION 'DYNP_VALUES_UPDATE'
EXPORTING
DYNAME = DYNAME
DYNUMB = DYNUMB
TABLES
DYNPFIELDS = DYNPFIELDS.
ENDMODULE.
rgrds,
Shweta

Similar Messages

  • How to populate data in MPP through F4 search help(the field should get filtered as per key)

    Dear Experts.
    I am new to ABAP and hence trying jmy hands on various ways of peforming a task.
    I have a requirement. I want to maintain a database tables through MPP :  ZLT_Auftrag (Refer Screen Shot 1: Doubt MPP1) and ZLT_Kunde (Refer Screen Shot2: Doubt MPP2)
    The fields of ZLT_Kunde are: K1, K2, K3
    The fields of ZLT_Auftrag are: A1, A2, A3, A4, P1 P2 and P3 are related as per the key field "A3"   (Here A3 = K2)
    I want the User to be able to Maintain this table through the Screen that I had created using MPP. (Plz refer the attached Screen Shot3:Doubt MPP3  of the SCREEN in MPP)
    When I populate the Kunde name(K1) in the SCREEN (Can be done by F4 Search help), then on hitting the pushbutton "Get Kunde" the  kunde Code (K2) appears . Now from here it can be deleted or even a new Kunde name and code can be saved dirctly to the database table : ZLT_Kunde. (Refer Screen Shoot4: Doubt MPP4)
    For Example for Kunde (K1)= BASF, Kunde Code (K2) = BSF, the Auftrag should be all those values from ZLT_Auftrag (where A3 = BSF)
    When I try to populate the Auftrag value on the SCREEN then on hitting F4 (already created for table ZLT_Auftrag in se11) then I get all the values of Auftrag (A1) from the table ZLT_Auftrag. (Ply refer Screen Shot 5: Doubt MPP5)
    MY REQUIREMENT: Here I want that either through F4 help or through drop down ONLY those values of Auftrag-A1 should appear on the SCREEN which satisfies the condition: A3 = K2
    I am unbale to get how to do that.
    I need your valuable suggstions.
    Regards
    Chandan

    And the  code of the MPP is:
    *& Module Pool       SAPMZDEMO_MPOOL_03
    PROGRAM  SAPMZDEMO_MPOOL_03.
    TABLES:  ZLT_MITA, ZLT_Kunde, ZLT_Auftrag, Zlt_Stdsatz.
    DATA: flg_lock  TYPE c,
    *      indx  TYPE i,
    *      indxk TYPE i,
    *      indxa TYPE i,
    *      TCNT TYPE sy-tabix,
          lv_msgv1  TYPE  sy-msgv1.
    *DATA: it_mita    TYPE TABLE OF ZLT_mita,
    *      it_kunde   TYPE TABLE OF ZLT_KUNDE,
    *      it_auftrag TYPE TABLE OF ZLT_AUFTRAG.
    *&      Module  STATUS_9000  OUTPUT
    *       text
    module STATUS_9000 output.
      SET PF-STATUS 'ZSTATUS01'.
    *  SET TITLEBAR 'xxx'.
      If flg_lock is Not initial.
        LOOP at Screen.
      If screen-group1 = 'G1'.
      Screen-input = 0.
      MODIFY SCREEN.
           Endif.
        ENDLOOP.
          MESSAGE s000(8i) WITH 'Mitarbeiter already locked by user' lv_msgv1.
      ENDIF.
    endmodule.                 " STATUS_9000  OUTPUT
    *&      Module  USER_COMMAND_9000  INPUT
    *       text
    module USER_COMMAND_9000 input.
    *To Populate Data into Mitarbeiter through Pushbuttons
      CASE sy-ucomm.
        When 'OK_GET'.
          Clear : flg_lock.
            IF ZLT_MITA-M1 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_MITA
                Where M1 = ZLT_MITA-M1.
    *To create a Lock Object so that when two or more employees are accessing the same data
    * at the same time then for the new user the data gets locked and only can been seen in
    *display mode
            IF sy-subrc = 0.
            CALL FUNCTION 'ENQUEUE_EZLT_MITALOCK'
             EXPORTING
               MODE_ZLT_MITA        = 'E'
               MANDT                = SY-MANDT
               M1                   = ZLT_MITA-M1
    *           X_M1                 = ' '
    *           _SCOPE               = '2'
    *           _WAIT                = ' '
    *           _COLLECT             = ' '
             EXCEPTIONS
               FOREIGN_LOCK         = 1
               SYSTEM_FAILURE       = 2
               OTHERS               = 3
            IF sy-subrc <> 0.
              flg_lock = 'X'.
              lv_msgv1 = sy-msgv1.
            ENDIF.
            ENDIF.
            ELSE.
                MESSAGE S000(8i) With 'Enter Mitarbeiter Name'.
            ENDIF.
        When 'OK_SAVE'.
           Modify ZLT_MITA.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETE'.
            IF ZLT_MITA-M1 is NOT INITIAL.
                DELETE
                FROM  ZLT_MITA
                Where M1 = ZLT_MITA-M1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *     When 'OK_FIRST'.
    *           indx = 1.
    *     When 'OK_NEXT'.
    *           indx = indx + 1.
    *     When 'OK_PREV'.
    *           indx = indx - 1.
    *     When 'OK_LAST'.
    *           Describe Table it_mita lines indx.
    *To Populate Data into Kunde through Pushbuttons
        When 'OK_GETK'.
            IF ZLT_Kunde-K1 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Kunde
                Where K1 = ZLT_KUNDE-K1.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEK'.
           Modify ZLT_Kunde.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEK'.
            IF ZLT_KUNDE-K1 is NOT INITIAL.
                DELETE
                FROM  ZLT_KUNDE
                Where K1 = ZLT_KUNDE-K1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *To Populate Data into Auftrag Through Pushbuttons
        When 'OK_GETA'.
            IF ZLT_KUnde-K2 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Auftrag
                Where A3 = ZLT_Kunde-K2.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEA'.
           Modify ZLT_Auftrag.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEA'.
            IF ZLT_Auftrag-A1 is NOT INITIAL.
                DELETE
                FROM  ZLT_Auftrag
                Where A1 = ZLT_Auftrag-A1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *To Populate Data into Position Thorugh Pushbuttons
        When 'OK_GETP'.
            IF ZLT_Auftrag-A2 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Auftrag
                Where A3 = ZLT_Kunde-K2.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEP'.
           Modify ZLT_Auftrag.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEP'.
            IF ZLT_Auftrag-A1 is NOT INITIAL.
                DELETE
                FROM  ZLT_Auftrag
                Where A1 = ZLT_Auftrag-A1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
        When 'OK_EXIT'.
           Leave Program.
        When 'OK_CLEAR'.
          Clear : ZLT_MITA, ZLT_KUNDE, ZLT_AUFTRAG.
    *              it_mita, it_kunde, it_auftrag,
          CALL FUNCTION 'DEQUEUE_EZLT_MITALOCK'
           EXPORTING
             MODE_ZLT_MITA       = 'E'
             MANDT               = SY-MANDT
             M1                  =  ZLT_MITA-M1
    *         X_M1                = ' '
    *         _SCOPE              = '3'
    *         _SYNCHRON           = ' '
    *         _COLLECT            = ' '
    ENDCASE.
    endmodule.                 " USER_COMMAND_9000  INPUT
    *&      Module  user_cmd_9000  INPUT
    *       text
    module user_cmd_9000 input.
      If sy-ucomm = 'OK_CANCEL'.
      LEAVE PROGRAM.
      ENDIF.
      IF sy-ucomm = 'OK_EXIT'.
          LEAVE PROGRAM.
      ENDIF.
    endmodule.                 " user_cmd_9000  INPUT

  • How to populate data from table into datagrid in form

    hi there. may i know how to populate data from a table into a datagrid? i have created a datagrid in a form using OLE's microsoft datagrid. i'm having problem to populate data from table into the grid. can i know how to do that? thanks

    Not exactly. I want to enter input from form and the user can have all options to choose i.e. HIGH, MEDIUM or so on.
    Suppose, you have option to select HIGH, MEDIUM or LOW and you can see all these options together. You select LOW and when you save, it is saves in the table as a value. So when you view the table again, it will show LOW as active and HIGH and MEDIUM are null.

  • How to populate data from dynamic drop down list to the text field

    Hi,
    I tried to populate data from dynamic drop down list to city field. I would like to concat data from drop down list.When selecting add button to add the item and select item from drop down list, data should be displayed in the text field. However, Please help. I spent alot of time to make it works I am not successful.
    Please see the link below.
    https://acrobat.com/#d=SCPS0eVi6yz13ENV0cnUdw
    Thanks for your help
    Cindy

    Hi Rosalin,
    Loop the hidden table, get the values and populate drop down in each iteration.
    DropDownList1.addItem("Text","Value");
    You can use one more solution for this scenario. If it is a matter of 2,3 dropdowns, put three dropDowns in the form layout and give seperate static data binding to them. At run time make the dropDowns hide/visible as per the requirement.
    Hope this helps.
    Thanks & Regards,
    Sanoosh

  • How to populate data from bol to assignment block.

    Dear experts,
    I saw on sdn discussion similar questions, but have not found the suitable answer.
    I need to add fields for BP using EEWB and to work with this field in WEB UI. For achievement of it I have executed following steps:
    1. Using EEWB has added new z u2013 fields to BP. This fields have appeared in tcode bp on a tab "customer data".  Besides I have seen this field in created z u2013 BOL.
    2. Using tcode BSP_WD_CMPWB has created z bsp component.
    3. In z bsp component has created view and custom controller which correspond earlier created z - BOL. Also has created following binding:
       owner->do_context_node_binding(
                iv_controller_type  = cl_bsp_wd_controller=>CO_TYPE_CUSTOM
                iv_name = 'ZBP_S_INF/NumBpOutSYS'
                iv_target_node_name = 'ZZ9BHEEW'
                iv_node_2_bind      = ZZ9BHEEW ).
    4. Has redefined method DO_PREPARE_OUTPUT and would make modify the *.htm file for the purpose on toolbar there were buttons of editing of the data.
    5. Has adding z - assignment block to bp_head component.
    At start WEB UI the assignment block it is visible in list displayed blocks of account data. In this block there are buttons on toolbar. But in this block the data is not displayed. Though really data there is, as they are displayed in tcode bp.
    Please inform as to populate the data from bol to z u2013 component. I assume that it is necessary for me to create get_ methods. But methods get_ and set_ do not cause query.
    Iu2019m work in CRM 7.0.
    Best regards,
    Eugene.

    HI, Prasenjit
    Here the text my html pages
    <%@page language="abap" %>
    <%@extension name="thtmlb" prefix="thtmlb" %>
    <%@extension name="chtmlb" prefix="chtmlb" %>
    <%@extension name="bsp" prefix="bsp" %>
    <thtmlb:areaFrameSetter toolbarButtons  = "<%= controller->gt_button_header %>"
                            maxButtonNumber = "3"
                            displayMode     = "<%= controller->view_group_context->is_view_in_display_mode( controller ) %>" />
    <chtmlb:configTable actionsMaxInRow       = "3"
                        allRowsEditable       = "TRUE"
                        displayMode           = "<%= controller->view_group_context->is_view_in_display_mode( controller ) %>"
                        downloadToExcel       = "TRUE"
                        id                    = "Table1"
                        onRowSelection        = "select"
                        personalizable        = "TRUE"
                        selectedRowIndex      = "<%= ZZ9BHEEW->SELECTED_INDEX %>"
                        selectedRowIndexTable = "<%= ZZ9BHEEW->SELECTION_TAB %>"
                        selectionMode         = "<%= ZZ9BHEEW->SELECTION_MODE %>"
                        table                 = "//ZZ9BHEEW/Table"
                        usage                 = "EDITLIST"
                        visibleFirstRow       = "<%= ZZ9BHEEW->VISIBLE_FIRST_ROW_INDEX
    %>"
                        visibleRowCount       = "6"
                        width                 = "100%"
                        xml                   = "<%= controller->configuration_descr->get_config_data( ) %>" />
    Whether the page can html operate extraction of the data?

  • How to get data from screen for custom field?

    Hi,
    I have added custiom field in header for MIGO_GI transaction using BADI MB_MIGO_BADI by using Method PBO_HEADER, How to get the data from that field into method PAI_HEADER, if any body knows,please let me know.
    Thanks.

    hi
    you need to apppend your custom field in the GOHEAD structure , then automatically you we will get field value in the method IF_EX_MB_MIGO_BADI~PAI_HEADER with internal table is_gohead.
    Pls try once?
    Tks .. venkat

  • How to Fetch Data From an Internal table to a field in Modulepool Screen ??

    In my Modulepool Screen i have two fields ,
    Based on the data of the First field ,the second field will display the data.
    For ex-  first field - I choosed the data -" MARUTI",
                then in the second field , all d CARs ( 800,zen,waganor.....)related to MARUTI shd be displayed.
    without using POV module hw to use dis ? and also using POV ,what are the function modules to be used ..
    pls explore in details...
    Thnks to all d contributors for their Time.....

    see if u have a limited values to display in Listbox, den we will go for vrm_set_values.
    but here as per the requirement
    thr is no limited Values in d second dropdown box.
    Let me Clear abt the requirement.
    First field - issue no.
    2nd field- Item no.
    when u select a particular issue no, den in item it shd display the corresponding item nos related to that issueno. And both Fields r Primary keys in d table( customised Table.)
    this is wwht exactly my requirement.
    as i created The search help for issueNo, its displaying all the issueno Dat are in DB.
    But Itemno Field is nt behaving as per That.
    Pls Suggest me.. in details

  • How to insert data from screen to database Table..??

    This is regarding screen painter area..
    I have created a Z-table.
    Also created a screen where i am having input box.
    After entering text in the input box, i will click "SAVE" push button.
    When i click "SAVE" push button, the Text entered in the screen input box should be saved in that z-table.
    How to do it...??
    Can anybody explain me with ABAP code...???
    Thanks
    Pavan

    Hi,
    You can try follwong logic.
    tables : ztable.
    data wa_ztable like line of ztable.
    Case sy-ucomm.
    when 'SAVE'.
      clear wa_ztable.
      wa_ztable-field1 = screenfield1.
      wa_ztable-field2 = screenfield2.
      wa_ztable-field3 = screenfield3.
    modify ztable from wa_ztable.
    endcase.
    If it is simple database insertion,
    you can always use Table Maintainance provided by SAP.
    So that the code will be automatically generated and you dont have to worry.
    Regards,
    Shashank

  • How to populate data from table into Radio button group in Form 10g

    Hi,
    I have a table with 2 columns, i.e. criteria and weight.
    The weight column will contain either 5 or 4 or 3.
    I want to design a form (10g) as follows:
    CRITERIA----------------------------WEIGHT------------------
    ------------------------HIGH----------MEDIUM-------------LOW
    Cost-------------------o
    Duration-------------------------------o
    Maintenance-------------------------o
    If the criteria contains 5, it will show as HIGH, MEDIUM for 4, LOW for 3.
    Do I need one radio group for each CRITERIA column?
    How can I populate the table and display as above programatically in the form?
    Edited by: srtusar on 26-Mar-2009 04:49
    Edited by: srtusar on 26-Mar-2009 06:48

    Not exactly. I want to enter input from form and the user can have all options to choose i.e. HIGH, MEDIUM or so on.
    Suppose, you have option to select HIGH, MEDIUM or LOW and you can see all these options together. You select LOW and when you save, it is saves in the table as a value. So when you view the table again, it will show LOW as active and HIGH and MEDIUM are null.

  • How to populate data from XML to SQLserver 2008

    Hi 
    I have following XML file data. I need to create table in sql sever and load the data. I dont know how to read and load the file located at C:Drive.
    Please kindly help me on loading the data into table
    This is what I see in the file located on C drive - invoiceXML: 
    <?xml version="1.0" encoding="utf-8"?>
    <CLinv xmlns="http://www.sdfsfdfsfd.com">
      <billCom xmlns="">billCom1</billCom>
      <remittance xmlns="">
        <remCom>remCom1</remCom>
      </remittance>
      <summary xmlns="">
        <title>title1</title>
        <TBAmt>1</TBAmt>
        <totalNC>1</totalNC>
        <accountAging>
          <past3DAm>1</past3DAm>
          <tPDe>1</tPDe>
        </accountAging>
        <items>
          <item>
            <itNo>1</itNo>
            <NC>1</NC>
          </item>
          <item>
            <itNo>23</itNo>>
            <NC>23</NC>
          </item>
          <item>
            <itNo>34</itNo>
            <NC>34</NC>
          </item>
        </items>
      </summary>
      <GrpDet xmlns="">
        <detailGrouping>
          <grouping>grouping1</grouping>
          <details>
            <detail>
              <CNo>CNo1</CNo>
              <Namtt>1</Namtt>
            </detail>
            <detail>
              <CNo>CNo2</CNo>
              <Namtt>23</Namtt>
            </detail>
            <detail>
              <CNo>CNo3</CNo>
              <Namtt>34</Namtt>
            </detail>
          </details>
        </detailGrouping>
        <detailGrouping>
          <grouping>grouping2</grouping>
          <details>
            <detail>
              <CNo>CNo4</CNo>
              <Namtt>0.9</Namtt>
            </detail>
            <detail>
              <CNo>CNo5</CNo>
              <Namtt>1.1</Namtt>
            </detail>
            <detail>
              <CNo>CNo6</CNo>
              <Namtt>23</Namtt>
            </detail>
          </details>
        </detailGrouping>
        <detailGrouping>
          <grouping>grouping3</grouping>
          <details>
            <detail>
              <CNo>CNo7</CNo>
              <Namtt>34</Namtt>
            </detail>
            <detail>
              <CNo>CNo8</CNo>
              <Namtt>0.8</Namtt>
            </detail>
            <detail>
              <CNo>CNo9</CNo>
              <Namtt>1.2</Namtt>
            </detail>
          </details>
        </detailGrouping>
      </GrpDet>
    </CLinv>

    Sorry This is the correct Data:
    <?xml version="1.0" encoding="utf-8"?>
    <CLinv xmlns="http://www.sdfsfdfsfd.com">
      <billCom xmlns="">billCom1</billCom>
      <remittance xmlns="">
        <remCom>remCom1</remCom>
      </remittance>
      <summary xmlns="">
        <title>title1</title>
        <TBAmt>1</TBAmt>
        <totalNC>1</totalNC>
        <accountAging>
          <past3DAm>1</past3DAm>
          <tPDe>1</tPDe>
        </accountAging>
        <items>
          <item>
            <itNo>1</itNo>
            <NC>1</NC>
          </item>
          <item>
            <itNo>23</itNo>>
            <NC>23</NC>
          </item>
          <item>
            <itNo>34</itNo>
            <NC>34</NC>
          </item>
        </items>
      </summary>
      <GrpDet xmlns="">
        <detailGrouping>
          <grouping>grouping1</grouping>
          <details>
            <detail>
              <CNo>CNo1</CNo>
              <Namtt>1</Namtt>
            </detail>
            <detail>
              <CNo>CNo2</CNo>
              <Namtt>23</Namtt>
            </detail>
            <detail>
              <CNo>CNo3</CNo>
              <Namtt>34</Namtt>
            </detail>
          </details>
        </detailGrouping>
        <detailGrouping>
          <grouping>grouping2</grouping>
          <details>
            <detail>
              <CNo>CNo4</CNo>
              <Namtt>0.9</Namtt>
            </detail>
            <detail>
              <CNo>CNo5</CNo>
              <Namtt>1.1</Namtt>
            </detail>
            <detail>
              <CNo>CNo6</CNo>
              <Namtt>23</Namtt>
            </detail>
          </details>
        </detailGrouping>
        <detailGrouping>
          <grouping>grouping3</grouping>
          <details>
            <detail>
              <CNo>CNo7</CNo>
              <Namtt>34</Namtt>
            </detail>
            <detail>
              <CNo>CNo8</CNo>
              <Namtt>0.8</Namtt>
            </detail>
            <detail>
              <CNo>CNo9</CNo>
              <Namtt>1.2</Namtt>
            </detail>
          </details>
        </detailGrouping>
      </GrpDet>
    </CLinv>

  • How to populate data from table to form in popup

    Hi
    I am using jdev 11.1.2.1.0
    I created a table by dragging and doping a view object data control.
    I take a pop up which invoke on click of a button
    I drop a dailog box in popup and in dialog box i drop the same view object data control.
    Now I am selecting the row of table and clicking on button to invoke popup it display the form populated by selected row of table only for the first time
    Again when I am selecting another row the popup does not displaying selected row.
    I displays only that row which i select first time.
    Please solve this problem
    Thanks

    did you set the Content Delivery for the popup to lazyUnchached?

  • Problem with reading data from screen and inserting in table

    hi ther,
    im new to abap-webdyn pro. can anyone suggest how to read data from screen and insert into table when press 'ADD' button.
    i done screen gui , table creation but problems with action. what the content of acton add.
    is ther any link that helps me or tut??
    thankx in advance!
    regards

    Hi,
    Create a context node for the screen fields for which you want to enter the values with cardinality 1.1.....
    Now in the layout of your view bind the screen input fields to that context node(attributes) to the value property of the input fields...
    Now in the action of ADD button....
    --> go the wizard and select the read node button and select the node which you have created it generates the auto code for you.....
    for example if the node is contains aone attribute like MATNR
    reading the node from wizard will generate the code as....
    DATA lo_nd_matnr TYPE REF TO if_wd_context_node.
      DATA lo_el_matnr TYPE REF TO if_wd_context_element.
      DATA ls_matnr TYPE wd_this->element_matnr.
      DATA lv_matnr TYPE wd_this->element_matnr-matnr.
    * navigate from <CONTEXT> to <MATNR> via lead selection
      lo_nd_matnr = wd_context->get_child_node( name = wd_this->wdctx_matnr ).
    * @TODO handle non existant child
    * IF lo_nd_matnr IS INITIAL.
    * ENDIF.
    * get element via lead selection
      lo_el_matnr = lo_nd_matnr->get_element( ).
    * @TODO handle not set lead selection
      IF lo_el_matnr IS INITIAL.
      ENDIF.
    * get single attribute
      lo_el_matnr->get_attribute(
        EXPORTING
          name =  `MATNR`
        IMPORTING
          value = lv_matnr ).
    here the variable lv_matnr will contain the entered value......
    now you can use this value for further process.
    Thanks,
    Shailaja Ainala.

  • How to populate data in TargetCube from SourceCube for a particular product/currency dimension selected in form1.

    Hi,
    Need help regarding Business rule scenario "How to populate data in "Target Form (plantype2)" from "Source Form(plantype1)" for a particular product/currency dimension combination selected in form1"
    Scenario 1) :  I have data for Product(Computer)/Currency(USD) dimension combination in Source Form
                        When i open Target Form and then select a Product(Computer)/Currency(USD) combination and then right click on form to invoke a Business rule to get data for this same                     product/currency combination from Source Form.
    Scenario 2) : If there isnt any data in Source Form for product(Computer)/Currency(USD) combination, then the data for product(computer)/Currency(Default Currency) to be populated into Target                     Form.
    The members in Currency Dimension (Shared Dimension) are USD & Default Currency.
    Can anyone please help.
    Thanks,
    Rajkumar

    Adding to what Celvin Kattookaran has said
    You can either write a Business Rule / Calculation script with @XREF function and also you can check condition if there is data in USD then populate USD else "Default currency"
    If you want that data in source to be available in target, then you can use @XWRITE in a rule from source cube to push the data to Target.
    Amarnath
    ORACLE | Essbase

  • How to populate data into a tabular datablock from a cursor in oracle forms

    Hello experts,
                  I am new in oracle forms.I am using Oracle forms 11g with weblogic server 10.3.5 at windows 7.My issue is that I am trying to populate data from a cursor into a tabular datablock(record number property is set to 5).I am using a button press trigger with code as:
    declare
        cursor c3 is  select empno,ename from emp;
    begin
        go_block('C');
        first_record;
        loop
        open c3;
        Fetch C3 into :c.t1,
    :c.t2;
    Exit when :system.last_record = 'TRUE';
    next_record;
    Close C3;
        End loop;
        end;
    Everything is OK here except,I have 5 record rows in C datablock but only first record is fetched into datablock.I want all records are fetched into data block
    Thank you
    regards
    aaditya

    Yes
    when i m using below query,so binary data display not display actual format
    select UTL_RAW.CAST_TO_VARCHAR2 (DBMS_LOB.SUBSTR(SOAPRTFDESC,10,1)) from soaptxsection

  • How to Retrieve data from Variant Table

    Can anyone help me by telling how to retrieve data from variant table which was created by user. I am able to see data of variant table only thru cu60 transaction but not se11. I s there any function module to do this?

    Hello Mohan,
    if u already have data and u want to populate it in F4 help then use below code -
    u Have to make use of FM - 'F4IF_INT_TABLE_VALUE_REQUEST'
    REPORT  ZGILL_VALUE_REQUEST                     .
    data: begin of lt_all occurs 0.
            include structure DYNPREAD.
    data  end of lt_all.
    data: begin of lt_selected occurs 0.
           include structure DDSHRETVAL.
    data: end of lt_selected.
    DATA: BEGIN OF lt_code OCCURS 0,
                code LIKE zgill_main-PERNR,
          END OF lt_code.
    data no_dyn like sy-dynnr.
    Parameters : ECODE like zgill_main-PERNR.
    *parameters: pernr like pa0001-pernr .
    no_dyn =  sy-dynnr.   "give the scren no directly or sy-dynnr in case of report.
    At selection-screen on value-request for ECODE.
    select PERNR into table lt_code from zgill_main.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
            retfield               = 'ECODE'
            dynpprog               = sy-repid
           dynpnr                  = no_dyn
          dynprofield              =       'ECODE'
          window_title           = 'Employee Details'
           value_org              = 'S'
          DISPLAY                = 'F'
       TABLES
            value_tab             = lt_code
           RETURN_TAB             = lt_selected.
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
    *if sy-subrc eq '0' .
      write: 'success'.
    *endif.
    read   table lt_selected index sy-tabix.
    move lt_selected-fieldval to ECODE.

Maybe you are looking for

  • How to install XP drivers for Bootcamp on Mac OSX v 10.6.7?

    I installed Windows XP Porfessional SP3 on my Bootcamp partition but when I insert the "Software Support" DVD that my Mac created it says that I have to be running Windows 7 only and does not install any drivers. I have been pulling my hair out tryin

  • Itunes : Ipad does not appear as device

    I have this annoying problem since udating to ios6 When i connect my ipad to my Mac itunes cannot find it. There is no devices tab. Yet, for some reason itunes did detect an app installed on the ipad and synced it over..

  • Sharing digital files with non Adobe users

    Can someone tell me how to share Adobe files with non-Adobe users? At the Adobe Max Conference, they mentioned that this was possible, but I'm not sure if this is something that is available now or just in the future. Thoughts, comments? Thanks, -JLU

  • Mac mini start up

    Hello, this is my first time on here in years. I recently purchased mac min 1.42ghz. With the computer I received a wireless keyboard and mouse along with it. For the last three days I try to turn it on, and it seems like it stays on a blue screen fo

  • JPDK Servlets/JSP not working

    Hi there, I am facing a couple of problems related to oracle portal. 1-As i have installed oracle portal the application server doesnt run JSPs. 2-In addition to Oracle Portal I have installed JPDK and configured it as written in the documentation. I