Total column not changed between header & detailed screen

I have a report with header data contains contracts information and detailed data contains orders, debit credit memo related to the contracts.  I write the report using CL_SALV_TABLE to display  contract value, usage  in full ALV_GRID. When I double click on a contract line, it will go to the second screen to show all orders related to that contract.  The second screen with orders information will be in a screen on a container with all standard function ( Export list to Excel, Word format etc..), sort, total and sub total) and a push button to go back to first screen.
  The report works fine but when I am on the second screen, I total and sub total the amount on that screen in order to check with total value in header record and it total up correctly by currency.
But when I go back to the first screen, select a different contract record,  double click on the line to get to the order info screen,  all order data display correctly except that the total column still show amount from the previous detailed screen.  If I select the column again and click the total, it will total correctly.   I did refresh the data in the screen before go back to first screen but it does not solve the problem.
DOES ANYONE HAVE A SIMILAR SYMPTON LIKE THIS? 
Thanks for your advice.
On the order detailed screen, I create a container with screen 100 and write PAI, PBO like this:
Screen 100:
process before output.
  module status_0100.
  module load_data_to_control.   "Load usage data to screen
process after input.
module user_command_0100.
module status_0100 output.
  set pf-status 'PF100'.
  set titlebar 'T100'.
endmodule.  
module load_data_to_control output.
  if gr_cont is not bound.
    create object gr_cont
      exporting
        container_name = 'CONTAINER_100'
      exceptions
        others         = 1.
    if  sy-subrc <> 0.
      message a052(zvn) with
      ' No container object found'.
    endif.
    try.
        cl_salv_table=>factory(
        exporting
     list_display   = list_display
          r_container = gr_cont
      container_name =
        importing
          r_salv_table = gr_alv_2
        changing
          t_table = gt_orders
      catch cx_salv_msg into gr_error.
    endtry.
    perform set_functions.        " Set all standard function in screen 100
    perform set_column_order using gr_alv_2.       "Set column format, display
    perform handle_events.                       "Register events for selection mode & user commands
     Display order screen 0100
    gr_alv_2->display( ).
  else.
    gr_alv_2->refresh( ).
endif.
module user_command_0100 input.
  data: wa_d type gt_dtab,
        ls_contract type vbeln,
        ls_order    type vbeln,
        ls_invoice  type vbeln,
        ls_belnr type belnr_d,
        ls_row   type char10.
  data: l_text type char128.
    case  sy-ucomm.
    when 'RETURN' or 'BACK' or 'EXIT' or 'CANCEL'.
*... refresh the table in order to see the new data
      gr_alv_2->refresh( ).
      leave to screen 0.
    when others.
  endcase.
endmodule.                 " USER_COMMAND_0100  INPUT

Hi ,
When you are using the CL_SALV_TABLE, what is the use of screen 100. Better populate the evnts table in CL_SALV_TABLE
Cheers
Pavan

Similar Messages

  • Use of revision no,revision date field in bom header details screen

    Hi all,
    Please let me know use of revision no,revision date field(customer fields tab) in bom header details screen.I tried with F1 ,no information.
    Thanks
    Sukumar

    Dear,
    In standard SAP in BOM header overview there are 4 tabs.
    Quants/Long text.
    Further Data
    Admin Data
    Doc Assignment.
    I think Customer fields tab may be customized based on client's requirement.
    I Know about revision level. It Identifies the change status of a material.
    The revision level can be uniquely assigned to changes made using a change number.
    Hope this helps. Correct me if i my understanding of the problem is  wrong.
    Thanks and Regds
    Sridhara K N

  • So, after my iPod touch died, i plugged it into the computer to try and charge it, and now it keeps changing between the charging screen, the apple logo, and a blank black screen, still hasn't charged, and its been plugged in for almost an hour now

    So, after my iPod touch died, i plugged it into the computer to try and charge it, and now it keeps changing between the charging screen, the apple logo, and a blank black screen, still hasn't charged, and its been plugged in for almost an hour now

    See the not-charging topic of:
    iPod touch: Hardware troubleshooting
    Have you tried another cable?
    Another charging source? Does iTunes see the iPod when you connect to your computer?
    Look at the dock connector on the iPod. Look for abnormalities like bent or corroded contacts, foreign material and cracked or broken plastic.
    - An appointment at the Genius Bar of an Apple store might be in order

  • How to get the Change Document Header details for a given date

    Hi All,
    Can anyone help me on this Change Document Header details(CDHDR).
    Better way to pull the information of Change Document Header details(CDHDR). No Index is maintained for the tables.
    So please suggest better Optimising techniques to get the Change Document Header details(CDHDR).
    Using this Function module : CHANGEDOCUMENT_READ_HEADERS how to import the DATE_OF_CHANGE.
    Thanks in advance
    Regards
    Chakri

    HI,
    Go through the documenattion of the FM u can get the details.. and also where used list
    Regards,
    Nagaraj

  • My question is what if I have troubleshooted with holding the sleep/awake button and power and it's not changing to any other screen what should I do? It doesn't even show the battery strength wheither its completely dead or charging at all.

    My question is what if I have troubleshooted with holding the sleep/awake button and power and it's not changing to any other screen what should I do? It doesn't even show the battery strength wheither its completely dead or charging at all.

    - If you did not charge the iPod for a couple of hours before you did the reset then charege and reset:
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Then connect to your computer and if iTunes sees the iPod restore via iTunes. 
    - Next see if recovery mode will allow iTunes to see the iPod so you can restore the iPod. For recovery mode:
    iPhone and iPod touch: Unable to update or restore
    - Last, make an appointment at the Genius Bar of an Apple store.

  • How to create total column and change heading

    I have a region that is display only - financials. I need to add total columns after data is displayed. Does framework support this or will I need to do this in java.
    Secondly I will need to change the column heading to current year - ie '2008'.
    From previous thread I tried the following in processRequest but getting exception
    String tt = "Testing";
    OATableBean table = (OATableBean)webBean.findIndexedChildRecursive("CustFinancialFullVO1");
    table.prepareForRendering(pageContext);
    OAMessageStyledTextBean aa = (OAMessageStyledTextBean)webBean.findIndexedChildRecursive("CurrentYear");
    aa.setPrompt(tt);
    New to oaf and java but just looking for some direction.
    Thanks

    Framework, supports inbuilt support to total feature, check tables section in dev guide.
    --Mukul                                                                                                                                                                                                                                   

  • Operation number not holding in Operation details screen for WM6.2

    Hi Experts,
    I have added custom statuses to operation object in WM6.2. When I am editing the operation,Operation number is displaying in operation details screen header.But when trying to execute custom statuses, the operation number is not holding in Operation tile view header as in the below screen snap.
    Thanks in advance.Kindly suggest.
    Thanks & Regards,
    Sravanthi Polu

    Hi sravanthi,
    Just make sure that when you are editing operation object for custom statuses change you are editing same object that you are seeing in operation details screen.
    I think this problem is due to different/stale operation object that is being edited for when you are calling Operation Edit Transaction for change status for (custom statuses).
    I recommend to check your Target for Button , Action and Edit Transaction for this (is it same operation object that is being seen on detail screen/being edited for).
    Regards,
    AK

  • BOM item qty does not change when header qty changes in Outbound Delivery

    Hi,
    We are using sales BOM and exploding it in Sales Order.  ( Item category of components as TAE )
    I am creating a delivery with reference to  a sales oder ( i have maintained copy controls to copy header and item data). Now when i change BOM header quantity in delivery document system is  not redeterming the components quantity , item quantity of the components does not change.
    Please let me how can i control item qunatity when BOM heade quantity changes in outbound delivery document
    Thanks
    Venkata Rama Reddy.K

    Hello Venkata,
    The components item category is TAE, that means the item category for the header item will be TAQ. Also the pricing will be carried out at the header item level only.
    Now for your query:
    The standard item category controls of TAQ will not have any connection between the header & the item level quantities in the delivery. If you change the quantity of the header item in the sales order, the quantity of the compnenets will be automatically adjusted. But this will not happen in the delivery with the normal settings of TAQ.
    Solution:
    Go to transaction code VOV7 - select TAQ - double click - In the Bill of Material/Configuration section , there is a field "Create Delivery Group" - select "X - Form delivery group with one delivery date".
    Save the settings. Now create a new sales order & then create the delivery & try to change the quantity of the header item, the system will automatically change the quantity of the components. (the system may not change the quantity of the components in the delivery of the old sales order - change it manually)
    With best regards,
    Allabaqsh Patil.
    Idhasoft Ltd.

  • Approver not able to go detail screen to see approve / reject buttons

    Hello friends,
         Approver can see the corresponding workitem in his approval inbox. When click on the approval workitem next screen where approve / reject button with item detail screen is not coming. explorer is refreshing and approver workitem screen will appear again. I am in SRM 5.5 Server and SP13. please let me know if any one face this problem.
    with Regards,
    John.

    Hi,
    Please go to following SPRO node and maintain the settings as below.
    SPRO>SRM>Cross application basic settings>sap business workflow>define Dynamic columns for integarted inbox.
    Maintain the EC_Decision as well second attribute  ec_mail for below tasks.
    TS10008126
    TS10008127
    Then it should work.
    thanks
    Ravi

  • Header & Detail Screens

    Dear Friends,
    I have developed two dialog-screens:one for header information & another one for the detail part.
    After filling the Header Screen the screen navigates to the Detail Screen. After filling the Detail Screen I navigates back to the Header screen to finally save the transaction.
    My requirement is that unless I fill-in some specific fields in the detail screen, I shouldn't be able to save the transaction on the header screen.
    Any clue how to go about it?
    Regards,
    Alok.

    Hi,
    you select mandatory in the attributes of the field in the header screen.
    or you check in your program saying
    if fld1ne ' '.
    save
    endif.
    Thanks

  • Join between Header & Detail tables based on age and group

    To find the age & group  amount in detail table based on  age & group_id in header ?
    Example: Let's take the seq_id =1 from header,it has age= 60 & group_id=23 (23 Months).
    In the detail table xx_detail,the age column represents the age of the person (0-65 represents the age in between 0 to 65 and so on).
    If the age is null,then that row indicates the group (0-12 represents the group in between 0 to 12 months ).If the age is not null,then the group1,group2,group3 have the amounts data.
    So Now i have to get the amount as 240(as my header seq_id=1,age=60,group_id=23 as it falls under 0-65 age & 13-59 group ).So i need a sql query to find the correct amount in detail based on header record. We have to pass the parameters age & group_id and get the amount from detail tables.Can anyone provide inputs how to achive this in the simplest way.
    SQL> select * from v$version  
      2  /  
    BANNER  
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production  
    PL/SQL Release 11.2.0.3.0 - Production  
    CORE    11.2.0.3.0      Production  
    TNS for Linux: Version 11.2.0.3.0 - Production  
    NLSRTL Version 11.2.0.3.0 - Production  
    SQL> desc xx_header;  
    Name                                      Null?    Type  
    SEQ_ID                                             VARCHAR2(6)  
    AGE                                                NUMBER  
    START_DATE                                         DATE 
    GROUP_ID                                           NUMBER  
    SQL> select * from xx_header;  
    SEQ_ID        AGE START_DATE   GROUP_ID  
    1               60      01-JAN-12            23  
    2               89      01-JAN-12            23  
    3               95      01-JAN-12            23  
    SQL> desc xx_detail;  
    Name                                       Null?    Type  
    SEQ_ID                                              VARCHAR2(10)  
    AGE                                                   VARCHAR2(10)  
    GROUP1                                             VARCHAR2(10)  
    GROUP2                                             VARCHAR2(10)  
    GROUP3                                             VARCHAR2(10)  
    SQL> select * from xx_detail;  
    SEQ_ID     AGE        GROUP1     GROUP2     GROUP3  
    1                                0-12              13-59       60-126  
    1           0-65               120                 240         300  
    1          66-135             100                 80          400

    Hi,
    Is this the same question that you asked 3 days ago
    https://forums.oracle.com/thread/2606197
    Whether it is or not, post the information requested in that message, which is also listed in the Forum FAQ:
    https://forums.oracle.com/message/9362002
    If it is the same question, don't post a new thread.  Mark this thread as "Answered" right away, and continue in the original thread.

  • Name change in header details

    Dear All,
    Could any one plz tell me how one employee's header name changes to other employee?
    some times header change with name change also(0002 infotype) occurs.
    Most of the cases will have data in 31 infotype but no user is using 31 infotype & 121 infotype.
    P0001-ENAME = P0002-VORNA P0002-NACHN (Standard SAP Settings).
    P0001-ENAME also one of the header fields which have been used for all infotypes.
    Now for some employees, ENAME is not coming as VORNA NACHN. It is getting replaced by some existing employeeu2019s name.
    Regards,
    durai

    Hi Durai,
    Please check the header Definition step in customizing. The header modifier will be same for all the fileds which are to be displayed in the header.
    This is some thing like below
    Header Mod Line Column Field name Lngth Keyword Con. Fldty IT   STy.
                                                                                    14 1    01     ENAME      40                 DAT   0001    
             14 1    35     OTV02      00                 DD1   0491    
             14 1    44     OTV02      00                 DAT   0491    
             14 1    55     PERSG      00                 DTX   0001    
             14 2    01     WERKS      00                 DTX   0001    
             14 2    35     PERSK      00                 DTX   0001    
             14 3    01     BTRTL      00                 DTX   0001    
             14 3    35     PERID      08    SS1          TXD   0002    
             14 3    44     PERID      00                 DAT   0002    
    Let me know if you find any other solution.
    Thanks,
    Vasu.

  • Item's SH is not change after Header's SH change(Sales Order).

    Hi All,
    Would like to have such requirement as below.
    SH = Ship To Party
    Process Flow
    Quotation(SH=A) > Sales Order(SH=B) > Delivery Order(SH=A instead of B) due to Sales Order Item Level SH is use SH=A that copy from Quotation which not use the one been changed in sales order header SH.
    Problems : How change Item SH together when Header SH changed in Sales Order.  Existing solution is more to verification usage that require ABAP development. Is that any other method which is more efficiency.
    Thank you very much.
    Link :
    Ship To Party in Delivery Order's Behaviour
    Item Ship to party as per Header Ship to party

    Hi All,
    Case Closed. Solution as below. That previously using 002. Thank you.

  • Can not change size the itunes screen cannot read all opitions

    I am trying to sync my photos to my ipad and I cannot get to the photos because my page is not large enough I get Summay thru podcast how can i get the rest

    Are you trying to do this through iTunes on your iPad?  If you are, you can't.  You sync photos over to iPad from your computer, with your iPad connected to iTunes.   To answer your question about changing the size of the screen, take your thunb and forefinger and swipe them apart to enlarge the page.  The best way to describe this would be to take your thumb and forefinger and put them on the page with both fingers touching each other and move both fingers at the same time away from each other. 

  • Condition Base Value not maching between R/3 screen and Database

    Hi All,
    We have been using the Condition Base Value KAWRT field in the datasource 2LIS_13_VDKOM (Billing Document Condition).
    While reconciling the data in the underlying R/3 table KONV and the R/3 screen (VF03 transaction) and DS extracted data, we are seeing that sometimes the data in KONV is different by factors 10, 100 or 1000 etc from the value in the R/3 screen. We could not find any definite logic as to what should be the factor based on which situation.
    We understand SAP does this shifting of decimals to increase the precision. But we need to determine the logic of using "which factor at what situation".
    Has anyone faced this situation before, if yes...was a solution found?

    We are infact looking at the decimals against currencies (TCURX), but sometimes the KMEIN field is blank against the transaction, usually the case when KRECH (Calculation type for condition) is B - Fixed Amount. Then we are failing to understand the logic used to determine the factor.
    Any idea on that?

Maybe you are looking for

  • What's the maximum hard disk size for the MBP?

    Sorry the title might sound like a dumb question, but I was wondering if my MBP Core Duo, is future proof regarding the internal hard disk. Will it recognise any capacity, or stuck at a certain level? Also what are the largest Apple supported interna

  • Keynote with quicktime clips

    Hi, Has anyone experienced problems playing quicktime clips in Keynote 4.0.1? I have successfully used this technique a number of times, but now just get a solid black screen on both playback and export. The clips aren't large (800k and 5secs long).

  • HD maxed out

    If you highlight certain items in the trash and then go to "empty trash" will only the highlighted items be deleted or everything? My problem is several items I can't afford to loose were incorrectly put in the trash. Unfortunately there isn't enough

  • Header Text Update(Sales Order) in - MV45AFZZ - USEREXIT_SAVE_DOCUMENT_PREP

    Hi, I am creating a sales order from third party systme and do saom validation in EXIT - MV45AFZZ(the exit called before saving Sales Order). Based on my validation I am appending the header text incase if it is available already else I key in some t

  • How long to implement DBI?

    Is there any metric or 'finger in the air' estimate that can indicate how long it will take to implement a 'vanilla' installation of DBI on Release 12 for each of the areas of: Financials Projects Purchasing Supply Chain Sales The only thing I read o