Reg: Display Specification: Header.. TCode: CG02

Hello Guys,
Is there any FM to fetch the "Display Specification: Header" data for any particular material or against the Real substance number.
If you go to transaction CG02 and - for my case i have Real substance number - i put the Real substance number and then put the material number.
In below Property tree you can choose any standard property for that material and double click on it you get Value Assignments if is there any Standard FM then i can fetch the data.
Thanks in Advance..
Sayak

Dear All,
We have created Custom Condition Type and have made the following settings in Tcode M/06 as:
Cond. class: A
Calcul. type: A
Manual Entries: C
Header condition: checked
Delete: checked
Amount/percent: checked
delete from DB: Do not delete (set the deletion flag only)
scale basis: C
In the above configurations, there is no Pricing Procedure maintained for the above condition type. But still i am not able to edit Condition Amount at PO Header level.
Kindly help me and let me know whether i need to do anything, which i missed out.
Regards,
Ramesh Manoharan

Similar Messages

  • I want to display specific line to be color in alvlist how

    i want to display specific line to be color in alvlist
    i write the code as follows here document type is initial. then that line is to be
    appeared as color line but problem is initially it is appeared correct later i moved to next previous screens  error lines are to be colored where i have to clear 
      loop at it_doclist where blart eq space.
          gt_layout-info_fieldname  = 'COLOR_LINE'.
          it_doclist-color_line = 'C600'.
          modify it_doclist .
          clear:it_doclist.
      endloop.
    please help me exactly
    Thanks
    Ramana reddy

    u r requiremnt is not clear...but any how check this code....
    it has a form for assigning colors....
    rewardif useful
    REPORT zppb001_prd_posting_upload
           NO STANDARD PAGE HEADING LINE-SIZE 255
           MESSAGE-ID zpp.
    INCLUDE bdcrecx1.
    TYPE-POOLS  :slis.
    DATA:   wk_success(5) TYPE c,     "To store the successfull Hits
            wk_failure(5) TYPE c,     "To store the failed Hits
            l_mstring(600),           "To store Message texts
            t_date TYPE zservice_date,"To store Uploaded Date
            wk_lines(5) TYPE c,       "To store No of Records
            lines(5) TYPE c,          "To store No of Records
            wk_len(150) TYPE c,       "To store File path
            wk_alp TYPE i,            "To store path length
            lent TYPE i,              "To store path length
            b(4).                     "To store File extension
    DATA:   alvfld TYPE slis_t_fieldcat_alv WITH HEADER LINE,
            v_events TYPE slis_t_event WITH HEADER LINE,
            wk_events LIKE LINE OF v_events,
            it_list_comments TYPE slis_t_listheader,
            wk_list_comments LIKE LINE OF it_list_comments,
            wk_layout TYPE slis_layout_alv.
    CONSTANTS: c_formname_top_of_page TYPE slis_formname
                                   VALUE 'F_TOP_OF_PAGE'.
    --TO STORE FINAL DATA TO BE POSTED--
    Generated data section with specific formatting - DO NOT CHANGE  ***
    DATA: BEGIN OF record OCCURS 0,
            budat_002(010),
            bktxt_004(025),
            matnr_005(018),
            werks_006(004),
            alort_007(004),
            erfmg_008(017),
          END OF record.
    End generated data section ***
    DATA: BEGIN OF messages OCCURS 0,       "TO STORE FINAL STATUS DISPLAY
           budat_002(010),
           bktxt_004(025),
           matnr_005(018),
           maktx TYPE makt-maktx,
           werks_006(004),
           alort_007(004),
           erfmg_008(017),
           msg_e(400),
           msg_s(600),
           msgtyp TYPE c,
           line_color(4),
          END OF messages.
    DATA: BEGIN OF st_record1 ,
           matnr_005(018),
           werks_006(004),
           budat_002(010),
           bktxt_004(025),
           erfmg_007(017),
           erfmg_008(017),
           alort_007(004),
          END OF st_record1.
    DEFINE alv_macro.
      move : &1 to alvfld-col_pos,
             &2 to alvfld-fieldname,
             &3 to alvfld-seltext_m.
      if &2 = 'MATNR_005' or &2 = 'MAKTX'.
        alvfld-fix_column = 'X'.
      endif.
      append alvfld.clear alvfld.
    END-OF-DEFINITION.
    DATA : record1 LIKE TABLE OF st_record1 WITH HEADER LINE,
           it_excel LIKE TABLE OF alsmex_tabline WITH HEADER LINE,
           messtab1 LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,
           it_acc LIKE TABLE OF record WITH HEADER LINE,
           it_rej LIKE TABLE OF record WITH HEADER LINE.
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-002.
    PARAMETERS: p_file TYPE localfile OBLIGATORY .
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
        EXPORTING
          static    = 'X'
        CHANGING
          file_name = p_file.
    AT SELECTION-SCREEN ON p_file.
      wk_len = p_file.
      CONDENSE wk_len NO-GAPS.
      lent = STRLEN( wk_len ).
      wk_alp = lent - 4.
      b = wk_len+wk_alp(lent).
      IF ( b NE '.txt' ) AND ( b NE '.xls' ).
        MESSAGE e939.
        CLEAR p_file.
        STOP.
      ENDIF.
    START-OF-SELECTION.
      PERFORM upload_fun.
      PERFORM open_group.
      PERFORM fill_bdc_table.
      PERFORM close_group.
      PERFORM assign_colors.
      PERFORM f_event_build.
      SORT messages BY matnr_005 ASCENDING.
      PERFORM assign_columns.
      PERFORM count.
      IF ctu = 'X'.
        PERFORM alv.
      ENDIF.
      FREE:messages,messtab1,record1.
    END-OF-SELECTION.
    --FORM UPLOAD_FUN--
    FORM upload_fun.
    REFRESH: record1, it_acc, it_rej, record, messages, messtab1, it_excel.
      PERFORM fetch_from_flat_file.
      CLEAR it_excel.
      DESCRIBE TABLE it_excel.
      IF sy-tfill = 0.
        MESSAGE i937. STOP.
      ENDIF.
      LOOP AT it_excel.
        CASE it_excel-col.
          WHEN '0001'. MOVE: it_excel-value TO record1-matnr_005.
          WHEN '0002'. MOVE: it_excel-value TO record1-werks_006.
          WHEN '0003'. MOVE: it_excel-value TO record1-budat_002.
          WHEN '0004'. MOVE: it_excel-value TO record1-bktxt_004.
          WHEN '0005'. MOVE: it_excel-value TO record1-erfmg_007.
          WHEN '0006'. MOVE: it_excel-value TO record1-erfmg_008.
          WHEN '0007'. MOVE: it_excel-value TO record1-alort_007.
        ENDCASE.
        AT END OF row.
          APPEND record1. CLEAR record1.
        ENDAT.
      ENDLOOP.
      DELETE record1 WHERE matnr_005 EQ ' '.
    --DO NOT UPLOAD WHERE PRD QTY = 0--
      DELETE record1 WHERE ( erfmg_007 = 0 OR erfmg_007 = ' ' )
                      AND  ( erfmg_008 = 0 OR erfmg_008 = ' ' ).
      DESCRIBE TABLE record1[].
      IF sy-tfill > 0.
    --MOVE ACCEPTED QTY AND FETCH THE RESPECTIVE STGLOC-**
        LOOP AT record1 WHERE erfmg_007 NE 0 AND erfmg_007 NE ' '.
          MOVE:    record1-budat_002 TO it_acc-budat_002,
                   record1-bktxt_004 TO it_acc-bktxt_004,
                   record1-matnr_005 TO it_acc-matnr_005,
                   record1-werks_006 TO it_acc-werks_006,
                   record1-erfmg_007 TO it_acc-erfmg_008.
          APPEND it_acc. CLEAR: it_acc,record1.
        ENDLOOP.
    --MOVE ELPRO FOR THE ACCEPTED ENTRIES--
        LOOP AT it_acc.
          SELECT SINGLE elpro INTO it_acc-alort_007
                                            FROM mkal CLIENT SPECIFIED
                                            WHERE mandt = sy-mandt
                                            AND matnr = it_acc-matnr_005
                                            AND werks = it_acc-werks_006.
          MODIFY it_acc TRANSPORTING alort_007. CLEAR: it_acc.
        ENDLOOP.
    --MOVE PRD QTY FOR REJECTED QTY--
        LOOP AT record1 WHERE erfmg_008 NE 0 AND erfmg_008 NE ' '.
          MOVE: record1-budat_002 TO it_rej-budat_002,
                record1-bktxt_004 TO it_rej-bktxt_004,
                record1-matnr_005 TO it_rej-matnr_005,
                record1-werks_006 TO it_rej-werks_006,
                record1-erfmg_008 TO it_rej-erfmg_008,
                record1-alort_007 TO it_rej-alort_007.
          APPEND it_rej. CLEAR: it_rej, record1.
        ENDLOOP.
    --MOVE ACCEPTED AND REJECTED READINGS TO FINAL TABLE
        APPEND LINES OF it_acc TO record. APPEND LINES OF it_rej TO record.
        FREE : it_rej, it_acc, record1.
      ELSE.
        MESSAGE i937.
        STOP.
      ENDIF.
    ENDFORM.                    " UPLOAD_FUN
    --FORM fill_bdc_table--
    FORM fill_bdc_table.
      IF NOT record[] IS INITIAL.
        LOOP AT record.
          PERFORM bdc_dynpro USING 'SAPLBARM' '0800'.
          PERFORM bdc_field  USING 'BDC_CURSOR' 'RM61B-BKTXT'.
          PERFORM bdc_field  USING 'BDC_OKCODE' '=ISTDA'.
          PERFORM bdc_field  USING 'RM61B-BUDAT' record-budat_002.
          PERFORM bdc_field  USING 'RM61B-BKTXT' record-bktxt_004.
          PERFORM bdc_field  USING 'RM61B-MATNR' record-matnr_005.
          PERFORM bdc_field  USING 'RM61B-WERKS' record-werks_006.
          PERFORM bdc_field  USING 'RM61B-ALORT' record-alort_007.
          PERFORM bdc_field  USING 'RM61B-ERFMG' record-erfmg_008.
          PERFORM bdc_dynpro USING 'SAPLCOWB' '0130'.
          PERFORM bdc_field  USING 'BDC_OKCODE' '=WEIT'.
          PERFORM bdc_field  USING 'BDC_CURSOR' 'G_COWB_HEADER-MNGTXT'.
          PERFORM bdc_transaction USING 'MFBF'.
          CLEAR messtab.
          messtab1[] = messtab[].
          LOOP AT messtab1 WHERE msgtyp = 'S' OR msgtyp = 'E'.
            SELECT SINGLE * FROM t100 WHERE sprsl = messtab1-msgspra
                                      AND   arbgb = messtab1-msgid
                                      AND   msgnr = messtab1-msgnr.
            IF sy-subrc = 0.
              l_mstring = t100-text.
              PERFORM store_messages.
              CLEAR l_mstring.
            ENDIF.
          ENDLOOP.
          MOVE-CORRESPONDING record TO messages.
         SELECT SINGLE maktx INTO messages-maktx FROM makt CLIENT SPECIFIED
                                                 WHERE mandt = sy-mandt
                                              AND matnr = messages-matnr_005
                                              AND spras = 'EN'.
          APPEND messages.
          CLEAR: messages, messtab1. REFRESH messtab1.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "fill_bdc_table
    --FORM assign_columns--
    FORM assign_columns .
      REFRESH alvfld.
      alv_macro '1' 'MATNR_005' 'PART NO'.
      alv_macro '2' 'MAKTX' 'DESCRIPTION'.
      alv_macro '3' 'WERKS_006' 'PLANT'.
      alv_macro '4' 'BUDAT_002' 'POSTING DATE'.
      alv_macro '5' 'BKTXT_004' 'SHIFT'.
      alv_macro '6' 'ERFMG_008' 'QUANTITY'.
      alv_macro '7' 'ALORT_007' 'STGLOC'.
      alv_macro '8' 'MSG_E' 'ERRORS DUE TO'.
      alv_macro '9' 'MSG_S' 'STATUS'.
    ENDFORM.                    " assign_columns
    --FORM f_event_build--
    FORM f_event_build .
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type = 0
        IMPORTING
          et_events   = v_events[].
      READ TABLE v_events WITH KEY name = slis_ev_top_of_page
                                               INTO wk_events.
      wk_layout-info_fieldname = 'LINE_COLOR'.
      wk_layout-colwidth_optimize    = 'X'.
      IF sy-subrc = 0.
        MOVE c_formname_top_of_page TO wk_events-form.
        MODIFY v_events FROM wk_events INDEX sy-tabix.
      ENDIF.
    ENDFORM.                    " f_event_build
    --FORM f_top_of_page--
    FORM f_top_of_page.
      WRITE sy-datum TO t_date.
      CLEAR: it_list_comments[].
      wk_list_comments-typ  = 'H'. "H=Header, S=Selection, A=Action
      wk_list_comments-key  = ''.
    CONCATENATE 'UPLOADED STATUS FOR PRODUCTION POSTING ON - ' t_date INTO
                                 wk_list_comments-info SEPARATED BY space.
      APPEND wk_list_comments TO it_list_comments.
      CLEAR wk_list_comments.
      DESCRIBE TABLE messages LINES wk_lines.
      lines = wk_lines.
      wk_list_comments-typ  = 'S'. "H=Header, S=Selection, A=Action
      wk_list_comments-key  = ''.
      CONCATENATE 'Total No of Hits:' lines INTO wk_list_comments-info
                                                      SEPARATED BY space.
      APPEND wk_list_comments TO it_list_comments.
      CLEAR wk_list_comments.
      wk_list_comments-typ  = 'S'. "H=Header, S=Selection, A=Action
      wk_list_comments-key  = ''.
      CONCATENATE 'Successfull Hits:' wk_success INTO
                wk_list_comments-info SEPARATED BY space.
      APPEND wk_list_comments TO it_list_comments.
      CLEAR wk_list_comments.
      wk_list_comments-typ  = 'S'. "H=Header, S=Selection, A=Action
      wk_list_comments-key  = ''.
      CONCATENATE '    Failed Hits:' '   ' wk_failure INTO
                              wk_list_comments-info
                              SEPARATED BY space.
      APPEND wk_list_comments TO it_list_comments.
      CLEAR wk_list_comments.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          i_logo             = 'ENJOYSAP_LOGO'
          it_list_commentary = it_list_comments.
    ENDFORM.                    "F_TOP_OF_PAGE
    --FORM assign_colors--
    FORM assign_colors .
      LOOP AT messages.
        CASE messages-msgtyp.
          WHEN 'E'.
            messages-line_color = 'C601'.
          WHEN 'S'.
            messages-line_color = 'C501'.
        ENDCASE.
        MODIFY messages TRANSPORTING line_color.
      ENDLOOP.
    ENDFORM.                    " assign_colors
    --FORM COUNT--
    FORM count .
      CLEAR: wk_failure, wk_success.
      LOOP AT messages.
        CASE messages-msgtyp.
          WHEN 'E'.
            ADD 1 TO wk_failure.
          WHEN 'S'.
            ADD 1 TO wk_success.
        ENDCASE.
      ENDLOOP.
    ENDFORM.                    " COUNT
    --FORM ALV--
    FORM alv .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program = sy-repid
          is_layout          = wk_layout
          it_fieldcat        = alvfld[]
          it_events          = v_events[]
        TABLES
          t_outtab           = messages
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
    ENDFORM.                    " ALV
    --FETCH_FROM_FLAT_FILE--
    FORM fetch_from_flat_file .
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          filename                = p_file
          i_begin_col             = 1 "From 1st Column
          i_begin_row             = 2 "From 2nd row
          i_end_col               = 7 "Till 7th Column
          i_end_row               = 65000 "Till Row
        TABLES
          intern                  = it_excel
        EXCEPTIONS
          inconsistent_parameters = 1
          upload_ole              = 2
          OTHERS                  = 3.
    ENDFORM.                    " FETCH_FROM_FLAT_FILE
    --FORM STORE_MESSAGES--
    FORM store_messages.
      IF l_mstring CS '&1'.
        REPLACE '&1' WITH messtab1-msgv1 INTO l_mstring.
        REPLACE '&2' WITH messtab1-msgv2 INTO l_mstring.
        REPLACE '&3' WITH messtab1-msgv3 INTO l_mstring.
        REPLACE '&4' WITH messtab1-msgv4 INTO l_mstring.
      ELSE.
        REPLACE '&' WITH messtab1-msgv1 INTO l_mstring.
        REPLACE '&' WITH messtab1-msgv2 INTO l_mstring.
        REPLACE '&' WITH messtab1-msgv3 INTO l_mstring.
        REPLACE '&' WITH messtab1-msgv4 INTO l_mstring.
      ENDIF.
      CONDENSE l_mstring.
      IF messtab1-msgtyp = 'E'.
    CONCATENATE messages-msg_s l_mstring INTO l_mstring SEPARATED BY space.
        MOVE l_mstring TO messages-msg_e.
        MOVE 'E' TO messages-msgtyp.
        MOVE 'Document Not Posted' TO messages-msg_s.
      ELSEIF messtab1-msgtyp = 'S'.
    CONCATENATE messages-msg_s l_mstring INTO l_mstring SEPARATED BY space.
        MOVE l_mstring TO messages-msg_s.
        MOVE 'S' TO messages-msgtyp.
      ENDIF.
    ENDFORM.                    " store_messages

  • How to display the header data on different position in alv report

    hi all,
    how to display the header data on different position in alv report.
    for example ,
    customer                                                   name
      xxxx                                                         xxxx
                     vendor        name     street 
                      xxxx         xxxx      xxxxx
    pls   help me .

    hi
    as per my understanding you need to trnasfer header internal table data  to pdf..
    please check the following links for internal table to pdf..
    Convertion of Internal table data to PDF
    This link is related to ur issue
    Re: how to insert the calling of the FM: OTF to PDF
    Thanks

  • Display specific row to display multiple time in jsf table 11.1.1.2.0 with

    HI ALL,
    I'm using jdeveloper 11.1.1.2.0 with ADF 11g.
    I have to display the values in jsf frm table where i'm using DislayCertDetailVO . In dis VO i'm having a column no.of certificaties .taking dis column value when i navigate to other page jsf by selecting a specific row. here i have to display the selected row in multiple times based on the no.of.certificates column value.
    I want to display specific row to display multiple time to repeat same row in a table in jsf based on the value from bean or table in database.
    Edited by: user9010551 on Apr 28, 2010 6:14 AM
    Edited by: user9010551 on Apr 28, 2010 10:33 PM

    Hi, Trying it once more to give more clarity of my scenario.
    I have to navigate from 1 screen to the other by picking a given table record/row from the 1st screen. While displaying the record on the 2nd screen the catch is that, I have to display it as many times as the value in a cell of the selected record.
    eg.
    screen 1
    col1   col2     col3
    2 order1 item1
    [next]
    On clicking next it should look like
    screen2
    col1           col2            col3           col4
    order1 item1
    order1 item1
    where col3 and col4 will be editable by the user and col1 is the value depends how many times i have repeat the row/record
    Hope this give more clarity.

  • How to asssign output value in the CSV file for the specific header

    Hi,
    I am using OpenScript 9.10. The problem I am facing is that, to Write the Output value captured from the application, When i am trying to use the methods "Appen String to File" i am unable to write / assign the out put value below the specific header. Can any one please look into this and post the methods related to Write the output vaues in to the CSV files under specific headers.
    Thanks in Advance.
    Thanks.,
    Siva

    Hi Alex,
    Thanks for your reply.I need to write the output value under specified parameter name.
    for example after creating the sales order,the order number have to write in the CSV file under
    OrderNumber column.I tried with appendStringtofille() method,by using this able to write the value under
    first column.But i need to write output value under specified columnname(means Header name in the cSV
    file).can u please give a reply for the above problem.
    Note: In that Csv file i am taking the input vales and also need to write the output values under
    specified column(header)
    Thanks,
    Siva Thota.

  • I have written a binary file with a specific header format in LABVIEW 8.6 and tried to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?

    I have written a binary file with a specific header format in LABVIEW 8.6 and tried  to Read the same Data File, Using LABVIEW 7.1.Here i Found some difficulty.Is there any way to Read the Data File(of LABVIEW 8.6), Using LABVIEW 7.1?

    I can think of two possible stumbling blocks:
    What are your 8.6 options for "byte order" and "prepend array or string size"?
    Overall, many file IO functions have changed with LabVIEW 8.0, so there might not be an exact 1:1 code conversion. You might need to make some modifications. For example, in 7.1, you should use "write file", the "binary file VIs" are special purpose (I16 or SGL). What is your data type?
    LabVIEW Champion . Do more with less code and in less time .

  • HR BAdi to display the header data of employee (PA30)

    Hello All,
    I am using transactions PA30 and PA20 to change the HR master data. I will explain my problem as follows.
    1) Transaction pa30. Enter personal number. Press enter. Screen will display employee basic info at header, just before selecting the any infotype. SSN number is also displayed for USA employee.
    2) I will select infotype 0002, change the SSN number, save it. before saving, in function module exit:EXIT_SAPFP50M_002 (INCLUDE ZXPADU02) , i am encrypting the SSN number and then stores it in DB.
    3) In BADI HRPAD00INFTY(BEFOE_OUTPUT), i am taking same encrypted SSN number form DB, decrypt it, and showing on screen.
    But the header part is still showing encrypted value. It is not decrypting the value before display. After investigation i found that, while displaying header part, mentioned Badi is getting called. I want to decrypt he same before display in header part only. It is working fine with detailed part (Means 0002 infotype screen).
    Which Badi should i use to decrypt the SSN number, before display it in header part??
    Any help??
    Thanks,
    Prashant

    Hi Prashant,
    The Badi method is triggering before the PBO, Means before infotype screen 3000
    In your requirement you have to implement the method AFTER_INPUT rather than BEFORE_OUTPUT in the same BADI implementation
    This will work, Try it out.
    Thanks
    Pavan
    Edited by: pavan kanike on Jan 30, 2009 7:34 PM

  • How to display dynamic header title in the report?

    I have a req to display dynamic header title in the report.
    When a id is entered in the prompt text, it will display the user data based on that user_id.
    so similarly....the header title should vary each time when you select different user_id.
    How can we implement this?

    >
    Zack H wrote:
    > Lazaro,
    >
    > It depends on what you want displayed in the heading for each id.
    > Please elaborate.
    >
    > Thanks,
    > Zack H.
    Zack..I have several projects listed under several project id's...
    so when a user selects project id 00164 then it should display something like "Project document for Jon Doe"
    again when the user selects project id as 00192 then it should display something like "project document for Zimmerman"
    Did you get it??

  • Displaying a header on alv list

    hi there,
    i want to display a header on alv list.
    i have already used
    call method alvgrid->set_table_for_first_display
    regrads

    Hi,
    use the TOP_OF_PAGE event and add the event to the IT_EVENTS internal table..
    In the subroutine that is assigned to the event..
    FORM top_of_page.
            CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
              EXPORTING
                it_list_commentary = heading.
    ENDFORM.
    Thanks,
    Naren

  • Specific header on a infotype

    Hi
    My company wants a specific header on a infotype.
    May i  know how to do it.
    Seema.

    Hi,
    You need to go to PM->PA-> Customiziing Procedure -> Change Screen header.
    You can maintain max of 3 lines and 83 columns.
    Good luck
    Om

  • How we will display the header data and item data seperately in lists

    how we will display the header data and item data seperately in lists

    REPORT z_alv_list_block.
    TYPE-POOLS: slis. " ALV Global types
    SELECTION-SCREEN :
    SKIP,
    BEGIN OF LINE,
    COMMENT 5(27) v_1 FOR FIELD p_max. "#EC NEEDED
    PARAMETERS p_max(2) TYPE n DEFAULT '02' OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    DATA:
    1st Table
    BEGIN OF gt_kna1 OCCURS 0, " Data displayed
    kunnr LIKE kna1-kunnr, " Customer number
    ernam LIKE kna1-ernam, " Name of Person who Created
    erdat LIKE kna1-erdat, " Creation date
    name1 LIKE kna1-name1, " Name 1
    END OF gt_kna1,
    2nd Table
    BEGIN OF gt_mara OCCURS 0,
    ernam LIKE mara-ernam, " Name of Person who Created
    matnr LIKE mara-matnr, " Material number
    ersda LIKE mara-e rsda, " Creation date
    brgew LIKE mara-brgew, " Gross weight
    END OF gt_mara,
    3rd Table
    BEGIN OF gt_vbak OCCURS 0,
    vkorg LIKE vbak-vkorg, " Sales organization
    kunnr LIKE vbak-kunnr, " Sold-to party
    vbeln LIKE vbak-vbeln, " Sales document
    netwr LIKE vbak-netwr, " Net Value of the Sales Order
    waerk LIKE vbak-waerk, " SD document currency
    END OF gt_vbak.
    INITIALIZATION.
    v_1 = 'Maximum of records to read'.
    START-OF-SELECTION.
    Read data
    SELECT * FROM kna1
    UP TO p_max ROWS
    INTO CORRESPONDING FIELDS OF TABLE gt_kna1.
    SELECT * FROM mara
    UP TO p_max ROWS
    INTO CORRESPONDING FIELDS OF TABLE gt_mara.
    SELECT * FROM vbak
    UP TO p_max ROWS
    INTO CORRESPONDING FIELDS OF TABLE gt_vbak.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
    EXPORTING
    i_callback_program = sy-cprog
    i_callback_user_command = 'USER_COMMAND'.
    PERFORM list_append TABLES gt_kna1
    USING '1'
    'GT_KNA1'.
    PERFORM list_append TABLES gt_mara
    USING '2'
    'GT_MARA'.
    PERFORM list_append TABLES gt_vbak
    USING '3'
    'GT_VBAK'.
    PERFORM f_list_display.
    FORM USER_COMMAND *
    FORM user_command USING i_ucomm LIKE sy-ucomm
    is_selfield TYPE slis_selfield. "#EC CALLED
    CASE i_ucomm.
    WHEN '&IC1'. " Pick
    CASE is_selfield-tabname.
    WHEN 'GT_MARA'.
    WHEN 'GT_KNA1'.
    WHEN 'GT_VBAK'.
    READ TABLE gt_vbak INDEX is_selfield-tabindex.
    IF sy-subrc EQ 0.
    Sales order number
    SET PARAMETER ID 'AUN' FIELD gt_vbak-vbeln.
    Display Sales Order
    CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
    ENDIF.
    ENDCASE.
    ENDCASE.
    ENDFORM. " USER_COMMAND
    ----< /div>
    Form list_append
    FORM list_append TABLES ut_table
    USING u_no TYPE char1
    u_tabname TYPE slis_tabname.
    Macro definition
    DEFINE m_fieldcat.
    ls_fieldcat-fieldname = &1.
    ls_fieldcat-ref_tabname = &2.
    append ls_fieldcat to lt_fieldcat.
    END-OF-DEFINITION.
    DEFINE m_sort.
    ls_sort-fieldname = &1.
    ls_sort-up = 'X'.
    append ls_sort to lt_sort.
    END-OF-DEFINITION.
    DATA :
    ls_fieldcat TYPE slis_fieldcat_alv,
    lt_fieldcat TYPE slis_t_fieldcat_alv, " Field catalog
    ls_sort TYPE slis_sortinfo_alv,
    lt_sort TYPE slis_t_sortinfo_alv. " Sort table
    DATA:
    lt_events TYPE slis_t_event,
    ls_event TYPE slis_alv_event,
    ls_layout TYPE slis_layout_alv.
    ls_layout-group_change_edit = 'X'.
    ls_layout-colwidth_optimize = 'X'.
    ls_layout-zebra = 'X'.
    ls_layout-detail_popup = 'X'.
    ls_layout-get_selinfos = 'X'.
    ls_layout-max_linesize = '200'.
    CASE u_no.
    WHEN '1'.
    Build field catalog and sort table
    m_fieldcat 'KUNNR' 'KNA1'.
    m_fieldcat 'ERNAM' 'KNA1'.
    m_fieldcat 'ERDAT' 'KNA1'.
    m_fieldcat 'NAME1' 'KNA1'.
    m_sort 'KUNNR'.
    WHEN '2'.
    m_fieldcat 'MATNR' 'MARA'.
    m_fieldcat 'ERNAM' 'MARA'.
    m_fieldcat 'ERSDA' 'MARA'.
    m_fieldcat 'BRGEW' 'MARA'.
    m_sort 'MATNR'.
    WHEN '3'.
    m_fieldcat 'VBELN' 'VBAK'.
    m_fieldcat 'VKORG' 'VBAK'.
    m_fieldcat 'KUNNR' 'VBAK'.
    m_fieldcat 'NETWR' 'VBAK'.
    m_fieldcat 'WAERK' 'VBAK'.
    m_sort 'VBELN'.
    ENDCASE.
    IF u_no CA '13'.
    MOVE 'TOP_OF_PAGE' TO ls_event-name.
    CONCATENATE 'TOP_OF_PAGE' u_no INTO ls_event-form.
    APPEND ls_event TO lt_events.
    ELSE.
    MOVE 'TOP_OF_LIST' TO ls_event-name.
    CONCATENATE 'TOP_OF_LIST' u_no INTO ls_event-form.
    APPEND ls_event TO lt_events.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
    EXPORTING
    it_fieldcat = lt_fieldcat
    is_layout = ls_layout
    i_tabname = u_tabname
    it_events = lt_events
    it_sort = lt_sort
    i_text =
    TABLES
    t_outtab = ut_table
    EXCEPTIONS
    program_error = 1
    maximum_of_appends_reached = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " LIST_APPEND
    Form f_list_display
    FORM f_list_display.
    DATA ls_print TYPE slis_print_alv.
    ls_print-no_print_selinfos = 'X'. " Display no selection infos
    ls_print-no_print_listinfos = 'X'. " Display no listinfos
    ls_print-reserve_lines = 2. " Lines reserved for end of page
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    EXPORTING
    i_interface_check = ' '
    is_print = ls_print
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " F_LIST_DISPLAY
    FORM top_of_page1 *
    FORM top_of_page1. "#EC CALLED
    PERFORM top_of_page.
    ENDFORM.
    FORM top_of_page3 *
    FORM top_of_page3. "#EC CALLED
    PERFORM top_of_page.
    ENDFORM.
    FORM top_of_page *
    FORM top_of_page.
    ULINE.
    WRITE : sy-uname, sy-title(56) CENTERED, sy-datum.
    ULINE.
    ENDFORM.
    FORM top_of_list2 *
    FORM top_of_list2. "#EC CALLED
    WRITE 'TOP OF LIST2'.
    ENDFORM.
    END OF PROGRAM Z_ALV_LIST_BLOCK ***********************

  • URL is not displayed in Work flow task of CRM UI and displayed in SOST Tcode

    Hi All,
    I am trying to display the dynamic URL with short link in work flow task, the same got properly displayed in SOST Tcode and mail but not displayed in CRM UI, may I know the reason behind it?
    code in work flow task under description is below :
    /*   <A HREF= "&URL&">Portal UWL</A>
    Thanks,
    VijHyd

    Hi Vij,
    You can use the below sample code to make a hyperlink for text,
    lv_url type string.
    lv_url = 'you can give url here'
    <thtmlb:link
                      id        = "test"
                     reference = " <%= lv_url %> "
                     tooltip   = "Download template file"
                     text      = "Please click on this link to download the Excel XML template" />

  • Display specific report part

    Hi Experts,
    I am using the Crystal Reports Server V1 trial version. I want to display Xcelsius Dashboards through InfoView. Because the add-function for flash (swf) files isnt avaiable I choose the option to insert my swf files into Crystal Reports and add this to the Server.
    When I create my Dashboard with the Dashboard Builder there are my Reports with the standard frame. But I only want to display the flash file. I thought that I can use the display specific report part function in Crystal Reports. So I defined it for the flash object and in InfoView I select the option too, but nothing happens.
    Does somebody know how to use this function correctly?
    Regards
    Jan

    hello,
    if you have already defined your flash object as the default report part in the crystal reports > file > report settings then:
    1) in infoview in your dashboard open corportate analytics and drag your report over
    2) edit this analytic to use the parts viewer
    3) ensure that you select on demand
    4) select default report part
    i have tested this on the cr server v1 and it works aok.
    jamie

  • Display panel header based on radio selection

    hi i have a stiuation where i what to display panel header based on radio button selection for example if the value of radio is DSO it must dispaly all under <af:panelHeader,am in jdeveloper 11.1.1.6.0
    i have this radio
    <af:selectOneRadio value="#{bindings.Paymenttype.inputValue}"
                                       label="#{bindings.Paymenttype.label}"
                                       required="#{bindings.Paymenttype.hints.mandatory}"
                                       shortDesc="#{bindings.Paymenttype.hints.tooltip}"
                                       id="sor1" autoSubmit="true"
                                       binding="#{pageFlowScope.addMember.dpayment}">
                      <f:selectItems value="#{bindings.Paymenttype.items}"
                                     id="si10"/>
                    </af:selectOneRadio>
    and my panel header is
                  <af:panelHeader text="Bank Details" id="ph6"
                                   visible="#{bindings.Paymenttype.inputValue eq &quot;DRO&quot;}"
                                 partialTriggers="sor1"
                                  inlineStyle="width:556px; border-color:Blue; border-style:ridge;">Edited by: adf009 on 2013/02/21 2:44 PM
    Edited by: adf009 on 2013/02/21 2:48 PM
    Edited by: adf009 on 2013/02/21 2:56 PM

    i have try that but it does not display panel header based on radio selection
    <af:selectOneRadio value="#{bindings.Paymenttype.inputValue}"
                                       label="#{bindings.Paymenttype.label}"                                  
                                       shortDesc="#{bindings.Paymenttype.hints.tooltip}"
                                       id="sor1" autoSubmit="true"
                                       binding="#{pageFlowScope.addMember.dpayment}"
                                       immediate="true">
                      <f:selectItems value="#{bindings.Paymenttype.items}"
                                     id="si10"/>
                    </af:selectOneRadio>
                    <af:panelFormLayout id="pfl7" labelAlignment="start">
                      <af:inputText value="#{bindings.Accounthldr.inputValue}"
                                    label="#{bindings.Accounthldr.hints.label}"
                                    required="#{bindings.Accounthldr.hints.mandatory}"
                                    columns="20"
                                    maximumLength="#{bindings.Accounthldr.hints.precision}"
                                    shortDesc="#{bindings.Accounthldr.hints.tooltip}"
                                    id="it22"
                                    visible='#{bindings.Paymenttype.inputValue eq "DRO"}'>
                        <f:validator binding="#{bindings.Accounthldr.validator}"/>
                      </af:inputText>
                      <af:inputText value="#{bindings.Bankaccountnumber.inputValue}"
                                    label="#{bindings.Bankaccountnumber.hints.label}"
                                    required="#{bindings.Bankaccountnumber.hints.mandatory}"
                                    columns="20"
                                    maximumLength="#{bindings.Bankaccountnumber.hints.precision}"
                                    shortDesc="#{bindings.Bankaccountnumber.hints.tooltip}"
                                    id="it20"
                                    visible='#{bindings.Paymenttype.inputValue eq "DRO"}'>
                        <f:validator binding="#{bindings.Bankaccountnumber.validator}"/>
                        <af:convertNumber groupingUsed="false"
                                          pattern="#{bindings.Bankaccountnumber.format}"/>
                      </af:inputText>
                      <af:selectOneChoice value="#{bindings.Bankaccounttype.inputValue}"
                                          label="#{bindings.Bankaccounttype.label}"
                                          required="#{bindings.Bankaccounttype.hints.mandatory}"
                                          shortDesc="#{bindings.Bankaccounttype.hints.tooltip}"
                                          id="soc12"
                                         visible='#{bindings.Paymenttype.inputValue eq &quot;DRO&quot;}'>
                        <f:selectItems value="#{bindings.Bankaccounttype.items}"
                                       id="si13"/>
                      </af:selectOneChoice>
                      <af:selectOneChoice value="#{bindings.Bankname.inputValue}"
                                          label="#{bindings.Bankname.label}"
                                          required="#{bindings.Bankname.hints.mandatory}"
                                          shortDesc="#{bindings.Bankname.hints.tooltip}"
                                          id="soc13"
                                           visible="#{bindings.Paymenttype.inputValue eq &quot;DRO&quot;}">
                        <f:selectItems value="#{bindings.Bankname.items}"
                                       id="si14"/>
                      </af:selectOneChoice>
                      <af:inputText value="#{bindings.Branchcode.inputValue}"
                                    label="#{bindings.Branchcode.hints.label}"
                                    required="#{bindings.Branchcode.hints.mandatory}"
                                    columns="20"
                                    maximumLength="#{bindings.Branchcode.hints.precision}"
                                    visible="#{bindings.Paymenttype.inputValue==&quot;DRO&quot;}"
                                    shortDesc="#{bindings.Branchcode.hints.tooltip}"
                                    partialTriggers="branchnameId" id="it19">
                        <f:validator binding="#{bindings.Branchcode.validator}"/>
                      </af:inputText>
                      <af:inputComboboxListOfValues id="inputComboboxListOfValues1"
                                                    popupTitle="Search and Select: #{bindings.Branchname.hints.label}"
                                                    value="#{bindings.Branchname.inputValue}"
                                                    label="#{bindings.Branchname.hints.label}"
                                                    model="#{bindings.Branchname.listOfValuesModel}"
                                                    required="#{bindings.Branchname.hints.mandatory}"
                                                    visible="#{bindings.Paymenttype.inputValue==&quot;DRO&quot;}"
                                                    columns="#{bindings.Branchname.hints.displayWidth}"
                                                    shortDesc="#{bindings.Branchname.hints.tooltip}">
                        <f:validator binding="#{bindings.Branchname.validator}"/>
                      </af:inputComboboxListOfValues>
                      <af:inputText value="#{bindings.Paymenttype1.inputValue}"
                                    label="#{bindings.Paymenttype1.hints.label}"
                                    required="#{bindings.Paymenttype1.hints.mandatory}"
                                    columns="#{bindings.Paymenttype1.hints.displayWidth}"
                                   visible="#{bindings.Paymenttype.inputValue==&quot;DRO&quot;}"
                                    maximumLength="#{bindings.Paymenttype1.hints.precision}"
                                    shortDesc="#{bindings.Paymenttype1.hints.tooltip}"
                                    id="it21">
                        <f:validator binding="#{bindings.Paymenttype1.validator}"/>
                      </af:inputText>
                    </af:panelFormLayout>
                  </af:panelFormLayout>
                  <af:panelHeader text="Bank Details" id="ph6"
                                  visible="#{bindings.Paymenttype.inputValue eq &quot;DRO&quot;}"                           
                                  partialTriggers="sor1"
                                  inlineStyle="width:556px; border-color:Blue; border-style:ridge;">
                    <f:facet name="context"/>
                    <f:facet name="menuBar"/>
                    <f:facet name="toolbar"/>
                    <f:facet name="legend"/>
                    <f:facet name="info"/>
                    <af:panelFormLayout id="pfl6"
                                        visible="#{bindings.Paymenttype.inputValue eq &quot;DRO&quot;}"                                  
                                        partialTriggers="sor1"
                                        inlineStyle="width:550px; border-color:Blue; border-style:ridge;">
                      <af:inputText value="#{bindings.Accounthldr.inputValue}"
                                    label="Account Holder Name"
                                    required="#{bindings.Accounthldr.hints.mandatory}"
                                    columns="#{bindings.Accounthldr.hints.displayWidth}"
                                    maximumLength="#{bindings.Accounthldr.hints.precision}"
                                    shortDesc="#{bindings.Accounthldr.hints.tooltip}"
                                    id="it14" partialTriggers="sor1">
                        <f:validator binding="#{bindings.Accounthldr.validator}"/>
                      </af:inputText>
                      <af:selectOneChoice value="#{bindings.Bankname.inputValue}"
                                          label="Bank"
                                          required="#{bindings.Bankname.hints.mandatory}"
                                          shortDesc="#{bindings.Bankname.hints.tooltip}"
                                          id="soc11" partialTriggers="sor1"
                                          immediate="true"
                                          contentStyle="width:190px;">
                        <f:selectItems value="#{bindings.Bankname.items}"
                                       id="si11"/>
                      </af:selectOneChoice>
                      <af:inputText value="#{bindings.Bankaccountnumber.inputValue}"
                                    label="Account Number"
                                    required="#{bindings.Bankaccountnumber.hints.mandatory}"
                                    columns="#{bindings.Bankaccountnumber.hints.displayWidth}"
                                    maximumLength="#{bindings.Bankaccountnumber.hints.precision}"
                                    shortDesc="#{bindings.Bankaccountnumber.hints.tooltip}"
                                    id="it16" partialTriggers="sor1">
                        <f:validator binding="#{bindings.Bankaccountnumber.validator}"/>
                        <af:convertNumber groupingUsed="false"
                                          pattern="#{bindings.Bankaccountnumber.format}"/>
                      </af:inputText>
                      <af:selectOneChoice value="#{bindings.Bankaccounttype.inputValue}"
                                          label="Account Type"
                                          required="#{bindings.Bankaccounttype.hints.mandatory}"
                                          shortDesc="#{bindings.Bankaccounttype.hints.tooltip}"
                                          id="soc10" partialTriggers="si10"
                                          contentStyle="width:190px;">
                        <f:selectItems value="#{bindings.Bankaccounttype.items}"
                                       id="si12"/>
                      </af:selectOneChoice>
                      <af:inputComboboxListOfValues id="branchnameId"
                                                    popupTitle="Search and Select: #{bindings.Branchname.hints.label}"
                                                    value="#{bindings.Branchname.inputValue}"
                                                    label="Branch Name"
                                                    model="#{bindings.Branchname.listOfValuesModel}"
                                                    required="#{bindings.Branchname.hints.mandatory}"
                                                    columns="20"
                                                    shortDesc="#{bindings.Branchname.hints.tooltip}"
                                                    partialTriggers="sor1"
                                                    autoSubmit="true">
                        <f:validator binding="#{bindings.Branchname.validator}"/>
                      </af:inputComboboxListOfValues>
                      <af:inputText value="#{bindings.Branchcode.inputValue}"
                                    label="Branch Code"
                                    required="#{bindings.Branchcode.hints.mandatory}"
                                    columns="#{bindings.Branchcode.hints.displayWidth}"
                                    maximumLength="#{bindings.Branchcode.hints.precision}"
                                    shortDesc="#{bindings.Branchcode.hints.tooltip}"
                                    partialTriggers="branchnameId" id="it18">
                        <f:validator binding="#{bindings.Branchcode.validator}"/>
                      </af:inputText>
                      <af:inputText value="#{bindings.Debitorderdate.inputValue}"
                                    label="Date"
                                    required="#{bindings.Debitorderdate.hints.mandatory}"
                                    columns="#{bindings.Debitorderdate.hints.displayWidth}"
                                    maximumLength="#{bindings.Debitorderdate.hints.precision}"
                                    shortDesc="#{bindings.Debitorderdate.hints.tooltip}"
                                    id="it17" partialTriggers="sor1">
                        <f:validator binding="#{bindings.Debitorderdate.validator}"/>
                      </af:inputText>
                    </af:panelFormLayout>
                  </af:panelHeader>this values are on the same VO
    Edited by: adf009 on 2013/02/21 5:23 PM

  • T400 LCD TFT display specifications

    Hey everyone,
    I was wondering if anyone would have on hand or know where to find information on the display specifications for the T400 LCD TFT display (WXGA, LED backlight).  
    Specifically I'm looking for:
    Model Name/Manufacturer:
    Display area: 
    Pixel Pitch:
    Synchronization
    Horizontal: (kHz)
    Vertical: (Hz)
    Display Color: (24bit, 16bit)
    Cheers,
    J

    Welcome to the forum!
    Do I understand correctly that you bought a complete new LCD Assembly? Do you have proof from the seller that it was working properly before you bought it?
    Can you see a picture if you use a torchlight over the panel?
    A faint dark picture could be a defective LCD cable, inverter/LED card or a defective LCD backlight. Since you see a picture I would rule out a motherboard fuse problem.
    Edit: Richk was faster! 
    /L40SX/240/240X/2*340CSE/360PE/365XD/380D/380E/380XD/380Z/390/560E/560X/2*570/2*600/600E/750Cs/755C/760CD/760EL/760XD/770E/A20p/A22p
    A31/i1600/G40/R50p/R61i/S30/SL510/2*T22/4*T4x/11*T6x/6*T4x0x/6*T5x0/3*W5x0/W700/3*X2x/4*X3x/3*X4x/5*X6x/3*X6xT/10*X2xx/2*X200T/4*X30x/Z60m/3*Z61x
    Comunidad en Español  English Community  Deutsche Community   Русскоязычное Сообщество

Maybe you are looking for

  • Find one character in a string and count the amount of times its found

    Hey SQL Forum experts. I have a string that is about 3000 characters long. I'm trying to search my string for the value '{'. Then I want to count how many times this value is found. How do I form the Oracle SQL to do this?

  • How can I get rid of the "Reset Search" app?

    I have a Macbook Pro and I run Mavericks OS X 10.9.5. There's an application in Launchpad called "Reset Search".See picture 1. I know this is part of the "Install Mac" adware, but I still can't find a way to get rid of it. I downloaded Adware Medic t

  • Internal Notes and Supplier Textx

    Hello Gurus, Where in SRM / R/3 do we define as to where the Text should be passed to R/3 PO from SRM shopping Cart.Notes and Attachemenits Tab Page Texts) Thanks in Advance and for sure points rewarded Arshad

  • Method access$0() and Interfaces doubts

    Hello All, I am working on a class browser, I have created one and it works successfully to a certain extent. But The class which I am having a Demo for a Tree Implementation in GUI, has a method called access$0() which I guess is automatically creat

  • Setting Internal Drives RAIDED as a networked volume?

    Okay, first of all, I'm a video guy, not IT...so please bear with me! I just purchased an Intel XServe (4 gigs RAM, running 10.5.4) primarily as a metadata server for MetaSAN that runs our XRaid. I have used the XServe 80 gig drive as an OS & Apps di