Validations on table control (Sum of amount field shuold not cross actual amaount))

Hi Experts,
                  I want to Provide Validations on Table control with Wizard (it should be like when i enter  percentange  in one column  it will caluculate the amount and show it in another column and the sum of that Amount Should not cross the Actual amount).

hi Jim,
In the PAI of the Screen A ...
when sy-ucomm = 'BACK'.
Transfer  the values in the table control to an internal table itab.
in the PBO of Screen B.
Move the values in itab to table control.
Thanks,
Kasiraman R

Similar Messages

  • Search help for a field in table control based on another field value

    Hi,
    I want to attach the Search help for a field in table control based on another field value.
    Please help me asap.
    Will be highly rewarded

    HI,..
      Check these links
    search help in table control
    Re: How to create Search Help for a field in Table control !!
    How to create Search Help for a field in Table control !!
    F4 Help In Table Control
    Control table F4 help
    Problem in F4 help in screen field
    check this code
    DATA: BEGIN OF it_value4 OCCURS 0,
             TEXTCODE  LIKE  ZXX-TEXTCODE,
             TEXTDESC  LIKE  ZXX-TEXTDESC,
           END OF it_value4.
      progname = sy-repid.
      dynnum   = sy-dynnr.
             SELECT TEXTCODE TEXTDESC
               FROM  xxxx
               INTO CORRESPONDING FIELDS OF TABLE<b> it_value4</b>
              WHERE  LOSS_CODE =<b> IT_VALUE1 .</b>
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'TEXTCODE'
          dynpprog    = progname
          dynpnr      = dynnum
          dynprofield = 'ITVALUE-TEXTCODE'  "-->UR  4 th filed value in screen
          value_org   = 'S'
        TABLES
          value_tab   = it_value4.
    endmodule.
    Message was edited by:
            veereshbabu ponnada

  • Tax Code and Tax Amount Fields are not appearing

    Hi to all,
    While making Downpayment Request (F-47) Tax Code and Tax Amount Fields are not appearing in the screen.
    for more clarity...
    suppose PO is 1150 include all taxes ( Amount 1000+ Tax Amount 150)
    as per agreement with vendor we need to raise DR for 1150 and based on DR we will make downpayment to vendor (F-48)
    But in F-47 screen Tax Code and Tax Amount fields are not appearing.
    Could any body help me on this??
    Thanks in Advance
    Regards,
    Schilukuri

    why you are looking for tax code field, pay gross amount as per PO, same amount will update in PO history as well as Vendor account.
    Even if you find the tax code field and check the tax code check box, system will not calculate tax  at the time of down payment or down payment request.
    Please remember that by default standard SAP provides the tax code field in f-47 or F-48.

  • Main Table data load u2013 UNSPSC fields is not loading

    I am new to SAP MDM
    I have the main table data that includes UNSPSC field. UNSPSC (hierarchy) table is already loaded.
    It works fine when I use import manager with field mapping and value mapping. (UNSPSC field value mapping is done).
    When I use the import server using the same map to load the main table data with UNSPSC field (in this case the UNSPSC field value is different but UNSPSC lookup table has that value) , UNSPSC field is not loading but all other fields are loaded including images and PDF's with new values
    If I go to the import manager and do the value mapping again for the UNSPSC field with the new value then save the map and use the import server to load the data then it is loading correctly.
    My question when we use the import server, main table data with UNSPSC codes value will be different  each time and it doesnu2019t make sense to go to the import manager and do the value mapping and saving the import map  before loading the data again.
    What I am missing here?.  Anyone can help me?

    Could anyone clarify this?
    Issue: UNSPSC field value mapping automatically by using the import server while loading the Main table.
    This issue was resolved yesterday and still works fine with the remote system MDC UNSPSC.
    Is there anyn settings in the ' Set MDIS Unmapped value handling'? (Right click on the field Product hierarchy  field at the destination side). By default it is setting to 'Add' for both the working remote system as well as the non working remote system
    SAP MDM 5.5 SP6 and I am using the standard Product Master repository
    I tried this in a different remote system MDC R/3 & ERP and it worked some time and didnu2019t work later. If it is working then during the UNSPSC code field mapping,  it automatically maps the values also.
    The destination side the main table Products and the destination side [Remote key] field is displayed.
    Source file, I have only 3 fields and they are Product No, Product Name and UNSPSC Category and UNSPSC Category is mapped to the destination field Product Hierarchy field(lookup hierarchy)
    Do I have to map any field  or clone any field and map to the [Remote Key Field]  in the destination side? If yes, what field I have to clone and map it to the Remote Key filed? Is there any other settings necessary. I am not using any matching with this field or any other field.
    Steve.
    Edited by: SteveLat on Oct 8, 2009 11:57 PM
    Edited by: SteveLat on Oct 9, 2009 12:03 AM
    Edited by: SteveLat on Oct 9, 2009 12:47 AM

  • Sum of amount field in the Query

    Hello folks,
    I have a amount field in the query, along with the amount field I also need to show sum of all the rows for this amount fields, can some one guide which is best way of doing it?
    Thanks,
    KK

    Thanks for the response's...Rama, Prasad and Sandesh!
    I have changed the Property of the Amount field (SAP Standard Infoobject) to Calculated Result as 'Summation' but when I tried to save the changes in Query designer I am getting following error
    runtime error '91'
    Object variable or with block variable not set
    runtime error '4XX'
    ActiveX component can't create object
    And its disconnecting from BEX Server...how can I resolve this error?
    Thanks,
    KK
    Edited by: kumar K on Aug 21, 2008 10:46 AM

  • Amount field is not populating properly

    Expert's,
    Here is an issue where one of the amount field not populating properly.For some opportunities the amount field will be just displyed as'0' but for some opprtunities the amount field is displaying as'$0'.The data we are pulling is from CRM.
    Thanks in advance.
    vasu.

    Hi,
    looks like extenstion of your last thread
    did you already have a look in data in cube?just to make sure,try to display cube's data using List cube transaction .Take this amount field,corresponding Currency Key,and you rmost impotant characteristics...and check whether all records are having entry in 'currency' column?

  • Table Control on a report selection screen -not a dialog transaction screen

    Hi
    Does anyone know of a way to have table control functionality on a report selection-screen? The program needs to be able to run as a background job (ie cannot be a dialog transaction) and we need to be able to save variants with the selection-screen values.
    Any help would be appreciated.
    The key point is we want to allow the user to enter a dynamic number of rows of table data on the selection-screen, save a variant containing that data and execute the program with the variant as a background job.
    Thanks
    Nicole Knight

    Hi Nicole,
    The main problem is how to persist the data.  If you are not able to create a couple of tables then you could always utilise TVARV instead.  On a similar line to my original post you could have the button call a dialog transaction.  In here you could do your normal GUI table control.  When saving the data simply transpose each column into a separate select-option held on TVARV keyed by the 'variant name' + fieldname.  Then retrieve and transpose this back when executing the report.
    Other methods could be storing the data in cluster xy (see EXPORT TO DATABASE command).
    This seems a bit overkill for what would be a couple of maintenance dialogs.
    Cheers,
    Pete
    PS. The view cluster is just a way of hierarchically performing table maintenance across multiple related tables.  It offers a good UI for this purpose (header and item config tables) and is utilised extensively in the IMG.

  • Table name for the AMOUNT field in header details of costomer invoice

    hi experts,
                    I need the table name for the field AMOUNT(wrbtr) which is in header details in fb70 tcode .I have checked many tables like bseg bsid,  there its showing the amount but at item level.

    Hi,
    the table behind structure INVFO is RBKP (Header level).
    For item level you have table RSEG.
    These tables refer to MM.
    Once the MM documents are completed and you post the corresponding invoice RBKP data goes to BKPF and RSEG data goes to  BSEG data.
    The relattion between MM(RBKP/RSEG) and FI(BKPF/BSEG) documents is in field BKPF-AWKEY. This field usually contains (RBKP-BELNRRBKP-GJAHR that is MM documentMM year).
    e.g. (BKPF-AWKEY = 51056024412009)
    Best regards.

  • How to populate the next screen based on the previous screen table control

    Hi Experts,
            Is this possible to generate the next screen values based on the table control values in previous screen.
    My Requirement is
    In my First screen i m having 5-7 regional offices in table control and also amount field for each regional offices.(amount field is editable)
    User has to enter amount field for Regional office..based on the amount field i need to process the next screen. For Ex if user is entering  amount for 3 regional offices out of 7 regional offices then i need to get the screen for the 3 regional offices..
    Pls suggest me how to do this..
    Regards,
    Zakir

    Hi Zakir,
    Do you have any button for calling the second screen after entering amount in the first table control screen or you have to call the screen on pressing enter on the table control?
    You will have to handle it in the PAI of the table control loop.Get data entered in the table control in your internal table of table control.You can prepare the data passed to the next screen from this internal table. Fill the second screen elements and Use CALL SCREEN XXX. XXX is your second screen no.
    Thanks,
    Pawan

  • How to update and retrieve the table control entries and field entries.

    Hello everyone,
    i have a requirement,
    i have    company code , plant, fiscal year, posting period  fields in the selection screen and then below that i have a  table control which contains 4 fields  invoice no., check number, check date and amount.
    i have to enter the values and when i press  SAVE button , these values have to update in a custom table which i had created.
    please send me the coding how to do this object.
    will be rewarded.
    thanks in advance.

    Hi Suresh
      this is actual requirement
    in the CAT2.
    1. Add a new column for WBS description and derive the value as per the FS
    2. Retrieve project number and description and update in the column specified
    3. When a service order is selected it should do the same for 2.
    4. Finally repeat for the worklist view (which is the section above)
       here i am able to display values at data entry area
    for service order and network but not worklist area ?
        updation is not coming, can u plz go throw it..
    Thanks
    Chinna

  • Problem with the date field in Table Control

    I have created a table control in my module programming. One of the column in the table control is a date field which is I/O field.
    Now if I enter a value in date field column and hit enter the date field is reset. I dont want the field to get reset and accept valid date field.
    I have set type of the column as DATS and I havent used any dictionary fields. The column is from the internal table in the program.
    Please suggest

    In your PAI, in the LOOP AT <itab> did you
    - check date validity
    - update internal table
    * Sample
    LOOP AT itab.
      FIELD itab-field MODULE checkfield.
      MODULE updateitab.
    ENDLOOP.
    Look also at SAP documentation like [Table Controls|http://help.sap.com/abapdocu/en/ABENTABLE_CONTROL1_ABEXA.htm] or [Table Controls in ABAP Programs|http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dbac9f35c111d1829f0000e829fbfe/frameset.htm]
    Regards,
    Raymond

  • Get table control field length

    in table control i have a field with with char length 15  but i have to give a validation if lenght not equal to 6 giv error messgage with out changin the field length of table control
    i used    
                    DESCRIBE FIELD gi_pmpb_bchid-batchid LENGTH ln IN CHARACTER MODE.
                     IF ln <> 6.
                         MESSAGE e013(zc8isms).
                      ELSE.
    but here length is coming as 15 only even if i enter 6 digits in field on TC
    plz help

    DESCRIBE returns the attributes of a data object. Length operators, like STRLEN, on the other hand, return a length of the data content.
    if strlen( <mytable-fieldname> ) gt 6.
    etc...
    or lv_len = strlen( <mytable-fieldname> ).
    if lv_len (of type i) gt 6.
    etc...
    put this in code, press F1 on STRLEN for informative help on finding lengths, whether field or table.

  • How to add new field to table control data not displayed

    hi
    I have added some nwe fields to already existing table control added three new fields...
    though the recoreds are inserted in teh table properly with the three new fields user id data and time fields
    but on display only the data is not shown in these three columns though the data is coming in internal table...but not to the screen output
    pls suggest where the problme may be
    nishant

    First try the small button Configuration on top right of the table control, as displayed when you run the program. Hit 'Administrator' and see if the fields are checked as invisible. Uncheck them, activate and save.
    If the fields are not in that list at all, then check if the table control is initialized for the screen you use. For example
    CONTROLS: tc_ent_lines TYPE TABLEVIEW USING SCREEN '0100'.
    but you copied your screen and use the same table control in the new screen 0200. Then all you have to do is
    REFRESH CONTROL 'TC_ENT_LINES' FROM SCREEN '0200'.
    before you show the screen.

  • How to refer to a particular field in Table Control.

    Hi,
            How can we refer to a particular field in a table control like 5th row 6th column. The actual requirement of mine is, i have a column with listbox. For each row i need to have different values for the list box. So i need to refer to that particular field in the column and assign the list values. Please kindly help.
    Regards,
    Vinay.

    hi,
    TABLE CONTROL -
    http://www.geekinterview.com/Interview-Questions/SAP-R-3
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa4735c111d1829f0000e829fbfe/content.htm
    http://www.sapgenie.com/abap/example_code.htm
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    Eg of table Control:
    http://members.aol.com/_ht_a/skarkada/sap/table_control/
    table_control.htm
    http://www.sapdesignguild.org/resources/MiniSG/3_Managing/3_Functions_Table_Control.htm
    Table control in BDC
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/45/adee2396f711d1b46b0000e8a52bed/frameset.htm
    Regards,
    Laxmi

  • How to read the field value from Table Control

    Hello Experts,
    I am creating my first Table Control Screen. Basically I have to create a screen (102) with a table control which has 2 fields: A_QTY, B_QTY and 2 Buttons: SAVE, EXIT.
    When Clicked on 'SAVE' the data (MATNR) from a previous screen (101)  and the data (A_QTY, B_QTY) from the new screen (102) should be saved into a Z-table.
    Internal table t_data has 3 fields.
    MATNR
    A_QTY
    B_QTY.
    Table Control TC_RACK was declared like this:
    controls tc_rack type tableview using screen 0102.
    I/0 Fields:
    A_QTY type ZQTY.
    B_QTY type ZQTY.
    The screen Flow Logic:
    process before output.
    module status_0102.
      loop at t_data into w_data with control tc_rack.
      endloop.
    process after input.
      module exit_0102 at exit-command.
      loop at tc_rack.
      endloop.
    module user_command_0102.
    module status_0102output.
      set pf-status 'STATUS_102'.
      set titlebar 'TITLE_102'.
      describe table t_rack lines tc_rack-lines.
    endmodule.                 "status_0102 output
    process after input.
    module user_command_0615 input.
    case ok_code.
       when 'SAVE_RK'.
       when others.
    endcase.
    endmodule.                 "user_command_0102 input
    Now for eg, when the users enter values for A_QTY and B_QTY like this:
    A_QTY     B_QTY
    1000         2000
    3000         4000
    How can I read these values and pass them to T_DATA so that I can save it into Z-table?
    I greatly appreciate your help.
    I've gone through some previously posted threads and could not understand because my knowledge in this area is preliminary.
    Thanks a lot.
    Could you please let me know
    Edited by: dev a on Jan 13, 2010 2:46 PM

    Hi dev a
    You should use
      DATA: lv_name(30) TYPE c.
      FIELD-SYMBOLS: <QTY> type ZQTY.
    GET CURSOR FIELD lv_name.   "Get the field name in table control
    check sy-subrc = 0.
    assign  (lv_name) to <QTY>.  "Here you get the value in <QTY>
    check sy-subrc = 0.
    Also use <your table control>-current_line to get the table index uo're currently on.
    Hint: Do not use GET CURSOR LINE if you want to get table index since this gives you the line relative to dialog screen
    Good luck
    Dean Q.
    Edited by: Dean Q on Jan 13, 2010 11:11 PM

Maybe you are looking for

  • Get default desktop instead of custom settings after reboot.

    Since I upgraded to Lion, I get the default photo of the Andromeda Galaxy photo on my desktop when I boot even though under Desktop Settings, I have it set to display new photos every half hour.  Once I manually select a photo under settings, then it

  • Will using a SATA extension reduce performance?

    I want to extend two Sata data cables outside of my case to allow cloning and testing the clone without opening the case and connecting and diconnecting cables from the motherboard.. (I prefer cloning to making image backups.) Will that affect perfor

  • Photoshop CS5 v's Photoshop CS5 Extended

    Please can anybody help - in plain English. What extra features would I get if I purchased Photoshop CS5 Extended over Photoshop CS5. From what I can make out its the Repousse tool. Is there anything else I would miss out on. Ta

  • Buying MIcrosoft Office for new iBook

    Hello, I don't know if this is the right place for this question, but I couldn't find anywhere else to ask it. I just got a new G4 iBook (haven't even booted it up yet!), and I want to get started on the right foot. (My G3 iBook's hard drive is clutt

  • Copyright laws

    I have a question. My previous post was taken off because I was asking about album covers. Please explain this part of the copyright laws. If I bought the CD from a store years ago and I download certain tracks from the CD to my IPod, how and I viola