FM F4IF_INT_TABLE_VALUE_REQUEST do not return value in RETURN_TAB

Hi all,
I used the FM F4IF_INT_TABLE_VALUE_REQUEST to return the objid and stext and it is showing the search help in the selection screen, however, after i choose a value from the search help, the FM does not return me the value that i have choosen. The following is the code that I had written.
DATA: lt_retval  TYPE STANDARD TABLE OF ddshretval,
        lwa_retval TYPE ddshretval.
  DATA: lt_field  TYPE STANDARD TABLE OF dfies,
        lwa_field TYPE dfies.
CONSTANTS: lc_retfield       TYPE dfies-fieldname VALUE 'STEXT',
                       lc_value_org      TYPE c VALUE 'S'.
lwa_field-fieldname = 'F0001'.
  lwa_field-langu     = sy-langu.
  lwa_field-position  = '1'.
  lwa_field-offset    = '0'.
  lwa_field-domname   = 'HROBJID'.
  lwa_field-rollname  = 'HROBJID'.
  lwa_field-leng      = '8'.
  lwa_field-intlen    = '16'.
  lwa_field-outputlen = '8'.
  lwa_field-datatype  = 'NUMC'.
  lwa_field-inttype   = 'N'.
  lwa_field-precfield = 'HROBJID'.
  lwa_field-headlen   = '8'.
  lwa_field-scrlen1   = '10'.
  lwa_field-scrlen2   = '15'.
  lwa_field-scrlen3   = '20'.
  lwa_field-fieldtext = 'Posting ID'.
  lwa_field-reptext   = 'Posting ID'.
  lwa_field-scrtext_s = 'PostingID'.
  lwa_field-scrtext_m = 'ID'.
  lwa_field-scrtext_l = 'Posting ID'.
APPEND lwa_field TO lt_field.
  CLEAR lwa_values.
lwa_field-fieldname = 'F0002'.
  lwa_field-langu     = sy-langu.
  lwa_field-position  = '2'.
  lwa_field-offset    = '16'.
  lwa_field-domname   = 'TEXT40'.
  lwa_field-rollname  = 'STEXT'.
  lwa_field-leng      = '40'.
  lwa_field-intlen    = '80'.
  lwa_field-outputlen = '40'.
  lwa_field-datatype  = 'CHAR'.
  lwa_field-inttype   = 'C'.
  lwa_field-precfield = 'STEXT'.
  lwa_field-headlen   = '40'.
  lwa_field-scrlen1   = '10'.
  lwa_field-scrlen2   = '15'.
  lwa_field-scrlen3   = '20'.
  lwa_field-fieldtext = 'Posting Text'.
  lwa_field-reptext   = 'Posting Text'.
  lwa_field-scrtext_s = 'PostingTxt'.
  lwa_field-scrtext_m = 'Text'.
  lwa_field-scrtext_l = 'Posting Text'.
  lwa_field-lowercase = 'X'.
APPEND lwa_field TO lt_field.
  CLEAR lwa_values.
  IF lt_values IS NOT INITIAL.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        retfield        = lc_retfield
*        dynpprog        = sy-repid
*        dynpnr          = sy-dynnr
*        dynprofield     = lc_fieldn
        value_org       = lc_value_org
      TABLES
        value_tab       = lt_values
        field_tab       = lt_field
        return_tab      = lt_retval
      EXCEPTIONS
        parameter_error = 1
        no_values_found = 2
        OTHERS          = 3.
    IF sy-subrc EQ 0.
      CLEAR lwa_retval.
      READ TABLE lt_retval INTO lwa_retval INDEX 1.
      IF sy-subrc EQ 0.
        MOVE lwa_retval-fieldval TO s_post-low.
        CLEAR lwa_retval.
      ENDIF.
    ELSE.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
  ENDIF.
Please assist, thanks so much.
Edited by: yf wee on Oct 5, 2009 8:11 AM

Hi,
Refer this demo code:-
PARAMETERS : p_belnr TYPE belnr,
             p_bukrs TYPE bukrs.
DATA : BEGIN OF itab OCCURS 0,
         belnr TYPE belnr,
       END OF itab.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_belnr.
  PERFORM f4_belnr_help USING p_belnr.
*&      Form  f4_belnr_help
*       text
*      -->P_BELNR text
FORM f4_belnr_help USING p_belnr.
  SELECT belnr from <db_table> INTO TABLE itab.
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield               = 'BELNR' "internal table field
      dynpprog               = 'Z_F4' "program name
      dynpnr                 = '1000' "screen number
      dynprofield            = 'P_BELNR' "screen field name
      value_org              = 'S'
    TABLES
      value_tab              = itab "internal table
    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.
  ENDIF.
ENDFORM.                    " f4_belnr_help
Hope this helps you.
Regards,
Tarun

Similar Messages

  • The LOV modal window could not return value to the base page

    when practicing the "create1" task in tutorial, met an issue.
    when create an employee, manageName is a messageLovInput and managerID is a messageTextInput.
    The issue is the LOV modal window could not return value to the mangerName, but can return to managerID .
    If I remove the data boud porperties of the managerName (the bc4j porperties of view name-EmpFullVO and view attribute-MgrName), the lov works fine.
    What is the reason?

    James I would suggest to read the LOV topic in OAF developers' guide. Lov mappings are responsible for bringing pop up values to base page in LOV.
    --Mukul                                                                                                                                                                                                                                                                                                                                                   

  • Bulk editor is not returning values for default properties

    ..even though the content nodes have a value for this property. CQ version is 5.5.
    I need to export a report of all user generated content from /content/usergenerated/content/<sitename>/en. This is the root path.
    The query parameter I have specified is "type:Rating". By default the "sling:resourceType" is selected. No other custom properties are specified in the interface.
    The search returns the nodes of this type, but the results do not return a value for the "sling:resourceType" for these nodes.

    It should work. Might be you do not have data. Is the results shown as zero records?

  • WB_RT_GET_JOB_METRICS does not return values

    DB v 10.2.0.2
    OWB repository/client v 10.2.0.3
    A DB function has a call to the Control Center transformation WB_RT_GET_JOB_METRICS to extract and preserve the metadata of number of records inserted/updated/deleted in a DB table.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    1.
    The control center transformation WB_RT_GET_JOB_METRICS does not return any values when used under the Post-Mapping Process(mapped to the DB function describe above) in a Map.
    The input parameter ;Audit Id' to the Map is passed from a calling Process Flow. The following query is used to retrieve the Audit Id of the Map.,
    SELECT execution_audit_id
    INTO l_audit_id
    FROM ALL_RT_AUDIT_EXECUTIONS
    WHERE parent_execution_audit_id = P_AUDIT_ID;
    And the retrieve l_audit_id is passed to the WB_RT_GET_JOB_METRICS transformation to extract the number of records inserted/deleted/updated with the execution of the map.
    Gurus, please advice if the approach is appropriate to retrieve the number of records inserted/deleted/updated by the execution of the map. If not, any alternate method.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    2. The control center transformation WB_RT_GET_JOB_METRICS returns values when used in a standalone pl/sql block with the appropriate audit_id.
    Is this because the metadata for the Map execution is complete, whereas in the earlier attempt, the transformation is called within the map using the Post-Mapping process.
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    3. Since the option 1 did not return any value, tried other option of calling/executing a transformation(call the the DB function mentioned earlier) after the Map activity is successful in a ProcessFlow. Here, the transformation does not seem to be executing, any tips of correcting this issue.
    Request the forum for some helpful tips to resolve the problem. TiA (Thanks in Advance) for the response.
    Message was edited by:
    user599655

    In a process flow, passed the pseudo variable to a transformation to run the WB_RT_GET_JOB_METRICS after the map execution. I am not sure if this is the best solution, but it worked for me.
    Still trying to figure how to use the pre-defined transformation when working on expression.
    Thanks.

  • Function not returning value in Discoverer report

    Hi All,
    I am using a PL/SQL function in a Discoverer Report to return a particular date. The way I am using is that I have created a PL/SQL function and registered the same in Discoverer Administatrator.
    My problem is that when i run the report this function returns NULL for one particular unit but when i run the same on toad as
    'select max_term_dt_pkg.max_term_dt_fn('703813','OM - AWAITING_SHIPPING - 1179628') from dual'
    it returns the date as 26-May-2009
    Actually it should return a value in the report also.
    Can anyone guide me what could be the problem.
    Regards,
    Shruti

    Hi Rod,
    There are no session variables to be set. I have myself created that and it is returning values for other units also.
    Below is the function :
    CREATE OR REPLACE PACKAGE BODY APPS.max_term_dt_pkg
    AS
    FUNCTION max_term_dt_fn (p_unit_num VARCHAR2, p_order_status VARCHAR2)
    RETURN DATE
    IS
    l_contract_number VARCHAR2 (20);
    --okc_k_headers_b.contract_number%TYPE;
    l_max_term_date DATE; --okc_k_lines_b.date_terminated%TYPE;
    BEGIN
    IF p_order_status IN ('RMA on Unit', 'OKS 30 Days Notice Given')
    THEN
    l_max_term_date := NULL;
    ELSE
    SELECT contract_number
    INTO l_contract_number
    FROM (SELECT DISTINCT okhb.sts_code, okhb.date_terminated,
    okhb.contract_number,
    oklb_ib.attribute15 unit, okhb.start_date,
    okhb.end_date, okhb.creation_date
    FROM apps.okc_k_headers_b okhb,
    apps.okc_k_lines_b oklb_ib --,
    WHERE okhb.ID = oklb_ib.dnz_chr_id
    AND lse_id = 9
    AND oklb_ib.attribute15 = p_unit_num
    ORDER BY okhb.start_date DESC,
    okhb.creation_date DESC)
    --ORDER BY okhb.start_date DESC)
    WHERE ROWNUM = 1;
    SELECT date_terminated
    INTO l_max_term_date
    FROM (SELECT oklb.dnz_chr_id, oklb.ID, oklb.date_terminated,
    oklb.sts_code, mic.category_concat_segs,
    mic.category_set_name
    FROM apps.okc_k_headers_b okhb,
    apps.okc_k_lines_b oklb,
    apps.okc_k_items oki,
    --apps.mtl_system_items_b msib,
    mtl_item_categories_v mic
    WHERE oklb.dnz_chr_id = okhb.ID
    AND okhb.contract_number = l_contract_number
    AND oklb.lse_id = 1
    AND oki.cle_id = oklb.ID
    -- AND msib.inventory_item_id = oki.object1_id1
    -- AND msib.organization_id = oki.object1_id2
    --AND segment1 = 'OKS-RNTL-MAINT-WH'
    --AND oklb.sts_code = 'TERMINATED'
    AND oklb.date_terminated IS NOT NULL
    AND mic.inventory_item_id = oki.object1_id1
    --msib.inventory_item_id
    AND mic.organization_id = oki.object1_id2
    --msib.organization_id
    AND mic.category_set_name = 'Product'
    AND mic.category_concat_segs = 'OKS-Base'
    ORDER BY oklb.date_terminated DESC)
    WHERE ROWNUM = 1;
    END IF;
    RETURN l_max_term_date;
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
    RETURN NULL;
    WHEN OTHERS
    THEN
    RETURN NULL;
    END;
    END;
    Regards,
    Shruti

  • [Solved] ADF - Update does not return values generated by a trigger

    Hello,
    I'm using JDev 10.1.3.3.0 and DB 10.2.0.3.0.
    On DB I've created a table, a sequence and a trigger:
    CREATE TABLE TAB1
         ID          NUMBER          PRIMARY KEY,
         EDITED_AT     DATE,
         VALUE          VARCHAR2(64)
    CREATE SEQUENCE S_TAB1
         INCREMENT BY 1
         START WITH 1;
    CREATE TRIGGER T_TAB1_BIE
    BEFORE INSERT OR UPDATE ON TAB1
    FOR EACH ROW
    BEGIN
         IF INSERTING THEN
              SELECT S_TAB1.NEXTVAL INTO :NEW.ID FROM DUAL;
         END IF;
         :NEW.EDITED_AT := SYSDATE;
    END;
    /In JDev I've created an EO - Tab1, a VO - Tab1View and an AppModule.
    In the EO Tab1 I have checked "Refresh After Insert" and "Refresh After Update" for Id and Edited_By attributes. I made the latter two attribures as "Never" updatable.
    Then I test the AppModule with a JDev Tester (I use a connection which connects as an owner of the 3 objects above).
    Then I insert a new row and enter a value into the Value field in the Tester. When I press Commit button everything works great - Id and Edited_By attributes get populated with values generated by the trigger.
    But when I try to update the Value field and press Commit the Edited_By field does not retreives new value that was generated by the trigger.
    Why does this happens?
    Many thanks in advance.
    Yerzhan.

    Frank,
    I tried to set Refresh option on both, Value and Edited_At, fields but unsuccessfully.
    Then I tried to do the following in SQL Plus:
    SQL> insert into tab1(value) values('ddd');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL>
    SQL> select * from tab1;
            ID EDITED_AT           VALUE
             1 27.03.2008 17:01:24 ddd
    SQL>
    SQL> declare dt date; val varchar2(64);
      2  begin update tab1 set value = 'ddd' where id = 1 returning edited_at, value into dt, val;
      3  dbms_output.put_line('txt = ' || dt || ', ' || val);
      4  end;
      5  /
    txt = 27.03.2008 17:01:24, ddd
    PL/SQL procedure successfully completed.
    SQL>
    SQL> select * from tab1;
            ID EDITED_AT           VALUE
             1 27.03.2008 17:02:12 ddd
    SQL>As it can be seen Returning clause of an Update statement does not return a new date, i.e. 27.03.2008 17:02:12, that was updated by the trigger, it returns an old one - 27.03.2008 17:01:24.
    Frank, maybe the issue is in the Oracle DB?

  • Rendered=false column is not returning value in simpleSearch Query Region.

    Hi Guru's,
    I have a simpleSearchPanel with two search columns Order Number (Rendered=true, i.e Visible to User in the form) and Order Id(Rendered=False, i.e Non visible to User in the form) which are getting values from LOV. The LOV selection Order Number and Order Id are getting values and Order Number column is rendered true(visible) query able to return the values, but Order Id is not getting values because Rendered=False/Not visible Field.
    Unfortunately i can't make OrderId filed as "formValue" because of simpleSearchPanel (autoCustoomizationCritirea) query region.
    I appreciate your help.
    Regards
    Pathi

    its not the problem with simpleSearchPanel, it is the messageComponentLayout within simpleSearchPanel which is restricting the formValue.
    just change the region style to defaultDoubleColumn and create the formValue into it.
    This should solve your problem..
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Oralce Store Procedure not returning values in out parameters

    I am goig to execute an oracle store procedure using C# through through ODP.NET. The store procedure executes succsfully but it does not return any value in the out parameter.
    When I execute the same store procedure with the same input parameteres from within SQL*Plus. It does return values.
    This is to be clearify here that in the oracle store procedure the data type for the out parameter is number and in the c# the variavle that will hold its value is Integer. I also tried using Long on the C# side but it is still not working. After the successfull execution of the store procedure the C# variable contains nulll value.

    I am goig to execute an oracle store procedure using C# through through ODP.NET. The store procedure executes succsfully but it does not return any value in the out parameter.
    When I execute the same store procedure with the same input parameteres from within SQL*Plus. It does return values.
    This is to be clearify here that in the oracle store procedure the data type for the out parameter is number and in the c# the variavle that will hold its value is Integer. I also tried using Long on the C# side but it is still not working. After the successfull execution of the store procedure the C# variable contains nulll value.

  • LOV does not return value to the base page sometimes

    Hi,
    I have created messageLOV type items. These LOVs do return value to the base page usually. We have a user in Uruguay who is trying to use the page which has the LOVs. He says the LOV takes a long time to return to the main page after he clicks on quick select and also the value does not get populated in the main page.
    We have not been facing any such problem here in India. The LOV has been tested rigorously with no issues as such.
    Can you please suggest a reason why such a problem is occuring? Expecting your replies soon
    Thanks,
    Priya

    Thiyaga, did you read the devguide or the tutorial ?
    Can you please give me the inputs about the creation of LOV and it requires how many lov mappings as mandatory?
    This is there in the devguideHow to identify the mapping fields of an LOV which is already existing in the base page to reproduce in a similar way and need to do a customization on top of it ?
    Open the page XML and you can find the LOV mappings.Tapash

  • LOV not return values more than certain limit

    Hi Guys,
    I have created 2 search fields (State, Area) in report page. Both of them are LOVs based. User select first field value, next field's LOV return values based on the first field( AJAX call). First field is states like 'VIC', 'NSW', 'SA' etc..., next field is 'Area'. when I select state other than 'NSW' in state field then next field is populated successfully. But when I select state as 'NSW' then next field is blank. 'NSW' state has records more than 100 in the table(LOV based on), but all other states have even less than 10 records. when I remove (more than 50) records of 'NSW' in the table then It works.
    Can anybody know if there is a limit of LOV that can be supported?

    Thanks Varad for reply.
    As you suggested to change gReturn = get.get('XML') to gReturn = get.get() for text values, But it is not simple as you said.
    I have found the problem. Actualy, there are some special characters in database column that suppose to return in LOV. But LOV is returned as xml object that may not support special characters (&,$, % etc...). I have put the 'replace' function in query. My query is like
    select replace(name,'&','and') d, id r
    from table1
    where val1 = :P2_val
    order by 1
    This query works in SQL WORKSHOP but not in AJAX. Any Idea? If I have to replace get.get('XML') to get.get() then what other steps I have to perform?

  • ITicker getColumnValue() - Not returning Values

    Hi All,
    I'm on SAP MII 14.0 SP5 web application which is migrated from xMII 11.5.
    In xMII 11.5, the iTicker method - String getColumnValue(int nIndex, String sColumnName)'' is returning appropriate values for all the columns of record set fetched by query template.
    But in MII 14 (and MII 12.2 also), this method returns values for only 1st column which selected for display.
    For example, if my query template returning record-set with 3 columns as follows -
    Col1
    Col2
    Col3
    sam
    67
    temp-88
    daniel
    56
    temp-87
    Mike
    54
    temp-89
    Then output of <iTicker>.getColumnValue() is -
    Output
    xMII 11.5
    MII 14
    <iTickerObj>.getColumnValue(1, "Col1")
    sam
    sam
    <iTickerObj>.getColumnValue(2, "Col1")
    daniel
    daniel
    <iTickerObj>.getColumnValue(3, "Col1")
    Mike
    Mike
    <iTickerObj>.getColumnValue(1, "Col2")
    67
    <no value>
    <iTickerObj>.getColumnValue(2, "Col2")
    56
    <no value>
    <iTickerObj>.getColumnValue(3, "Col2")
    54
    <no value>
    <iTickerObj>.getColumnValue(1, "Col3")
    temp-88
    <no value>
    <iTickerObj>.getColumnValue(2, "Col3")
    temp-87
    <no value>
    <iTickerObj>.getColumnValue(3, "Col3")
    temp-89
    <no value>
    Is there any other method in MII 14 to fetch values or is there issue with iTicker method in MII 14 ?
    Appreciate your help.
    Thanks,
    Sumit

    Hi,
    Your method calls are correct. This looks to be an issue with iTicker. Please raise a support ticket with SAP for this issue.
    Regards,
    Anushree

  • List manager displaying view value and not return value

    Hello,
    I'm using a list manager based on pop-up LOV. When I click on an item on the pop-up window, the window is closed and the return value is inserted in the page textbox. I would like to have (as expected) the view value, and have the return value used just as field value during form submit.
    I'm using Application Express 2.1.0.00.39
    Thanks.
    Eugenio

    Unfortunately, you can't. The way to do it is to return the display value into the List Manger item and then use the APEX_UTIL.STRING_TO_TABLE function to loop through the values and fetch the IDs. You will need to make sure the LOV items are unique and don't contain any colons.
    I hope that helps
    Shunt

  • F4IF_INT_TABLE_VALUE_REQUEST not returning value with 2 decimals point

    hi all,
    i use function F4IF_INT_TABLE_VALUE_REQUEST to do search help, the master data in table ZINVEST has field ZNO, with field type CURR , 2 decimals point.
    the return table shows 2 decimals point but in display screen it only shows 1 decimal point, pls advice
    here's the coding:
    DATA : BEGIN OF itab OCCURS 0,
              e_value(20),
             END OF itab.
      DATA: BEGIN OF field_tab OCCURS 0.
              INCLUDE STRUCTURE dfies.
      DATA END OF field_tab.
      DATA : return_tab LIKE ddshretval OCCURS 0 .
          CLEAR field_tab.
          field_tab-fieldname = 'E_VALUE'.
          field_tab-intlen = 17.
          field_tab-outputlen = 17.
          field_tab-decimals = 2.
          field_tab-inttype = 'C'.
          field_tab-scrtext_m = 'Investment No'.
          APPEND field_tab.
          SELECT * FROM ZINVEST.
            CLEAR: itab.
            itab-e_value = ZINVEST-ZNO.
            APPEND itab.
          ENDSELECT.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'E_VALUE'
          dynprofield     = 'A'
          dynpprog        = sy-cprog
          dynpnr          = sy-dynnr
        TABLES
          value_tab       = itab
          field_tab       = field_tab
          return_tab      = return_tab
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.

    Hi ester,
    You shud try this way. Try to use this code.
    DATA:  BEGIN OF it_help OCCURS 0,
           zuonr TYPE zvinvoice,
           kunnr TYPE kunnr,
           name  TYPE zvcustname,
           END OF it_help.
    SELECT-OPTIONS: p_zuonr FOR bsid-zuonr.
    SELECT DISTINCT
             zuonr
             kunnr
      INTO CORRESPONDING FIELDS OF TABLE it_help
      FROM bsid
      WHERE zuonr <> space.
      SORT it_help BY zuonr kunnr.
      DELETE ADJACENT DUPLICATES FROM it_help
      COMPARING zuonr kunnr.
      IF it_help[] IS NOT INITIAL.
        SELECT kunnr
               name1
               name2
        INTO TABLE it_kna1
        FROM kna1
        FOR ALL ENTRIES IN it_help
        WHERE kunnr = it_help-kunnr.
        SORT it_kna1 BY kunnr.
        CLEAR v_tabix.
        SORT it_help BY kunnr.
        LOOP AT it_help.
          v_tabix = sy-tabix.
          READ TABLE it_kna1 WITH KEY kunnr = it_help-kunnr
                                      BINARY SEARCH.
          IF sy-subrc EQ 0.
            CONCATENATE it_kna1-name1 it_kna1-name2 INTO it_help-name  
            SEPARATED BY space.
            MODIFY it_help FROM it_help INDEX v_tabix
                                        TRANSPORTING name.
          ENDIF.
        ENDLOOP.
    FORM event_selscr_valreq_for_pzuonr .
    ***Function module to display the search help for the assignment filed****
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield         = 'ZUONR'
          dynpprog         = sy-cprog
          dynpnr           = sy-dynnr
          dynprofield      = 'P_ZUONR'
          window_title     = text-029
          value_org        = 'S'
          callback_program = sy-repid
        TABLES
          value_tab        = it_help
        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.
      ENDIF.
    Reward if help ful.
    Regards
    Azad.

  • 'F4IF_INT_TABLE_VALUE_REQUEST' is not returning any value when selecting da

    *Hello Guys.*
    *I hv inserted search help in an field of screen exit in T-code IW21. Its showing value properly when i press f4 but when selecting value its nt returning any value properly....*
    *I am pasting code ..please help me out*
    *. Process of value Request*
    *field <fieldname>  module F4_AGENCY*
    *MODULE F4_AGENCY INPUT.*
      *DATA: IT_AGENCY TYPE TABLE OF ZF4_AGENCY WITH HEADER LINE,*
            *it_FIELD_TAB      type table of DFIES WITH HEADER LINE,*
            *IT_DDSHRETVAL TYPE TABLE OF DDSHRETVAL WITH HEADER LINE.*
      *REFRESH : IT_AGENCY[].*
    *clear : VIQMEL-ZZAGENCY.*
    **SELECT * FROM ZF4_AGENCY INTO TABLE IT_AGENCY.**
      *CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'*
        *EXPORTING*
      DDIC_STRUCTURE           = 'ZF4_AGENCY'**
          *RETFIELD               = 'ZZAGENCY'*
        PVALKEY                 = ' '**
         *DYNPPROG                = sy-cprog  "'SAPLXQQM'*
         *DYNPNR                  = sy-dynnr   "'0101'*
         *DYNPROFIELD             = 'VIQMEL-ZZAGENCY'*
        STEPL                  = sy-stepl**
         *VALUE_ORG               = 'S'*
       *TABLES*
        *VALUE_TAB              = IT_AGENCY[]*
        *FIELD_TAB              = it_FIELD_TAB[]*
        *RETURN_TAB             =  IT_DDSHRETVAL[]*
      DYNPFLD_MAPPING        =**
    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.**
      *ENDIF.*
    *wating for any reply*

    Did you take a look at the help for FM? pass the hardcoded value for DYNPPROG and DYNNR (and see if that works)
    DYNPPROG and DYNNR cannot be passed as SY-REPID and SY-DYNNR because they are only analyzed after the function module has been called. Instead, first copy the SY fields to local variables and then pass them to the function module.

  • OPA Web services not returning values

    I've been trying to get the OPA web services to provide a decisive outcome but it seems as if my values are not being received correctly. I've reduced my request to simplest terms to see if I can get anything to come back, and maybe to see if anyone can point out what's happening, or what I'm missing.  The following transactions should at least bounce back the values, correct?
    Generic:
    Request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://oracle.com/determinations/server/10.4/rulebase/assess/types">
       <soapenv:Header/>
       <soapenv:Body>
          <typ:assess-request>
             <typ:global-instance>
                <typ:attribute id="applicationClass" type="text" inferred="false" outcome-style="value-only" unknown-outcome-style="value-only" known-outcome-style="value-only">
                <typ:text-val>A</typ:text-val></typ:attribute>
             </typ:global-instance>
          </typ:assess-request>
       </soapenv:Body>
    </soapenv:Envelope>
    Response:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:i18n="http://www.w3.org/2005/09/ws-i18n" xmlns:typ="http://oracle.com/determinations/server/10.4/rulebase/assess/types">
       <SOAP-ENV:Header>
          <i18n:international>
             <i18n:locale>en_US</i18n:locale>
             <i18n:tz>GMT-0400</i18n:tz>
          </i18n:international>
       </SOAP-ENV:Header>
       <SOAP-ENV:Body>
          <typ:assess-response>
             <typ:global-instance>
                <typ:attribute id="applicationClass" type="text" inferred="false">
                   <typ:unknown-val/>
                </typ:attribute>
             </typ:global-instance>
          </typ:assess-response>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Specific:
    Request:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://oracle.com/determinations/server/10.4/DriverRoadtestEligibility_Excel/assess/types">
       <soapenv:Header/>
       <soapenv:Body>
          <typ:assess-request>
             <typ:global-instance>
                <!--You may enter the following 37 items in any order-->
                <typ:applicationClass type="text" inferred="false" outcome-style="value-only" unknown-outcome-style="value-only" known-outcome-style="value-only">
                   <typ:text-val>A</typ:text-val>
                </typ:applicationClass>
             </typ:global-instance>
          </typ:assess-request>
       </soapenv:Body>
    </soapenv:Envelope>
    Response:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:i18n="http://www.w3.org/2005/09/ws-i18n" xmlns:typ="http://oracle.com/determinations/server/10.4/DriverRoadtestEligibility_Excel/assess/types">
       <SOAP-ENV:Header>
          <i18n:international>
             <i18n:locale>en_US</i18n:locale>
             <i18n:tz>GMT-0400</i18n:tz>
          </i18n:international>
       </SOAP-ENV:Header>
       <SOAP-ENV:Body>
          <typ:assess-response>
             <typ:global-instance>
                <typ:applicationClass type="text" inferred="false">
                   <typ:unknown-val/>
                </typ:applicationClass>
             </typ:global-instance>
          </typ:assess-response>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Thanks

    That does sound very strange. It might be there's a problem being caused by the unecessary attributes sent in the request. You might try the following (generic example request).
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://oracle.com/determinations/server/10.4/rulebase/assess/types">
       <soapenv:Header/>
       <soapenv:Body>
          <typ:assess-request>
             <typ:global-instance>
                <typ:attribute id="applicationClass">
                    <typ:text-val>A</typ:text-val>
                </typ:attribute>
             </typ:global-instance>
          </typ:assess-request>
       </soapenv:Body>
    </soapenv:Envelope>
    This request is more correct for the following reasons:
    you should not set the type and inferred attributes. These attributes are typically returned in the response and cannot be set by the request.
    you should not set the outcome style of an attribute that you are providing the value of. It should always be returned in the response.
    That said, those points don't explain why the value of applicationClass is being returned as unknown. Perhaps the extra attributes in the request is triggering some bad behavior in the Determinations Server that is causing it to not set the attribute.
    What rules, if any, do you have associated with the rulebase? Do you have any customisation of the Determination Server or the rulebase?

Maybe you are looking for

  • Using Mac OSX 10.95, Says i need to update Flash, but i have latest version HELP?

    Hi, i am having issues watching any video's requiring flash player. Example: I try to watch a normal Youtube Video, but i get a black screen saying flash player in the middle. when i press it, it takes me to Adobe website asking me to update my flash

  • JBoss ejb problem

    I created a ear file wich contains a jar and war file. The jar contains an entity and session bean. The war file contains my junitee test case. When I deploy the file I can surf to the url and my test goes fine. When I move the file from the deploy d

  • Capital One Logic...

    I currently have 2 Capital One accounts.  One has a 2k limit and one has a 4.5K limit, both are QS1 cards.  I've tried over and over to get CLI's on the cards, but was unsuccessful.  I attempted to apply for a new card today (with hopes of card conso

  • Asset purchase through purchase order?

    Hi, I am purchasing Asset with purchase order, I want to know what is standard procedure to puchase asset through (whether we make good receipt of same or not) if yes then what will be the configuration? because I am getting an error while doing GR o

  • I would like to create sub-pages

    I would like to create pages that are sub-pages of other pages