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
i currently use a iMac OS X 10.6.8 and I cannot open iPhoto. Every time I click on iPhoto the coloured wheel comes up and lets me go no further, leaving me with no other option but to force quit the application. it is showing all my existing photos b [More]
Hi everybody, Just wondering if it were possible to see the album artwork change in itunes after you play the next song -- currently I have to reclick on the screen to see the album art work... thanks a millionSorry I should clarify -- the artwork is [More]
I use Mountain Lion OSX10.8.2 on a 27" iMac/1TB HD/12GB RAM. When I write an Apple Mail email and attach a jpg (for example), I am never sure if the attachment was sent. Apple Mail will not show me in SENT that there was an attachment. There is no re [More]
Within seconds after a simple reboot (using the powerswitch) after the computer froze, the computer that had never required a password ever before restarted to ask me for my login security code? I don't know where or how that got set up during a rout [More]
It's been a BIG disappointment to learn in the wrong way that '6' alters the previous date based filing structure of images. Seems to have created a new 'roll based' filing system. Date based filing made it very easy to find files when using other ap [More]
 I don't think you can change DPI in iPhoto. You can do it in Preview or an App like Graphic Converter. Here is a screenshot from Preview. Preview is located in your Application FolderRead other 3 answers [More]
Hi experts, We are using SRM 7.0 and stand alone scenario. When we are creating shopping cart, we cannot we cannot find the purchasing group field in item basic data. We have not changed any standard SC layout and I've already specified the responsib [More]
I have added two datafiles to primary database, and somehow the standby log apply kept fail with the following errors: SQL> SQL> ORA-00283: recovery session canceled due to errors ORA-01111: name for data file 613 is unknown - rename to correct file [More]
Download for Mountain Lion fails after 53MB, any idea why?Yes, the area after 53MB has a bad sector on your hard drive and can't write the data any further, this is especially confirmed if you downloaded twice and it stops in the same spot again. It [More]
I have a MacBook (black cover) with Mac OSX 10.5.8, Intelcore processor.  It has 2 mb Ram (2 – 1mbcards) and a 250gb hard drive.  I would like to up grade my Ram to 4 or 8 mb ram and a 500gb hard drive.  Can anyone suggest brand or site to buy thesei [More]