W_list_comments-typ  = 'A'. " H = Header, S = Selection, A = Action

Hi
w_list_comments-typ  = 'A'. " H = Header, S = Selection, A = Action
here what is H AND S AND A?

hi,
pls chk the code below also.
Form  TOP-OF-PAGE                                                 *
ALV Report Header                                                 *
Form top-of-page.
*ALV Header declarations
data: t_header type slis_t_listheader,
      wa_header type slis_listheader,
      t_line like wa_header-info,
      ld_lines type i,
      ld_linesc(10) type c.
Title
  wa_header-typ  = 'H'.
  wa_header-info = 'EKKO Table Report'.
  append wa_header to t_header.
  clear wa_header.
Date
  wa_header-typ  = 'S'.
  wa_header-key = 'Date: '.
  CONCATENATE  sy-datum+6(2) '.'
               sy-datum+4(2) '.'
               sy-datum(4) INTO wa_header-info.   "todays date
  append wa_header to t_header.
  clear: wa_header.
Total No. of Records Selected
  describe table it_ekko lines ld_lines.
  ld_linesc = ld_lines.
  concatenate 'Total No. of Records Selected: ' ld_linesc
                    into t_line separated by space.
  wa_header-typ  = 'A'.
  wa_header-info = t_line.
  append wa_header to t_header.
  clear: wa_header, t_line.
  call function 'REUSE_ALV_COMMENTARY_WRITE'
       exporting
            it_list_commentary = t_header.
           i_logo             = 'Z_LOGO'.
endform.
regards,
anversha

Similar Messages

  • On kijiji I can type in the heading of the ad but not the body. How can I fix this?

    I wish to place an ad on Kijiji. I can type in the heading of the ad. It might be something like: ELECTRICIAN AVAILABLE. But when I want to type in the words of the ad (the body) I can not do it. I reported this to Kijiji. I did everything they suggested like clearing my cache and so on. But the problem was not solved. I hope you can help.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    is there a way to create form fields to tab into and type and or drop down selection fields in pages as you can with microsoft word?

    No

  • How do I change the content-type in http header when using JAX-WS?

    I need to change Content-Type in http Header. I am using JAX-WS to invoke web service call. Can someone tell me how to do it? Thanks a lot!

    LabVIEW does so many wonderful things, but the inability to perform what should be a simple task, such as upgrade a RT chassis within a LV Project, bewilders me. This is going to cost me hours, I just know it...
    Is there anything on the Idea Exchange for this?? A quick search shows nothing, so maybe I'll add an entry.
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

  • Getting error of Defining an internal table with header line, SELECT-OPTIO

    Hi all,
    i have a coding for my smart form,In this coding i have define an structure which being used,but when i execute it it give me
    error of Defining an internal table with header line, SELECT-OPTIONS, and RANGES is not allowed within a structure.Even tough you can see that in  my coding im not using SELECT-OPTION or RANGES,but can't understand why it gives me this error.
    Following are the code:
      DATA: BEGIN OF traptab OCCURS 50.
            INCLUDE STRUCTURE mseg.
      DATA: vgart LIKE mkpf-vgart,
            blart LIKE mkpf-blart,
            blaum LIKE mkpf-blaum,
            bldat LIKE mkpf-bldat,
            budat LIKE mkpf-budat,
            cpudt LIKE mkpf-cpudt,
            cputm LIKE mkpf-cputm,
            aedat LIKE mkpf-aedat,
            usnam LIKE mkpf-usnam,
            tcode LIKE mkpf-tcode,
            xblnr LIKE mkpf-xblnr,
            bktxt LIKE mkpf-bktxt,
            frath LIKE mkpf-frath,
            frbnr LIKE mkpf-frbnr,
            wever LIKE mkpf-wever,
          END OF traptab. 
    Thanks & Regards,
    sappk25

    thanks

  • "No Content-Type in the header" running script

    I get the following exception when trying to run a script from within iSQL*Plus...
    -- Internal error (No Content-Type in the header)
    Any suggestions?

    Alison,
    The Oracle/Apache web server is running on the same machine as the client. I am able to connect to iSQL*Plus using Netscape Navigator. I am also able to run queries by typing it in the text area. I get the "no content" exception only when I try to run a script by typing in a path and script name (including the .sql extension) into the script location field and executing it by pressing the "run script" button. I also get the same exception if I find a script using the "browse" button and running it.
    This functionality works fine in IE.
    null

  • TYPE OF IS to be selected

    Hello all of you,
    I want to know
    What is the TYPE OF IS to be selected while creating an information structure for user defined LIS? There are three types given when you go to T.code MC 21
            STANDARD
    C     Without period unit
    T     Transfer to SAP-BW
    What does each of the type mean and what should be selected under what circumstances?  Please explain. 
    Thank you,
    Tristan.

    Hi,
    Pls check this ,got all info abt user defined LIS
    http://help.sap.com/saphelp_47x200/helpdata/en/c1/375990449a11d188fe0000e8322f96/frameset.htm
    **pls assign points,if info is useful***
    Regards
    CSM Reddy

  • Change type field active mode while selecting Change number type

    Dear All,
    Our requirement is to get the list of Change type in the CC01 T-code when we click the change master. When we select ECR then we are getting the change list of change type. But, when we select the change master as type, then change type is coming as grey field. So we want the list of change type in change master
    Please suggest
    Regards
    Honyal

    Any input ?????????
    please
    Regards
    Honyal

  • HT1918 Trying to edit my payment info.  I keep getting the message that my number is not valid for the type of card I have selected.  I have a VISA card.  I have typed in the number 4 times, but same message pops up.

    Trying to edit my payment info.  I keep getting the message that my number is not valid for the type of card I have selected.  I have a VISA card.  I have typed in the number 4 times, but same message pops up.
    Thoughts?

    You are probably entering your Visa's security code incorrectly.  Here's how to find it:
    http://support.apple.com/kb/HT3541

  • Define new text type in PR header like in PO header

    Hi,
         I can define text type in PR item and in PO header, but I can't find the path to difine text type of PR header,why?
         And I heared there is a T-code or program can do this, neither by user exit or enhance, Who can tell me how to do?
         Thanks a lot!
    Benjamin

    Dear,
    Dear,
    Cannot tell How it done. But answer is YES you can add.
    Try these User exits and BADI with help of ABAPer..
    User exit
    MEREQ001 Customers' Own Data in Purchase Requisition
    Business Add-in
    ME_COMMITMNT_PARKING BAdI for Redefining Commitment Interface When Parking
    ME_MEREQ_PARKING BAdI Purchase Requisition: "Hold"
    ME_REQ_HEADER_TEXT Copy Header Text: Enjoy Purchase Requisition
    And here you can add at item details levels: SPRO->Purchasing>Purchasing Requisition>Text for Purchase Requisition-->Define Text Types
    Also you can find it at: http://forums.sdn.sap.com/thread.jspa?threadID=1878976
    Regards,
    Syed Hussain.

  • Firefox keeps asking me what program to use to open file types even though I have selected one and checked "do this for all files of this type" going foward

    I am working in Windows and every time I open an attachment, Firefox asks what program to use to open files of this type. I always select the proper program and then check the box that says use this program for all future files of this type. In spite of that, the program continues to ask for every file. How do I turn off this feature and just have the program remember the correct program to use for each type of file extension?

    Regardless of your download preferences, web servers can trigger a download prompt by sending either the ''Content-Type: application/octet-stream'' or the ''Content-Disposition: attachment'' header. You can check if that's the case by examining the server response headers in the [https://developer.mozilla.org/docs/Tools/Web_Console Web Console].
    For the latter problem install the InlineDisposition add-on and see if it helps.
    * https://addons.mozilla.org/firefox/addon/inlinedisposition/
    If the problem persists, post back here with either an example link or a screenshot of the relevant response headers in the Web Console.
    * [[How do I create a screenshot of my problem?]]

  • PO: Condition type maintained in header level affect the price per unit

    Hi,
    When I create a PO (Tcode ME21N) with 2 line items:
    Line Item 1: $5.00 per unit, order 1 unit
    Line Item 2: $10.00 per unit, order 1 unit
    Then I put a condition type: Transportation Charges of $10.00 at header level.
    The system will auto calculate and proportionate the transportation charges into that 2 line items. So now, the price per unit of the 2 line items has been change:
    Based on the formula [ (original price per unit * Transportation Charges / total order value) + original price per unit ]:
    Line Item 1: $8.33 per unit [ ($5.00 * $10.00 / $15.00) + $5.00 ]
    Line Item 2: $16.67 per unit [ ($10.00 * $10.00 / $15.00) + $10.00 ]
    There are 2 things here that we want to do:
    1. We donu2019t want the transportation charges affect the price per unit. Means we do not want the price per unit to be changed. We want the transportation charges stand alone on it owns.
    2. Also, sometimes the transportation charges is paid to a different supplier, meaning the original order value paid to supplier A, and the transportation charges paid to the supplier B (which is a transportation company).
    Can anyone advise how can I do this?
    Thank you.

    hai;
    give the transportation charges in item level
    go to 'item details' tab and select individual item ,go to condition ,maintain the 'frb1' value seperatly for the two items in the PO.You can also assign seperate transportation vendor for items sepertly.
    For selecting the transportation vendor ;you just select the line where you maintained the frieght value and click on the 'condition detail' button shown in the bottom of the screen then on next screen there is an option for giving the transportation vendor acccount no.
    try
    hope this will help you
    by fasal

  • Header Text selection Option

    Hi,
      I have developed a report which include a number of fields that come from the header text of the document.  Besides, those fields are also used as the selection options.  So, I use the function module READ_TEXT to retrieve it and compare it.  The problem is the performance of the report is very bad.  It takes 3 mins to get 3 records.   Is there any way to resolve this??
    SELECT-OPTIONS: S_WADAT FOR LIKP-WADAT_IST.
      PARAMETERS: P_MAWB LIKE WA_REPORT-KZABE.
      PARAMETERS: P_HAWB LIKE LIKP-BOLNR.
      PARAMETERS: P_MATNR LIKE LIPS-MATNR.
      PARAMETERS: P_LOT(20) TYPE C.
      CLEAR: I_REPORT,I_DELIVERY,I_DELIVERY_INFO.
      REFRESH: I_REPORT,I_DELIVERY,I_DELIVERY_INFO.
      DATA WHERE_TAB(80) OCCURS 10 WITH HEADER LINE.
      DATA: BEGIN OF LTEXT OCCURS 50.
              INCLUDE STRUCTURE TLINE.
      DATA: END OF LTEXT.
      IF NOT P_HAWB IS INITIAL.
        CONCATENATE ' BOLNR = ' WHERE_TAB INTO WHERE_TAB.
        CONCATENATE WHERE_TAB '''' INTO WHERE_TAB.
        CONCATENATE WHERE_TAB P_HAWB INTO WHERE_TAB.
        CONCATENATE  WHERE_TAB '''' INTO WHERE_TAB.
        APPEND WHERE_TAB.
      ENDIF.
      IF NOT P_MATNR IS INITIAL.
        IF NOT WHERE_TAB IS INITIAL.
          CONCATENATE ' AND MATNR = ' WHERE_TAB INTO WHERE_TAB.
        ELSE.
          CONCATENATE ' MATNR = ' WHERE_TAB INTO WHERE_TAB.
        ENDIF.
        CONCATENATE WHERE_TAB '''' INTO WHERE_TAB.
        CONCATENATE WHERE_TAB P_MATNR INTO WHERE_TAB.
        CONCATENATE  WHERE_TAB '''' INTO WHERE_TAB.
        APPEND WHERE_TAB.
      ENDIF.
      SELECT A1~VBELN
             WADAT_IST
             BOLNR
             C1~LIFNR
             B1~MATNR
             LFIMG
             BTGEW
             B1~CHARG
        INTO CORRESPONDING FIELDS OF TABLE TMP_REPORT
        FROM LIKP AS A1 JOIN LIPS AS B1 ON A1~VBELN = B1~VBELN
            JOIN MCHA AS C1 ON B1~MATNR = C1~MATNR
                               AND
                               B1~WERKS = C1~WERKS
                               AND
                               B1~CHARG = C1~CHARG
         WHERE LFART = 'EL'
               AND
               WADAT_IST IN S_WADAT
               AND
               B1~CHARG NE ''
               AND
               B1~WERKS = 'ABC'
               AND
               (WHERE_TAB)
      SORT TMP_REPORT BY VBELN.
      DATA: V_FLAG TYPE I,
            V_EXCLUDE TYPE I,
            V_LOT_EXCLUDE TYPE I.
      V_FLAG = 0.
      V_EXCLUDE = 0.
      V_LOT_EXCLUDE = 0.
      IF SY-SUBRC = 0.
    * trim the parameter space
        SHIFT P_MAWB RIGHT DELETING TRAILING SPACE.
        SHIFT P_MAWB LEFT DELETING LEADING SPACE.
        SHIFT P_LOT RIGHT DELETING TRAILING SPACE.
        SHIFT P_LOT LEFT DELETING LEADING SPACE.
        LOOP AT TMP_REPORT.
          AT NEW VBELN.
            V_FLAG = 1.
            V_EXCLUDE = 0.
          ENDAT.
          IF V_FLAG = 1.
            PERFORM GET_HEADER_TEXT
                  TABLES
                       LTEXT
                  USING
                       'Z3IH'
                        TMP_REPORT-VBELN
            READ TABLE LTEXT INDEX 1.
            SPLIT LTEXT-TDLINE AT ':' INTO
            TMP_REPORT-VERUR TMP_REPORT-VERUR.
            READ TABLE LTEXT INDEX 2.
            SPLIT LTEXT-TDLINE AT ':' INTO
            TMP_REPORT-KZGBE TMP_REPORT-KZGBE.
            READ TABLE LTEXT INDEX 3.
            SPLIT LTEXT-TDLINE AT ':' INTO
            TMP_REPORT-KZABE TMP_REPORT-KZABE.
            READ TABLE LTEXT INDEX 4.
            SPLIT LTEXT-TDLINE AT ':' INTO
            TMP_REPORT-STABE TMP_REPORT-STABE.
            READ TABLE LTEXT INDEX 5.
            SPLIT LTEXT-TDLINE AT ':' INTO
            TMP_REPORT-PRONU TMP_REPORT-PRONU.
            READ TABLE LTEXT INDEX 6.
            SPLIT LTEXT-TDLINE AT ':' INTO
            TMP_REPORT-LADEL TMP_REPORT-LADEL.
            SHIFT TMP_REPORT-KZABE RIGHT DELETING TRAILING SPACE.
            SHIFT TMP_REPORT-KZABE LEFT DELETING LEADING SPACE.
            MOVE-CORRESPONDING TMP_REPORT TO WA_REPORT.
            MOVE-CORRESPONDING TMP_REPORT TO WA_TMPREPORT.
            V_FLAG = 0.
          ELSE.
            MOVE TMP_REPORT-VBELN TO WA_REPORT-VBELN.
            MOVE TMP_REPORT-LIFNR TO WA_REPORT-LIFNR.
            MOVE TMP_REPORT-MATNR TO WA_REPORT-MATNR.
            MOVE TMP_REPORT-LFIMG TO WA_REPORT-LFIMG.
          ENDIF.
          PERFORM GET_LOT_CODE USING
                                     WA_REPORT-MATNR
                                     '3LTU'
                                     WA_TMPREPORT-CHARG
                                     WA_REPORT-LOT.
          IF V_EXCLUDE <> 1 AND P_MAWB NE ''
            AND WA_TMPREPORT-KZABE NE P_MAWB .
            V_EXCLUDE = 1.
          ENDIF.
          SHIFT WA_REPORT-LOT RIGHT DELETING TRAILING SPACE.
          SHIFT WA_REPORT-LOT LEFT DELETING LEADING SPACE.
          IF P_LOT NE '' AND P_LOT NE WA_REPORT-LOT.
            V_LOT_EXCLUDE = 1.
          ELSE.
            V_LOT_EXCLUDE = 0.
          ENDIF.
          IF V_EXCLUDE <> 1 AND V_LOT_EXCLUDE <> 1.
            APPEND WA_REPORT TO I_REPORT.
            CLEAR WA_REPORT.
            CLEAR TMP_REPORT.
          ENDIF.
        ENDLOOP.
    Regards,
    Kit

    Here is my code
      FORM GET_LOT_CODE USING MATCODE PLANT BATCH LOT_CODE.
      DATA: W_OBJECTTAVLE LIKE BAPI1003_KEY-OBJECTTABLE VALUE 'MCHA',
            W_CLASSNUM LIKE BAPI1003_KEY-CLASSNUM VALUE 'Z003',
            W_CLASSTYPE LIKE BAPI1003_KEY-CLASSTYPE VALUE '022',
            IT_ALLOCVALUESNUM LIKE BAPI1003_ALLOC_VALUES_NUM OCCURS 0,
            IT_ALLOCVALUESCHAR LIKE BAPI1003_ALLOC_VALUES_CHAR OCCURS 0,
            WA_ALLOCVALUESCHAR LIKE BAPI1003_ALLOC_VALUES_CHAR,
            IT_ALLOCVALUESCURR LIKE BAPI1003_ALLOC_VALUES_CURR OCCURS 0,
            IT_RETURN LIKE BAPIRET2 OCCURS 0.
      DATA: BEGIN OF IT_OBJECT OCCURS 0.
              INCLUDE STRUCTURE BAPI1003_OBJECT_KEYS.
      DATA: END OF IT_OBJECT.
      DATA: W_OBJECT LIKE BAPI1003_KEY-OBJECT.
      CLEAR: IT_OBJECT, IT_RETURN.
      REFRESH: IT_OBJECT, IT_RETURN.
      IT_OBJECT-KEY_FIELD = 'MATNR'.
      IT_OBJECT-VALUE_INT = MATCODE.
      APPEND IT_OBJECT.
      IT_OBJECT-KEY_FIELD = 'WERKS'.
      IT_OBJECT-VALUE_INT = PLANT.
      APPEND IT_OBJECT.
      IT_OBJECT-KEY_FIELD = 'CHARG'.
      IT_OBJECT-VALUE_INT = BATCH.
      APPEND IT_OBJECT.
      CALL FUNCTION 'BAPI_OBJCL_CONCATENATEKEY'
           EXPORTING
                OBJECTTABLE    = 'MCHA'
           IMPORTING
                OBJECTKEY_CONC = W_OBJECT
           TABLES
                OBJECTKEYTABLE = IT_OBJECT
                RETURN         = IT_RETURN.
      CLEAR: IT_RETURN.
      REFRESH: IT_RETURN.
      CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
           EXPORTING
                OBJECTKEY       = W_OBJECT
                OBJECTTABLE     = W_OBJECTTAVLE
                CLASSNUM        = W_CLASSNUM
                CLASSTYPE       = W_CLASSTYPE
           TABLES
                ALLOCVALUESNUM  = IT_ALLOCVALUESNUM
                ALLOCVALUESCHAR = IT_ALLOCVALUESCHAR
                ALLOCVALUESCURR = IT_ALLOCVALUESCURR
                RETURN          = IT_RETURN.
      LOOP AT IT_ALLOCVALUESCHAR INTO WA_ALLOCVALUESCHAR.
        IF WA_ALLOCVALUESCHAR-CHARACT = 'Z_VENDOR_LOT_NUMBER'.
          LOT_CODE = WA_ALLOCVALUESCHAR-VALUE_CHAR.
        ENDIF.
      ENDLOOP.
    ENDFORM.

  • Type of a field in select query

    i have a query like this:
    SELECT SINGLE (lwa_mat_attr-zattribute)
                FROM mara
                INTO lv_value
               WHERE matnr = <fs>-matnr.
    can anyone tell me what would be the type of lv_value. because i have got a dump in the type declaration for lv_value
    Edited by: Alvaro Tejada Galindo on Apr 22, 2008 5:43 PM

    take it of type any
    means
    types : lv_value type any.
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Apr 22, 2008 5:42 PM

  • How to change condition type data on header of a sales order

    Hi Guys,
        I have a requirement, where i want to change the value of particular condition type at header lever of sales order.
    How to do it.If i am not wrong , this can be achived by CRM ORDER MAINATAIN .But how to do it i dont know.
    So please help me for this requirement
    Regards
    PG

    Hi PG,
    Can you please let me know if you were able to do this. I have a similar requirement where in I need to change the value of a condition type.
    I am new to CRM , so it will be great if you can please explain me the steps.
    Thanks in advance.
    Regards,
    Vivek

Maybe you are looking for

  • Problem in Coding Block during the Acc Doc posting BAPI_ACC_DOCUMENT_POST

    Hi, I have a problem in the Coding Block of a FI invoice Document posting. In our project, we have implemented substitutions to derive SBL;SEGMENT field in the line item of a GL Account. I have created a program and in that i'm using BAPI_ACC_DOCUMEN

  • Mac to PC Zip  problem

    I have a problem when Zip'ing folders. Im trying to send some styles to phpBB.com but the reject them because they contains mac specefic files "You have folders extracting outside of the directory and loads of excess Mac files beginning with an perio

  • Name of the database connection

    When I create a new datasource in JSC and then deploy my application, I find that the JSC creates a database connection called, in my case: jdbc/decsis_RaveGenerated_1088606994 Why the RaveGenerated plus the number? I would just want it to be called

  • RT cubes

    Hello, i was doing some research on real time info cube. i thought when we create real time cube. it does not hold any data in it but in my system i see a lot of requests so what is this data all about? also i can do listcube and see data inside the

  • Old iPod but new Computer

    I am having a host of problems with my iPod and iTunes. My old computer that held my iTunes crashed and I cannot restore it. I now have a new computer and I have downloaded a new iTunes. When I plug in my iPod, a message appears telling me it's corru