Sitemap

Amicuk Programming Answers

Drop down list in Table Control - Value disappeared after pressing ENTER

2015-10-11   Views:5

Advertisement

Dear Gurus, I have a problem in one of my development where I used a table control in which one field is a drop down list. I used VRM_SET_VALUES and VRM_GET_VALUES for populating the values from the programand not use any domain level value table for

Dear Gurus,
I have a problem in one of my development where I used a table control in which one field is a drop down list.
I used VRM_SET_VALUES and VRM_GET_VALUES for populating the values from the programand not use any domain level value table for that field.
My problem is when I select one value from this list , and pressing enter , the value get disappeared. But if I use a domain for this field with value table then everything working properly.
My doubt is am I doing some miss coding or using the VRM_ function modules improperly ?
I am sharing some code with you
in PAI :
CALL FUNCTION 'VRM_GET_VALUES'
    EXPORTING
      id            = 'ITAB-FIELD3'    "This is drop down list element on screen
    IMPORTING
      values        = values[]    " even it is not the expor parameter...it will work..
   EXCEPTIONS
     id_not_found   = 1
     OTHERS         = 2.
  IF sy-subrc NE 0.
  No sy-subrc check required.
  ENDIF.
IN PBO
CALL FUNCTION 'VRM_SET_VALUES'
       EXPORTING
            id     = 'IVBAP-ERNAM'
            values = values[].
Can you please help me.
Thanks .

The replay answer
Advertisement
HI,
The link contains the list box creation, just check if this might help.
Re: Getting values back from a listbox.
Regards and Best wishes.

Go to See the other 3 answers

Drop down list in Table Control - Value disappeared after pressing ENTER

Category:DefaultRelease time:2015-10-11Views:130

Dear Gurus, I have a problem in one of my development where I used a table control in which one field is a drop down list. I used VRM_SET_VALUES and VRM_GET_VALUES for populating the values from the programand not use any domain level value table for[More]

Object disappears after pressing enter key

Category:DefaultRelease time:2015-10-11Views:130

I need to attach the transaction J1B3N to keep the connection objects. Perform the steps as the help of SAP: Object links to other SAP objects You can make an object link to SAP objects that are not shown in the possible entries list. To do this, pro[More]

Table Control[Accept Input Only] - "ENTER" Key

Category:DefaultRelease time:2015-10-11Views:130

Hi Folks, I'm reviving this unanswered thread in relation to table control: when the user press enter, all the values entered disappear. [url]Re: Table control (Enter key)[url] I have a table control that accepts "ONLY" input, meaning to say, th[More]

How to put drop down in table control ?

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I m writing one module pool program to edit table. I want dropdown to one field so that user can select the appropriate value. And also I want to save that record. So how to get the dropdown list and after editing that record how to save that[More]

How to modify changes of table control data in PAI

Category:DefaultRelease time:2015-10-11Views:130

I have a table control where the columns are brought by dict fields.I am able to bring data into table control through an itab. Now what i want is whenever user edits data in table control and clicks on save button the corresponding changes should be[More]

Table control small Issues , Plz help in tracing the problem

Category:DefaultRelease time:2015-10-11Views:130

Hello John , Rich , Anand & all My sorting is working fine but thr is small problem 1. user has habit of pressing enter after everything,     after entering the values in editable fields in Table control , it doesnt retain the entered values but if h[More]

Deleting the values from table control

Category:DefaultRelease time:2015-10-11Views:130

HI, I need to remove the selected line from the Table control on my screen. The point is that the Internal table does not have any records,. for example in the Customer Create screen, while entering the bank details we will enter it in a tbale contra[More]

Table Control + last column

Category:DefaultRelease time:2015-10-11Views:130

Hello Friends, i am facing a strange problem. I have created a table control using table control wizard. when I enter the values in table control select the entry and press okey button everything works fine. then I gave the program to user for test,[More]

How to clear data from Table-Control

Category:DefaultRelease time:2015-10-11Views:130

Hi all, I am working on table control. I have some data on the table control. When I press the 'Cancel' button, I require that the table-control should be cleared. I tried using REFRESH CONTROL TC01 USING SCREEN 1001. But, the data doesn't get cleare[More]

How to retrieve data from Table Control

Category:DefaultRelease time:2015-10-11Views:130

Hi, I am a Beginner to ABAP. I want to know how to fetch the selected rows from Screen table control. Here is my scenario: I am having one table control with selection field. Once i select some rows means the selected rows are going to be stored in o[More]

How can I change the size of table control in table maintenance re-gen?

Category:DefaultRelease time:2015-10-11Views:130

Hello Experts, I hv created a maintenance view and after generated table maintenance view for it. now it adjusts the size of table control in table maintenance generation. I want to change the size (width) of table control and again re-generate the t[More]

Hot
Post Author: yarg CA Forum: Authentication Hello, I'm looking for some help please.  I have used Crystal Reports XI fairly extensively over the past year (designing reports mainly), and have now been tasked with getting CR Server XI up and running so [More]
I have a 22-inch (1680x1050) monitor. Most of the time I want to publish my recording to a 600x800 video. So there are several approaches: 1. Record it as 1400x1050, and resize it as 600x800 after recording. 2. Record it as 600x800, and use panning. [More]
Hi I seem to get thisexception fired when launching my flex project from debug optoon. ReferenceError: Error #1065: Variable flash.media::VideoCodec is not defined. I have created a version of flex 4.5.1 with folder 11.0 in player folder. This has th [More]
Today, I purchased an iTunes gift card online in the US using my iTunes account login and emailed it to a friend in Canada. Will she have any trouble using it there online? thanks for any help, SallyYou would have to get a Canadian iTunes giftcard. B [More]
I want to self-sign my first Adobe AIR application and I'm having trouble getting a valid keystore file. It says that it is "not an X509 code-signing certificate". I am on Mac OS X and on a terminal I tried to use openssl to make a certificate. [More]
Hello, i need help to solve this issue : I have a Timesten version 5.1.28 ( 32 bits) running in Solaris Sparc and a Windows 2003 server connected to the same network. I need to install a Timesten ODBC client in my windows 2003 server in order to get [More]
can u tell me , how to create sub columns in interactive report. i really need it.i search lot but i dont get proper information. help plz... example : - |_____total_ persons _____| | persons | male | female | 100 200 3000 400 500 600i am nile. selec [More]
Hi, I am a new beginner to LabVIEW. Right now, I am trying to acquire data from the HP8753D Vector Network Analyzer (VNA). However, I don't think I even managed to get past the first step. I tried to create a simple VI with only a single READ GPIB an [More]
Can someone  help me with a function? I have some sql:   SELECT depositReceivedCurrency ,SUM(depositReceivedAmount) AS currencyAmount     FROM    dbo.tbTrades      WHERE clientID = 1 AND  depositReceivedCurrency IS  NOT NULL       GROUP BY depositRec [More]
Hello, yesterday my laptop shut down and since then it cannot start. Even with repair/install disks of windows (8.1) or Linux, it recognises the disk,  gets to the first menu (of the Linux disk) or the press any key to boot from cd/dvd (on windows di [More]