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
Hello, For the past few weeks I was having issues with Google as I kept receiving a "slow script" error. In trying to fix this problem I downloaded the latest version of Safari (5.1) from the Apple website to see if this helped. This seems to ha [More]
Hello QM Gurus, Please help me in following senario, When I am doing GR for the raw material, I am posting the stock to blocked stock through 103 mov. type. In system the inspection lot is being created but it is not in released status, although insp [More]
Details of Crashing Information AdapterDeviceID: 2562 AdapterVendorID: 8086 Add-ons: {d47a9f51-8281-43fa-f450-f28ef8735e9a}:2.1.1,[email protected]:3.6.5.112,{972ce4c6-7e08-4474-a285-3208198ce6fd}:4.0 AvailableVirtualMemory: 1923440640 BuildID: 20110 [More]
I've got a main.as that loads SWF to the stage. the loaded SWF seppoused to pass a link to the main.as and trigger a javascript function to popUp that photo from that link. I know there are two ways: ((root as MovieClip).parent.parent as Object).some [More]
I copied some photos from the library to my desktop, ran software to add an hour to several at once (forgot daylight savings time), deleted the original photos from iPhoto, and re-imported the new copy with the new times back into the library. I was [More]
Hi, I can't sign in to my CC account. This fix http://helpx.adobe.com/creative-cloud/kb/unable-login-creative-cloud-248.html still does not work? ThanksYou have to go to icloud.com from your computer browser, not from your iPad.  When you do, you won [More]
Using Adobe Premiere Elements 7 a portion of the audio is missing on the end of clips after I bring it in. The files are motion JPEG AVI .Welcome to the forum. I do not recall seeing any issue with muxed MJPEG files, regarding truncated Audio. First, [More]
Hi, Having finally gotten OUI to run (after following the steps in "User Friendly Install ...", when I run the script $ORACLE_HOME/install/utl/linux.sh, I get a whole load of linker errors. Some refer to a missing symbol in a library (nnflboot i [More]
I have tried just about everything to get the Canon 2020i working with OSX 10.6. Came close with some other printer drivers but the output quality is marginal. Finally decided to just print share from an imac with OSX 10.4 installed. However, even th [More]
how can i stop iphoto from automatically opening when i plug my phone in?To stop that action do the following Steps: Go into Applications Open Image Capture Click on Image Capture next to the Blue Apple Go to Preferences Are that says camera, Use the [More]