Error while closing F4 help window

I have used FM F4IF_INT_TABLE_VALUE_REQUEST, to add F4 help to input element of my screen, but when I try to select a value from the list or close the input help window, the control goes to dump with following error message:
The program attempted to issue a " " message during "F4" processing.
This is an illegal operation.
The program was terminated.
I am using the following code:
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield               = 'LIFNR'
      dynpprog               = sy-repid
      dynpnr                 = sy-dynnr
      dynprofield            = 'WA_YCT3-LIFNR'
      value_org              = 'S'
    TABLES
      value_tab              = it_lfa1
   EXCEPTIONS
      parameter_error        = 1
     no_values_found        = 2             
     OTHERS                 = 3.
  IF sy-subrc = 1.
    RAISE parameter_error.
  ELSEIF sy-subrc = 2.
    RAISE no_values_found.
  ELSE.
    MESSAGE 'Unknown error occured while processing request' TYPE 'E'.
  ENDIF.
ENDMODULE.

Hi Das,
This time i have tried one code and i am able to get the F4 help for LIFNR field correctly. Copy paste the code and execute it will work....
data: begin of itab occurs 0,
lifnr like lfa1-lifnr,
end of itab.
DATA : return like ddshretval occurs 0 with header line.
data: begin of dynpfields occurs 0.
include structure dynpread.
data: end of dynpfields.
parameters: p_lifnr like LFA1-LIFNR.
Initialization.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_LIFNR.
REFRESH ITAB.
SELECT lifnr FROM lfa1 INTO TABLE ITAB.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'lifnr'
dynprofield = 'P_lifnr'
dynpprog = sy-REPID
dynpnr = sy-dynnr
value_org = 'S'
TABLES
value_tab = ITAB
return_tab = return.
p_lifnr = return-fieldval.
refresh return.
clear return.
Hope my answer helps you.
Cheers!!

Similar Messages

  • Error while installing j2sdk-1_4_2_05-windows-i586-p.exe

    Hi folks,
    I am getting the following error while installing j2sdk-1_4_2_05-windows-i586-p.exe on windows 2000 machine:
    Error 1327. Invalid Drive: H:/.
    Please help me.
    Thanks in advance.
    Pavan

    Hi Pavan,
    Is the drive not writable?
    If you still need help with this, you might get more response by posting on the Java Forum http://forum.java.sun.com/forum.jspa?forumID=31.

  • Error while installing j2sdk-1_4_2_05-windows-i586-p.exe on windows 2000

    Hi folks,
    I am getting the following error while installing j2sdk-1_4_2_05-windows-i586-p.exe on windows 2000 machine:
    Error 1327. Invalid Drive: H:/.
    I have downloaded the exe and kept in C drive. Just clicked that exe to install. I haven't set any info. like drive settings. Why I am getting "Invalide Drive" Error?
    Please help me.
    Thanks in advance.
    Pavan

    if my above link doesn't satisfy you, try this one : http://support.installshield.com/kb/view.asp?articleid=q107033

  • Error while working samba through Windows XP+SP2

    Subject: Error while working samba through Windows XP+SP2
    Hi,
    I have problem with SAMBA Server on SOLARIS 10.0 while browsing shares through MS Windows XP Pro + SP2.
    Descriptions:
    1) SAMBA Configuration:
    #==== global settings ======
    [global]
    security = user
    hosts allow = 192.168.9. 200.0.0. 127. 127.0.0.1
    unix password sync = yes
    remote announce = 200.0.0.255/Workgroup
    192.168.9.255/workgroup
    remote browse sync = 200.0.0.255 192.168.9.255
    restrict anonymous = yes
    root directory = %H
    deadtime = 5
    #==== shares ======
    [homes]
    comment = Directory for User: %U
    browseable = no
    writable = yes
    [%U]
    comment = Private Directory for User: %U, R.Host: %m
    path = %H
    valid users = %U
    browseable = yes
    read only = no
    profile acls = yes
    [temp]
    comment = Temporary file space
    path = /tmp
    read only = no
    public = yes
    2) This configuration tested with MS Windows 2000 family and Windows XP Pro+SP2
    When I'm going to browse server by windows family stations, server asked for username/password, after authentication on both clients (Win XP and Win 2000) the share list appears correctly. for browsing shares contents through windows 2000 I have no problem but when i want to browse shares contents with windows xp+sp2 error message appears with "Access denied." subject.
    How can I solve this problem?
    Any help would be greatly appreciate.
    M.Chitsaz

    UPDATE
    i was able to connect and synced songs yesterday.
    but when i tried it again today. i cant connect again.
    i tried to disconnect and reconnect million times and i even dropped
    my iPOD and now it has some scratch and i hate it.

  • Error While Closing the order???

    Hi Experts,
    I am facing error while closing maintenance order.
    can anyone provide me the solution.
    please find the attachment and do the needful.
    Thanks & Regards,
    Sunil Boya

    Hi Sunil,
    As I do not have much exposure to this area, I would suggest you to:
    1. See this thread  Can not Close Orders for which Period is closed? | SCN
    and go through the answer of Paul Meehan
    2. Search Google with String 'SAP message CO688' . you will find several useful SCN links on the subject.
    3. Wait for Experts answers to this thread.
    Jogeswara Rao K

  • Error while closing an Internal Order

    Hello,
    I received an error while closing an order saying .
    +"There is still a purchase order commitment for Order 'XYZ' ". Error no. K0447.
    The order has been completely settled. I don't see any error on PO side
    What could be causing this and how can I resolve this.
    Thanks
    Kavita.

    There are still some open PO's (quantity yet to be delivered) with account assignment to the IO. Set Delivery Complete for all items in PO and then try closing the IO.
    This has nothing to do with actuals but commitments, in this case PO commitments.
    Regards
    Sreenivas

  • Getting Error while doing Control Panel - Windows Update Error code is 80070103

    Getting Error while doing Control Panel -> Windows Update Error code is 80070103. The optional Windows 7 update is
    Microsoft - Other hardware - WinUsb Device
    Please provide your email ID to send the Error screen shot.

    Hi!
    Check the following link to see if it solves your problem:
    http://support.microsoft.com/kb/952032
    Best regards
    Andreas Molin
    Andreas Molin | Site: www.guidestomicrosoft.com | Twitter: andreas_molin

  • HT1222 What do I do if it says "there is an error while updating." Help please and thank you

    What do I do if it says "there is an error while updating." Help please and thank you

    Maybe this will help you; https://discussions.apple.com/docs/DOC-3551

  • ORA-12571 error while creating packages from Windows clients

    Hello,
    We are facing the ORA-12571 error while creating / replacing packages from Windows Clients connected to a 8.1.7.2.0 db on a Solaris server.
    However, there are
    1. no errors in connecting and creating transactions from a Sql session
    2. no errors in creating / replacing unwrapped/wrapped small (few lines) packages
    3. no errors in connecting from a Unix session (remote telnet sessions inclusive).
    This happens only when creating wrapped/unwrapped packages, source code of which is greater than 500 kb approx.
    Can somebody help me resolve this issue. Any Help would be greatly appreciated.
    Regards.
    Lakshmanan, K

    Update: I had unintentionally left my custom tablespace in READONLY state after an earlier experiment with transportable tablespaces. After putting the tablespace back into READ WRITE mode and creating a new template, I was successfully able to create a new db from the template.
    I'm still a little curious why this procedure wouldn't work properly with a READONLY tablespace, however.
    Ben

  • Run time error while closing the CRM Order using BAPI

    Hi Experts,
    Need your invaluable suggestions here.Apologies for the lengthy mail, intention is to give clear idea of the issue.
    I am facing an issue while closing the CRM orders. According to our business process, when an issue is solved we will keep the order in resolved status only. We will not directly close the order from the CRM tool, instead we have created a custom program for the same purpose.
    For the custom program we will give input as the order number and execute it, this will close the order.
    Here close the order means assigning it to Close status as well assign the reason code.
    We have created some reason codes for closed status.
    So when the program is run the Order moves from resolved status to closed status along with reason code.
    But of late we are facing some problems with this program, it is giving run time error for some CRM orders.
    Run time error message : The ABAP/4 Open SQL array insert results in duplicate database records.
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught in procedure "CRM_SERVICE_OS_UPD_OST_DU" "(FUNCTION)", nor was it propagated by a RAISING clause.
    Please find my code which have used in the custom program
    Closing the resolved SOs in the system
        CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN_OW'
            EXPORTING
              objnr                     = iv_guid
              user_status          = lc_status_closed
           EXCEPTIONS
             object_not_found          = 1
             status_inconsistent       = 2
             status_not_allowed       = 3
             OTHERS                        = 4.
        IF sy-subrc <> 0.
          WRITE :  'Error at maintaining status'.
        ENDIF.
    Set reason code
    build lt_subject
        ls_subject-ref_guid = iv_guid.
        ls_subject-katalogart = 'A2'.
        ls_subject-codegruppe = 'ZR000003'.
        ls_subject-code       = 'ZR33'.                      " Reason code
        ls_subject-mode       = 'A'.
        APPEND ls_subject TO lt_subject.
    build lt_ossset
        ls_osset-ref_guid        = iv_guid.
        ls_osset-subject_profile = 'ZREASON03'.
        ls_osset-profile_type    = 'G'.
        ls_osset-subject         = lt_subject.
        APPEND ls_osset TO lt_osset.
    build lt_service_os
        ls_service_os-ref_guid  = iv_guid.
        ls_service_os-ref_kind  = 'A'.
        ls_service_os-osset     = lt_osset.
        APPEND ls_service_os TO lt_service_os.
    build lt_input_fields
        REFRESH: lt_input_fields, lt_field_names.
        CLEAR  : ls_input_fields, ls_field_names.
        ls_field_names-fieldname    = 'CODE'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'CODEGRUPPE'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'KATALOGART'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'SERVICE_PROFILE'.
        APPEND ls_field_names TO lt_field_names.
        ls_input_fields-ref_guid    = iv_guid.
        ls_input_fields-ref_kind    = 'A'.
        ls_input_fields-objectname  = 'SERVICE_OS'.
        ls_input_fields-field_names = lt_field_names.
        APPEND ls_input_fields TO lt_input_fields.
         CALL FUNCTION 'CRM_ORDER_MAINTAIN'
          EXPORTING
            it_service_os     = lt_service_os
          CHANGING
            ct_input_fields   = lt_input_fields
          EXCEPTIONS
            error_occurred    = 1
            document_locked   = 2
            no_change_allowed = 3
            no_authority      = 4
            OTHERS            = 5.
        IF sy-subrc <> 0.
          WRITE :  'Error at maintaining reason'.
        ENDIF.
        CALL FUNCTION 'CRM_ORDER_SAVE'
          EXPORTING
            it_objects_to_save   = lt_header_guid
            iv_update_task_local = lv_update_task_local
          IMPORTING
            et_saved_objects     = lt_saved_objects
          EXCEPTIONS
            document_not_saved   = 1
            OTHERS               = 2.
        IF sy-subrc <> 0.
          WRITE : 'Error at saving'.
        ELSE.
          WRITE : 'Successfully Closed'.
          COMMIT WORK AND WAIT.
        ENDIF.
    Run time error is coming at COMMIT WORK AND WAIT statement.
    Please let me know any corrections are required in the above program.
    When I analyzed the run time error I have found that it trying to insert the record in CRMD_SRV_OSSET for that CRM order, but already one record is present in the table for the same CRM order number.
    For most of the CRM orders there is no entry in this table so they are closing successfully but for a few orders for which there is an entry we are getting the above run time error.
    There is nothing wrong with the orders which have an entry already in the table CRMD_SRV_OSSET, I need to close these kind of orders with out run time error.
    Kindly provide your feedback.

    Hi Dinakar,
    You posted this in APO PPDS forum. This question should go to PP forum where someone could answer it.
    Please close this thread and open a new thread in PP forum so that you could get help quickly from the relevant experts.
    Regards - Pawan

  • "Could not find the main class" Error While installing 11g in windows 7

    Dear All,
    I am getting error message while installing oracle 11g R1(32 bit) on Windows 7(32 bit)
    I have downloaded from oracle website only..
    After Clicking the OUI I am getting the Error Message pop up is "Could not find the main class.Program will exit"
    I don't know what is the reason behind this error .
    what would be the reason for this error..
    Pls help me....
    By
    Muthu

    I think you need to download oracle software again...
    Oracle Universal Installer - Could not find main class

  • BootCamp Assistant 4.0.1 and errors while trying to download Windows support software

    I am using BootCamp Assistant 4.0.1 and I keep getting errors while trying to download the Windows support software.  I keep getting errors that says the software is not on the server or that there was just an error saving and it stops.  Any help please!!  I am using a MacBook pro with the new Lion OS

    I finally got it to work correctly.  I re-formatted the external hard drive and everything worked fine.

  • Error While Installing Cluster on Windows ECC 6.0 SR3

    Hi All,
    We are doing ECC SR3 cluster installation with DB2 9.1 on windows 2003 server.
    We have successfully completed ASCS,SCS & First cluster node installation.
    we are getting error while DB2 Instance installation in step ,
    configuring the database for MSCS.
    we have prepared the MSCS.cfg file and while executing the db2mscs utility,
    it is giving error as
    DB21533E An error occurred during the migration of the DB2 instance, rc = "DBI1969".
    MSCS.CFG entries are as follows
    DB2_INSTANCE=DB2EOP
    DB2_LOGON_USERNAME = OIASAPSRV\db2eop
    DB2_LOGON_PASSWORD = oiaeopadm#3
    CLUSTER_NAME=MYCLUSTER
    GROUP_NAME=DB2EOP
    IP_NAME=DB2 192.168.1.12
    IP_ADDRESS=192.168.1.12
    IP_SUBNET=255.255.255.240
    IP_NETWORK=PUBLIC
    NETNAME_NAME=DB2EOP
    NETNAME_VALUE=OIADB
    NETNAME_DEPENDENCY=DB2 192.168.1.12
    DISK_NAME=SAPDATA (R:)
    DISK_NAME=LOG (F:)
    INSTPROF_PATH=F:\db2\db2eop\DB2EOP\db2_software
    please reply

    Hi Nitin,
    make shure:
    INSTPROF_PATH=F:\db2\db2eop\DB2EOP\db2_software
    points to a shared drive!
    DB2 will create the clustered instance there
    Please read the header of the MSCS.CFG file:
    INSTPROF_PATH  This is an alternative way to specify a path on the MSCS disk
                   to contain the DB2 instance directory.  Use this parameter
                   if the DB2MSCS utility is unable to obtain the drive letter
                   of the disk resource.
    regards Siegfried

  • Error while Closing the Production order.

    Hi ,
      We are doing operation Subcontracting Process. This process works on the basis of Production order, once the Production order generated automatically system generates a Purchase requisition which we are converting to Purchase order  and doing the sub contracting process.
    Now i have received all the material from the Subcontractor ( GRN and MIRO ) has been completed , for the Production order all the confimration and Delivery has also been completed , now i have done Technically completion for that order , now i am closing the Order ( Functions -Restrict processing - close ) , while closing it gives me an error saying that Purchase order still exists .
    Wat is this error ?? why is it coming so ??
    Regards
    Rajesh

    hi,
    You have to ensure that the order is not having any WIP, if you have any WIP for that order you have to complete the order and then only you could abale to clsoe the order.
    Check the WIP for the order thorugh KKAX.
    Regards,
    Rama Mohan

  • Error while closing the open purchase order for MRP run

    HI expets,
                     We are facing issue while closing the old purchase order(18.12.2007) for MRP run, if we are clicking delivery completed for the particular line item ,system is showing the error NET PRICE MUST BE GREATER THAN ZEROthough we have made GR and IR aganist the line item an value is also showing in the purchase order history tab, but in the condition tab there is no value showing for the particular line item .Kindly suggest the way forward.
    regards
    Karthick sundaram

    one thing for sure, you cannot proceed without maintaining proper conditions in the PO.
    Why they are not there or not anymore there is probably caused by customizing or vendor master data changes.

Maybe you are looking for

  • References from nested clusters

    Hi, Currently our station can test only one product at the time, but we modified the wiring so now we can attach 2 units to the same station. A new application must be written to handle the new scenario. The test has to be executed several times on b

  • Invoice Issue

    Hi Gurus,   I am doing a PO, say 36000rs for 100 KG materials with a tax amount of 720 rs. So while doing GRN, the accounting document will be as, Material account 36720rs debit and GR/IR account 36720rs credit. While doing invoice, i am changing the

  • Inserting queries in a role

    Hi Gurus, i need to assign queries to a role so that users having this role will be able to get the queries in their menu when they log into the system. How can I do it? Partha

  • Flash lite problem,,,need help soon

    why the protocol ftp is not suported by the flash player and how to make flash lite support ftp

  • ISE : MAB, SoA ...

    Hello, I'd like to implement Cisco ISE on my network so that 802.1x authentication will be operationnal. When I give a look to this document : http://www.cisco.com/en/US/docs/security/ise/1.0.4/compatibility/ise104_sdt.html#wp55038 There's a lot of C