Scripting calculations for subtotal and taxes = grandtotal

I have a work form that lists cost of work preformed. 4 amount fields, a subtotal field, tax, and grand total. I am having an issue collaborating the subtotal, taxes and grandtotal. I have googled everywhere just for basic FormCalc help but to no avail. Any help you can give me will be very much appreciated.
this is the script I foolishly 'thought' would work.
Subtotal - Sum(AMOUNT, AMOUNT, AMOUNT, AMOUNT)
Tax - Sum(TOTAL * .0825)
Grandtotal - SUM(TOTAL, TAX)
I have ran the syntax check on all fields no errors, but I get some extremely weird output when integers are place in the amount fields.
layout --------------
amount
amount
amount
amount
subtotal
taxes
grand total
they are all numeric fields (i don't know if all this is relevant but I'm trying to make this as easy as possible for you to troubleshoot)
thanks in advance
skyler

Sklyer,
The attached is a sample using FormCalc for what you are trying to achieve. In the future you should post requests in the LiveCycle Designer ES forum if the request does not include Barcoded Forms ES. The Designer forum is monitored more closely.
Steve

Similar Messages

  • Calculation procedure TAXINJ and tax key E1 not in table T007A

    Hi guys,
    While creatig a sales order I am getting the following error:
    " Calculation procedure TAXINJ and tax key E1 not in table T007A"
    Kindly suggest corrective measures.
    Bst regards,
    Ashok

    Dear ashok
    please check for the Tax code assignment which is determined in UTXJ condition.
    for the sales order.
    and check that tax code is defined as output TAX in FTXP.
    for country IN and Tax procedure TAXINJ.
    Thanks & regards

  • Script calculation for dimension properties

    Dear Experts,
    I am using BPC 7.0NW,
    My code in Default.lgf:
    *BEGIN
    [P_ACCT].[#B] = [P_ACCT].[A]* [P_ACCT].[C]
    *END
    Now, I want to run this calculation for dimension property wise.
    LIke i want to add dimension properties in above calculations.
    And how do i put "IF" conditions?
    Please help me ...
    Thanks alot in advance.....!

    Kumar,
    follow next steps:
    1. Create new logic file and name it "TEST" for example
    2. Use next coding in it:
    *XDIM_MEMBERSET P_ACCT = YOUR_P_ACCT_MEMBER
    *IS "YOUR_PROPERTY_VALUE"
    *REC(EXPRESSION=%VALUE%,TIME="2010.MAR")
    *ENDWHEN
    *COMMIT
    3. Validate and save your TEST.LGF
    4. Insert next coding into DEFAULT.LGF
    *INCLUDE ADD.LGF
    5. Validate and save DEFAULT.LGF
    Put your values insted of "YOUR_P_ACCT_MEMBER", "YOUR_PROPERTY_VALUE"
    This coding works for sure.
    U can use ABAP in script logic. The mechanism is described here:
    http://help.sap.com/saphelp_bpc70sp02/helpdata/en/a1/532226947C49A5B2E2BD32450CB2D1/frameset.htm
    Hope that was helpful,
    Dzmitry

  • BPC v7 for Legal and Tax Consolidation

    We need to save data by year using the legal organization structure and currency rates in place in that year.   It needs to be saved for at least 11 years for annual report purposes and tax audit purposes.  There are over 2000 entities including parents in any one years org structure.  Has anyone dealt with large entity hierarchies saved for multiple years?  What is the best way to handle a situation like this.  I know that in Hypereion Enterprise you can consolidate different years data with different organization structures but I am not sure that BPC can handle this.

    SAP BPC's Legal consolidation provides for this very issues. If you can have a look at the IFRS Starter kit for BPC 7.0, it has already the org structure that can change from period to period. The actual hierarchy itself does not change over time, but the way its consolidated is driver by an application called Ownership in which group structures can be defined.
    This will allow you to define structures that are impossible to represent in a traditional hierarchy, eg Joint venture owned by a company's two subsidiaries.
    In the IFRS Kit, there is documentation describing how consolidation works in this way.
    This same functionality is available in both MS and NW version.

  • How to show underline and overline for subtotal and total row in Cross tab

    Hi,
    I am developing cross tab report where i need to show undeline and overline in data for subtotal row and total row so as to distuingish normal rows from subtotal and total row.
    Thanks,
    Mahesh

    Hi BIPuser,
    i looked at the updated template, we need undeline on the data corresponding to subtotal row for ex. row 2.
    We have xml tag in xml data UNDERLINE_AFTER='Y' and UNDERLINE_BEFORE='Y' then we need to show underline and overline on data i.e on 121,122,123,221,222,223 ,not on ROW2.
    value1 value2
    row1 200 300
    row2 400 700
    we need underline and oveline on data 400 and 700 since it is subtotal data based on condition UNDERLINE_AFTER='Y' and UNDERLINE_BEFORE='Y'.
    Hope you understand.
    Please help!!!!!!
    Thanks,
    Mahesh
    Edited by: user13450806 on Feb 2, 2011 12:14 AM

  • I have two script. one for indesign and another for photoshop. how can i merge both scripts?

    hi all,
    i have one script for indd which convert a user selected table as JPG (1276 px width, height varies). Second photoshop script which ask user to select jpg file and then check if pixel height is less than 1018 pixel, then it enlarge canvas size(height) to 1018 px.
    how can i combine both script, any tip or how to start would be helpful? The workflow should be:
    user select the table in indd document
    table export as jpg
    script will ask to select table jpg file or if it can be automated too that would be good.
    enlarge canvas height to 1018 px
    thanks
    virender
    PS: i already read the Java scirpt tool guide pdf but unable to understood

    Hi,
    I see two possible approaches here. The most logical would be to use a BridgeTalk Object that let you execute another app js code inside yoru primary app. In your case, you start your script from within InDesign and at some point the Photoshop specific script is executed thanks to the BridgeTalk Object.
    Other option is to use either AppleScrip or VB to execute the codes while targeting the specific app.
    Eventually, you may have your PS code in some external file and call $.evalFile when of course the file has a target instuction as Peter exposed.
    Once again, I think what you need is BridgeTalk.
    FWIW,
    Loic
    http://www.ozalto.com

  • Script help for people and group sharepoint field

    Hello ,
    I want to perform a check by using javascript for people picker controls
    sudhanshu sharma Do good and cast it into river :)

    Hi,
    According to your post, my understanding is that you wanted to perform a check using JavaScript for people picker controls.
    Did you mean you wanted to make a validation of people picker control?
    You can do the steps as below.
    Just Add a content editor webpart in you list form(NewForm.aspx or EditForm.aspx) and put the script below: To add CWEP to you list form you can refer Link
    2. Add your 'Control UserField_upLevelDiv ID'(Using View Source you can get upLevelDiv  id of that contol)
    <script type="text/javascript">
    function getPickerInputElement(identifier)
    var tags = document.getElementsByTagName('DIV');
    for (var i=0; i < tags.length; i++)
    var tempString = tags[i].id;
    if ((tempString.indexOf('UserField_upLevelDiv') > 0))
    if(identifier == tempString)
    var innerSpans = tags[i].getElementsByTagName("SPAN");
    for(var j=0; j < innerSpans.length; j++)
    if(innerSpans[j].id == 'content')
    return innerSpans[j].innerHTML;
    return null;
    var PickerPerson = getPickerInputElement('Control UserField_upLevelDiv ID');
    alert(PickerPerson);
    // For Validation
    if(PickerPerson == null)
    alert('Please enter PP value.');
    return false;
    </script>
    More information:
    http://ankursharepoint.blogspot.in/2012/10/javascript-validation-of-people-picker.html
    There are some similar threads for your reference.
    http://social.msdn.microsoft.com/Forums/en-US/f1c2a651-a0fb-484d-af33-e7084439b6c8/validate-sharepoint-people-picker-using-javascript?forum=sharepointgeneralprevious
    http://social.msdn.microsoft.com/Forums/en-US/df1664c6-a799-4f2b-8f9e-ac8c915c91f6/how-to-validate-people-picket-control-at-client-side-using-javascriptdesigner-in-new-formaspx?forum=sharepointgeneralprevious
    http://social.msdn.microsoft.com/Forums/en-US/9021f00f-8830-4c3a-bdf1-03be84cfb6ca/people-picker-required-field-validation?forum=sharepointdevelopmentprevious
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Date Range Calculations for gaps and overlaps

    Oracle version: 11.2.0.3
    Platform : Linux
    Empno       position    start_dt       end_dt
         1                X            01/01/2008  01/02/2010
         1                Y           01/02/2009  12/31/2012
         1                X           02/01/2012   04/01/2013    
         1                Z           5/01/2012    12/31/2012
         1                Y           05/01/2013  present         
    I need to find the exact time period the employee worked for the company in a particular position. The query should be able to calculate the overlap/gaps accordingly
    For example in this case the result should be
    Empno  position   days    Total_Days
    1             x              1156        2943
    1             y              1543        2943
    1             z               244        2943
    Thanks
    Kevin

    Hi, Kevin,
    Assuming you do have overlaps (and depending on what you mean by "overlaps") here's one way to handle them:
    WITH got_new_grp AS
       SELECT  empno, position, start_dt
       ,       NVL (end_dt, TRUNC (SYSDATE)) AS end_dt
       ,       CASE
                   WHEN  MAX (end_dt)
                             OVER ( PARTITION BY  empno, position
                                    ORDER BY      start_dt
                                    ROWS BETWEEN  UNBOUNDED PRECEDING
                                         AND      1         PRECEDING
                                  ) < start_dt
                   THEN  1
                   ELSE  0
               END  AS new_grp
        FROM   table_x
    --  WHERE  ... -- If you need any filtering, put it here
    , got_grp  AS
        SELECT  empno, position, start_dt, end_dt
        ,       SUM (new_grp) OVER ( PARTITION BY  empno, position
                                     ORDER BY      start_dt
                                   )  AS grp
        FROM    got_new_grp
    SELECT DISTINCT
              empno, position
    ,         SUM (MAX (end_dt) - MIN (start_dt))
                  OVER (PARTITION BY empno, position)   AS days
    ,         SUM (MAX (end_dt) - MIN (start_dt))
                  OVER (PARTITION BY empno)             AS total_days
    FROM      got_grp
    GROUP BY  empno, position, grp
    ORDER BY  position
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Point out where the statement above is getting the wrong results, and explain, using specific examples, how you get the right results from the given data in those places.
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How to do SUBTOTAL AND TOTAL in Main Window of SAPSCRIPT.

    Hello Friends,
    I am modifying standard SAPSCRIPT of packing slip. My client wants a subtotal and total in Main Window of Script for Eg. (They want Material Number wise Subtotal and finally Grandtotal at bottom in Main Window)
    Now i got stucked up here how to do it ?
    here is my sample code.
    LOOP AT XVBPLP WHERE VENUM = SHENR.
    IF XVBPLP-POSNR IS INITIAL.
        Versandelement
          PERFORM PACKING_TREE USING XVBPLP-UNVEL.
        ELSE.
        Lieferposition (Anteil)
          VBPLP = XVBPLP.
      CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            ELEMENT = 'DELPOS'.                     "Main Window call
    clear vbplp.
    ENDLOOP.
    Pls guide me for the same.

    HI,
    For the Line items, put a ELEMENT in the Smartform, and you will call this with in the LOOP and ENDLOOP, so here with in the LOOP count the TOTAL value.
    then create new element after the Line item Element, and call this Element after the Line items prints,
    /E  LINE_ITEM
      &1& &2 & &3&     " This will be in the loop and you need to caliculate the totla here
    /E SUB_TOTAL.
    &SUb_TOTAL&  " After all the line items pritns then call this Element
    Regards
    Sudheer

  • Problem with subtotal, and the total icon is not displayed at the toolbar

    Hi all,
    I'm currentlyhaving difficulties working with the subtotal and the grandtotal. I have the code in the right place like the sort table
      CLEAR k_sort.
      ADD 1 TO k_sort-spos.
      k_sort-fieldname = pv_fieldname.
      k_sort-up        = c_x.
      k_sort-subtot    = pv_subtot.
      APPEND k_sort TO i_sort.
    and the fieldcatalog
      CLEAR k_fieldcat.
      add 1 to k_fieldcat-col_pos.
      k_fieldcat-fieldname  = pv_fieldname.
      k_fieldcat-tabname    = c_tabname.
      k_fieldcat-seltext_l  = pv_seltext.
      k_fieldcat-outputlen  = pv_outputlen.
      k_fieldcat-datatype   = pv_datatype.
      k_fieldcat-do_sum     = pv_dosum.
      APPEND k_fieldcat TO i_fieldcat.
    but it didn't seems to show both the total and subtotal. Even the icon is not displayed at the ALV toolbar. The field which I need the total is a currency field. I even try other fields (interger fields) but with no luck. I'm using REUSE_ALV. Any help is greatly appreciated.

    hi,
    In field catalog for the particular column which you want to sum make that as 'X'.
    say
    WHEN'MATNR'.
    it_fcat-do_sum = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program     = report_id
                i_grid_title           = ws_title
    *            i_callback_top_of_page = 'TOP-OF-PAGE'
                is_layout              = wa_layout
                it_fieldcat            = i_fieldcat[]
                it_sort                = i_sortcat
                i_save                 = 'A'
                it_events              = i_events
           TABLES
                t_outtab               = i_reportdata1
           EXCEPTIONS
                program_error          = 1
                OTHERS                 = 2.
      IF sy-subrc <> 0.
    This will enable.

  • How to prevent BPC from automated calculating for hierarchies / nodes?

    Hi experts,
    I am looking for a practicable way to prevent the system from automated calculating for hierarchies, and especially for nodes within hierarchies?
    Let's say, I have ENTITIES (AS A HIERACHY) in rows and ACCOUNTS in COLUMNS. Now I want the system to block adding up the values for one specific account on node XY. Instead of the sum of all base member entities, the cell for account XY should be left empty.
    Is there a practicable way to deal with this?

    Hi Stefan,
    you can prevent the system to calculate a node by editing the Formula Property  in the Dimension.
    You can insert 0 or null to the Formula field for the specific element.
    But in this case the values from your leaf elements lying under your node wont be calculated  even in higher hierarchy nodes.
    For ex.: with the following structure
    -A
    ---A1
    A11
    A12
    ---B1
    B11
    B12
    If you set A1 to 0, the top node A will only be calculated by values of B1
    Regards
    Jörg

  • What are the custimization steps to run interest calculations for customers

    Hi,
    I need a full custimization steps to configure the interest calculations for customers. i created interest indicators, g/l accounts and account determinations also. but no interest is calculating for customers and customers are having no of days to calculate the interest. So please guide me on this regard.

    Hi,
    Configuring the Interest Calculations Procedure
    This configuration allows you to charge interest on overdue customer accounts.  Interest can be calculated by using the line items or overall account balances. SAP keep tracks of the date of the last interest run and stores it in the customer master record.
    First create an Interest Indicator.
    OB46 - Interest Settlement Calculation Type
    Int Calc. Type
    P - calculate interest based on line items.
    S - calculate interest based on account balances.
    Secornd, make it avaliable to the interest run program.
    OB82 - Interest Terms
    Third, determine the interest rate that will be used by the calculation.
    OBAC - Define Reference Interest Rates
    OB83 - Enter the Reference Interest Rates Value
    Fourth, assign the interest indicator to the reference interest rate.
    OB81 - Define Time Dependent Terms
    Finally, determine the how and to which accounts the interest program will post.
    OBV1 - Prepare Interest on Arrears Calculation
    Please check out the following link also:
    http://help.sap.com/saphelp_erp2004/helpdata/en/41/37b8e7455b11d182b40000e829fbfe/frameset.htm
    Hope this helps.
    Please assign points as a way to say thanks.
    Regards,

  • Duty calculation for import PO for a specific material group

    Hi All,
    As per company requirement, we need to do changes in duty calculation for import PO for a specific material group.
    Current scenario :  Currently  duty calculating on MRP with abatement  35% ( We have ABTT condition @ 35% of MRP).
    For example:
    Material: ABC , Basic Price = 1000, MRP = 2000 and duty is 10%
    Duty  Amt = 2000(MRP) - 700(35% ABTT) *10%(Duty) = 130
    Cess 2 % = 2.6
    Ecess 1 % = 1.3
    Total duty =  133.9
    This duty (133.9) paid to custom vendor and loads in material cost.
    New Requirement:  For vendor payment purpose duty should be calculate as above but  for material cost should be calculated on Basic price.
    For Example:    
    Material: ABC , Basic Price = 1000, MRP = 2000 and duty is 10%
    Duty  Amt = 1000(BP) *10%(Duty) = 100
    Cess 2 % = 2
    Ecess 1 % = 1
    Total duty =  103 ( It should load in Material cost)
    New Condition Diff Duty Amt = (1300-1000)*10% = 30
    Cess 2 % = .6
    Ecess 1 % = .3
    Diff Duty Amt = 30.9 ( It should not be added in material Cost)
    Paid to custom vendor = 103 + 30.9 = 133.9
    Kindly suggest how to achieve this.
    Regards
    Jitendra

    Hi,
       Please check whether the requirement is logical or not.  Did you check the requirement with your accounts team?
       If you have different duty calculation for MIGO and MIRO, how the GL accounts will get balanced? As of my understanding, the requirement is clearly not logical.
    Regards,
    AKPT

  • To Read the processed subtotal and use for calculating tax.

    Hi,
    I calculated subtotal in REUSE_ALV_LIST_DISPLAY.
    I got the subtotal.
    After the subtotal i have a line to calculate the tax.
    Now I want to read the subtotal and get the sum(calculated total) and use it to process the tax.
    Thanks.
    Farid.

    TYPE-POOLS: slis.
    DATA: it_fieldcat TYPE slis_t_fieldcat_alv,
    wa_fieldcat TYPE slis_fieldcat_alv,
    it_events TYPE slis_t_event,
    wa_events TYPE slis_alv_event,
    it_sort TYPE slis_t_sortinfo_alv,
    wa_sort TYPE slis_sortinfo_alv,
    it_list TYPE slis_t_listheader ,
    l_layout TYPE slis_layout_alv,
    wp_type type SLIS_PRINT_ALV,
    tp_type type table of SLIS_PRINT_ALV.
    TYPES: BEGIN OF ty_itab,
    field2(10),
    field1(10),
    qty1(10),
    qty2 type i,
    qty3 TYPE i,
    Total type i,
    END OF ty_itab.
    DATA: itab TYPE STANDARD TABLE OF ty_itab WITH HEADER LINE,
          wa type ty_itab,
    itab1 TYPE slis_t_listheader.
    START-OF-SELECTION.
      CLEAR ITAB.
      itab-field2 = 'FIRST'.
      itab-field1 = 'FIRST'.
      itab-qty1 = '2'.
      itab-qty2 = 1.
      itab-qty3 = 5.
      APPEND itab.
      itab-field2 = ''.
      itab-field1 = 'FIRST'.
      itab-qty1 = '2'.
      itab-qty2 = 1.
      itab-qty3 = 5.
      APPEND itab.
      itab-field2 = 'FIRST'.
      itab-field1 = 'FIRST'.
      itab-qty1 = '2'.
      itab-qty2 = 1.
      itab-qty3 = 5.
      APPEND itab.
      itab-field2 = 'FIRST'.
      itab-field1 = 'FIRST'.
      itab-qty1 = '2'.
      itab-qty2 = 1.
      itab-qty3 = 5.
      APPEND itab.
      itab-field2 = 'SECOND'.
      itab-field1 = 'SECOND'.
      itab-qty1 = '2'.
      itab-qty2 = 1.
      itab-qty3 = 5.
      APPEND itab.
    itab-field2 = 'SECOND'.
      itab-field1 = 'SECOND'.
      itab-qty1 = '2'.
      itab-qty2 = 1.
      itab-qty3 = 5.
      APPEND itab.
    *  wa-field1 = ''.
    *  wa-qty1 = 'TAX'.
    *  wa-qty2 = 5.
    *  wa-qty3 = ''.
    *  insert wa into table itab.
      wa_fieldcat-fieldname = 'FIELD2'.
      wa_fieldcat-seltext_m = 'field2'.
      wa_fieldcat-no_out = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat .
      wa_fieldcat-fieldname = 'FIELD1'.
      wa_fieldcat-seltext_m = 'field'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat .
      wa_fieldcat-fieldname = 'QTY1'.
      wa_fieldcat-seltext_m = 'QUNTITY1'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat .
      wa_fieldcat-fieldname = 'QTY2'.
      wa_fieldcat-seltext_m = 'QUANTITY2'.
      wa_fieldcat-do_sum = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat .
      wa_fieldcat-fieldname = 'QTY3'.
      wa_fieldcat-seltext_m = 'QUANTITY3'.
      wa_fieldcat-do_sum = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR wa_fieldcat .
      REFRESH it_sort.
      wa_sort-fieldname = 'FIELD1'.
    *  wa_sort-fieldname = 'FIELD2'.
      wa_sort-up = 'X'.
    *  wa_sort-group = '*'.
      wa_sort-subtot = 'X'.
      APPEND wa_sort TO it_sort.
      wp_type-no_new_page = 'X'.
      append wp_type to tp_type.
      CLEAR wa_sort.
      wa_sort-fieldname = 'QTY1'.
      wa_sort-up = 'X'.
      wa_sort-group = '*'.
    *  wa_sort-subtot = ' '.
      APPEND wa_sort TO it_sort.
      CLEAR wa_sort.
      PERFORM get_events .
    *  l_layout-subtotals_text = 'Subtotal'.
    *  l_layout-totals_text = 'Total text'.
      l_layout-no_totalline = 'X'.
      l_layout-max_linesize = '5'.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program = sy-repid
          it_fieldcat        = it_fieldcat
           I_SCREEN_END_LINE              = 3
          is_layout          = l_layout
          IS_PRINT = wp_type
          it_sort            = it_sort
          it_events          = it_events
        TABLES
          t_outtab           = itab
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
      ENDIF.
    FORM get_events .
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type = 0
        IMPORTING
          et_events   = it_events.
    *  READ TABLE it_events WITH KEY
    *  name = slis_ev_subtotal_text INTO wa_events.
    *  IF sy-subrc = 0.
    *    MOVE 'SUBTOTALS_TEXT' TO wa_events-form.
    *    MODIFY it_events FROM wa_events INDEX sy-tabix.
    *  ENDIF.
    *  CLEAR wa_events.
    *  READ TABLE it_events WITH KEY
    *   name = slis_ev_top_of_page   INTO wa_events.
    *  IF sy-subrc = 0.
    *    MOVE 'TOP_OF_PAGE' TO wa_events-form.
    *    MODIFY it_events FROM wa_events INDEX sy-tabix.
    *  ENDIF.
    READ TABLE it_events into wa_events WITH KEY name = 'BEFORE_LINE_OUTPUT'.
      if sy-subrc = 0.
        wa_events-form = 'BEFORE_LINE_OUTPUT'.
        MODIFY it_events FROM wa_events TRANSPORTING form WHERE name = 'BEFORE_LINE_OUTPUT'.
      ENDIF.
    READ TABLE it_events into wa_events WITH KEY name = 'AFTER_LINE_OUTPUT'.
      if sy-subrc = 0.
        wa_events-form = 'AFTER_LINE_OUTPUT'.
        MODIFY it_events FROM wa_events TRANSPORTING form WHERE name = 'AFTER_LINE_OUTPUT'.
      ENDIF.
    *read table it_events with key name = slis_ev_end_of_page into wa_events.
    *IF sy-subrc eq 0.
    *  wa_events-form = 'END_OF_PAGE'.
    *ENDIF.
    ENDFORM. " GET_EVENTS
    FORM before_line_output using p_c type slis_lineinfo.
      if p_c-subtot = 'X'.
          itab-field1 = ''.
          itab-qty1 = 'TOTAL'.
      endif.
    ENDFORM.
    FORM after_line_output using p_c type slis_lineinfo.
      if p_c-subtot = 'X'.
          ULINE AT (p_c-LINSZ).        "Dynamic Line Size
        FORMAT COLOR COL_TOTAL ON. "Setting the color
        WRITE :/
          sy-vline,
          15 'Tax',
          13 sy-vline,
          24 sy-vline,
          35 sy-vline.
        POSITION P_C-LINSZ.
        WRITE: SY-VLINE.
        FORMAT COLOR OFF.
      endif.
    ENDFORM.

  • What determines the price and tax calculation for consignment stock?

    Hi All,
    anyone knows how the price and tax are calculated for consignment stock? in other word, among the info record , contract or material master, what determines the price and the tax calculation for consignment stock?
    please advise, your input will be rewarded.
    thanks,

    First preceeding is taken by contract and then info records of consginment

Maybe you are looking for

  • HotSpot Virtual Machine Error, Internal Error

    HI , When i am starting my weblogic server instance it displays following error . Pls. advice me. thanks HotSpot Virtual Machine Error, Internal Error Please report this error at http://java.sun.com/cgi-bin/bugreport.cgi Java VM: Java HotSpot(TM) Cli

  • Attachment file not picked - File to Mail scenario

    Hi, I'm just trying out the file to mail scenario as suggested in blog: https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] I created a xml file as the main mail con

  • Quicktime movies on the dock

    Hi, On Tiger a quicktime movie would continue playing even while minimized, on Leopard however, it seems only the sound keeps playing, the picture is static. Is this intended? Its not a big deal... its just something i noticed.. Thanks

  • No sound but it works well with headphone

    Dear all,       Can anybody fix my problem. I bought iPad 1 year 8 days back. My iPad external speaker has stopped working.however it works well with headphone. I have tried all methods like holding home and sleep button for ten seconds,reset to fact

  • Explain plan window, "operation" column is very narrow in 2.1 EA2

    When widened, it becomes narrow in next attempt to get an explain plan.