To Display Output in Grid ALV with change of some field display total with

Hi Masters,
I m working on ALV in which  i have to display output with the following format.
Header
"Some String"                                                             date/time                                                                               
User:XYZ01       page 1 
Line
1st field    2nd    3rd     4th       5th   6th    7th   8th   9th  10th field
x               y       z        A        B     C       D     E      F       G
BLANK..............................................................................                            
                      "total 3rd+4TH"           P        Q     R      S        T       
same thing for every change of 4th field .
So the problem is with inserting the line with string "Total of 3rd+4th" in the output .
Can Anyone help me out?
Thanks ,
Varlani Amit

Hi,
Use control-break statement ON-CHANGE for the 4th field, and do the changes.
regards,
sri

Similar Messages

  • Custom infotype - issues with conversion class - making fields display only

    Hi,
    I created the custom infotype 9008 using t-code PM01, created conversion class ZCL_HRPA_UI_CONVERT_9008_XX and assigned it to screen structure ZHCMT_BSP_PA_XX_R9008 in the view V_T588UICONVCLAS. Coded the methods IF_HRPA_UI_CONVERT_STANDARDOUTPUT_CONVERSION and IF_HRPA_UI_CONVERT_STANDARDINPUT_CONVERSION. I'm trying to make some fields display only within the method OUTPUT_CONVERSION dynamically. Coded the check class ZCL_HRPA_INFOTYPE_9008 with business logic.
    Everything seems to be working fine when I test using the test tool through t-code PUIT_UI.
    When I try to create/modify 9008 record through PA30, the code in the methods OUTPUT_CONVERSION  and INPUT_CONVERSION is never getting executed. The control is not coming there at all. The fields are allowing input. Any idea why this is happening.
    We are on ECC 6.0 and at service pack level SAPKE60035. Couldn't find any relevant SAP notes as well.  Appreciate your help in this regard.
    Thanks,
    Kumar.

    Hi Venkata,
    Check this document.
    This explains about custom infotype creation.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1?overridelayout=true
    regards,
    Brinda L

  • Background job on change of some field!!

    HI
    i have to trigger a background job on change of some field value (status field chages it's values from w to U).
    so how to go about the same..
    how to call a background job once some fields changes!!
    regards
    Gunjan

    1. You can use JOB FM's to invoke the job.
    2. You can call the FM ( Background execution program ) in background.
    CALL FUNTION .... IN BACKGROUND.
    Regds
    Manohar

  • I'm having troube with music. Some artists that start with an "P" appear under the "R" menu and similarly throughout the alphabet. Same about albums, songs

    I'm having troube with music. Some artists that start with an "A" appear under the "B" menu and similarly throughout the alphabet. Same about albums, songs and genres. It suddenly happened after about 3 days of iOS 5 usage. Re-synchronization doesn't help. I also tried deleting some artists from ipod, but it doesn't help either.

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • Workbook with changed query does not display the changes...

    Hi,
    I have a problem with a workbook with one query in - the query has been changed, but the new added keyfigures are not displayed in the existing WB.
    I know from Bex 3.5 there is the option on WB settings "return to global definitions" - I miss this functionality in BI 7.0.
    My installed sap gui is version 710
    Please let me know where I can switch on this feature...
    regards
    chris

    If you use "Return to Global Definition on refresh" option, all the users would have to have it turned on in their workbooks. In that case won't they lose any settings/navigation the user did, specific to their need. All the workbooks end up being the same in that case.
    We are still running on 30B and starting the upgrade to BI70. We just went through training on the new BEx analyzer, and I have to agree with you that some of the useful features of BEx 3X will be missed. Specially in the area of Workbook support, things like Copy query, insert query etc are missing as well.
    Thanks
    Vineet

  • Issue with length of delivery field displayed in LM06 on RF device

    Hello everyone,
    I have a challenging issue which I have posted on another forum as well, and was hoping that somebody on SDN may be familiar with this.  This issue is being reported by one of our warehouses.  SAP RF transaction LM06 is used extensively in this warehouse, and we use a 10 digit delivery number. The delivery field itself in SAP is 20 characters, and we have always displayed 10 on RF. The warehouse is telling me that about a week ago, the number of characters displayed on the RF device for the delivery field in LM06 changed from 10 to 9, and that a leading zero was being inserted when the barcoded delivery number was scanned. There have been no changes to the barcode on the picklist, and I am told there have been no changes to the printer that prints the pick list. A change was deployed a week ago that contained some unrelated configuration and a small code change in a user exit for transfer order creation. Neither of these is in any way related to LM06. Our basis team tells me that there have been no changes to the SAP console server, but I have no way to verify that myself as I am a WM functional consultant. Can anybody tell me if they have seen a problem like this before, or if the field display for a transaction like this is configurable in the SAP console server? The RF hardware being used is the Symbol PDT-8146. Unfortunately, I am 10,000 miles from the warehouse, which puts me at a bit of a disadvantage in trying to diagnose this.

    Thank you both for the good feedback.  I have also gotten some useful feedback from my posting on ittoolbox, and have forwarded all of the responses to a colleague who is located at the site where the warehouse is located.  I will provide feedback once my colleague has had a chance to investigate further based upon the suggestions that I have received.

  • Outlook not sync contacts with changed "file as" field?

    I am syncing contacts and calendar from Outlook on my office PC (and everything else from Mac at home). I have a very large contact list and have noticed that a number of key contacts have not synced. It appears that any contacts with a changed "file as" field have not been syned (e.g. contact entry of "Daniel Smith" with "file as" field altered in Outlook to show "Dan Smith" does not show anywhere on iPhone). Needless to say, these are actually the contacts that I use most often so I'm hoping to find a solution.
    On a related point, it's hard to determine exactly how many contacts are not syncing b/c I can't find anyplace on the iPhone or in iTunes that lists shows info on the number of contacts (so I can't compare to my count in Outlook).
    Has anyone else experienced this problem? Are there any known solutions or work-arounds? (I'm hoping to avoid a full export, clean-up, and import to iPhone through the Mac Address Book or similar b/c I'm concerned that in then trying to sync w/ Outlook I'd get duplicates. Also, my contact list has thousands of contacts so it would be very dedious. My current work-around is to still carry my Treo in my briefcase, which is not ideal).
    Thanks in advance for any help.

    boynsea: Thanks for the input, but isn't the IMAP aspect of Outlook limited to the way one can connect to an Exchange server for e-mail? I've been successful in getting the IMAP connection for e-mail working. Contacts and calendar are designed to sync when physically docked with the computer rather than over-the-air; I know, if something like exchange activesync is ever licensed for iPhone then the calendar can be updated over-the-air, but I suspect that contacts will always be synced only when docked (which is how my Treo was set up).
    Anyway, I did test my theory about the "file-as" field by changing a few contacts back to their default display and now they sync just fine. I really don't want to have to do this for all contacts, and can't actually tell how many are involved since I haven't found anyplace that the number of contacts is listed. Also, does anyone know if there is a readily accessible syncronization log that can be checked? That might show those contacts that are rejected.
    Thanks.

  • Can I change the text fields displayed in iTunes cover view

    I have alot of music in my iTunes library that are from "various artist" cds.  when in cover flow view i want to see "song" & "artist" fields displayed not "album" & "album artist".  is there a way to change the fields that are displayed.  This is especially annoining when in full screen mode, i want to see the artist of the song that is playing, not the artist for the whole album.
    I have my iMac in a fairly promenent location so that anyone can see what is currently playing on the system that is almost always piping music throughout the house via several airport expresses.
    any tips?
    chris

    I'm not sure this will work, but I think the best chance is:
    Settings > General > Accessibility > Large Text

  • Downloading ALV to EXCEL - in some fields the last character is missing ...

    Hi,
    I am experiencing this kind of problem when downloading ALV report into Excel :-
    "You are downloading an ALV result to an EXCEL file. In some fields the last character is missing."
    For example, if MATNR is 0000234567 in display but after downloading to excel it becomes only 23456.
    I found another related forum thread : Pronlem while downloading ALV grid to excel
    I tried the suggested method to apply OSS note 1075315. However, the note cannot be implemented in the system. I am working in a ECC6 environment (SAP version 700, 701).
    Kindly please help me if you came across the similar kind of issue. Thanks much.

    Hi gkGoh8     ,
    The link thread that you just gave already provided the answer, in your field catalog you need to activate field lzero.
    1. Check FM : REUSE_ALV_GRID_DISPLAY
    2. Import Parameter tab :IT_FIELDCAT
    3. Double click SLIS_T_FIELDCAT_ALV
    4. On type group SLIS, check line 93
    Regards,
    JQC

  • Create document with refrence + update some fields by passing some  values

    Hello Experts,
    I have a small problem . I have to create the sales order from BAPI ...but the scenario is
          have to create with refreence to another document
          some fields like condition types or material or order quantity etc are passed from an excel sheet
    hence some information which is populated in excel sheet should be picked up rest everything should be picked up
    from the refrence document
    How can use both information (from the refrence document and externally passed from the excel)  and create a new document
    please suggest!!!!
    regards,
    Khushy

    Hi,
    I am  not sure whether I really understand your request. Let me try to help.
    > Example: <FT_TAB> TYPE STANDARD TABLE,
    >                 <FS_TAB> TYPE ANY,            
    >
    > DATA: INT_TAB  is my dynamic table values.
    >
    >
    > LOOP AT INT_TAB.
    >  ASSIGN COMPONENT 'MATNR'  OF STRUCTURE <FS_TAB> TO <F_VALUE>
    > <F_VALUE> = INT_TAB-MATNR.
    >  APPEND <FS_TAB> TO <FT_TAB>
    Here <FT_TAB> must already be assigned to some internal table with a given (dynamic) structure. Did this happen before this piece of code?
    What I would do is to create a dynamic table (see documentation to CREATE DATA) with MATNR and the STYLE field (LVC_T_STYL). See the documentation for CREATE DATA - creation of internal tables. When collection the field descriptions for that internal table I would also build the field catalogue for the ALV.
    Then assign <FT_TAB> to that newly created internal table, <FS_TAB> to a newly created structure (same as a table line).
    Move the MATNR to component 1 (or component 'MATNR') of the table and fill the style table according to your needs. Then insert the <FS_TAB> into <FT_TAB>.
    Finally call the ALV SET_TABLE... method with your dynamic table and your field catalogue.
    Regards,
    Gerd Rother

  • I need help with something could some one help me with installing windows 7 on bootcamp 4.0 with iMac 2.8 ghz model

    could some one help me with something important i have a 2.8 ghz intel quad core Imac with 10.7 with bootcamp 4.0 but still getting that black screen while trying finish the install of windows 7 etc. or do i need a new mac for it to work properly

    This might help point you in the right direction.
    http://support.apple.com/kb/HT4818
    Hope it helps
    Also google it and lots of results come up including youtube clips....

  • Make the output of the BI report rtf file some fields non editable

    Hello All,
    I want to make some fields in the output of the BI report as editable and some non editable. Any output format is fine (PDF, RTF or HTML) Please let me know if anyone knows how to do it.
    Thanks in advance..
    Anu

    You can add RTF to active allowed output type list (provided that your reporting system supports it) by going to CustomerReportExtensions.xml file and adding the following node right after ParameterTypes node:
    <ActiveReportOutputTypes configChildKey="key">
    <ActiveReportOutputType key="RTF" value="RTF" extension=".rtf"/>
    </ActiveReportOutputTypes>

  • Change width of fields displayed on PDF from ALV

    Hello,
    I have a requirement in which i have to print an alv report in a pdf , now in the report say there are 11 fields of which 5 are hidden , so when i print the report in pdf , in the pdf output the entire width of the page is not occupied but only the width of the displayed fields
    for eg. The 6 fields being displayed will cover only a part of the page..however i want the fields to occupy the entire page depending on the fields that are displayed .. plz advice how i can achieve this..

    Hi,
    <li>After converting to PDF, try to use SX_TABLE_LINE_WIDTH_CHANGE function module to change the width of the PDF.
         CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
             src_spoolid              = g_spool_no
             no_dialog                = ' '
           IMPORTING
             pdf_bytecount            = l_no_of_bytes
             pdf_spoolid              = l_pdf_spoolid
             btc_jobname              = l_jobname
             btc_jobcount             = l_jobcount
           TABLES
             pdf                      = i_pdf
           EXCEPTIONS
             err_no_abap_spooljob     = 1
             err_no_spooljob          = 2
             err_no_permission        = 3
             err_conv_not_possible    = 4
             err_bad_destdevice       = 5
             user_cancelled           = 6
             err_spoolerror           = 7
             err_temseerror           = 8
             err_btcjob_open_failed   = 9
             err_btcjob_submit_failed = 10
             err_btcjob_close_failed  = 11
             OTHERS                   = 12.
         CASE sy-subrc.
           WHEN 0.
           WHEN 1.
             MESSAGE s000(0k) WITH 'No ABAP Spool Job'.
             EXIT.
           WHEN 2.
             MESSAGE s000(0k) WITH 'Spool Number does not exist'.
             EXIT.
           WHEN 3.
             MESSAGE s000(0k) WITH 'No permission for spool'.
             EXIT.
           WHEN OTHERS.
             MESSAGE s000(0k)
                WITH 'Error in Function CONVERT_ABAPSPOOLJOB_2_PDF'.
             EXIT.
         ENDCASE.
         CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
           EXPORTING
             line_width_src              = 134
             line_width_dst              = 255
           TABLES
             content_in                  = i_pdf
             content_out                 = l_attachment
           EXCEPTIONS
             err_line_width_src_too_long = 1
             err_line_width_dst_too_long = 2
             err_conv_failed             = 3
             OTHERS                      = 4.
         IF sy-subrc NE 0.
           MESSAGE s000(0k) WITH 'Conversion Failed'.
           EXIT.
         ENDIF.
    Thanks
    Venkat.O

  • Customer Master Idoc gets some fields as garbage with English Lang

    Hi 
       We are using SAP 4.6C MDMP system. This is not unicode. We are sending customer idoc. The customers are created in Japanese and English language.
    When we login in Japanese language and send IDOC then the content looks fine.
    When we login with English language and send IDOC then we get some garbage character.This is because the customer was created in Japanese language and the IDOC is being sent with English language code page.
    I am thinking of copying  the RBDMIDOC program and include a logic which will check if the customer is Japanese and logon language is Japanese only then send the idoc.Similarly if customer is not japanese and logonlanguage is not japanese then send the idoc.
    Has any one faced issue with IDOC and the data being maintained in different language.
    Please share your thoughts.
    *point will be rewarderd
    Thanks
    prashanta

    Hi Anuj,
    This is a configuration change that can be done via tcode NACE.
    The Idocs will be automatically triggered and sent.
    Ask your functional consultant for further details.
    Regards,
    Jovito.

  • ALV export to Excel, some field lose char

    Dear SAP,
    when I develop a report have one field is PR NO(BANFN), and show result in ALV, then user download the report to excel, but the PR# lose the last number, I don't know how to solve this problem, Please help!
    Ivan

    Hi
    you can use  fm: CONVERSION_EXIT_ALPHA_OUTPUT
    to delete useless zero of aufnr
    Or:
    set fieldcatlog-seltext_l longer
    for example:
    fieldcatlog-fieldname = 'AUFNR'.
    fieldcatlog-seltext_l =  'ProductionNumber'.
    Wish it works.
    Best Regards.

Maybe you are looking for

  • Lion server vs lion desktop

    I'm in need of the Profile Manager from Lion Server for administering iPads in our environment. I understand that to do this really well within the environment, I'll need to be able to have a static IP and I will be able to arrange that. My question

  • Adobe Flash CS5 - Kreis soll sich öffnen

    Liebe Community, ich habe eine frage zu meiner gebauten Flashanimation.  Bisher ändert sich die Größe des "Swatches" aufgrund der Zahl die ihm übergeben wird. Sprich: Steht in der Mitte die Zahl 5, wird er z.b. nur mit 10 % dargestellt, sollte jedoch

  • Macbook using too much memory

    Hi guys, Weirdly my macbook pro (mid 2012 model) is using too much ram, core i5, 4 gb ram Take a look at this screenshot... While I took this screen, I was using only chrome (4 tabs), itunes (wasn't playing anything), and utorrent, nothing else! I ha

  • Kernel Panics After Upgrading to Lion?

    Anonymous UUID:                44029E98-E0AA-4E15-B5FF-6DDB3E7C31DC I'm running a mid-2009 macbook pro with 8GB of ram and OS 10.7.4 This had been happening before right after the release of lion so i downgraded back to 10.6 and now that I saw Lion w

  • Debugging Preview/Print in ME23N

    Hi everyone, I'm having problems with preview/printing a formular when I'm in transaction ME23N. I modified the standard program  SAPFM06P to decide in witch language it would be shown. I made the changes before function 'OPEN_FORM' and i export the