Making Checkbox complete a function? HELP

First and foremost, forgive me if I do not explain this in technically correct fashion. I have enough knowledge to understand, but not enough to be dangerous. In other words, I probably have no clue what I am talking about!
I am working with Adobe Xi Pro. I have a form that I have four fields. 1. CostVehicle 2. Trade 3. Rebate 4. TaxValue
I have discovered how to calculate the TaxValue box to where CostVehicle-Trade-Rebate will give me the Taxable Value
However, I want to add a checkbox behind the Taxable Value. The scenario I would like to happen is as follows:
If the check box is selected noting an AOD (act of donation) then the TaxValue field will either equal 0.00 or state AOD but when the checkbox is NOT checked then I would like my calculation to remain the same from CostVehicle-Trade-Rebate
Is this possible? I have done some searching and feel like a javascript would be what I need to write to make this function to happen. However, again I am not sure whether to javascript or not to javascript?!
Any information would help!
Many thanks,
Angela
Message was edited by: aboseman

Hello David,
You can definitely achieve this using F4IF_INT_TABLE_VALUE_REQUEST & you have to pass MULTIPLE_CHOICE = 'X'.
This will allow the user to select multiple values from the hit list.
TABLES spfli.
SELECT-OPTIONS: s_carrid FOR spfli-carrid NO INTERVALS.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_carrid-low.
  TYPES: BEGIN OF ty_line,
           carrid   TYPE spfli-carrid,
           carrname TYPE scarr-carrname,
         END OF ty_line.
  DATA: it_list TYPE STANDARD TABLE OF ty_line,
        w_return_tab TYPE DDSHRETVAL,
        i_return_tab TYPE STANDARD TABLE OF DDSHRETVAL,
        v_repid TYPE sy-repid,
        v_dynnr TYPE sy-dynnr.
  v_repid = sy-repid.
  v_dynnr = sy-dynnr.
  SELECT carrid carrname
              FROM scarr
              INTO TABLE it_list.
  IF sy-subrc = 0.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
        retfield        = 'CARRID'
        dynpprog        = v_repid
        dynpnr          = v_dynnr
        dynprofield     = 'S_CARRID-LOW'
        value_org       = 'S'
        multiple_choice = 'X'
      TABLES
        value_tab       = it_list
        return_tab      = i_return_tab
      EXCEPTIONS
        parameter_error = 1
        no_values_found = 2
        OTHERS          = 3.
    IF sy-subrc = 0.
      s_carrid-sign = 'I'.
      s_carrid-option = 'EQ'.
      LOOP AT i_return_tab INTO w_return_tab.
        s_carrid-low = w_return_tab-FIELDVAL.
        APPEND s_carrid.
      ENDLOOP.
    ENDIF.
  ENDIF.
BR,
Suhas
Edited by: Suhas Saha on Mar 9, 2010 11:04 PM

Similar Messages

  • Need PP Functional help for some legacy fields

    Hi all,
    I am a BW consultant. I need to replicate in SAP-BW some reports that are currently in a legacy system (non SAP). I have identified the functional area for those reports as PP. I need a little functional help from you guys to find out what some fields in the legacy system mean in SAP. Once I know the R/3 fields (and source tables if someone can tell me), I can move forward with mapping those fields into BW objects and the rest of the process.
    The reason why I am seeking help from here is, unfortunately our functional team is not available right now and their availability is indefinite. So I just want to keep myself busy till they are back.
    Well, here are the fields that I need help for (for now)
    The report is for Daily summary of activities at a plant
    Work order process
    Work order type
    Daily Created Bags
    Daily Capacity Bags (Bags per Hour Rate* Available Hours)
    Daily Count of Work Order Number
    Goods issued for work order completion
    Goods finished
    Please help me identify what R/3 fields (and their tables) correspond to the above legacy fields
    Points WILL be assigned for helpful answers
    Thank you

    Hi,
    Work order process - I assume this is the set of operations for the order - AFVC (table)
    Work order type      - AUFK - (Field) AUART data needs to be fetched for AUFNR(Work order number)
    Daily Created Bags - MSEG - data needs to be fetched for BWART = 101 or 102 and AUFNR(Work order number)
    Goods issued for work order completion - MSEG- data needs to be fetched for  BWART = 261 and AUFNR(Work order number)
    Goods finished - MSEG - data needs to be fetched for BWART = 101 or 102 and AUFNR(Work order number)
    Regards,
    Prasobh

  • Everytime i eject my ipod and reconnect it all my music is gone. and sometimes while i try adding music to it. itunes completely freezes. please help. and sometimes when i plug it back into my PC i have to rename my ipod and such

    Everytime i eject my ipod and reconnect it all my music is gone. and sometimes while i try adding music to it. itunes completely freezes. please help. and sometimes when i plug it back into my PC i have to rename my ipod and such

    Antivirus has a tendency to freeze iTunes sync Operation with iPod Classic, causing a timeout, which corrupt your iPod filesystem, so when iTunes can't read the iPod, it is pointing to this problem. Other causes is when your iPod hardisk is dying, or your battery is dying causing hardisk crashes.
    My suggestion.
    Connect your iPod to the PC and run chkdsk, to fix any iPod diskerror, then disconnect it, after chkdsk complete.
    Disconnect your PC from Internet. (just to make sure no nasties creep into your system while you syncing.
    Stop the Antivirus program
    Connect your Ipod to the PC
    When iTunes Open up, Restore your iPod please, this is for iTunes to map correctly, to fix the corrupted filesystem.
    When Restore complete, eject the iPod and reconnect again.
    Sync your ipod, preferably manually Manage in small batches and disconnect after every batch, to check that all is well, since you got such a huge library.
    When all sync is complete, and iPod disconnected, start back your Antivirus and connect back the Internet.
    If this doesn't resolve your problem, then let me know.
    Good Luck!

  • Pages '08 will not complete save function. I must force quit to save.

    Pages '08 will not complete save function. I must force quit to save.

    When saving, try "Save As" but make sure "Include preview in document" is NOT selected.

  • When I try to download games eg. dreamland hd light it says the followingl: your request cannot be completed. Please help., When I try to download games eg. dreamland hd light it says the following: your request cannot be completed. Please help.

    When I try to download games eg. Dreamland HD light it says the following: your request cannot be completed. Please help.

    Honestly, these are WAGs but they're all that I can think of.
    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    Finally, if the Restore doesn't work, let the battery drain completely.  Then recharge for at least an hour and Restore again.

  • Replace function help

    Hi all, sry for post sql problens in APEX forum, but i realy need help for this...
    I´m trying to replace : for , to make a select where in () with more then one value... but the replace function its not work with more then 1 value...
    like this
    select name from vw_requerente where id_cliente in REPLACE(:P5000_CLIENTE,':',',')in that item has this value: 71:72:73 , but all i get is a ORA: INVALID NUMBER, how can i make a replace function to work with this?
    tnks alot and sry my english.

    He also posted this in the pl/sql forum and received some good advice there:
    replace function help
    Especially the tom kyte blog portion:
    [http://tkyte.blogspot.com/2006/06/varying-in-lists.html]
    Thank you,
    Tony Miller
    Webster, TX

  • HI.I HAVE UPGRADED MY IPHONE5 TO 8.1.3. I M HAVING PROBLEMS FOR MAKING OR RECEIVING CALLS.PLZ HELP ME WAT TO DO.I HAVE DONE THE BASIC RESETTINGS,RESTORING N ALL THAT.CAN I DOWNGRADE TO THE LOWER VERSION?

    HI.I HAVE UPGRADED MY IPHONE5 TO 8.1.3. I M HAVING PROBLEMS FOR MAKING OR RECEIVING CALLS.PLZ HELP ME WAT TO DO.I HAVE DONE THE BASIC RESETTINGS,RESTORING N ALL THAT.CAN I DOWNGRADE TO THE LOWER VERSION?

    Thanks for reply,
    It's truely a disestar for me to kill my phone myself by so called bloody upgradation.
    Iwish I have not upgraded.
    I baught it from here in Bangladesh and now I’m ina mess to get at least a minimum support.
    Thanks for your valued suggessions but it didn’tmade any difference to my situation.
    So now I have an ipod in the price of an iPhone4. Crap.
    Is there any chance of fixing this bug by apple?As the same problem has already been faced by a lot of iPhone Users.

  • Hi there, i purchased an app called Top Movies. But when using it on my iPhone to buy movies, it gives me the error 'Your request could not be completed'. Please help.

    Hi there, i purchased an app called Top Movies. But when using it on my iPhone to buy movies, it gives me the error 'Your request could not be completed'. Please help.

    Ok.. I see the app now in iTunes.
    Best thing to do is email the developer of that app.
    You can do that here >  http://www.lymobilesoft.com/contact.html
    Make sure and tell them exactly what the error says: 
    it gives me the error 'Your request could not be completed'.
    Instead of using a third party app, you can download movies directly from the iTunes store.

  • Making all named member functions of an actionscript class avlbl to ExternalInterface automatically

    Making all named member functions of an actionscript class available to ExternalInterface automatically :
    I am trying to custom-tweak the as3 compiler to generate instructions to register all functions in the ClassDefinitionNode to ExternalInterface.
    I guess the operation will have to be performed somwhere between the analyze sequences of the compiler, but am not quite able locate where.
    I have this codelet (executed for all constructors, for every non-constructor)
                    ArgumentListNode argListNode = new ArgumentListNode(
                            new LiteralStringNode(
                                    NodeMagic.getClassName(clNode)+ "." + functionCommonNode.identifier.name), 0);
                    //argListNode.items.add(new LiteralNullNode());
                    argListNode.items.add(new IdentifierNode(functionCommonNode.identifier.name, 0));
                    MemberExpressionNode mnode = new MemberExpressionNode(new IdentifierNode("ExternalInterface", 0),
                            new InvokeNode("addCallback",
                                    argListNode),0);
                    mnode.ref = new ReferenceValue(cx, null, "ExternalInterface", ObjectValue.intrinsicNamespace); //NOT TOO SURE ABOUT THIS ONE
                    constructor.body.items.add(mnode
    Any assistance would be appreciated!
    Thanks!

    Making all named member functions of an actionscript class available to ExternalInterface automatically :
    I am trying to custom-tweak the as3 compiler to generate instructions to register all functions in the ClassDefinitionNode to ExternalInterface.
    I guess the operation will have to be performed somwhere between the analyze sequences of the compiler, but am not quite able locate where.
    I have this codelet (executed for all constructors, for every non-constructor)
                    ArgumentListNode argListNode = new ArgumentListNode(
                            new LiteralStringNode(
                                    NodeMagic.getClassName(clNode)+ "." + functionCommonNode.identifier.name), 0);
                    //argListNode.items.add(new LiteralNullNode());
                    argListNode.items.add(new IdentifierNode(functionCommonNode.identifier.name, 0));
                    MemberExpressionNode mnode = new MemberExpressionNode(new IdentifierNode("ExternalInterface", 0),
                            new InvokeNode("addCallback",
                                    argListNode),0);
                    mnode.ref = new ReferenceValue(cx, null, "ExternalInterface", ObjectValue.intrinsicNamespace); //NOT TOO SURE ABOUT THIS ONE
                    constructor.body.items.add(mnode
    Any assistance would be appreciated!
    Thanks!

  • How Queues functionality helps in Service Module

    Hi,
    How Queues functionality helps in Service Module.
    how to get the queue details assign to the service call(Technician)
    Please Suggest
    Regards
    Vikram

    Sridharan,
    How to add technician to a queue.
    Employee should be user of SAP?
    Please Suggest.
    Vikram

  • I get the "Your purchase could not be completed" message, please help to verify

    I get the "Your purchase could not be completed" message, please help to verify

    If you haven't already done so, to contact iTunes Support (these are user-to-user forums) :
    - go to http://www.apple.com/support/itunes/ww
    - click on your country's flag
    - click on the Contact Support at the bottom of the left-hand column
    - click on Contact iTunes Store Support on the right-hand side of the page
    - then Purchases, Billing & Redemption

  • Guys i need to get m itunes account unlocked its stopping mefor making in app purchases please help need to make a purchase within 30 minutes

    guys i need to get my itunes account unlocked its stopping mefor making in app purchases please help need to make a purchase within 30 minutes

    If you've tried to buy something and your've been charged for it (and it's not a temporary store holding charge) but haven't received it then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • TS3798 I get this error message"your operation could not be completed" I need help figuring out why I can not access the web page.

    I get this error message"your operation could not be completed" I need help figuring out why I can not access the web page.

    amarilysfl wrote:
    "Your disk could not be partitioned. An error occurred while partitioning the disk".
    https://www.apple.com/support/bootcamp/
    If you were using Apple's BootCamp and received this message, quit it and open Disk Uility in your Applicaitons/Utilities folder.
    Select the Macintosh HD partition on the left and select Erase and Erase Free Space > Zero option and let it complete (important) this will check the spare space for bad sectors that can cause issues formatting partitions.
    Once it's completed, try creating a partiton again in BootCamp.
    If that doesn't work, then hold command option r keys down while connected to a fast internet connection, Internet Recovery should load (spinning globe) and then in that Disk Utility, select your entire internal drive and click > First Aid > Repair Disk and Permissions.
    reboot and attempt Bootcamp again.
    If you still get a error, it might be that you have OS X data on the bottom area where BootCamp partition needs to go. This would occur if you had the drive or computer for a long time or wrote a large amount of files to the drive and nearly filling it up and then reduced some, but it left traces in the area BootCamp needs to go.
    To fix this
    BootCamp: "This disc can not be partitioned/impossible to move files."
    How to safely defrag a Mac's hard drive

  • HT5622 I just brought 15$ App store card and wanted to buy a paid app but it says ''Your Purchase Could Not Be Completed" Can Somebody help me that would be helpful thank you.

    I just brought 15$ App store card and wanted to buy a paid app but it says ''Your Purchase Could Not Be Completed" Can Somebody help me that would be helpful thank you.

    Well, usually that message ends with ..."contact the iTunes Store."
    http://www.apple.com/support/itunes/contact/

  • TS1702 I just updated numbers to newest version and found that numbers quits to home screen when I tap the information icon on "function  help", it starts to load the "help" then quits  this happens on both my ipad3 & iphone5

    2/3/14: I just updated numbers to newest version and found that numbers quits to home screen when I tap the information icon on "function  help", it starts to load the "help" then quits. It happens on both my ipad3 & iphone5. I tried restarting the devices but it didn't help.

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased. http://support.apple.com/kb/ht1430
    iOS 7: Help with how to fix a crashing app on iPhone, iPad (Mini), and iPod Touch
    http://teachmeios.com/help-with-how-to-fix-a-crashing-app-on-iphone-ipad-mini-an d-ipod-touch/
    Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    Delete the app and redownload.
    Downloading Past Purchases from the iTunes Store, App Store and iBooks Store
    http://support.apple.com/kb/ht2519
     Cheers, Tom 

Maybe you are looking for

  • Looking for a good note taking app: Are there new features for the Notes app in iOS6?

    Hi, I've read that the Notes app with Mountain Lion will be available for OS X as well, and I was wondering if there will be any significant updates to the Notes app coming in iOS 6? The Notes app in Mountain Lion supports, as far as I know, text for

  • External screen for my iBook

    Dear all forumers, I am about to go to Canada to begin my university education, and realised that writting essays on my last generation iBook G4 12'', 1.33GHZ would be uncomfortable on the long term. This is why I have come to you to see what my opti

  • Help with waveform generation

    Hello, I have 2 waveforms and I'm trying to add one after another, (like an analogy of concatenation of characters). I was thinking to make a time offset of one waveform and then add them, but it didn't work well. I would appreciate some ideas. Thank

  • Suitcase Fusion 4 not launching

    I can't get Suitcase Fusion 4 to launch on my MackBookPro. I down loaded the Suitcase Fusion 4 installer, which intalls fine, the plugins are recognised in InDesign CS6, but the application it self won't launch. I've been intouch with tech support at

  • I'm having problems with my Adobe Flash Player

    flash player version 11.7.700.179 os windows 8 (32 bit) browser google chrome my problem is I have the resent flash player but everytime I go to watch a video for example episodes of tv shows it says I need to install flash player hd I go to install