Add input field to PO header

Hi all,
In the purchase order header, the customer made subscreen "Customer data" has already been added with a few fields from the EKKO_CI structure. The screen is named SAPLXM06 0101, and I can see that the user exits EXIT_SAPMM06E_006 and EXIT_SAPMM06E_008 from enhancement MM06E005 have been implemented. This all works fine.
Now I have to add a new field to this screen, and I don't know how to go about it. Can anybody provide me with an instruction on how to do this?
Thanks
- Mari Virik

Hi,
Add a new field in structure EKKO_CI which will get added to the table EKKO..
Then go to se51..Give the program name SAPLXM06 and give the screen number 0101..
Press change..
Press layout button..
Then create a new input field and give the fieldname as EKKO-ZZxxxx..
So that it will refer the DDIC properties..
Thanks,
Naren

Similar Messages

  • Add new fields on the header screen of COR1

    Hi Experts,
    I am new to this type of work, please help me in doing....
    My requirement is, to add one field on the header details of the COR1 from a Z table.
    Can anyone please tell me how to handle this.
    I searched the regarding this in SDN but i had not got any solution.
    Can any one please tell me how to handle this(screen shots will be more helpfull).
    Please take it as priority.
    Thanks in advace,
    Kruthik
    Edited by: kruthik_06 on Jun 20, 2011 9:04 AM

    Hi all,
    I need to know if is it possible to add a custom field in COR1 for process order. I searched forum for something about this, but cannot find anything.
    can anybody please suggest me something ?
    thanks
    Kruthik

  • Add new fields in the header of  RFITEMAR

    hi,
      i want to add new fields in the header of RFITEMAR report ,so first i copy i to zRFITEMAR ,then i want to add
                           " Total Quantity "   in the header after City field .
    can any one help me????????
    please ,, i waiting your answers..
    thank you......

    hi ,
       thanks for your response , but first i try to copy the function then it give an error as it is reserved for sap , so i change it's name and copy it and change function group to z also then it  relese an error for function pool , any way.
    where can i make change in that function .
    and how can i copy it . please tell me every think in more detials.
    waiting
    thanks.

  • How to Add Input Field in IC Webclient

    Dear Experts,
           I want to add one Input field in Interaction Center Webclient(IC Webclient).Is it Possible?If Possible Kindly Send me the Step by step Procedure.
    It is Urgent Requirement.Please Help me.
    Helpful Answers Will be rewarded.
    Regards,
    Ashok.

    Dear Albert,
      I have read the Blog "IC Web Client - Modifying View Layout - I".I am realy Impressed.I got the similar kind of requirement from my Client.In this Blog they are not clearly Explained about Adding the functionality for that Input Field.
         could you Please Explain me about how to add the functionality For that input Field.It is Very Urgent.Please Help me.
    Thanks & Regards,
    Ashok.

  • Add a field in the header of MB21/MB22

    Hello gurus, i am interested in adding  one field in the header of the mb21 (reservations), but i didn't find one exit or one badi for my purposes. My question is someone knows an easy manner for adding the fields to the screen. I tried to use enhancements and create one badi and a group of functions. But i don't know how to add the field to the screen. I tried to create a subscreen in a group of functions, but in this point i'm lost, because i don't know how connect the screen that i create in the group of functions with the standard.. ( i don't want to modify the standard directly, including the standard screens),
    With my best regards.

    Hi
    Check this
    MB_RES_BAPI_CREATE1   BAdI: Adoption of Customer's Own Fields
    MB_RES_BAPI_DETAIL1  Display of Customer's Own Fields
    Regards
    Pavan

  • Add input field with date salector inside a TableView

    I’m trying to build an user interface for my ones step-screen flow command, this user interface needs a TableView and for each row i need an input field with date selector.
    I’ve been trying to use de DefaultTableViewModel as the model for my TableView. I create a method to build my vector with the data for my DefaultTableViewModel as follow.
         private Vector createData() {
              Vector dataVec = new Vector();
              Vector retVector= new Vector();
              TextView text1 = new TextView("text1");
              dataVec.addElement(text1);
              TextView text2 = new TextView("text2");
              dataVec.addElement(text2);
              InputField date1 = new InputField("date1");
              date1.setType(DataType.DATE);
              dataVec.add(date1);
              retVector.add(dataVec);
              return retVector;
    then i use the vector as follow:
    Vector data=createData();
              Vector colName = new Vector();
              colName.addElement("Col1");
              colName.addElement("Col2");
              DefaultTableViewModel model = new DefaultTableViewModel(data, colName);
              TableView tabla = new TableView("tabla", model);
    But when I Display my user interface the TableView shows a string that I thing is a reference of the Input and the TextView inside my TableView instead of showing the components.
    Any Ideas?
    Regards,
    Orlando Covault

    Hi Orlando,
       Check this thread on date selector in tableview.
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=198839">Tableview</a>
    Hope it helps.
    Regards,
    Saravanan

  • CRM_IC - add input field

    Hello,
    I'm trying to add a new input field to a view in CRM_IC. I'm following the Cookbook and have created a copy Z_CRM_IC with the corresponding Views and Controllers, updated the profile and also placed it in the view, no problem. But how do I take care of the database update/search? The field does not exist in the context node. Any hint would be appreciated!
    Regards,
    Henrik

    Hi Orlando,
       Check this thread on date selector in tableview.
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=198839">Tableview</a>
    Hope it helps.
    Regards,
    Saravanan

  • Web Services Test Page: No input fields for SOAP header parameters?

    Hello,
    we're using OracleAS / OC4J 10.1.3.1 and have developed a web service that has some self defined SOAP header parameters.
    I would like to use the Web Services Test Page provided by the OAS but it seems that there is no opportunity
    to provide input values for these SOAP header parameters.
    Do I miss something there or is it not supported by OAS?
    I've read the documentation but could not find a clue.
    any help is appreciated,
    Regards,
    Martin

    I hear you. As you have probably heard, OC4J is being replaced by WebLogic Server and the 10.1.3.x releases are the last that will be produced. We'll do maintenance on it of course, but little/no new feature work. This would be a new feature we'd have to add, so I'm afraid there's not much chance in having it done.
    It's not ideal, and of course more work for you, but if you want to provide your client with a test page that exposes the SOAP headers as form fields, you could always develop and ship one yourself.
    -steve0

  • I want to add a field in po header

    hi,
    i am kishore. i have assignment. i have to add a customer field in purchase order header.
    pls provide any exit how i will write that code?
    K. Kishore

    Hi Narendran,
    I am not getting values in output for this programme.Can you plz suggest
    *& Report  YALV1                                                       *
    REPORT  YALV1                                   .
    type-pools: slis.
    tables: mara,makt.
    CONSTANTS: GC_FORMNAME_TOP_OF_PAGE(15) TYPE
               c VALUE 'TOP_OF_PAGE',
               GC_FORMNAME_USER_COMMAND TYPE
               SLIS_FORMNAME VALUE 'USER_COMMAND'.
    data :  toutdt     like  prps-post1,
            touttm     like  prps-post1.
    *INTERNAL TABLE DECLARATION.
    types: begin of itab_alv,
          matnr like mara-matnr,
          mbrsh like mara-mbrsh,
          mtart like mara-mtart,
          meins like mara-meins,
          end of itab_alv.
    DATA: itab TYPE STANDARD TABLE OF itab_alv INITIAL SIZE 0,
          itab1 TYPE itab_alv.
    types: begin of itab_alv1,
          matnr like makt-matnr,
          maktx like makt-maktx,
          spras like makt-spras,
          end of itab_alv1.
    *data: itab1 type itab_alv1.
    data: itab2 type standard table of itab_alv1 initial size 0,
          itab3 type itab_alv1.
    data: ok-code like sy-ucomm.
    data: gd_repid like sy-repid.
    *ALV-GRID DATA DECLARATION.
    data: fieldcatalog type slis_t_fieldcat_alv.
    DATA: GT_LIST_TOP_OF_PAGE TYPE SLIS_T_LISTHEADER.
    FIELD CATALOG.
    *data: fieldcatalog1 type slis_fieldcat_alv.
    data: gd_layout type slis_layout_alv.
    LAYOUT DECLARATION.
    data: id_color type c.
    data: I_EVENTS type slis_t_event.
    data: wa_event type slis_alv_event.
    *data: ok-code like sy-ucomm.
    *ALV-GRID DATA DECLARATION.
    FIELD CATALOG.
    LAYOUT DECLARATION.
    *data: ls_sort type slis_sortinfo_alv.
    data: IT_SORT TYPE SLIS_T_SORTINFO_ALV.
    selection-screen: begin of block b1 with frame title new.
    select-options: s_matnr for mara-matnr.
    selection-screen: end of block b1.
    initialization.
    gd_repid = sy-repid.
    perform t_fieldcat.
    PERFORM EVENTTAB_BUILD USING I_EVENTS[].
    start-of-selection.
    perform data_selection.
    *PERFORM EVENTTAB_BUILD USING I_EVENTS[].
    PERFORM E04_COMMENT_BUILD USING GT_LIST_TOP_OF_PAGE[].
    *perform t_fieldcat.
    *perform t_fieldcat1.
    *perform sort_order.
    perform display.
    *CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
      I_PROGRAM_NAME               = gd_repid
      I_INTERNAL_TABNAME           = 'ITAB'
      I_STRUCTURE_NAME             =
      I_CLIENT_NEVER_DISPLAY       = 'X'
      I_INCLNAME                   = gd_repid
      I_BYPASSING_BUFFER           =
      I_BUFFER_ACTIVE              =
    CHANGING
       CT_FIELDCAT                  = fieldcatalog.
    EXCEPTIONS
      INCONSISTENT_INTERFACE       = 1
      PROGRAM_ERROR                = 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.
    *perform data_selection.
    *&      Form  t_fieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM t_fieldcat .
    data: fieldcatalog1 type slis_fieldcat_alv.
    fieldcatalog1-seltext_s = 'materialno'.
    fieldcatalog1-col_pos = 1.
    fieldcatalog1-FIELDNAME    = 'matnr'.
    fieldcatalog1-TABNAME      = 'ITAB'.
    fieldcatalog1-outputlen = 20.
    fieldcatalog1-do_sum = 'X'.
    fieldcatalog1-key = 'X'.                 "this field is not scroolable
    "and hideble
    fieldcatalog1-hotspot = 'X'.
    fieldcatalog1-emphasize   = 'X'.
    fieldcatalog1-REF_TABNAME   = 'makt'.
    append fieldcatalog1 to fieldcatalog.
    clear fieldcatalog1.
    fieldcatalog1-seltext_s = 'industry'.
    fieldcatalog1-col_pos = 2.
    fieldcatalog1-FIELDNAME    = 'mbrsh'.
    fieldcatalog1-TABNAME      = 'ITAB'.
    fieldcatalog1-outputlen = 4.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-REF_TABNAME   = 'makt'.
    append fieldcatalog1 to fieldcatalog.
    clear fieldcatalog1.
    *append fieldcatalog1 to fieldcatalog.
    fieldcatalog1-seltext_s = 'type'.
    fieldcatalog1-col_pos = 3.
    fieldcatalog1-FIELDNAME    = 'mtart'.
    fieldcatalog1-TABNAME      = 'ITAB'.
    fieldcatalog1-outputlen = 6.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-REF_TABNAME   = 'makt'.
    append fieldcatalog1 to fieldcatalog.
    clear fieldcatalog1.
    fieldcatalog1-seltext_s = 'Unit'.
    fieldcatalog1-col_pos = 4.
    fieldcatalog1-FIELDNAME    = 'meins'.
    fieldcatalog1-TABNAME      = 'ITAB'.
    fieldcatalog1-outputlen = 2.
    fieldcatalog1-key = 'X'.
    *fieldcatalog1-do_sum = 'X'.
    *fieldcatalog1-sp_group = 'A'.
    fieldcatalog1-REF_TABNAME   = 'makt'.
    append fieldcatalog1 to fieldcatalog.
    clear fieldcatalog1.
    ENDFORM.                    " t_fieldcat
    *&      Form  EVENTTAB_BUILD
          text
         -->P_I_EVENTS[]  text
    FORM EVENTTAB_BUILD  USING   T_EVENTS TYPE SLIS_T_EVENT.
    DATA LS_EVENT TYPE SLIS_ALV_EVENT.
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
       IMPORTING
         ET_EVENTS             = T_EVENTS
    EXCEPTIONS
      LIST_TYPE_WRONG       = 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.
      READ TABLE T_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
          INTO LS_EVENT.
      IF SY-SUBRC = 0.
        MOVE GC_FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
        MODIFY  T_EVENTS FROM LS_EVENT
                TRANSPORTING FORM
                where name = slis_ev_top_of_page.
      ENDIF.
      READ TABLE T_EVENTS WITH KEY NAME = SLIS_EV_USER_COMMAND
         INTO LS_EVENT.
      IF SY-SUBRC = 0.
        MOVE GC_FORMNAME_USER_COMMAND TO LS_EVENT-FORM.
        MODIFY  T_EVENTS FROM LS_EVENT
                TRANSPORTING FORM
                where name = slis_ev_user_command.
      ENDIF.
    ENDFORM.                    " EVENTTAB_BUILD
    *&      Form  data_selection
          text
    -->  p1        text
    <--  p2        text
    FORM data_selection .
    select matnr mbrsh mtart meins into
    table itab from mara
    where matnr in s_matnr.
    ENDFORM.                    " data_selection
    *&      Form  E04_COMMENT_BUILD
          text
         -->P_GT_LIST_TOP_OF_PAGE[]  text
    FORM E04_COMMENT_BUILD  USING    T_LISTHEADER TYPE SLIS_T_LISTHEADER.
    DATA: LS_LINE TYPE SLIS_LISTHEADER.
      LS_LINE-TYP = 'H'.
      LS_LINE-INFO = 'AREVA T&D'.
      APPEND LS_LINE TO T_LISTHEADER.
    CALL FUNCTION 'CONVERSION_EXIT_LDATE_OUTPUT'
           EXPORTING
                INPUT  = SY-DATUM
           IMPORTING
                OUTPUT = TOUTDT.
      CALL FUNCTION 'CONVERSION_EXIT_TIMLO_OUTPUT'
           EXPORTING
                INPUT  = SY-UZEIT
           IMPORTING
                OUTPUT = TOUTTM.
    CLEAR LS_LINE.
      LS_LINE-TYP = 'S'.
      LS_LINE-KEY = '  Run Date and Time'.
      CONCATENATE TOUTDT '-' TOUTTM INTO LS_LINE-INFO.
      APPEND LS_LINE TO T_LISTHEADER.
      CLEAR LS_LINE.
      LS_LINE-TYP = 'S'.
      LS_LINE-KEY = 'INV RECON REPORT'.
      APPEND LS_LINE TO T_LISTHEADER.
    ENDFORM.                    " E04_COMMENT_BUILD
    *&      Form  display
          text
    -->  p1        text
    <--  p2        text
    FORM display .
    break-point.
    gd_repid = sy-repid.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       I_CALLBACK_PROGRAM                = gd_repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = ' '
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = 'TOP-OF-PAGE'
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
       I_GRID_TITLE                      = 'INVOICE RECONCILLATION REPORT'
    I_GRID_SETTINGS                   =
      IS_LAYOUT                         = gd_layout
       IT_FIELDCAT                       = fieldcatalog[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           = IT_SORT
      IT_FILTER                         =
      IS_SEL_HIDE                       =
       I_DEFAULT                         = 'X'
       I_SAVE                            = 'A'
      IS_VARIANT                        =
       IT_EVENTS                         = I_EVENTS
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = ITAB.
    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.                    " display
    FORM TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE
                I_LOGO             = 'AREVA_LOGO'.
        I_END_OF_LIST_GRID       = GT_LIST_TOP_OF_PAGE.
    ENDFORM.
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.
    CASE R_UCOMM.
    WHEN '&IC1'.
    READ TABLE itab INTO itab1 INDEX RS_SELFIELD-TABINDEX.
    PERFORM BUILD_FIELDCATLOG_EKPO.
    PERFORM EVENTTAB_BUILD  USING I_EVENTS[].
    PERFORM DATA_RETRIEVAL_EKPO.
    PERFORM BUILD_LISTHEADER_EKPO USING GT_LIST_TOP_OF_PAGE.
    PERFORM DISPLAY_ALV_EKPO.
    ENDCASE.
    ENDFORM. "user_command
    *&      Form  sort_order
          text
    -->  p1        text
    <--  p2        text
    FORM sort_order .
    PERFORM SORT_ORDER_FILL USING: '01'
                                    'matnr'
                                    'X'.
      PERFORM SORT_ORDER_FILL USING: '02'
                                    'mbrsh'
                                    'X'
    ENDFORM.                    " sort_order
    *&      Form  SORT_ORDER_FILL
          text
         -->P_0508   text
         -->P_0509   text
         -->P_0510   text
         -->P_0511   text
         -->P_0512   text
    FORM SORT_ORDER_FILL  USING   P_SPOS TYPE SLIS_SPOS
                                  P_FIELDNAME TYPE SLIS_FIELDNAME
                                  P_UP TYPE SLIS_SOUP
                                  P_DOWN TYPE SLIS_SODN.
                                 P_SUBTOT TYPE SLIS_DOSUB.
    DATA: WA_SORT TYPE SLIS_SORTINFO_ALV.
      WA_SORT-SPOS      = P_SPOS.
      WA_SORT-FIELDNAME = P_FIELDNAME.
      WA_SORT-TABNAME   = 'ITAB_ALV'.
      WA_SORT-UP        = P_UP.
      WA_SORT-DOWN      = P_DOWN.
    WA_SORT-SUBTOT    = P_SUBTOT.
      WA_SORT-GROUP     = 'UL'.
      WA_SORT-COMP      = ' '.
      WA_SORT-EXPA      = ' '.
      WA_SORT-OBLIGATORY = ' '.
      APPEND WA_SORT TO IT_SORT.
    ENDFORM.                    " SORT_ORDER_FILL
    *&      Form  BUILD_FIELDCATLOG_EKPO
          text
    -->  p1        text
    <--  p2        text
    FORM BUILD_FIELDCATLOG_EKPO .
    data: fieldcatalog1 type slis_fieldcat_alv.
    loop at fieldcatalog into fieldcatalog1.
    case fieldcatalog1-fieldname.
    when 'matnr'.
    fieldcatalog1-seltext_s = 'materialno'.
    fieldcatalog1-col_pos = 1.
    *fieldcatalog1-FIELDNAME    = 'matnr'.
    *fieldcatalog1-TABNAME      = itab_alv.
    fieldcatalog1-outputlen = 20.
    fieldcatalog1-do_sum = 'X'.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-REF_TABNAME   = 'makt'.
    when 'maktx'.
    fieldcatalog1-seltext_s = 'description'.
    fieldcatalog1-col_pos = 2.
    *fieldcatalog1-FIELDNAME    = 'mbrsh'.
    *fieldcatalog1-TABNAME      = itab_alv.
    fieldcatalog1-outputlen = 10.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-REF_TABNAME   = 'makt'.
    *append fieldcatalog1 to fieldcatalog.
    when 'spras'.
    fieldcatalog1-seltext_s = 'language'.
    fieldcatalog1-col_pos = 3.
    *fieldcatalog1-FIELDNAME    = 'mtart'.
    *fieldcatalog1-TABNAME      = itab_alv.
    fieldcatalog1-outputlen = 10.
    fieldcatalog1-key = 'X'.
    fieldcatalog1-REF_TABNAME   = 'makt'.
    endcase.
    modify fieldcatalog from fieldcatalog1.
    endloop.
    ENDFORM.                    " BUILD_FIELDCATLOG_EKPO
    *&      Form  EVENT_CALL_EKPO
          text
    -->  p1        text
    <--  p2        text
    FORM EVENT_CALL_EKPO  USING   T_EVENTS TYPE SLIS_T_EVENT.
    DATA LS_EVENT TYPE SLIS_ALV_EVENT.
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         I_LIST_TYPE           = 0
       IMPORTING
         ET_EVENTS             = T_EVENTS
    EXCEPTIONS
      LIST_TYPE_WRONG       = 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.
      READ TABLE T_EVENTS WITH KEY NAME = SLIS_EV_TOP_OF_PAGE
          INTO LS_EVENT.
      IF SY-SUBRC = 0.
        MOVE GC_FORMNAME_TOP_OF_PAGE TO LS_EVENT-FORM.
        MODIFY  T_EVENTS FROM LS_EVENT
                TRANSPORTING FORM
                where name = slis_ev_top_of_page.
      ENDIF.
      READ TABLE T_EVENTS WITH KEY NAME = SLIS_EV_USER_COMMAND
         INTO LS_EVENT.
      IF SY-SUBRC = 0.
        MOVE GC_FORMNAME_USER_COMMAND TO LS_EVENT-FORM.
        MODIFY  T_EVENTS FROM LS_EVENT
                TRANSPORTING FORM
                where name = slis_ev_user_command.
      ENDIF.
    ENDFORM.                    " EVENT_CALL_EKPO
    *&      Form  DATA_RETRIEVAL_EKPO
          text
    -->  p1        text
    <--  p2        text
    FORM DATA_RETRIEVAL_EKPO .
    select matnr maktx spras from makt into table itab2.
    ENDFORM.                    " DATA_RETRIEVAL_EKPO
    *&      Form  BUILD_LISTHEADER_EKPO
          text
         -->P_IT_LISTHEADER  text
    FORM BUILD_LISTHEADER_EKPO  USING    P_IT_LISTHEADER.
    DATA: HLINE1 TYPE SLIS_LISTHEADER.
    HLINE1-TYP = 'H'.
    HLINE1-INFO = 'CHECKING PGM'.
    ENDFORM.                    " BUILD_LISTHEADER_EKPO
    *&      Form  DISPLAY_ALV_EKPO
          text
    -->  p1        text
    <--  p2        text
    FORM DISPLAY_ALV_EKPO .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       I_CALLBACK_PROGRAM                = gd_repid
      I_CALLBACK_PF_STATUS_SET          = ' '
       I_CALLBACK_USER_COMMAND           = 'USER_COMMAND'
      I_CALLBACK_TOP_OF_PAGE            = ' '
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  = t_field[]
      I_BACKGROUND_ID                   = ' '
       I_GRID_TITLE                      = 'SECONDARY LIST'
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
       IT_FIELDCAT                       = fieldcatalog[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
       I_DEFAULT                         = 'X'
       I_SAVE                            = 'A'
      IS_VARIANT                        =
       IT_EVENTS                         = I_EVENTS
      IT_EVENT_EXIT                     =
      IS_PRINT                          =
      IS_REPREP_ID                      =
      I_SCREEN_START_COLUMN             = 0
      I_SCREEN_START_LINE               = 0
      I_SCREEN_END_COLUMN               = 0
      I_SCREEN_END_LINE                 = 0
      IT_ALV_GRAPHICS                   =
      IT_HYPERLINK                      =
      IT_ADD_FIELDCAT                   =
      IT_EXCEPT_QINFO                   =
      I_HTML_HEIGHT_TOP                 =
      I_HTML_HEIGHT_END                 =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
      TABLES
        T_OUTTAB                          = itab2.
    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.                    " DISPLAY_ALV_EKPO
    *&      Form  display
          text
    -->  p1        text
    <--  p2        text
    *FORM display .
    *ENDFORM.                    " display
    Regards,
    Mohit

  • PLMD_AUDIT add custom fields to audit header or to question detail

    Dear Sirs, how is possible to add some custom fields (for data entry) to Audit header, is there some ddic strucure to extend and enhancement to activate ?
    Regards,
    Riccardo Galli

    Hi,
    check this link.
    [http://wiki.sdn.sap.com/wiki/display/Snippets/Tutorial-AddingNewGUIStatustoStandardSAPTransaction]
    i hope this might help
    Regards,
    Shraddha

  • How to add a field object to group header section in crystal report document?

    Hi All, I have got two questions mentioned below, please share your inputs. 1)I want to know whether it is possible to add a field object to header section in crystal report document programmatically? I am using crystal runtime for visual studio. I know that using RAS we can do it, but I want to do it using managed library of crystal runtime. Please suggest. 2) I am doing a POC where I am using RAS (unmanaged library) to manipulated crystal report document. Please see code below: var dbTable = _reportDocument.ReportClientDocument.DatabaseController.Database.Tables[0]; var dbField = dbTable.DataFields.FindField(item.ColumnName,                         CrystalDecisions.ReportAppServer.DataDefModel.CrFieldDisplayNameTypeEnum.crFieldDisplayNameName,                         CrystalDecisions.ReportAppServer.DataDefModel.CeLocale.ceLocaleEnglishUS); CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject fieldObject = new CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject();                     fieldObject.DataSourceName = dbField.Name;                     fieldObject.FieldValueType = dbField.Type; var groupHeaderArea = _reportDocument.ReportClientDocument.ReportDefController.ReportDefinition.GroupHeaderArea[0].Sections[i]; _reportDocument.ReportClientDocument.ReportDefController.ReportObjectController.Add(fieldObject, groupHeaderArea); In above code last line throwing exception : "The report field type is not valid." at CrystalDecisions.ReportAppServer.Controllers.ReportObjectControllerClass.Add(ISCRReportObject ReportObject, Section Section, Int32 nIndex) Thanks, Jai

    Hi Jaikumar
    As per the SCN Rules of engagement, one question per thread please.
    Re. your 1st question. Adding a field to a report is considered to be a report creation APIs (RCAPI). Only the RAS SDK has RCAPIs, so you can not use plain jane crystal APIs. For how to with RAS, see the examples here: NET RAS SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    Also, consult the Developer Help Files:
    Report Application Server .NET SDK Developer Guide
    Report Application Server .NET API Guide
    Re. your second question, please create a new discussion.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • WCTL Transaction - Add Custom Field Header level

    Hi All,
    Here at my client's place guys are doing PoC on WCM (PM being used for last couple of years) and the requirement is to have a custom field at Header level of WCTL (WC Application Change ) with F4 option.
    I have created a custom field with z table for master data to it (will be used as check table for this field) and appended it to the WCAAP - WCM: Application using append structure option.
    Now I need to add this field at the header level of the mentioned transaction. I searched throgh for any available exits, BADI's or enhancement spots with no success. Even Inforums i couldnt find any help and hence this message.
    Will appreciate any inputs in this regard,
    Thanks,
    Lakshmi Narayana.

    Hi Narasimhan,
    First of all thank you verymuch for the quick reply.
    I tried to search for the BADI definition (BADI_WCM_WAPI_001) and Enhancement Spot (ES_WCM_BADI) (se18) with no success. We are using ECC6.0 with SAP_ABA patch level 10, EA-APPL (SAP Enterprise Extension PLM, SCM, Financials) at level 7.
    Does this has any impact on why I couldnt find it or is there something that I am doing  wrong... Please guide me...
    Thank you once again for your time.
    Rgds,
    Lakshmi Narayana

  • Add Custom Fields in MB1B Tcode

    I want to Add Custom fields in MB1B Header Data. I not able to find way how to do that. So can you please let me know how to add custom fields in MB1B.
    Thanks & Regards
    Nikunj Shah

    Hi Parikshit,
    There is no badi or user exit available to add a custom fields.If that fields are standard one then it can be controlled against the movement type.Go to T code: OMCJ .Select the movement type, and click on display. And maintian the filed settings accordingly.
    Post if need help.
    if you need validations there are some exits.
    TCode MB1B
    EXIT_SAPMM07M_001 - MBCF0002 - Customer function exit: Segment text in material doc. item
    EXIT_SAPMM07M_003 - MBCFC003 - Maintenance of batch master data for goods movements
    EXIT_SAPMM07M_004 - MBCFC004 - Maintenance of batch specifications for goods movements
    EXIT_SAPMM07M_005 - MBCF0006 - Customer function for WBS element
    EXIT_SAPMM07M_009 - MBCF0009 - Filling the storage location field
    EXIT_SAPMM07M_010 (Propose Batch / Transfer Batch) - MBCFC010 - Propose batch number on Inventory Management item screen
    Regards,
    Madhu.
    Edited by: madhurao123 on Jun 28, 2011 9:44 AM

  • Is it system modification to add custom field in Addition B Order Header?

    I need to add user specific text and input field in Addition B Order Header in Sales Order Function(PGM: SAPMV45A Dyn: 8309). Is this system modification? What will happen when the system is upgraded?

    Hi,
    Remember that your z-fields must begin with ZZ* in your appends.
    Second. With this screens the problem is the same that with other userexits, enhancements, etc...
    Check the Note 16466 - Customer name range for SAP objects, it will help you.
    When you will do an upgrade or you will apply support-packages, you must remember to check these objects.
    Regards,
    Eduardo

  • VA01 Sales order - Header-- Accounting tab need to add a field

    Dear All,
    The requirement is,
    1. I need to add a field in Sales order.
    Path for the same is as follows:
    VA01> Goto> Header--> Accounting tab
    2. The field will be a date field that needs to calculate date on.
    a)create a new field. ex - zchdt (chq due date)
    b)when customers enters value in Assignment,
    i.e vbak-zuonr
    after that trigger logic is
    3.vabk-kunnr = knvv-kunnr
    a)sy-date + knvv-kvgr2 (exclude sundays)
    example - 14 sept + 30 days = 14th october
    should populate value - 14th october i.e. field (zchdt)
    4. This activity needs to be triggered before the sales order is saved.
    kindly know whether this is possible or not.
    if possible how & which exit & also with example code.
    if you could give me your contact(cell no).
    Regards,
    Nagendra D.S.
    Mobile - +91 9819899082

    Hi All,
    VA01 Sales order - Header--> Accounting tab need to add a field. field name - zchdt(cheque due date)
    when customer enters value in Assignment i.e zuonr & after that trigger logic is
       1.     vbak-kunnr = knvv-kunnr
       2.     sysdat + knvv-kvgr2 (exclude sundays)
    example - 16 sept + 30days = 16 oct
    in field zchdt value 16 oct as to populate
    Pls help me in the code.
    Regards
    Nagendra

Maybe you are looking for

  • ITunes can't see iTv  -have followed the eoght steps!

    Is there any way to see if my PC is getting imput from iTV - I am running XP home? Just can't get Itunes to recognise it - I can play audio through the itv but not video Thanks!

  • Cannot use HDMI port on my Satellite P855-108

    Hi all, I have a problem with my Toshiba Satellite P855-108. When I connect the computer to a external monitor, this works perfectly with VGA but this does not work with HDMI (see error message here: [http://s4.postimg.org/5mzl8adnx/Erreur.jpg]). I t

  • Typekit font not displaying in iPad DPS app (created by Indesign) in Web Content (Edge Animate)

    I think I have tried every permutation to make this work, but I am probably missing something.  I am creating a single DPS iPad app with InDesign, and I am using a Typekit font throughout.  So far so good.  I have created an Edge Animate project usin

  • Exporting project with unique library

    Hi, I have been programming with java for a few months and have really gotten into using eclispe to write stuff. Currently I am working on a little app that minimises to the system tray, displays an icon and some other stuff. Writing it has been fine

  • Crystal report could not show dynamic picture

    I develop crystal report which show dynamically picture in my PC but when I send it to server which has not be installed program just install asp.net framework 2.0 , it could not show dynamic picture. How should I do, please advise.