Converting checkbox field from output to input

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.

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

Similar Messages

  • Convert a field from dropdown to checkbox

    Hi experts,
    Can anyone please let me know how to convert a field from dropdown to checkbox.
    Regards,
    Ashwini

    Hi,
    Modify GET_P method insert the below coding
    case iv_property.
       when if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_checkbox.
    endcase.
    Regards,
    Arun Kumar

  • How to change HDMI port settings from output to input to accept signals from cable/sate​llite box?

    I have a new dv8t Entertainment PC with the HP Integrated HDTVHybrid Tuner.  The instruction manual provides 2 ways to connect the laptop to a cable/satellite box:  (1) coax/rf; or (2) HDMI.  The coax is a no-brainer; got it up and running in 10 minutes.  However, I am unable to get it to work connecting the HDMI cable, as the HDMI port on the laptop appears to be stuck in output mode.  How do I change the configuration of the HDMI port to "input" so that it can accept signals from my cable box?

    Thank you Grant for the quick response. Well, it seems I don't know what I'm doing.
    So, Mac Pro doesn't have any video INPUTS just Outputs. CHECK.
    That is correct I have a six-input-port-selector with one input (SWITCH C2G). CHECK.
    What I want is to be able to toggle through the inputs from the HDMI Switch C2G. That way I can use all my devices (Mac Pro, Xbox, PS3, Cable Box) with these monitors.
    Since the Switch C2G only has one OUTPUT Slot, I'm thinking I just need to connect the monitors to the Switch C2G Output slot by using a 2 to 1 HDMI Adapter, but wouldn't I lose the true potential of these monitors by not connecting them directly to the Mac Pro?
    Currently, I have the monitors hooked up with Thunderbolt/Mini Display Adapters to the Mac. So I guess I would just have to run just one HDMI with Thunderbolt/Mini Display from the Mac to the Switch C2G, and connect the other devices to the Switch as well.
    Jeez. Am I right? 
    What If I get an HDMI Switch with 2 Outputs instead of getting the 2 to 1 HDMI Adapter or perhaps a 4 to 2 Adapter. Heck. I'm not sure what to do here.
    I would really appreciate anyones help.
    Thank you.

  • How do I selectively  convert check boxes (Alt0168 Wingdings) but NOT Bookmarks into editable fields (from Word table)

    Acrobat X (Windows) is converting all fields from the Word table - making even the imported bookmarks editable. We just want the check boxes interactive. This has to be done on a large volume of documents, so it needs to be automated. I suspect some coding will be involved or perhaps a 3rd party app that allows one to selectively convert fields.
    Thanks!

    Ok, I found out that I need to apply the patch 5746875 to have that. But there only instruction to apply this patch on unix env. I need on Windows. Can any body help me?

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

    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, otherwise the options are renumbered to reflect the new order of items.
    I imagine this will affect any web app entry that is already using that checkbox field.
    To further illustrate what I mean here is a sample Regions checkbox field with its options:
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_0" value="ACT" />ACT<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_1" value="NSW" />NSW<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_2" value="NT" />NT<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_3" value="QLD" />QLD<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_4" value="SA" />SA<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_5" value="VIC" />VIC<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_6" value="WA" />WA<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_7" value="NZ" />NZ<br />
    I needed to add TAS to this list, cos I forgot! (Sorry Tasmania)
    When I put it after SA the list looked like this when inserted on an upload page:
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_0" value="ACT" />ACT<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_1" value="NSW" />NSW<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_2" value="NT" />NT<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_3" value="QLD" />QLD<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_4" value="SA" />SA<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_5" value="TAS" />TAS
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_6" value="VIC" />VIC<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_7" value="WA" />WA<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_8" value="NZ" />NZ<br />
    So all values after SA got renumbered, which I am sure would have affected the existing data in the webapp.
    So I had to do add it to the end of the checkbox list so no existing data was disturbed. The field then inserts on the upload page as follows:
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_0" value="ACT" />ACT<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_1" value="NSW" />NSW<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_2" value="NT" />NT<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_3" value="QLD" />QLD<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_4" value="SA" />SA<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_5" value="VIC" />VIC<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_6" value="WA" />WA<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_7" value="NZ" />NZ<br />
    <input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_8" value="TAS" />TAS
    and then reorder the fields manually so they were alpha on the upload form.
    An interesting thing to discover today.
    Keep it in mind if you are changing the options in a web app checkbox field. Always add new items at the end. Maybe you will need to do a space for any option that is deleted.
    Regards,
    Mary

    Unless your doing something fancy with the Numbers Mary it does not matter the re-shifting of the numbers.
    Do you see the name and it's data number? That's the one that matters and what the choice data is stored against, that's the actual custom field :p

  • How to change audio port output to input port on mac os x 10.9.2 to connect electric guitar on macbook pro for garageband

    How to change audio port from output to input port so that i can connect my electric guitar to play along with garageband. I couldn't the option to change it in my system preferences of sound as my mac os x is 10.9.2. So please help me!!!!!!!!!!!! I want to play electric guitar with my garageband so badly!!! :O
    Mac os x 10.9.2. ; Garageband 10.0.2

    There is no audio line input on your Mac, get a USB interface, get one that is specified for guitars.

  • Accessing input/ouyput field from report

    Hi All,
    I have one input/output field in the Screen painter.
    But when i am accessing the field from the PAI i am getting a syntax error saying that the field is unknown .
    Please give your help regarding this.
    Thanks in Advance.

    Hi Mayank Verma,
    You should declare the variable with the same name as it's in Screen Painter for that Input/Output field with the associated Dictionary type..
    Once you will declare it the screen will pass the data you entered in screen to the varible you declared in your program..
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

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

    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 No there exists any Billing Document No in the output then the Checkbox should be inactive but if the Billing document coloumn is empty for a particular Sales Document No then only the Checkbox field should become active.
    Kindly guide me on how to make this checkbox field inactive.
    Waiting for your reply.
    Warm Regards,
    N.Jain

    Hello,
    Follow the below steps:
    1.Define as--> GS_STATUS TYPE SLIS_STATUS,
    2.check layout check box fieldname is not initial.
          then set the status according to your logical conditions
          GS_STATUS-FLG_CHECKBOXES_ACTIVE = 'X'
    Hope this would help you.
    Let me know your feedback.
    Regards,
    Raju

  • How to keep the input field from PDF Form to RTF

    Hi,
    I'm looking to keep the input fields from my pdf form document to Rtf so I can use them in my Rtf document.
    Regards,
    Alan

    Good day Alan,
    I'm afraid that's not possible as form fields in a PDF file have no equivalent either in a Word format (.docx/.doc) or within the Rich Text Format (.rtf).  That data is simply stripped during the conversion as there's no equivalent available.
    Kind regards,
    David
    Acrobat Community Manager
    Adobe Systems

  • Fetching a URL  from a socket output or input stream in a proxy server

    We have written a proxy server in java .
    It connects with a client on some local port and forwards the request of the client to main server through socket connections.
    The code is as follows...
    * BasicProxyServer.java
    * A simple multithreaded proxy server.
    * A client connects to theserver. The server starts a
    * separate threads for data flow though two Sockets.
    * The first socket communicates with the socket of the client.
    * The second socket is used to communcate with the main server
    * for which this server is a proxy. The sockets are connected by pipes.
    import java.net.*;
    import java.io.*;
    public class BasicProxyServer {
         private static int serverPort;
         private static String primaryServerHost;
         private static int primaryServerPort;
         // 1st arg: port to listen on
         // 2nd arg: primary server IP
         // 3rd arg: primary server port
         public static void main(String [] args) {
              serverPort = Integer.parseInt(args[0]);
              primaryServerHost = args[1];
              primaryServerPort = Integer.parseInt(args[2]);
              BasicServer bserv = new BasicServer(serverPort,primaryServerHost,primaryServerPort);
    class BasicServer extends Thread {
         private int serverPort;
         private String primaryHost;
         private int primaryPort;
         private ServerSocket servSock = null;
         public BasicServer(int port, String primSrv, int primPort) {
              serverPort = port;
              primaryHost = primSrv;
              primaryPort = primPort;
              start();
         public void run() {
              Socket clientSock = null;
              Socket primaryServerSock = null;
              try {
                   servSock = new ServerSocket(serverPort);
              catch (IOException e) {
                   e.printStackTrace();
              while(true) {
                   try {
                        clientSock = servSock.accept();
                        primaryServerSock = new Socket(primaryHost, primaryPort);
                        PipedInputStream fromClient = new PipedInputStream();
                        PipedOutputStream toMainServer = new PipedOutputStream(fromClient);
                        PipedInputStream fromMainServer = new PipedInputStream();
                        PipedOutputStream toClient = new PipedOutputStream(fromMainServer);
                        Talk clientToMainServer = new Talk(clientSock, fromClient, primaryServerSock, toMainServer);
                        Talk mainServerToClient = new Talk(primaryServerSock, fromMainServer, clientSock, toClient);
                        clientToMainServer.start();
                        mainServerToClient.start();
                   catch (IOException e) {
                        e.printStackTrace();
         // Override finalize() to close server socket
    protected void finalize() {
    if (servSock != null) {
    try {
    servSock.close();
    } catch (IOException e) {
    e.printStackTrace();
    servSock = null;
    class Talk extends Thread {
         private Socket incoming;
         private Socket outgoing;
         private InputStream in;
         private OutputStream out;
         private InputStream from;
         private OutputStream to;
         Talk(Socket inSock, InputStream in, Socket outSock, OutputStream out) {
              this.in = in;
              this.out = out;
              incoming = inSock;
              outgoing = outSock;
         public void run() {
              int aByte;
              try {
                   from = incoming.getInputStream();
                   to = outgoing.getOutputStream();          
                   while(( aByte = from.read()) != -1 ) {     //read from socket
                        out.write(aByte);     // write to pipe`
                        // read the byte from the pipe
                        to.write(in.read());          // write it to the output socket stream
                        to.flush();
                   to.close();
                   from.close();
                   if(incoming != null) {
                        incoming.close();
                        incoming = null;
                   if(outgoing != null) {
                        outgoing.close();
                        outgoing = null;
              catch (SocketException e) {
              // there is one for a closed socket. Seems to have no effect.
              //     e.printStackTrace();
              catch (IOException e) {
                   e.printStackTrace();
    Here,when client gives any URL in the address bar in the web browser the request is forwarded to this proxy server.
    We want to fetch the URL which client enters in order to implement content filtering and also store the most visited sites by each user .
    But we don't know how to fetch the URL from the socket input or output stream.
    Can you suggest any suitable solution for the same??

    Shailesh24 wrote:
    We want to fetch the URL which client enters in order to implement content filtering and also store the most visited sites by each user .
    But we don't know how to fetch the URL from the socket input or output stream.
    Can you suggest any suitable solution for the same??Yes. Write a proxy server that actually speaks HTTP.

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

    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 no simple/cheap converter out there. You will have to look into either purchasing a canopus device or get a computer which will support a firewire or video input.
    Thank you,
    Stephen Apple
    Independent Broadcast

  • Auto-filling proceeding fields from user's initial input - Possible? How?

    Hi there,
    I'm quite new to LiveCycle (and scripting). That being said, I'm trying to create some automation in forms for work.
    I've been asked to create a product order form in which the Order Administrator would choose the product from a list of Product Codes. Once s/he chooses the Product Code [numeric field] from this list, the Product Description [text field] appears right next to it, and then the Product Price [numeric field] would populate the last field. I will duplicate this over multiple rows into a table, then autosum the last column which should be filled with various product prices, taxes, S&H, etc. (autosumming the Price field is easy enough - this is not my issue so let's just focus on the major concern of auto-filling descriptions and prices for now...)
    For e.g.
    Product Code
    Description
    Price
    6759-85746-098 [Order Admin chooses from list]
    Large textbook (x1) [Automatically inputs based on Product Code]
    $30.00 [Auto-inputs from Product Code]
    5864-98723-124  
    Black pens (x10/set)
    $5.25
    I've tried for days to figure out how to script this, going through numerous forums, printing off reams of Adobe help documents, trying to learn Java and/or FormCalc in solitude, and yet I still can't figure this out. To explain, I'm not a coder/developer but a print-focused graphic designer.
    If anyone knows how I can solve this I'd be very grateful. I'm now wondering if a) I need to somehow connect (bind?) the information in an external database or sheet (Excel?), b) figure out some elaborate script that would automate these descriptions and prices, and/or c) bang my head against the wall in fruitless frustration.
    Thanks for any help anyone can offer.

    A simple example.  May not meet your needs depending on the number of products.
    Droplist named ProductCode
    Text Fields named Description and Price
    Java Script the droplist on the change event
    if (xfa.event.newText=="5864-98723-124")
    {Description.rawValue="Black Pens"
    Price.rawValue="$5.25"

  • Converting a timestamp field from GMT to EST

    Hi
    I have to convert the timestamp field coming from the source from GMT to EST.
    CREATE TABLE X
    TS_FIELD TIMESTAMP(6)
    INSERT INTO X VALUES('07-JAN-13 02.00.06.597000 PM');
    INSERT INTO X VALUES('07-FEB-13 02.00.06.676000 PM');
    INSERT INTO X VALUES('07-MAR-13 12.36.14.260000 PM');
    INSERT INTO X VALUES('07-APR-13 12.36.56.713000 PM');
    INSERT INTO X VALUES('07-MAY-13 03.46.48.800000 AM');
    I need to convert the above timestamp field from GMT to EST in 24hour format.
    I tried it doing,but I am getting hours conflict with the day error.
    I have tried the below one and milliseconds being set to zero's
    select X,
    TO_timestamp(TO_CHAR(CAST(FROM_TZ(CAST(TO_DATE(TO_CHAR(X,'YYYY-MM-DD HH24:MI:SS.SSSSS')
    ,'YYYY-MM-DD HH24:MI:SS.SSSSS')
    AS TIMESTAMP),'GMT') AT TIME ZONE 'US/EASTERN' AS DATE),'YYYY-MM-DD HH24:MI:SS.SSSSS'),'YYYY-MM-DD HH24:MI:SS.SSSSS')
    FROM X
    Please help me in this regard.I am trying in parallel as well.
    Thanks in advance
    KVB

    Not clear what are you trying to achieve..Why are you casting as DATE?
    SQL>  select ts_field,
      2          cast(from_tz(ts_field,'GMT') AT TIME ZONE 'EST' as timestamp) t
      3   FROM X;
    TS_FIELD                                                                    T
    07-JAN-13 02.00.06.597000 PM                                                07-JAN-13 09.00.06.597000 AM
    07-FEB-13 02.00.06.676000 PM                                                07-FEB-13 09.00.06.676000 AM
    07-MAR-13 12.36.14.260000 PM                                                07-MAR-13 07.36.14.260000 AM
    07-APR-13 12.36.56.713000 PM                                                07-APR-13 07.36.56.713000 AM
    07-MAY-13 03.46.48.800000 AM                                                06-MAY-13 10.46.48.800000 PM

  • How to split all the fields of output ls-l from an internal table

    Hi all,
    Using ls-l command i have brought the file attributes of a file like its read and write permissions,creation date ,path etc in a internal table.
    Now how to split all these fields from the internal table or what should be the splitting criteria.
    The field contents of internal table are like this:
    -rw-rw----    1  devadm     sapsys     18360    apr  29......so on
    I want to split this into different fields.
    Kindly suggest.
    Thank You.

    Hi,
    I think the delimiter will be space. For date alone (Apr 29) you need to concatenate after the string has been split.
    Thanks and regards,
    S. Chandramouli

  • No records when inputting new field from linked tables.

    I have linked two tables in a report.  If I use only fields from one table, no problem.  As soon as I add a field from the other table no records are pulled.  I am using the same filed "IncidentID" in both tables as a link.  If I attempt to pull the "IncidentID" from the second table no records are pulled.  There does not appear to be any key fields or indexes in either table if that helps.

    Here are the SQL queries.  The first string is without any fields from "WorkLog".  The second is after adding the field "WorkLog.Incident Number" to the form.
    SELECT "HPD_Help_Desk"."Incident Number", "HPD_Help_Desk"."Reported Date", "HPD_Help_Desk"."Direct Contact Site", "HPD_Help_Desk"."Assignee", "HPD_Help_Desk"."Status", "HPD_Help_Desk"."Last Modified Date", "HPD_Help_Desk"."Description", "HPD_Help_Desk"."Priority"
    FROM   "HPD:Help Desk" "HPD_Help_Desk"
    WHERE  "HPD_Help_Desk"."Status"='Pending' AND ("HPD_Help_Desk"."Assignee"='Debbie Kiolbasa' OR "HPD_Help_Desk"."Assignee"='John L King' OR "HPD_Help_Desk"."Assignee"='Ligaya Plumlee' OR "HPD_Help_Desk"."Assignee"='Ryan Keeler')
    ORDER BY "HPD_Help_Desk"."Assignee"
    SELECT "HPD_Help_Desk"."Incident Number", "HPD_Help_Desk"."Reported Date", "HPD_Help_Desk"."Direct Contact Site", "HPD_Help_Desk"."Assignee", "HPD_Help_Desk"."Status", "HPD_Help_Desk"."Last Modified Date", "HPD_Help_Desk"."Description", "HPD_Help_Desk"."Priority", "HPD_WorkLog"."Incident Number"
    FROM   "HPD:Help Desk" "HPD_Help_Desk" INNER JOIN "HPD:WorkLog" "HPD_WorkLog" ON ("HPD_Help_Desk"."Incident Number"="HPD_WorkLog"."Incident Number") AND ("HPD_Help_Desk"."InstanceId"="HPD_WorkLog"."InstanceId")
    WHERE  "HPD_Help_Desk"."Status"='Pending' AND ("HPD_Help_Desk"."Assignee"='Debbie Kiolbasa' OR "HPD_Help_Desk"."Assignee"='John L King' OR "HPD_Help_Desk"."Assignee"='Ligaya Plumlee' OR "HPD_Help_Desk"."Assignee"='Ryan Keeler')
    ORDER BY "HPD_Help_Desk"."Assignee"
    BTW - The "Left Outer Join" receives the errors noted in above post whereas the default "Inner Join" just comes back with empty records.
    Unable to use the third party tools due to restrictions on loading software.  Also we are unable to access the lower level database.
    Thanks

Maybe you are looking for

  • Special Character Parentheses

    I'm having problems with the parentheses. SELECT textwords FROM SOMETABLE WHERE CONTAINS (TEXTWORDS, 'NAIL HAMMER \(GLUE\)%',1) > 0 SQL> / TEXTWORDS NAIL HAMMER (GLUE) I get what I expected. SELECT textwords FROM SOMETABLE WHERE CONTAINS (TEXTWORDS,

  • Mass Update of Material Master

    Hi, I have to migrate Material Master from Legacy System to SAP. And data would be getting populated in the following tables: 1. MARA 2. MAKTX 3. MARC 4. MVKE 5. MLAN 6. MARD 7. MBEW 8. PROP 9. MVER I checked option of LSMW -> Direct Input Method ->

  • How do i share iTunes between two users on same iMac

    Hi, i had 1 account with Admin privileges on our iMac from which the kids listened to iTines. I just created a separate user account for my kids with standard privileges and moved the iTunes directory from under my /users/ area to the /Users/Shared d

  • CV03N error

    Hi Gurus, Please help. Users are encountering error upon viewing of JPG in tcode CV03N. error "File c:\temp\img\_XXXX.jpg cannot be created" Please advice on what caused the error. Thank you.

  • Photo albums not appearing in Safari on iPad

    Greetings, Using iWeb, I have successfully dragged photo albums onto a page and published the page (part of several). The published page displays and works properly when viewed in Safari on any standard laptop or workstation. The albums do not displa