Sitemap

Amicuk Programming Answers

Converting checkbox field from output to input

-0001-11-30   Views:0

Advertisement

Hi Experts, I m using module pool programming in which i am using custom control to display my output table. Table has 2 fields for checkbox : 1. Dishonor cheques 2. Blacklist cheques. Screen also has a pushbutton 'Remove blacklist cheques'. Initiall

Hi Experts,
I m using module pool programming in which i am using custom control to display my output table.
Table has 2 fields for checkbox :
1. Dishonor cheques
2. Blacklist cheques.
Screen also has a pushbutton 'Remove blacklist cheques'.
Initially I am displaying  2nd checkbox field ( Blacklist cheques) as only output and 1st field as input.
When user presses pushbutton 'Remove blacklist cheques' , 2nd checkbox field (Blacklist cheques)
should be converted into input and output field.
Please suggest.
Regards,
Kaustubh.

The replay answer
Advertisement
Hi,
Try this In the PBO you can write this Code
If sy-ucomm = ''Remove blacklist cheques'.
loop at screen.
If screen-name NE 'Dishonor cheques'.
SCREEN-INPUT = 1 .
SCREEN-OUTPUT = 1 .
Modify Screen.
endif.
If screen-name eq Blacklist cheques'.
SCREEN-INPUT = 0 .
SCREEN-OUTPUT = 0 .
Modify Screen.
endif.
ELSE.
If screen-name eq 'Dishonor cheques'.
SCREEN-INPUT = 0 .
SCREEN-OUTPUT = 0 .
Modify Screen.
endif.
If screen-name eq Blacklist cheques'.
SCREEN-INPUT = 1 .
SCREEN-OUTPUT = 1 .
Modify Screen.
endif.
Endloop

Go to See the other 7 answers

Converting checkbox field from output to input

Category:DefaultRelease time:-0001-11-30Views:130

Hi Experts, I m using module pool programming in which i am using custom control to display my output table. Table has 2 fields for checkbox : 1. Dishonor cheques 2. Blacklist cheques. Screen also has a pushbutton 'Remove blacklist cheques'. Initiall[More]

Adding a new choice to a checkbox field in a web app - options renumbered

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

Hi all, I have been working on a web app today. (for a change...lol!) I had to add another option to a custom checkbox field in the webapp and I noticed the following: New options in a checkbox field need to be added to the end of the checkbox list,[More]

How to make checkbox field inactive in the output of ALV report.

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

Dear All, I am having one ALV report in whose output there are checkboxes against each record. Example: the output columns of my ALV report are: Checkbox, Sales Document No, Billing Document No. Now, my requirement is that if for the Sales Document N[More]

Can I convert a camera Firewire output to a USB input on a laptop without buying a Canopus box?

Category:DefaultRelease time:-0001-11-30Views:130

Can I convert a camera Firewire output connector to a USB input on a laptop without having to buy a Canopus box or other expensive piece of equipment?Unfortunately, no. Firewire and USB are two entirely different methods of transfering data. There's[More]

Convert a field from dropdown to checkbox

Category:DefaultRelease time:-0001-11-30Views:130

Hi experts, Can anyone please let me know how to convert a field from dropdown to checkbox. Regards, AshwiniHi, Modify GET_P method insert the below coding case iv_property.    when if_bsp_wd_model_setter_getter=>fp_fieldtype.       rv_value = cl_bsp[More]

ALV LIST with few checkboxes fields

Category:DefaultRelease time:-0001-11-30Views:130

Hi everyone, I want to create an ALV with 2 fields that are checkboxes. I am succeeding to create an ALV with one checkbox field. How do we do in order to create an ALV with 2 checkboxes fields using ALV LIST ? I know that we have to specify in the l[More]

Making view fields to output fields dynamically

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I have a maintainance view. One of the fields contains a checkbox. If I check the checkbox i want to change input fields of that row to output fields. And if I uncheck the checkbox, the viceversa should happen. I tried doing this by calling a mod[More]

Checkbox field in ALV for REUSE_ALV_GRID_DISPLAY

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

how to handle Checkbox field in ALV for REUSE_ALV_GRID_DISPLAY???? For example Alv has displayed 400 entries if user checks 4 entries and wants to donwload only those 4 entries from ALV using Copy to local file option then how should it be done. plea[More]

How to display the checkboxes in the output

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

Hi, I need to display checkboxes in the output. Once i select the check box it should display additional info of that field in anothe list. another senario: I want to check all the checkboxes at a time. i want to uncheck all the ch-boxes at time. Can[More]

How to convert Oracle reports previewer output into delimited file.

Category:DefaultRelease time:-0001-11-30Views:130

How to convert Oracle reports previewer output into delimited file if the report has more than 1000 pages. I tried with previewer option File --> Generate to file --> Delimited file, but the report engine is crashing.Not generating .TXT file. I obse[More]

Checkbox field in REUSE_ALV_GRID_DISPLAY without creating additional field

Category:DefaultRelease time:-0001-11-30Views:130

Hi Experts, I want to show checkboxes in ALV without adding an additional checkbox field in my structure. OO-ALV will also do....... Plz Help........hi check this... REPORT Z_TEST7 . *Table declaration tables: vbak,vbap. *internal table data: begin o[More]

Hot
Hello there. I installed win7pro x64 yesterday and already came across a serious problem that makes my way of using the notebook a bit dangerous for my precious data. When I was working on HP-branded Vista 32bit (from recovery partition etc), there w [More]
In Oracle's documentation they mentioned that the RPD and catalog need to be merged (Section 3.22 and 3.23) . However, i have successfully run upgrade assistant to upgrade the old catalog and rpd. Is there still a need to do the merges. http://itwiki [More]
Sometimes I have a single song file of a book which is quite long, 10 hours, so I need to be able to restart where I left off. It is easy to mess up and end up back at the beginning. I have noticed that sometimes Imusic shows a play back length bar w [More]
We had infinity put in just before Xmas and had it connected via Ethernet to the desktop, where the old system was. Unfortunately that PC was giving us problems and gave up over Xmas so we have ordered a new one. Are there likely to be any difficulti [More]
Hi, I want to drop all the objects in my schema. Now I'm issuing the drop command every time to drop the objects one by one. Is there any way to drop all the objects at one go without dropping the user? Thanks, BabuHi, How about dropping the user (sc [More]
I am on a new PC, Dell Inspiron 660, 64 bit, Windows 8.1 I use only Windows Protection Programs with standard default setting (no third party products). I am able to successfully download graphics, video, and other program updates from other companie [More]
The short version is that some, not all of the images in my iPhoto library give me the finger "!" when I try to open them. I rebuilt the library and the recovered photos were put into a recovered photos folder in iPhoto. Being an obsessive compu [More]
Can anyone help please?  Backed up Iphone 4s to icloud and received the replacement one.  So I am trying to restore from icloud.  Unfortunately, the phone tells me that the IOS system (showing 6.1.2 required) is incompatible  and so are the previous [More]
I created an answers report that contains 1 table and 2 charts. I also use the view selector to give the user the option of switching between tables and charts. My question is can I rename the charts so that they show up as something other than 'Char [More]
Hello, Iam using Crystaldelivery to view mij crystal reports. I have made a report to read in my outlook agenda. The design of the report is made in Crystal report XI release 2. First when we open the viewer you can select the parameters and then com [More]