Adding additional field for selection criertoria for report painter

I am trying to add a new selection criterion for a report which is created from report painter. I have run Transaction Code GRR2 and selected the library 1VK which is cost centers: absorption costing and doubled clicked on the report.
Clicked on edit on the header à General data selection à I am looking for a option for company code but I cant find it in the list. Is there anywhere I need to flag the field company code as characteristic value or am I missing something??
Thanks
E

hi,
You might want to try add parameters in general data selection.... in addition you can add variable against this field so that it appears on selection-screen. You can look at standard SAP report for example.
hope this helps.
Cheers,
Gimmo

Similar Messages

  • FBL5N : Adding additional field PERNR  to layout

    Hi experts,
    I had added additional field PERNR - personnel number in FBL5N layout for displaying in output.
    I had added pernr- personnel number by following the path
    SPRO -> Financial accounting ( new ) -> accounts receivable and accounts payable-> customer accounts ->line items -> display line items -> define additional fields for line item dispaly
    here i added bseg - pernr
    after adding , in FBL5N layout the field is appearing , but it is displaying blank in output  .
    Is there any thing needs to be done to display additional field in output of FBL5N.
    kindly give me any suggestions.
    thanks & tregards,
    Raghul
    Edited by: Raghul Gandhi on Mar 23, 2010 9:30 AM

    Hi,
    FBL5N: customer line item display.
    BSEG-PERNR: personnel number.
    Under which circumstances should BSEG-PERNR contain a value if you create customer related postings?
    If there is no personnel number given during posting (why should it?)  the field added to the FBL5N-layout will be empty.
    Best regards, Christian

  • How to assign search help using ovs for select options for ALV in web dynpr

    how to assign search help using ovs for select options for ALV in web dynpro

    Hi,
    refer http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP
    http://www.****************/Tutorials/WebDynproABAP/OVS/page1.htm
    and http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproAbap-OVSsearch+help
    Thanks,
    Chandra

  • Define default for excel integration to report painter

    Hello,
    I am running report painter.
    I am using office integration to display the report with Microsoft
    Excel.
    The Excel opens with left to right display.
    I want to display him right to left - but I cannot define right to left
    as a default.
    Where can I define defalut template for excel integration to report painter?
    Regards,
    Amit Blumshtein

    Hello,
    Thank you for the replies.  I did resolve the issue above (K9 072), the account group gave me a cost center and cost element that was blocked for use.  Once I usees a valid cost center and cost element, the error went away.
    We are using SAP version 4.6
    With that said... I did receive another error, "Enter a numeric value"
    Enter a numeric value
    Message no. 00 052
    The valid cost centers are alphanumeric, not just numeric.  For instance:  IT1 is a cost center.
    Can alphanumeric values be used?  If so, how to I go about making them work with the upload in KP06?
    I have looked at the layout in report writer (KP66) and I see no options on allowing alphanumeric values.  However, I am very new to this and just may be missing it.
    Any suggestions would be greatly appreciated.
    Thank you very much!
    Rhonda

  • Printing Selection Variant in Report Painter

    Hi, I am using ECC 5.  There is a requirement for printing the selection variant in Report Painter (GR55) Reports.  Presently there is a provision to print selection fields and values.
    Is any way, I can print a Selection Variant and Name in Report Painter?  I understood that the information is stored in Table VARIT.  This table contains Lang., Report Name, Variant and Short text.  I do not know how to get this info in Report screen.
    Can any one help?
    Advance Thanks
    Venkat

    Hi,Thanks for your reply.  Let me explain.
    When using Transaction Code GR55, enter Report Group, Execute.  This will open a Report Paramenter screen.  In this screen, if you select Goto --> Variant --> Get OR Get Variant icon, this will show the available selection variants.  Select any one of them and run report.
    In report it will pick-up the each selection paramater field and value NOT a variant.
    Is any way to get the variant also printed in report?
    Hope this will is clear.
    Thanks
    Venkat

  • How can I add a new field in selection screen for this report

    *& Report  ZGS_BARKODLA_HIZLI_GIRIS
    report  zgs_barkodla_hizli_giris.
    tables: mara,
            mseg,
            mch1,
            *mch1,
            mkpf,
            mchb ,
            makt.
    type-pools: esp1.
    data: i_message_tab  type esp1_message_tab_type,
          wa_message_tab type esp1_message_wa_type ,
          sc_count type i.
    ALV
    type-pools: slis, kkblo.
    data: gs_layout   type slis_layout_alv                     ,
          gt_fldcat   type slis_t_fieldcat_alv with header line,
          gt_header   type slis_t_listheader   with header line,
          gt_sortin   type slis_t_sortinfo_alv with header line,
          g_repid     like sy-repid                            .
    define add-fieldcat.
      gt_fldcat-fieldname     = &1.
      gt_fldcat-ref_tabname   = &2.
      gt_fldcat-seltext_s     = &3.
      gt_fldcat-seltext_m     = &3.
      gt_fldcat-seltext_l     = &3.
      gt_fldcat-reptext_ddic  = &3.
      gt_fldcat-ddictxt       = 'M'.
      append gt_fldcat.
      clear  gt_fldcat.
    end-of-definition.
    types: begin of titab,
            sel   type xfeld,
            matnr type matnr,
            maktx type maktx,
            charg type charg_d,
            menge type menge_d,
            erfmg type erfmg,
           end of titab.
    data : witab type titab.
    data : itab type table of titab.
    data : ok_code type sy-ucomm.
    controls: tc_itab type tableview using screen 0100.
    data: gv_header like bapi2017_gm_head_01,
          gv_code   like bapi2017_gm_code.
    BAPI export parameters
    data: gv_headret type bapi2017_gm_head_ret,
          gv_matdoc  type bapi2017_gm_head_ret-mat_doc,
          gv_matyear type bapi2017_gm_head_ret-doc_year.
    data : lv_objek like inob-objek .
    data : ls_inob  like inob .
    data : imseg type ty_t_mseg.
    data : wmseg type mseg.
    data : answer.
    data : count type i.
    data : v_atinn type atinn.
    BAPI movement details
    data: i_goodsmvt_items type bapi2017_gm_item_create occurs 0
          with header line.
    data: i_return type bapiret2 occurs 0 with header line.
    start-of-selection.
    call function 'CONVERSION_EXIT_ATINN_INPUT'
       exporting
         input  = 'Z_ORAN'
       importing
         output = v_atinn.
      call screen 100.
    *&      Module  status_0100  OUTPUT
    module status_0100 output.
      set pf-status '100'.
      set titlebar '100'.
      mseg-werks = 1000.
      mseg-umwrk = 1000.
    **added
      sc_count = sc_count + 1.
      if sc_count eq 1.
        mseg-bwart = 313.
      endif.
      mkpf-budat = sy-datum.
    **added
      describe table itab lines tc_itab-lines.
    endmodule.                 " status_0100  OUTPUT
    *&      Module  user_command_0100  INPUT
    module user_command_0100 input.
      data field(20).
      data: line_t like sy-index.
      data: lines  like sy-index.
      data line_count like sy-loopc.
      data: begin of cols,
             screen      like screen,
             index       type i,
             selected(1) type c,
             vislength   like icon-oleng,
             invisible(1) type c,
           end   of cols.
      case ok_code.
        when 'DELE'.
          delete itab where sel eq 'X'.
        when 'ENTE'.
          check *mch1-charg is not initial.
          read table itab into witab with key charg = *mch1-charg.
          if not sy-subrc is initial.
            witab-charg = *mch1-charg.
            select single matnr from mch1 into witab-matnr
                               where charg eq witab-charg.
            if not syst-subrc is initial.
              set cursor field '*MCH1-CHARG'.
              message e115(12) with *mch1-charg.
            endif.
            select single maktx from makt into witab-maktx
                               where matnr eq witab-matnr
                                 and spras eq syst-langu.
            witab-erfmg = 1.
            concatenate witab-matnr witab-charg into lv_objek .
            clear ls_inob .
            select single * into ls_inob
                            from inob
                            where objek = lv_objek and
                                  klart = '023'    and
                                  obtab = 'MCH1' .
            select single atflv from ausp into witab-menge
                     where objek = ls_inob-cuobj and
                           klart = '023' .
            append witab to itab.
    **added
            clear *mch1-charg.
    **added
          endif.
        when 'SAVE'.
          if mkpf-budat is initial.
            set cursor field 'MKPF-BUDAT'.
            message e055(00).
          endif.
          if mseg-lgort is initial.
            set cursor field 'MSEG-LGORT'.
            message e055(00).
          endif.
          if mseg-umlgo is initial.
            set cursor field 'MSEG-UMLGO'.
            message e055(00).
          endif.
          if mseg-bwart is initial.
            set cursor field 'MSEG-BWART'.
            message e055(00).
          endif.
          refresh imseg.
          loop at itab into witab.
            move-corresponding witab to wmseg.
            append wmseg to imseg.
          endloop.
          call function 'ZMM_POPUP_WITH_DATA'
            exporting
              imseg  = imseg
            importing
              answer = answer.
          if answer eq 'Y'.
            perform create_goods_movement.
          endif.
        when 'P--'.
          clear ok_code.
          perform paging using 'P--'.
          set cursor field 'MARA-MATNR' line 1.
        when 'P-'.
          clear ok_code.
          perform paging using 'P-'.
          set cursor field 'MARA-MATNR' line 1.
        when 'P+'.
          clear ok_code.
          clear lines.
          perform paging using 'P+'.
          set cursor field 'MARA-MATNR' line 1.
        when 'P++'.
          clear ok_code.
          perform paging using 'P++'.
          set cursor field 'MARA-MATNR' line 1.
        when 'SORA'.
          read table tc_itab-cols into cols with key selected = 'X'.
          if sy-subrc is initial.
            field = cols-screen.
            field = field+5(10).
            sort itab ascending by (field).
          endif.
        when 'SORZ'.
          read table tc_itab-cols into cols with key selected = 'X'.
          if sy-subrc is initial.
            field = cols-screen.
            field = field+5(10).
            sort itab descending by (field).
          endif.
        when 'PRNT'.
          perform write_alv.
      endcase.
    endmodule.                 " user_command_0100  INPUT
    *&      Module  read_table  OUTPUT
    module read_table output.
      mara-matnr = witab-matnr.
      makt-maktx = witab-maktx.
      mch1-charg = witab-charg.
      mseg-menge = witab-menge.
      mseg-erfmg = witab-erfmg.
      line_count = sy-loopc.
    endmodule.                 " read_table  OUTPUT
    *&      Module  write_table  INPUT
    module write_table input.
      witab-matnr = mara-matnr.
      witab-maktx = makt-maktx.
      witab-charg = mch1-charg.
      witab-menge = mseg-menge.
      witab-erfmg = mseg-erfmg.
      modify itab from witab index tc_itab-current_line.
    endmodule.                 " write_table  INPUT
    *&      Module  exit  INPUT
    module exit input.
      leave to screen 0 .
    endmodule.                 " exit  INPUT
    *&      Form  create_goods_movement
    form create_goods_movement .
      clear : gv_header, i_return[], i_goodsmvt_items[].
      gv_header-doc_date = gv_header-pstng_date = mkpf-budat.
      gv_header-pr_uname = sy-uname.
    GM with reference to reservation
      loop at itab into witab.
        i_goodsmvt_items-material   = witab-matnr.
        i_goodsmvt_items-entry_qnt  = witab-erfmg.
        i_goodsmvt_items-entry_uom  = 'ST'.
        i_goodsmvt_items-move_type  = mseg-bwart.
        i_goodsmvt_items-plant      = mseg-werks.
        i_goodsmvt_items-stge_loc   = mseg-lgort.
        i_goodsmvt_items-move_plant = mseg-umwrk.
        i_goodsmvt_items-move_stloc = mseg-umlgo.
        i_goodsmvt_items-batch      = witab-charg.
        append i_goodsmvt_items.
      endloop.
    find BAPI processing transaction
      if gv_code is initial.
        perform determine_bapi_code using mseg-bwart
                                 changing gv_code.
      endif.
      call function 'BAPI_GOODSMVT_CREATE'
        exporting
          goodsmvt_header  = gv_header
          goodsmvt_code    = gv_code
        importing
          goodsmvt_headret = gv_headret
          materialdocument = gv_matdoc
          matdocumentyear  = gv_matyear
        tables
          goodsmvt_item    = i_goodsmvt_items
          return           = i_return[].
    cancel blocking process
      loop at i_return where type eq 'E' or type eq 'A' or type eq 'X'.
        exit.
      endloop.
      if sy-subrc ne 0.
        refresh i_message_tab.
        call function 'BAPI_TRANSACTION_COMMIT'
          exporting
            wait = 'X'.
        wa_message_tab-msgid = 'M7'..
        wa_message_tab-msgty = 'S'.
        wa_message_tab-msgno = '060'.
        wa_message_tab-msgv1 = gv_matdoc.
        wa_message_tab-msgv2 = ''.
        wa_message_tab-msgv3 = ''.
        wa_message_tab-msgv4 = ''.
        append wa_message_tab to i_message_tab.
      else.
        refresh i_message_tab.
        call function 'BAPI_TRANSACTION_ROLLBACK'.
    write a message as there is an unexpected error.
        loop at i_return.
          wa_message_tab-msgid = i_return-id.
          wa_message_tab-msgty = i_return-type.
          wa_message_tab-msgno = i_return-number.
          wa_message_tab-msgv1 = i_return-message_v1.
          wa_message_tab-msgv2 = i_return-message_v2.
          wa_message_tab-msgv3 = i_return-message_v3.
          wa_message_tab-msgv4 = i_return-message_v4.
          append wa_message_tab to i_message_tab.
        endloop.
      endif.
      call function 'C14Z_MESSAGES_SHOW_AS_POPUP'
        tables
          i_message_tab = i_message_tab.
    endform.                    " create_goods_movement
    *&      Form  determine_bapi_code
    form determine_bapi_code using p_bwart type bwart
    changing p_code type bapi2017_gm_code.
      data: lt_t158b type table of t158b with header line.
      clear p_code.
      select tcode from t158b into corresponding fields of table lt_t158b
      where bwart eq p_bwart.
      loop at lt_t158b.
        select single gmcode from t158g into p_code
        where tcode eq lt_t158b-tcode.
        if sy-subrc is initial.
          exit.
        endif.
      endloop.
    endform. " determine_bapi_code
    *&      Form  paging
    form paging using code.
      data: i type i,
            j type i.
      case code.
        when 'P--'. tc_itab-top_line = 1.
        when 'P-'.
          tc_itab-top_line = tc_itab-top_line - line_count.
          if tc_itab-top_line le 0.
            tc_itab-top_line = 1.
          endif.
        when 'P+'.
          i = tc_itab-top_line +  line_count.
          j = tc_itab-lines -  line_count + 1.
          if j le 0.
            j = 1.
          endif.
          if i le j.
            tc_itab-top_line = i.
          else.
            tc_itab-top_line = j.
          endif.
        when 'P++'.
          tc_itab-top_line = tc_itab-lines - line_count + 1.
          if tc_itab-top_line le 0.
            tc_itab-top_line = 1.
          endif.
      endcase.
    endform.                    " paging
    *&      Form  write_alv
    form write_alv .
      perform find_list_header.
      perform fill_field_cat.
      perform fill_sortinfo.
      g_repid = sy-repid.
      gs_layout-colwidth_optimize = 'X'.
      gs_layout-zebra             = 'X'.
      answer = 'Y'.
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_buffer_active        = ''
          i_callback_program     = g_repid
          i_save                 = 'A'
        i_callback_top_of_page = 'TOP_OF_PAGE'
          is_layout              = gs_layout
          it_fieldcat            = gt_fldcat[]
         it_sort                = gt_sortin[]
        tables
          t_outtab               = itab[].
    endform.                    " write_alv
         Form  find_list_header
    form find_list_header.
      data : v_datum(10),
             v_datlo(10),
             v_dathi(10),
             v_uzeit(8).
      clear: gt_header, gt_header[].
      gt_header-typ  = 'H'.
      gt_header-info = sy-title.
      append gt_header.
      clear gt_header.
      gt_header-typ  = 'S'.
      gt_header-key  = 'Çalıştırma Zamanı : '.
      write syst-datum to v_datum.
      write syst-uzeit to v_uzeit.
      concatenate v_datum '/' v_uzeit into gt_header-info.
      append gt_header.
    endform.                    " find_list_header
         Form  fill_field_cat
    form fill_field_cat.
      refresh gt_fldcat.
      clear   gt_fldcat.
      gt_fldcat-key = 'X'.
      add-fieldcat 'MATNR'  'MARA' ''.
      add-fieldcat 'MAKTX'  'MAKT' ''.
      add-fieldcat 'CHARG'  'MSEG' ''.
      gt_fldcat-do_sum = 'X'.
      add-fieldcat 'MEINS'  'MARA' 'Olcu Birimi '.
      gt_fldcat-do_sum = 'X'.
      add-fieldcat 'ERFMG'  'MSEG' 'Adet'.
    endform.                    " fill_field_cat
         Form  fill_sortinfo
    form fill_sortinfo.
      gt_sortin-up            = 'X'.
      gt_sortin-fieldname     = 'MATNR'.  append gt_sortin.
    endform.                    " fill_sortinfo
         Form  top_of_page                                              *
    form top_of_page.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          i_logo             = 'ZKUTAS'
          it_list_commentary = gt_header[].
    endform.                    " top_of_page

    HI,
    if it is a normal report program then you can directly create a Selection screen field.
    After the Type-pool you can use Parameters or Select-options to create the selection screen field..
    If it is a Modulpool program then you can create a selection scren field like
    SELECTION-SCREEN BEGIN OF SCREEN 1100 AS SUBSCREEN.
    PARAMETERS: p1(10) TYPE c.
    SELECTION-SCREEN END OF SCREEN 1100.
    defines a selection screens – 1100 – as subscreens.
    The next screen number of screen 100 is 100 (statically-defined).
    PROCESS BEFORE OUTPUT.
      MODULE status_0100.
      CALL SUBSCREEN area INCLUDING sy-repid number.
    PROCESS AFTER INPUT.
      MODULE cancel AT EXIT-COMMAND.
      CALL SUBSCREEN area.
      MODULE user_command_0100.
    look at the below link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/e7/deb237b9a9a968e10000009b38f8cf/content.htm
    Regards
    Sudheer

  • How to add additional field into output table for RFIDYYWT(Generic Withholding Tax Reporting)

    Hi Experts,
    How to add additional field into output table VENDORS/WH TAX TYPES AND CODES in RFIDYYWT(Generic Withholding Tax Reporting).
    I have no idea how to start with, please give some advice.
    Thanks!
    Ice

    Dear Ice,
    Use Append structure, see given link:
    https://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
    Regards,
    Abbas.

  • ADF to BPEL - Adding additional field for the web service call

    I have an existing ADF project that invokes a BPEL process. Recently I added 2 new fields to the bpel process and I want to populate this additional fields from the ADF when calling the bpel process.
    What is the best way to do this ? I dont see a way to regenerate the data control. Am I missing something ?

    correct, i am using the WS data control
    I manually added the 2 new fields in the ProjectName.xml and pagenamepagedef.xml files and also he necessary code in the bean class . But when i run it i still dont see the vallues passed to the bpel process.

  • Put some additional field in pdf form for travel expenses report

    Heloo,
    I would like to get additional field (P0001-PLANS) organisational data in form ZPTRV_EXPENSE_FORM (copy of standard PTRV_EXPENSE_FORM).
    How to do that?
    BR
    Saso

    Hello,
    I am aasume you´re Adobe forms beginner, so I am sorry if I am going to tell you something what you already know.
    1) you have to find the interface of the form
    2) into the interface you have to add your field (probably you will have to copy the interface into a customer one)
    3) if you copy the interface, you have to change the interface name in the form properties
    4) you have to refresh the interface information in the form (sfp transaction, left part, refresh) and you should be now able to see your new field
    5) use drag and drop left to right (from interface to form context) to copy the new field into your form context (so the form is aware there is a new field)
    6) open LCD designer (if you don t have one, you have to download and install one, use 8.1)
    7) in the form layout, left side find "data view" tab from where you can drag a new field and drop it onto your form layout
    8) you must populate the new field, you can use initialization in the form interface or find the right spot in the printing program to populate the value before you send the data to the form
    9) save, activate, enjoy
    regards, Otto

  • Adding additional field 1 to selection screen of CATSSHOW (CADO)

    Hello all,
      We recently added one of the additional field's to show up on the data entry section when using
    transaction CAT2...This is working fine and the data is entered into CATSDB.
      When using CADO, one can display the addtional field 1 and sort by this field.
      However, the users now want this additional field1 to be one of the selections when they
    use report CATSSHOW (CADO).
      Is there some type of way to configure SAP to have one of these additional fields show up
    as a selection field on program CATSSHOW (CADO)? My searches in this forum and the web
    have not shown me a solution yet.
      Or do I have to create a 'Z' version of CATSSHOW like ZCATSSHOW and do this myself?
    Thank-you,
    Rick Crawford

    Enhancement
    text
    F050S001
    FIDCMT, FIDCC1,
      FIDCC2: Edit user-defined IDoc segment
    F050S002
    FIDCC1: Change
      IDoc/do not send
    F050S003
    FIDCC2: Change
      IDoc/do not send
    F050S004
    FIDCMT, FIDCC1,
      FIDCC2: Change outbound IDoc/do not send
    F050S005
    FIDCMT, FIDCC1,
      FIDCC2 Inbound IDoc: Change FI document
    F050S006
    FI Outgoing IDoc:
      Reset Clearing in FI Document
    F050S007
    FIDCCH Outbound:
      Influence on IDoc for Document Change
    F180A001
    Balance Sheet
      Adjustment
    FARC0001
    Enhancements within
      archiving (FI)
    FARC0002
    Additional Checks for
      Archiving MM Vendor Master Data
    FEDI0001
    Function exits for
      EDI in FI
    FICT0001
    Exits for
      inter-company transactions
    RFAVIS01
    Customer Exit for
      Changing Payment Advice Segment Text
    RFBVX001
    Enhancement for bank
      directory transfer (Austria)
    RFEPOS00
    Line item display:
      Checking of selection conditions
    SAPLBANK
    User exit: Bank data
    SAPLF040
    WF: Preliminary
      posting (authorized for release)
    SAPLF051
    Workflow for FI
      (pre-capture, release for payment)
    SAPLFCPD
    One-time account data
      or different payee in booking
    SAPLSSRV
    User exit: Bank
      account numbers
    RFKORIEX
    Automatic
      correspondence
    please check which one  is better .

  • Adding Additional field "Supplier name" & "Supplier No" in MB5B Report?

    Can i add the above stated two additional fields in the standard report of MB5b, is there any implicit enhancement in the standard report which can help achieve my objective?

    Hi,
    The possibility to include additional fields in the report MB5B is       
    limited to MSEG, just as you can see in the text of the                  
    report RM07MLBD_CUST_FIELDS itself:                                                                               
    This include contains the structure for additional fields for report 
    RM07MLBD ( transaction MB5B )                                                                               
    the following fields are not shown in the list of report             
    RM07MLBD                                                             
    If you want to insert some of these fields in the list of the        
    hidden fields delete the '*' in the type definition.                 
    >>* There are only fields from database table MSEG possible <<<<<<<<<<<  
    Please use only the following fields, because these fields           
    are considered during the creation of the field catalog;             
    plaese consider, that each active field will cost performance                                                                               
    If you need to add aditional information from other tables, like the     
    Reference Document Number you will need to  build your own query.    
    Regards,
    Mauro

  • SEARCH HELP FOR SELECT PTIONS IN REPORTS

    hI,
       I HAVE ONE SELECT-OPTION FOR ZTSH-TSMONTH. HOW CAN I SET SEARCH HELP FOR THAT
    SHYJA

    Hi Sihya,
    You can create search help in 2 ways:::
    1) Goto SE11 and create search help with any name ZSRCHELP.
    For reference u can see some standard search help like H_T530E for field PREAS in table PA0002.
    Now go to SE11 in table ZTSH, u can find the tab for search help, select your field TSMONTH, and click on search help tab and give the name of search help u created.
    Now activate it.
    Now u goto ur report u will find search help will be shown for that parameter.
    2)See the report below
    TABLES: mara, makt.
    DATA mat LIKE mara-matnr.
    DATA: BEGIN OF itab OCCURS 0,
    matnr LIKE mara-matnr,
    END OF itab.
    DATA : BEGIN OF btab OCCURS 0,
    maktx LIKE makt-maktx,
    END OF btab.
    DATA : return LIKE ddshretval OCCURS 0 WITH HEADER LINE.
    SELECT-OPTIONS: so_matnr FOR mara-matnr,
    so_maktx FOR makt-maktx.
    INITIALIZATION.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_matnr-low.
    PERFORM matnr.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_matnr-high.
    PERFORM matnr.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_maktx-low.
    PERFORM maktx.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_maktx-high.
    PERFORM maktx.
    *& Form matnr
    text
    FORM matnr.
    REFRESH itab.
    SELECT matnr FROM mara INTO TABLE itab.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'MATNR '
    dynprofield = 'P_MATNR '
    dynpprog = sy-repid
    dynpnr = sy-dynnr
    value_org = 'S'
    TABLES
    value_tab = itab
    return_tab = return.
    mat = return-fieldval.
    UNPACK mat TO mat.
    so_matnr = return-fieldval.
    REFRESH return.
    CLEAR return.
    ENDFORM. "matnr
    *& Form maktx
    text
    FORM maktx.
    REFRESH btab.
    SELECT maktx FROM makt INTO TABLE btab WHERE matnr = mat AND spras =
    sy-langu.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'MAKTX'
    dynprofield = 'SO_MAKTX '
    dynpprog = sy-repid
    dynpnr = sy-dynnr
    value_org = 'S'
    TABLES
    value_tab = btab
    return_tab = return.
    so_maktx = return-fieldval.
    REFRESH return.
    CLEAR return.
    ENDFORM. "maktx
    <b>KINDLY REWARD IF USEFUL
    ROHIT G</b>

  • CRM 7.0 / IS-U: adding custom fields to Business agreement for replication

    Hello Experts!
    We're working on replication of custom fields from IS-U to CRM 7.0.
    Can you help me with clarification of my understanding of these questions..?
    1) CRM/IS-U mapping tables for buag_main:
    Business Agreement(BUAG_MAIN) is a BO in CRM that corresponds to CRM table CRMM_BUAG and to Contract account in IS-U table FKKVKP.
    Table FKKVKP were enhanced with some z-fields,
    so we are going to enhance corresponding CRM table CRMM_BUAG (or CRMM_BUAG_H) with that new fields..
    But we see that these CRM and IS-U tables have far not the same field structures..
    So, the question: Which crm and is-u tables i should look, enhance and replicate for Business agreement?
    2) Access to Business agreement with possibility to add custom field:
    I couldn't find in Web UI where i can directly edit profile of Business Agreement..
    I've found just access to assignment block "Business agreement" on Account's profile overview page..(Role ServicePRO; Account details).
    There I used AET to add custom field..but I faced with problem when the 1st popup appeared: there was no enhanced object "Business Agreement"..
    Also in role "Utilities IC Agent" i've found "business agreement" profile but there I don't see buttons for adding custom fields..
    So, the question is: Where I can access Business agreement profile to enhance it with custom fields for replication with IS-U?
    3) CRM/IS-U data exchange functions:
    I tend to use tcode CRMC_BUT_CALL_FU:
    for CRM inbound event of BUAG object  - FM CRM_BUAG_MWX_PROCESS_EXT_STRUC..(as template).
    Question: Am I right that it fits my requirement to replicate custom fields from IS-U to CRM?
    Please tell me if you need more information..
    Looking forward to your answers.
    Thank you a lot in advance!
    Kind regards,
    Evgenia

    Hi Gobi,
    Thank you for advice. But:
    I've created fields not by using AET - I used documentation that Nicolas suggested me above.
    I've enhanced tables and structures that were mentioned there with my z-fields for both sides (CRM and ERP).
    Also I looked CRMC_BUT_CALL_FU for CRM Inbound BUAG_MAIN - corresponding standard FMs are marked for call.
    Any ideas?
    Thanks in advance.
    BR,
    Evgenia

  • Add Range Selection for Cost Center in Report Painter

    Dear Gurus,
    I had a report painter which had Cost Center selection, may I know how to change the cost center selection become in range like shown in below picture?
    [Report Painter - Cost Center in Range|http://www.pikipimp.com/pp/pimped_photo/s/image/42/231/888/range-compiled.JPG?ts=1236930732343]
    Thank you very much!

    Hi,
    Thanks for your guide, is really detail ~
    I had follow your step, create a new variable set for the cost center at GS11.
    When I want to include the set (KOSTL2) into the general data selection it prompt this [error|http://www.pikipimp.com/pp/pimped_photo/s/image/42/314/153/ErrorGS12-compiled.JPG?ts=1237172967140] may I know how should I correct it?
    Is it my setting was wrong?
    Please guide if possible.
    Thank you very much!
    Warm regards

  • Additional field in join table for CMP EJB

    Hello,
    I'm trying to perform this task using CMP entity beans:
    The entity A has a CMR relation of cardinality m-n with entity B (bidirectional) (This is working fine).
    I want to add a parameter to the relation.
    Ex : When I find that A1 is linked to B1, I need to perform "x" times an action. x would be my parameter, and I would have kept this parameter as an additional column in the join table A_TO_B.
    Could anyone provide an example of how to perform this with CMP EJB?
    NOTE: I'm using OC4J 10g 9.0.4 standalone (and cannot change my version).
    Thanks
    Tanguy

    Manohar,
    You need to create an append structure for table VBAP (for example ZAVBAP) using SE11. In this structure you create your ZZ fields. If you need a non-SAP domain/data element for your field then you need to create it first using the same transaction and activate it. Attach ZAVBAP to VBAP so the SE11 shows:
    .APPEND in the Fields column and
    ZAVBAP in the Field type column.
    Your ZZ fields will be shown automatically.
    When you have finished then activate your ZAVBAP structure. You will notice when you go VA01 (for example) that a lot of programs are being recompiled. Don't worry. It will be ok.
    The user-exit screen number for items is 8459 (in program SAPMV45A).
    Thanks,
    Wojtek

Maybe you are looking for