RFC Groups - Where Used?

Hi,
I currently have the standard generated 'parallel_generators' RFC Groups in my system but also have 2 others, for which I do not know why they were created or what uses them.
I have used RPR_ABAP_SOURCE_SCAN to try and find any hard coded usage with no results found and also struggled to 'decode' the variants tables VARI etc to find usage in Variants.
But what I actually want is a 'Where Used' for RFC Groups.
Does anyone know a comprehensive solution to this or alternative analysis method?
Thanks and Regards
Ash

Hi Ash,
Same with the "Where used list" (I mean, it will be tedious to go to each program and identify). 
Basically, the logon group info is stored on the RZLLITAB table.  What distinguishes it if it's a dialog or an RFC type is the field group type (that is, if it's 'S' then it's an RFC group).  There are several function modules and programs that uses this info.  One of the common ones that SAP is using is the function module SMLG_GET_DEFINED_GROUPS (or SPBT_INITIALIZE).  This function module determine if it's an RFC or dialog.  As you've might have seen, there are several functions / programs that uses this (and they use the info returned by this function module to load balance either dialog and RFC processes).
Basically, to somewhat answer your query:  There's no absolute "Where used list" since a developer can hardcode the query to the database for this table (and not have it part of the variants or other tables).  Looking particularly for the server groupname (that shows up on the RZ12 transaction) on the ABAP codes is tedious.  Not to mention the fact that a developer can also hardcode the server groupname on an external program that does an RFC (thus you will not see this in the SAP/ABAP system even if it has the "Where used list").
Thanks,
Allaine
Edited by: Allaine Tabilin on Mar 6, 2009 8:56 PM

Similar Messages

  • Where used in web templates  for parameter groups

    Does SAP deliver any where used functionality for parameter groups? I need a report or function that can take as input a parameter group (fully qualified) and deliver back all the web layouts and planning folders that the parameter group (or for that matter global planning sequence) is used.
    I can find the XML of the web templates but that is a bear to parse and have not found the tables that show the details of planning folders (if any).

    Hello Corwin,
    we don't have a where-used functionality but in SAP NetWeaver 2004s you can use programs UPC_CUSTOMIZING (for BPS0), UPB_CUSTOMIZING (for folders) and UPWB_CUSTOMIZING (for web interfaces) to display and search through the configuration. It's one folder or web interface at a time but it's certainly quicker than doing it manually.
    Regards,
    Marc
    SAP NetWeaver RIG

  • RFC Function module's where used list

    Dear Experts,
       I have a situation where in I need to change certain parameters/ the logic of an RFC function module. but before making the changes to the function module I need to know where this function module is used in various systems. So can some one tell me a way to find the where used list of an RFC function module in the calling system.
    Thanks
    -Amit

    It could be called from anywhere, theoretically, SAP or non-SAP environments.
    I hope you can rely on good documentation in your organization to find the potential callers, as each call must have been consciously implemented at some point.
    Also check with system administrators who might have a means to study trace logs for information on calling systems.
    Thomas
    P.S. the hard way would be to just do the change and see who complains later on

  • In RFC can we use SUBMIT satement?

    Dear all,
    Thank u vvery much for ur response,
    In RFC can we use SUBMIT statement?
    I had a doubt Please clarify me.
    Thanks and Regards,

    Hi Lakshman,
    I am facing similar situation like Ravi.
    I am using Submit program inside RFC function module in BW.
    And one point here, I am using EXPORT and IMPORT memory IDs in the same RFC to retrive data in BW.
    I am calling this from R3.
    In BW it is working fine, where as in R3 nothing is coming.
    Please help me.
    Thanks,
    Veerendra.

  • XK01 Account group 0003 uses ext no assignment Specify account number

    Hi
    When I am trying to create one time vendor in XK01 , after filling all fields (except vendor , when I click the enter I am getting the following error .
    "Account group 0003 uses ext no assignment Specify account number "
    Any idea where should I specify account number  and what is this account number  ? I mean is it GL account number ?
    Thanks
    SN

    Hi Satya,
    if you donot want to assign the external number range to the vendors.....use T.code XKN1..remove the tickmark from checkbox "EXT" and save.
    Try creating again. The problem occurs because you have selected external number ranges for vendors in XKN1.
    Regards
    A
    Assign points if useful

  • Decreasing amount of RFC-Destinations when using UD-Connect?

    Hello,
    I created an RFC-Destination in sm59 as well as JCO RFC Provider and used the SAP manual for UD-Connect/JDBC to a "foreign" Sybase-DB. The Connection is working properly and all DB-data is accessible, but our cutomer claims that there are more than 25 parallel rfc-connections from our Web AS to his Sybase-DB. My question is: How can I decrease the amount of parallel connections, because I don't think 25 connections to Sybase-DB are necessary. I know there is the maxConnection-Property in JCO RFC Provider but this parameter is globally affecting all RFC-connections and not only those that are associated with the Sybase-DB.
    Is there actually a way to customize the amount of parallel connection via JDBC?
    Best regards
    Danny

    Hi,
    use transaction  "smqs", select destination and click on registration  change max number of connections.
    Try to define rfc server group  to control connections ...
    Regards
    Ben

  • GROUP BY USING CASE ?

    SELECT
    E.ACTV_DESC AS ACTV_DESC,
    E.ACTV_CDE AS ACTV_CDE,
    COUNT(E.ACTV_CDE) AS CNT_ACTV_CDE,
    CASE WHEN B.VET_OTHR_ELIG_CDE ='01' THEN 'NO' ELSE NULL END AS VET_NO, -- new column to be added
    CASE WHEN B.VET_OTHR_ELIG_CDE IN ('02','03','04') THEN 'YES' ELSE NULL END AS VET_YES --new column to be added
    FROM
    ETR_RGT_PARTC A,
    ETR_INT_PARTC_INTK_JS B,
    ETR_SDT_PARTC_PGM_ACTV C,
    ETR_VM_SM_STFFNME D,
    ETR_SMT_ACTV_MSTR E
    WHERE
    A.PARTC_ID = B.PARTC_ID AND
    B.PARTC_ID = C.PARTC_ID AND
    B.APPLC_ID = C.APPLC_ID AND
    B.PGM_ID = C.PGM_ID AND
    C.RESP_STFF_ID = D.STFF_ID AND
    C.PGM_ID = E.PGM_ID AND
    C.ACTV_ID = E.ACTV_ID AND
    (D.RACF_ID LIKE :P_RACF_ID||'%') AND
    C.LOC_ID LIKE 'ES%' AND
    (TRUNC(C.CRTE_DTE) >= :P_FROM_DATE AND
    TRUNC(C.CRTE_DTE) <=:P_TO_DATE) AND
    D.STFF_LOC_ID = 'ES00'||:P_LOCL_OFFC_ID
    AND D.CLOS_DTE IS NULL
    GROUP BY
    ACTV_DESC,
    ACTV_CDE
    ORDER BY ACTV_CDE;
    we cant group by using alias in this situation what shud i do ?
    Thanks in advance

    If you want to group by using the added new columns as well, then all you need to do is - put the full CASE statements into group by clause without alias.
    But if you do not want to group by your data based on the added new columns then you can use the inline view and do the group by first based on first 2 columns and then do the CASE afterwards.
    Also, one error I noticed in the give query is that you are doing COUNT on the column E.ACTV_CDE which is also your group by column - E.ACTV_CDE. This means that you will always receive 1 as count for each actv_cde as you are doing the grouping on the same column.

  • How to Insert Sharepoint 2013 Person or Group Field using VBA

    Hello,
    How to Insert Sharepoint 2013 Person or Group Field using VBA , I tried set the field with ID / ID;Name / Name
    but all failed, Please advice 
    Function SetSP_Field(F_Yer As Single, F_WekNo As Single, F_ProjectNum As String, strField As Variant, strFieldValue As Variant) As String
    ' test code
        Dim rst         As Recordset
        Dim strSQL      As String
        Dim SP_RecSet   As ADODB.Recordset
        Set SP_RecSet = New ADODB.Recordset
        SetSP_Field = False
        strSQL = "Status Report"
        On Error Resume Next
        Call SP_Connect(2)
        strSQL = "select " & SP_List & ".* From  " & SP_List _
               & " Where [Year] = " & CInt(F_Yer) _
               & "   and [WeekNo] = " & CInt(F_WekNo) _
               & "   and [Compass_Code] = '" & F_ProjectNum & "' ; " _
    '           & " Set " & strField & " = " & strFieldValue
        'Debug.Print strSQL
        'Debug.Print SP_CN
        SP_RecSet.Open strSQL, SP_CN, adOpenStatic, adLockOptimistic
        If SP_RecSet.RecordCount = 0 Then
            Debug.Print "Record for project: " & F_ProjectNum & " not found"
            LogFile.WriteLine ("Record " & strID & " not found")
        End If
        If Not SP_RecSet.EOF Then
            'SP_RecSet.Edit
            SP_RecSet.Fields(strField) = strFieldValue
            SP_RecSet.Update
            If Err.Number <> 0 Then
                MsgBox ("SP Update Error: " & Err.Description)
                GoTo Exit_Fun
            End If
            SetSP_Field = True
        End If
    Exit_Fun:
        SP_RecSet.Close
        Set SP_RecSet = Nothing
    End Function

    Hi Tim,
    Let’s verify the followings:
    Whether this issue occurred for other lists in the same site.
    Whether this issue occurred for all users who don’t have full control.
    Whether this issue occurred on other sites.
    When you created the people & group column, which show field did you used? Please try to use a different show field for the people & group column, compare the result.
    In addition, please check if the link is useful:
    http://www.learningsharepoint.com/2013/08/21/empty-value-in-people-picker-after-saving-the-list-form-in-sharepoint/
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Extensibility Pack 3.7 Now Available, including new and improved Where Used Tools

    We are pleased to announce the general availability of Agile PLM for Process Extensibility Pack (EP) 3.7 as of January 14th.  This feature pack includes the following important enhancements:
    Reporting Pack:  We introduce a series of BI Publisher based reports focused on providing visibility to information throughout the product hierarchy.  The reports are…
    Where Used – Parents lists all parent specifications where a given specification is associated. Quickly see how many hierarchies are affected by a single raw material. This report respects all application security, so if a user doesn’t have read access to a specification they will not see that specification listed.  Also the report can be run from the hierarchy navigator making the report easy to access.
    Where Used – Parents and Children lists all parents and their children where a given specification is associated. For performance reasons this report does not respect GSM security and therefore is considered an administration report and should be made available to a small group of trusted users.
    Supporting Document Review report allows you to quickly see all supporting documents within a specification hierarchy including supplier documents stored in SCRM. For example, when you are on a given finished good you can quickly review all SCRM supplier documents found on associated specifications or objects without leaving the trade specification.
    Supplier Review report allows a user to quickly see all suppliers involved within a specification hierarchy. You can quickly see all of the suppliers involved, their status, when their next scheduled audit date is and quality issues reported against them.
    Open Issues By Hierarchy report allows a user to quickly see all outstanding and historical PQM issues associated with a specification hierarchy.
    Extensibility Pack:  Extensible enhancements provide technical tools to aid in the creation of custom solutions or integrations.  In this release we introduce…
    Attachments Web Service provides operations to get attachment files and rich text values of GSM specifications, and SCRM companies, facilities, and sourcing approvals.  The following operations are supported by the AttachmentService:
    GetAttachment
    GetAttachmentJson
    GetRichText
    GetRichTextJson
    WHERE:  AGILE PLM FOR PROCESS EXTENSIBILITY PACK 3.7 is available on MOS (My Oracle Support). Patch Request #: 17921825.
    Enjoy,
    The Agile PLM for Process Product Development Team

    Hi Mark!
    I need to install latest Adobe Community Help silently to our corporate desktops. Are there any command-line syntax to do this and where I can download installer package?
    Thanks.
    BR,
    Teijo

  • CHVW_EXPLODE_ALL Batch where used

    Dear All,
    Now I am trying to get batch where used details by using FM 'CHVW_EXPLODE_ALL' samp0le code is givem below, while running  this i will get only one record in shadow, same time wile running the FM in SE37 with same parameters i get 68 records please explain is there any error in my coding
      DATA: shadow LIKE chvwshadow OCCURS 0 WITH HEADER LINE.
      Data : c_bottom_up(10) VALUE '90 X  B B',
             material like MCHA-MATNR,
             plant like MCHA-WERKS,
             batch like MCHA-CHARG.
    wa_i_DFCHVW = c_bottom_up.
      material = ty_inv-MATERIAL.
      plant = ty_inv-PLANT.
      batch = ty_inv-BATCH.
      CALL FUNCTION 'CHVW_EXPLODE_ALL'
        EXPORTING
          I_MATNR            = material
          I_WERKS            = plant
          I_CHARG            = batch
          I_DFCHVW           = wa_i_DFCHVW
        TABLES
          T_SHADOW           = shadow
        EXCEPTIONS
          INVALID_INPUT_DATA = 1
          OTHERS             = 2.
    Regards
    Nausal

    Try to use FM CHVW_BATCH_WHERE_USED_LIST with same DFCHVW  values an a dummy container refrence  before callin FM 'CHVW_EXPLODE_ALL' I had a similar problem & found that there is a global data pa_dfchvw in function group which doesnot get set some times & caues problem of no showing detailed level

  • Multi level where used list (cs_where_use_mat)

    How to get Multi level where use list of a component?
    CS_WHERE_USE_MAT has details of a material. but i need to dig where use list for all materials of that component.  CS15 does not give compleate details(only few fields are there)

    Check the below program :
    REPORT ZPPR_BOM_INFOL_REPORT no standard page heading
                     line-size 160
                     line-count 60.
    ======================================================================
    Program Name : ZPPR_BOM_INFOL_REPORT
    Table definition                                                    *
    TABLES: mast,
            stko,
            stpo,
            T418,
            makt.
    TYPE - POOLS
    TYPE-POOLS: slis.
    Constants
    constants : c_tcode(4) type c value 'CS03',
                gc_formname_top_of_page TYPE slis_formname
                VALUE 'TOP_OF_PAGE'.
    Variables
    data : v_maktx like makt-maktx,
           wa_stko like stko.
    DATA:
    Objekttyp 'Material'
       otyp_mat(1) TYPE c VALUE '1',
       ootyp_mat(1) TYPE c VALUE 'M',
    Objekttyp 'kein Objekt'
       otyp_noo(1) TYPE c VALUE '2',
    Objekttyp 'Dokument'
       otyp_doc(1) TYPE c VALUE '3',
    Objekttyp 'Klasse'
       otyp_kla(1) TYPE c VALUE '4',
    Objekttyp 'Intramaterial'
       otyp_ntm(1) TYPE c VALUE '5'.
    maximal anzeigbare Menge
    data:   max_num(7)  TYPE p DECIMALS 3 VALUE '9999999999.999',
            ueberl_kz(1) TYPE c VALUE '*',
            min_num(7)  TYPE p DECIMALS 3 VALUE '9999999999.999-',
            b_flag(1) TYPE c VALUE 'X',
            ecfld(250) TYPE c,
            v_flag type c.
    ALV Variables
    DATA: gt_fieldcat TYPE slis_t_fieldcat_alv,
          gs_layout   TYPE slis_layout_alv,
          gs_keyinfo  TYPE slis_keyinfo_alv,
          gt_sp_group TYPE slis_t_sp_group_alv,
          gt_events   TYPE slis_t_event.
    DATA: g_repid LIKE sy-repid.
    DATA: gt_list_top_of_page TYPE slis_t_listheader,
                g_tabname_header TYPE slis_tabname,
                g_tabname_item   TYPE slis_tabname,
                g_save(1) TYPE c,
                gx_variant LIKE disvariant,
                g_variant LIKE disvariant,
                g_default(1) TYPE c,
                g_exit(1) TYPE c.
    Includes                                                             *
    INCLUDE .
    Internal Table Declaration                                           *
    DATA: t_mast LIKE STANDARD TABLE OF mast WITH HEADER LINE.
    *DATA: t_makt LIKE STANDARD TABLE OF makt WITH HEADER LINE.
    BOM Function module Related
    DATA: t_matcat  LIKE cscmat OCCURS 0 WITH HEADER LINE.
    Internal Table for Level by Level Function module
    DATA: t_stb  LIKE stpox OCCURS 0 WITH HEADER LINE.
    Get the Relevant data from FM
    DATA: BEGIN OF hd_tab OCCURS 0,
             stufe LIKE stpox-stufe,
             vwegx LIKE stpox-vwegx,
          END OF hd_tab.
    Final Output
    DATA: BEGIN OF alv_stb OCCURS 0.
            INCLUDE STRUCTURE stpox_alv.
    DATA:   info(3)   TYPE c,
          END OF alv_stb.
    DATA: BEGIN OF stb_orig.
            INCLUDE STRUCTURE stpox.
    DATA: END OF stb_orig.
    DATA: BEGIN OF stb_add.
            INCLUDE STRUCTURE stpol_add.
    DATA: END OF stb_add.
    Internal Table for STPO
    *-- BOM Line item
    TYPES: BEGIN OF ty_stpo,
           stlty TYPE stpo-stlty,
           stlnr TYPE stpo-stlnr,
           stlkn TYPE stpo-stlkn,
           stpoz TYPE stpo-stpoz,
           idnrk TYPE stpo-idnrk,
           meins TYPE stpo-meins,
           menge TYPE stpo-menge, "Component Qty
           END OF ty_stpo.
    DATA: t_stpo TYPE STANDARD TABLE OF ty_stpo WITH HEADER LINE.
    *-- BOM Header
    TYPES: BEGIN OF ty_stko,
           stlty TYPE stko-stlty,
           stlnr TYPE stko-stlnr,
           stlal TYPE stko-stlal,
           stkoz TYPE stko-stkoz,
           bmein TYPE stko-bmein,
           bmeng TYPE stko-bmeng,
           END OF ty_stko.
    DATA: t_stko TYPE STANDARD TABLE OF ty_stko WITH HEADER LINE .
    data : t_makt like makt occurs 0 with header line.
    DATA: BEGIN OF cl_clstab OCCURS 0,                          "YHG079407
             class LIKE klah-class,                             "YHG079407
             klart LIKE klah-klart,                             "YHG079407
             chked LIKE csdata-xfeld,                           "YHG079407
             noobj LIKE csdata-xfeld,                           "YHG079407
             dsply LIKE csdata-xfeld,                           "YHG079407
          END OF cl_clstab.
    *-- Header table
    TYPES: BEGIN OF ty_main_material,
           matnr TYPE mast-matnr, "Material
           werks TYPE mast-werks, "Plant
           maktx TYPE makt-maktx, "Description
           stlal TYPE mast-stlal, "Alternative BOM
           stlnr TYPE stko-stlnr, "BOM Number
           bmein TYPE stko-bmein, "UOM
           bmeng TYPE stko-bmeng, "Base Qty
           expand(1) TYPE c,      "Expanding Field
           END OF ty_main_material.
    DATA: t_main_material TYPE STANDARD TABLE OF ty_main_material WITH
          HEADER LINE.
    *-- Item (Component) Table
    TYPES: BEGIN OF ty_item_material,
           matnr TYPE mast-matnr, "Material
           werks TYPE mast-werks, "Plant
           idnrk TYPE stpo-idnrk, "Component (Material)
           maktx TYPE makt-maktx, "Description
           stlal TYPE mast-stlal, "Alternative BOM
           stlnr TYPE stpo-stlnr, "BOM Number
           meins TYPE stpo-meins, "UOM
           menge TYPE stpo-menge, "Base Qty
           END OF ty_item_material.
    DATA: t_item_material TYPE STANDARD TABLE OF ty_item_material WITH
          HEADER LINE.
    Selection Screen                                                     *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_werks LIKE marc-werks DEFAULT '1000' OBLIGATORY.
    SELECT-OPTIONS s_stlal FOR mast-stlal .
    SELECT-OPTIONS s_stlan FOR mast-stlan DEFAULT '1'.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    SELECTION-SCREEN SKIP.
    PARAMETERS: p_bomlst RADIOBUTTON GROUP g1 DEFAULT 'X'.
    SELECT-OPTIONS s_matnr FOR mast-matnr.
    SELECTION-SCREEN SKIP.
    PARAMETERS: p_compon RADIOBUTTON GROUP g1.
    SELECT-OPTIONS: s_idnrk FOR stpo-idnrk.
    SELECTION-SCREEN END OF BLOCK b2.
    SELECTION-SCREEN END OF BLOCK b1.
    selection-screen begin of block b03 with frame title text-b03.
    selection-screen begin of line.
    selection-screen comment 1(40) text-005.
    parameters: p_all radiobutton group r1 default 'X'.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(40) text-006.
    parameters: p_one radiobutton group r1 .
    selection-screen end of line.
    selection-screen end of block b03.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    PARAMETERS: p_vari LIKE disvariant-variant.
    SELECTION-SCREEN END OF BLOCK b3.
    At slection screen events                                            *
    *-- Process on value request
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
      PERFORM f4_for_variant.
    Intitialisation
    INITIALIZATION.
      g_repid = sy-repid.
      g_tabname_header = 'T_MAIN_MATERIAL'.
      g_tabname_item   = 'T_ITEM_MATERIAL'.
    *-- define keyinformation
      CLEAR gs_keyinfo.
      gs_keyinfo-header01 = 'MATNR'.
      gs_keyinfo-item01   = 'MATNR'.
      PERFORM e03_eventtab_build USING gt_events[].
      PERFORM e04_comment_build  USING gt_list_top_of_page[].
      PERFORM e07_sp_group_build USING gt_sp_group[].
      PERFORM e08_layout_build   USING gs_layout.
    Set Options: save variants userspecific or general
      g_save = 'A'.
      PERFORM variant_init.
    Get default variant
      gx_variant = g_variant.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
           EXPORTING
                i_save     = g_save
           CHANGING
                cs_variant = gx_variant
           EXCEPTIONS
                not_found  = 2.
      IF sy-subrc = 0.
        p_vari = gx_variant-variant.
      ENDIF.
    S T A R T - O F - S E L E C T I O N *******************
    start-of-selection.
      if p_all = 'X'.
    Get the data from MAST and MAKT Table
        if p_bomlst = 'X'.
      Get the data Based On Material #
          perform get_data.
        else.
      Get the data Based On Component
          perform get_data_component.
        endif.
      else.
    Get the Single Level Report
    *-- Moved the fiedl catalog here inorder to change the layout based on
    *-- Selection
        PERFORM e01_fieldcat_init  USING gt_fieldcat[].
        PERFORM select_data.
      endif.
    E N D - O F - S  E  L  E  C  T  I  O  N *******************
    end-of-selection.
      if p_one = 'X'.
        perform alv.
      endif.
    User Command
    at line-selection.
    Interactive to CS03 Transaction
      case sy-ucomm.
        when 'PICK' or 'F2'.
          if not alv_stb-idnrk is initial .
            if not alv_stb-werks is initial.
              if not alv_stb-objty is initial.
                SET PARAMETER ID 'MAT' FIELD alv_stb-idnrk.
                SET PARAMETER ID 'WRK' FIELD alv_stb-werks.
                SET PARAMETER ID 'CSV' FIELD alv_stb-OBJTY.
                call transaction c_tcode and skip first screen.
              endif.
            endif.
          endif.
          clear alv_stb.
      endcase.
    *&      Form  get_data
          Get data from MAST and MAKT Table
    FORM get_data.
      data : wa_lines type sy-index.
      REFRESH : T_MAST,
                t_STB,
                t_MATCAT,
                alv_STB.
      CLEAR : T_MAST,
                t_STB,
                t_MATCAT,
                alv_STB.
    Get the data from MAST Table
    Get all the information from MAST - BOM Table
      SELECT * FROM mast INTO TABLE t_mast WHERE matnr IN s_matnr AND
                                                 werks = p_werks  AND
                                                 stlan IN s_stlan AND
                                                 stlal IN s_stlal.
      describe table t_mast lines  wa_lines.
      if wa_lines is initial.
        Write:/2 'List contains no data'.
        stop.
      endif.
      loop at t_mast.
        clear : v_maktx.
    Start of change  Seshu
    Reason - Remove the new page option
        if sy-tabix ne 1.
          skip 1.
        endif.
    End of Change  Seshu
    Get the material Description
        select single maktx from makt into  v_maktx
                                 where matnr = t_mast-matnr
                                 and   spras = 'E'.
    Get the material details from STKO Table
        select single * from stko into wa_stko
                        where STLTY = 'M'
                        and   STLNR = t_mast-stlnr
                        and   STLAL = t_mast-stlal.
    Main Header for Each Material
        format color 5 on.
        write:/2 'Material',20 'Material Description',65 'Alternative BOM',
             90 'Base Qty', 115 'Base Unit'.
        format color 5 off.
        format color 1 on.
        write:/2 t_mast-matnr,20 v_maktx,65 wa_stko-STLAL, 85 wa_stko-BMENG,
               115 wa_stko-BMEIN.
        format color 1 off.
    Use the Function Module and get the format level by level
        perform get_level_level.
      endloop.
    ENDFORM.                    " get_data
    Top of page                                                  *
    top-of-page.
      perform report_header .
    *&      Form  report_header
          text
    -->  p1        text
    <--  p2        text
    FORM report_header.
      new-page line-size 160 .
      format color col_heading intensified on.
      write:/ sy-uline(160) .
    *--- Write Company Name.
      perform calc_col_and_write using    text-h00
                                          sy-linsz.
    *--- Write Report Title.
      perform calc_col_and_write using    sy-title
                                          sy-linsz.
    *--- Write User Id, Date / Time, Program Id, Page etc.
      perform write_other_hdr_details.
      write:/ sy-uline(160) .
    ENDFORM.                    " report_header
    *&      Form  calc_col_and_write
          text
         -->P_TEXT_H00  text
         -->P_SY_LINSZ  text
    FORM calc_col_and_write USING    P_TEXT
                                     P_LINSZ.
      data: col1 type i,
             col2 type i,
              len  type i,
              str  type i.
      str  = strlen( p_text ).
      col1 = ( p_linsz / 2 ) - ( str / 2 ) .
      len  = p_linsz - col1 - 2.
      write: at  /1  '|'.
      write: at  col1 p_text,
             at  sy-colno(len) space.
      write  at  160 '|'.
    ENDFORM.                    " calc_col_and_write
    *&      Form  write_other_hdr_details
          text
    -->  p1        text
    <--  p2        text
    FORM write_other_hdr_details.
      data: col1 type i,
              col2 type i,
              len  type i.
      col1 = 3.
      write:/1 '|'.
      write: at  col1 'UserId  : ',
                      sy-uname.
      len = sy-linsz - 1.
      write at sy-colno(len) space.
      col2 = sy-linsz - 18.
      write: at col2 'Date: ',
                     sy-datum mm/dd/yyyy.
      write: at sy-linsz '|'.
      write:/1 '|'.
      write: at  col1 'ReportId: ',
                      sy-repid.
      write at sy-colno(len) space.
      col2 = sy-linsz - 18.
      write: at col2 'Page: ',
                      sy-pagno.
      write: at sy-linsz '|'.
    ENDFORM.                    " write_other_hdr_details
    *&      Form  get_data_component
          Get the data based on Component level
    FORM get_data_component.
      data wa_lines type i.
    *-- Get the BOM item details
      SELECT  stlty stlnr stlkn stpoz idnrk meins menge
              FROM stpo
              INTO TABLE t_stpo
      WHERE   idnrk IN s_idnrk.
      IF sy-subrc = 0.
        CLEAR wa_lines.
        DESCRIBE TABLE t_stpo LINES wa_lines.
        IF wa_lines > 0.
          SELECT  stlty stlnr stlal stkoz bmein bmeng
                  FROM stko
                  INTO TABLE t_stko
                  FOR ALL ENTRIES IN t_stpo
          WHERE stlnr = t_stpo-stlnr.
          CLEAR wa_lines.
          DELETE ADJACENT DUPLICATES FROM t_stko COMPARING ALL FIELDS.
          DESCRIBE TABLE t_stko LINES wa_lines.
          IF wa_lines > 0.
    *-- Get the BOM item details
            SELECT * FROM mast INTO TABLE t_mast FOR ALL ENTRIES IN t_stko
                                                WHERE werks = p_werks  AND
                                                  stlnr = t_stko-stlnr
                                                  and stlal in s_stlal.
          ENDIF.
        ENDIF.
      else.
        Write:/2 'List contains no data'.
        stop.
      endif.
      loop at t_mast.
        clear : v_maktx.
    Start of change  Seshu
    Reason - Remove the new page option
        if sy-tabix ne 1.
          skip 1.
        endif.
    End of change    Seshu
    Get the material Description
        select single maktx from makt into  v_maktx
                                 where matnr = t_mast-matnr
                                 and   spras = 'E'.
    Get the material details from STKO Table
        select single * from stko into wa_stko
                        where STLTY = 'M'
                        and   STLNR = t_mast-stlnr
                        and   STLAL = t_mast-stlal.
    Main Header for Each Material
        format color 5 on.
        write:/2 'Material',20 'Material Description',65 'Alternative BOM',
             90 'Base Qty', 115 'Base Unit'.
        format color 5 off.
        format color 1 on.
        write:/2 t_mast-matnr,20 v_maktx,65 wa_stko-STLAL, 85 wa_stko-BMENG,
               115 wa_stko-BMEIN.
        format color 1 off.
    Use the Function Module and get the format level by level
        perform get_level_level.
        clear : t_mast.
      endloop.
    ENDFORM.                    " get_data_component
    *&      Form  obj_ident
          text
    FORM obj_ident.
    weder Mat noch Doc
      CHECK: T_stb-objty NE otyp_mat,
             T_stb-objty NE ootyp_mat,
             T_stb-objty NE otyp_doc,
             T_stb-objty NE otyp_ntm.
    ?T418-WA schon ok
    nein
      IF T_stb-postp NE t418-postp.
        T418 einlesen
        PERFORM t418_lesen USING T_stb-postp.
      ENDIF.
      PERFORM cl_clstab_maint.
    ?MatNr-Eingabe bei diesem PosTyp moeglich
      und keine Textposition
    trifft zu
      IF     t418-matin NE '-'
         AND t418-txpos IS INITIAL.
        aktuelles Objekt ist Material NLAG
        T_stb-objty = '1'.
        PosKurztext in ObjKurztext uebernehmen.
        T_stb-ojtxp = T_stb-potx1.
        MODIFY T_stb.
      ELSE.
        IF T_stb-objty IS INITIAL.
          T_stb-objty = '2'.
          MODIFY T_stb.
        ENDIF.
      ENDIF.
    ENDFORM.                    " obj_ident
    *&      Form  t418_lesen
          text
         -->P_T_STB_POSTP  text
    FORM t418_lesen USING   lkl_postp LIKE stpo-postp.
    T418-WA initialisieren
      CLEAR:
         t418.
    Key angeben
      t418-postp = lkl_postp.
    PosTypDefinition lesen
      READ TABLE t418.
    ENDFORM.                    " t418_lesen
    *&      Form  cl_clstab_maint
          text
    FORM cl_clstab_maint.
    nur fuer Klassenpositionen
      CHECK t_STB-OBJTY EQ OTYP_KLA.
    Teilkey der Klassenpositionentabelle
      CL_CLSTAB-CLASS = t_STB-CLASS.
      CL_CLSTAB-KLART = t_STB-KLART.
    Klassenpositionentabelle lesen
      READ TABLE CL_CLSTAB
         WITH KEY CL_CLSTAB(21)
         BINARY SEARCH.
    aktuelle Klassenposition bereits in Klassenpositionentabelle
    nein
      IF SY-SUBRC <> 0.
        Klassenposition in Klassenpositionentabelle hinzufuegen
        INSERT CL_CLSTAB INDEX SY-TABIX.
      ENDIF.
    ENDFORM.                    " cl_clstab_maint
    *&      Form  alv_stb_prep
          Printing the data as LEVEL BY LEVEL
    FORM alv_stb_prep.
      CLEAR:
          alv_stb,
          stb_orig,
          stb_add.
      IF t_stb-hdnfo IS INITIAL.
        stb_orig = t_stb.
        IF t_stb-mngko >= max_num.
          stb_add-ovfls = ueberl_kz.
        ELSE.
          IF t_stb-mngko <= min_num.
            stb_add-ovfls = ueberl_kz.
          ELSE.
            CLEAR: stb_add-ovfls.
          ENDIF.
        ENDIF.
        IF NOT t_stb-xtlnr IS INITIAL.
          stb_add-bomfl = b_flag.
        ENDIF.
        IF    NOT t_stb-knobj IS INITIAL
           OR NOT t_stb-class IS INITIAL
           OR NOT t_stb-kzclb IS INITIAL.
          stb_add-knofl = 'X'.
        ENDIF.
      ELSE.
        CHECK t_stb-stufe > 1.
        alv_stb-info = 'C30'.
        IF t_stb-ttidx <> t_matcat-index.
          READ TABLE t_matcat INDEX t_stb-ttidx.
        ENDIF.
        stb_orig-hdnfo = t_stb-hdnfo.
        stb_orig-stufe = t_stb-stufe - 1 .
        stb_orig-ojtxp = t_stb-ojtxb.
        IF NOT t_stb-altst IS INITIAL.
          stb_orig-stlal = t_stb-stlal.
          IF stb_orig-stlal(1) EQ '0'.
            stb_orig-stlal(1) = ' '.
          ENDIF.
        ENDIF.
        stb_orig-idnrk = t_matcat-matnr.
      ENDIF.
      CLEAR:
        stb_add-dobjt,
        stb_add-objic.
      CASE t_stb-objty.
        WHEN otyp_mat.
          WRITE: stb_orig-idnrk TO ecfld.
          stb_add-objic = '@A6@'.
        WHEN 'M'.
          WRITE: stb_orig-idnrk TO ecfld.
          stb_add-objic = '@A6@'.
        WHEN otyp_noo.
          WRITE: stb_orig-potx1 TO ecfld.
          stb_add-objic = '@0Q@'.
        WHEN otyp_doc.
          write stb_orig-doknr to ecfld.                        "note 489354
          IF ecfld CP '*# '. ENDIF.                             "note 489354
          sy-fdpos = sy-fdpos + 1.                              "note 489354
          CONCATENATE
    *d      stb_orig-doknr                                      "note 489354
            stb_orig-dokar
            stb_orig-doktl
            stb_orig-dokvr
    *d      INTO ecfld                                          "note 489354
            INTO ecfld+sy-fdpos                                 "note 489354
            SEPARATED BY space.
          stb_add-objic = '@AR@'.
        WHEN otyp_kla.
          CONCATENATE
            stb_orig-class
            stb_orig-klart
            INTO ecfld
            SEPARATED BY space.
          stb_add-objic = '@7C@'.
        WHEN otyp_ntm.
          WRITE: stb_orig-intrm TO ecfld.
        WHEN OTHERS.
      ENDCASE.
    *d CONDENSE ecfld.                                          "note 515408
      stb_add-dobjt = ecfld(40).
      CLEAR: ecfld.
      WRITE stb_orig-stufe TO stb_add-dstuf NO-SIGN.
    *d  MOVE-CORRESPONDING stb_orig TO alv_stb.                 "note 331962
      MOVE-CORRESPONDING stb_add TO alv_stb.
      MOVE-CORRESPONDING stb_orig TO alv_stb.                   "note 331962
      APPEND alv_stb.
    ENDFORM.                    " alv_stb_prep
    *&      Form  get_level_level
          text
    FORM get_level_level.
      REFRESH : T_STB,
                T_MATCAT,
                ALV_STB.
      CLEAR : T_STB,
              T_MATCAT,
              ALV_STB.
      CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
           EXPORTING
                capid                 = 'PP01'
                datuv                 = sy-datum
                mktls                 = 'X'
                mehrs                 = 'X'
                mtnrv                 = t_mast-matnr
                stlal                 = '01'
                stlan                 = '1'
                stpst                 = 0
                svwvo                 = 'X'
                werks                 = p_werks
                vrsvo                 = 'X'
           TABLES
                stb                   = t_stb
                matcat                = t_matcat
           EXCEPTIONS
                alt_not_found         = 1
                call_invalid          = 2
                material_not_found    = 3
                missing_authorization = 4
                no_bom_found          = 5
                no_plant_data         = 6
                no_suitable_bom_found = 7
                conversion_error      = 8
                OTHERS                = 9.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CLEAR: hd_tab.
            Entry der KlassenstatusTab. initialisieren
             cl_clstab,
            Entry 'Objekte von Klassen' initialisieren
             cl_objmemo.
      REFRESH: hd_tab.
      SORT t_matcat BY index ASCENDING.
    Get the All levels
      loop at t_stb.
        IF NOT t_stb-hdnfo IS INITIAL.
          EXIT.
        ENDIF.
    Object Identification
        PERFORM obj_ident.
        READ TABLE hd_tab
            WITH KEY stufe = t_stb-stufe
                     vwegx = t_stb-vwegx
            BINARY SEARCH
            TRANSPORTING NO FIELDS.
        ?gibt es diesen Satz schon
        nein
        IF sy-subrc <> 0.
           dann in SFP-Infosatzverweistab. aufnehmen
    *d       APPEND HD_TAB.                                       "HGH054648
          hd_tab-stufe = t_stb-stufe.
                                                                "HGH054648
          hd_tab-vwegx = t_stb-vwegx.
                                                                "HGH054648
          INSERT hd_tab                                         "HGH054648
            INTO hd_tab                                         "HGH054648
            INDEX sy-tabix.                                     "HGH054648
           PosNr initialisieren
          CLEAR: t_stb-posnr.
           SFP-InfosatzKz setzen
          t_stb-hdnfo = 'X'.
            stb-objty = otyp_mat.
                                                                "HGE246532
           als SFP-Infosatz in die STB aufnehmen
          append t_stb.
        ENDIF.
    *del  ENDIF.
        clear t_stb.
      endloop.
      SORT t_stb ASCENDING BY stufe
                  index ASCENDING
    *del        POSNR ASCENDING.                                  "HGC062735
                  posnr ASCENDING                               "HGC062735
                  hdnfo DESCENDING.
      LOOP AT t_stb.
        T_stb-index = sy-tabix.
        MODIFY T_stb.
        PERFORM alv_stb_prep.
      ENDLOOP.
    Displays the Value as Level by Level
      loop at ALV_stb.
        if sy-tabix = 1.
          format color 3 on.
          write:/2 'Level',12 'Item',22 'Component',
          42 'Material Description',82 'Base Qty',
          107 'Base Unit',120 'Assembly Indicator'.
          format color 3 on.
        endif.
        if alv_stb-MEINs is initial.
          v_flag = 'X'.
        endif.
        if v_flag = 'X'.
          format color 5 on.
          write:/2 ALV_stb-STUFE,12 alv_stb-posnr,22 alv_stb-idnrk,
                 42 alv_stb-OJTXP.
          format color 1 off.
        else.
          if alv_stb-STUFE = '1'.
            format color 1 on.
            write:/2 ALV_stb-STUFE,12 alv_stb-posnr,22 alv_stb-idnrk,
                   42 alv_stb-OJTXP,72 alv_stb-mngko,
                   107 alv_stb-MEINs, 120 alv_stb-bomfl .
            format color 1 off.
          elseif alv_stb-STUFE = '2'.
            format color 2 on.
            write:/2 alv_stb-STUFE,12 alv_stb-posnr,22 alv_stb-idnrk,
                   42 alv_stb-OJTXP,72 alv_stb-mngko,
                   107 alv_stb-MEINs,120 alv_stb-bomfl.
            format color 2 off.
          elseif alv_stb-STUFE = '3'.
            format color 3 on.
            write:/2 alv_stb-STUFE,12 alv_stb-posnr,22 alv_stb-idnrk,
                    42 alv_stb-OJTXP,72 alv_stb-mngko,
                    107 alv_stb-MEINs,120 alv_stb-bomfl .
            format color 3 off.
          elseif alv_stb-STUFE = '4'.
            format color 4 on.
            write:/2 alv_stb-STUFE,12 alv_stb-posnr,22 alv_stb-idnrk,
                    42 alv_stb-OJTXP,72 alv_stb-mngko,
                    107 alv_stb-MEINs,120 alv_stb-bomfl .
            format color 4 off.
          elseif alv_stb-STUFE = '5'.
            format color 5 on.
            write:/2 alv_stb-STUFE,12 alv_stb-posnr,22 alv_stb-idnrk,
                    42 alv_stb-OJTXP,72 alv_stb-mngko,
                    107 alv_stb-MEINs,120 alv_stb-bomfl .
            format color 5 off.
          elseif alv_stb-STUFE = '6'.
            format color 7 on.
            write:/2 alv_stb-STUFE,12 alv_stb-posnr,22 alv_stb-idnrk,
                   42 alv_stb-OJTXP,72 alv_stb-mngko,
                   107 alv_stb-MEINs,120 alv_stb-bomfl.
            format color 6 off.
          elseif alv_stb-STUFE = '7'.
            format color 7 on.
            write:/2 alv_stb-STUFE,12 alv_stb-posnr,22 alv_stb-idnrk,
                   42 alv_stb-OJTXP,72 alv_stb-mngko,
                   107 alv_stb-MEINs,120 alv_stb-bomfl .
            format color  7 off.
          else.
            format color 1 on.
            write:/2 alv_stb-STUFE,12 alv_stb-posnr,22 alv_stb-idnrk,
                    42 alv_stb-OJTXP,72 alv_stb-mngko,
                    107 alv_stb-MEINs,120 alv_stb-bomfl .
            format color  1 off.
          endif.
        endif.
        hide: alv_stb.
        clear : alv_stb.
        clear v_flag.
      endloop.
    ENDFORM.                    " get_level_level
    *&      Form  f4_for_variant
          text
    FORM f4_for_variant.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
             EXPORTING
                  is_variant          = g_variant
                  i_save              = g_save
                  i_tabname_header    = g_tabname_header
                  i_tabname_item      = g_tabname_item
              it_default_fieldcat =
             IMPORTING
                  e_exit              = g_exit
                  es_variant          = gx_variant
             EXCEPTIONS
                  not_found = 2.
      IF sy-subrc = 2.
        MESSAGE ID sy-msgid TYPE 'S'      NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        IF g_exit = space.
          p_vari = gx_variant-variant.
        ENDIF.
      ENDIF.
    ENDFORM.                    " f4_for_variant
          FORM E03_EVENTTAB_BUILD                                       *
    -->  E03_LT_EVENTS                                                 *
    FORM e03_eventtab_build USING e03_lt_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   = e03_lt_events.
      READ TABLE e03_lt_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.
        APPEND ls_event TO e03_lt_events.
      ENDIF.
    ENDFORM.
          FORM E04_COMMENT_BUILD                                        *
    -->  E04_LT_TOP_OF_PAGE                                            *
    FORM e04_comment_build USING e04_lt_top_of_page TYPE slis_t_listheader.
      DATA: ls_line TYPE slis_listheader.
    Listenüberschrift: Typ H
      CLEAR ls_line.
      ls_line-typ  = 'H'.
    LS_LINE-KEY:  not used for this type
      ls_line-info = text-001.
      APPEND ls_line TO e04_lt_top_of_page.
    Kopfinfo: Typ S
      CLEAR ls_line.
      ls_line-typ  = 'S'.
      ls_line-key  = text-050.
      ls_line-info = text-010.
      APPEND ls_line TO e04_lt_top_of_page.
      ls_line-key  = text-051.
      APPEND ls_line TO e04_lt_top_of_page.
    Aktionsinfo: Typ A
      CLEAR ls_line.
      ls_line-typ  = 'A'.
    LS_LINE-KEY:  not used for this type
      ls_line-info = text-002.
      APPEND ls_line TO  e04_lt_top_of_page.
    ENDFORM.
          FORM E07_SP_GROUP_BUILD                                       *
    -->  E07_LT_SP_GROUP                                               *
    FORM e07_sp_group_build USING e07_lt_sp_group TYPE slis_t_sp_group_alv.
      DATA: ls_sp_group TYPE slis_sp_group_alv.
      CLEAR  ls_sp_group.
      ls_sp_group-sp_group = 'A'.
      ls_sp_group-text     = text-005.
      APPEND ls_sp_group TO e07_lt_sp_group.
    ENDF

  • Program to find the where used

    Hi All,
    I want to find out where the particular field is used that includes programs , function modules and user exits.
    Is there any function module for this.
    Please help me out.
    Thanks in Advance,
    Praveen

    Hello Praveen
    Most of the ABAP Workbench Infosystem Where-used list is implemented by function module RS_EU_CROSSREF.
    FU RS_EU_CROSSREF
    Short Text
         ABAP Workbench Infosystem Where-used list
       Functionality
         This function searches for other usages of an object. Both object
         classes are specified in the IMPORT parameters. If no object class is
         specified for the search area, a selection of possible object classes is
         offered to the user. If there is only one possible object class, this is
         used in the search. The result is placed in a table with the structure
         RSFINDLST. There, you can also find the possible object classes. The
         object classes refer to the classes used in the Workbench.
       Example
         Usage of domain 'EXAMPLE' in tables.
           Object type of domains in the Workbench is 'DD_'.
           Object type of tables in the Workbench is 'DT_'.
           The following IMPORT parameters are thus specified:
           IMPORTING
                 I_FIND_OBJ_CLS = 'DD_'
                 I_SCOPE_OBJ_CLS = 'DT_'
           TABLES
                 I_FINDSTRINGS = 'EXAMPLE'
         Although you can pass several domains, the result table O_FOUNDS does
         not make it clear which domain is used in which table. This
         functionality supports recursivity.
    Parameters
         I_FIND_OBJ_CLS
         I_SCOPE_OBJ_CLS
         REKURSIV
         I_ANSWER
         I_ACTUAL_INCLUDE
         NO_DIALOG
         EXPAND_SOURCE_IN_BATCH_MODE
         EXPAND_SOURCE_IN_ONLINE_MODE
         WITHOUT_TEXT
         WITH_GENERATED_OBJECTS
         O_SCOPE_OBJ_CLS
         O_ANSWER
         I_FINDSTRINGS
         O_FOUNDS
         O_FINDSTRINGS
         I_SCOPE_OBJECTS
         I_ACTUAL_SOURCE
         I_SCOPE_OBJECT_CLS
         I_SCOPE_DEVCLASS
         I_EXCLUDE_SCOPE_OBJECT_CLS
    Exceptions
         NOT_EXECUTED
         NOT_FOUND
         ILLEGAL_OBJECT
         NO_CROSS_FOR_THIS_OBJECT
         BATCH
         BATCHJOB_ERROR
         WRONG_TYPE
         OBJECT_NOT_EXIST
    Function Group
         SEUA
    Regards
      Uwe

  • Where used  report

    Dear Experts,
    We are using CS15  to display the where used list for a single component . We want to see the where used report for some 1000 components at a stretch and hope there is no standard report for this . Please give us the relevant table where both the component and header material are stored together or tables relative to CS15.

    Hi
    These are the tables used in CS15
    AENR Change Master
    MARC Plant Data for Material
    MC29M Material Master Record Table: BOMs - Group Data
    MC29S Material Master Record Table: Bills of Material
    MTCOM Material Master Communication
    MTCOR Material Master View: Return Codes
    RC29L BOM Display input/output table
    T001W Plants/Branches
    TC04 Applic-Specific Criteria for Alternative Determination
    TCC08 Engineering Change Management: Control Data
    TCS03 Modification Parameters/Defaults for BOMs
    TCS41 Automatic alternative BOM determination
    TCSPR User Profile for BOMs
    TCSVL User defaults list display (variable lists)
    USR02 Logon Data (Kernel-Side Use)
    Thanks
    S.Murali

  • Where used FM user exits

    Hi.
    In 4.6 when I had a FM (e.g. EXIT_SAPLE10M_001), when I did where used I got the source when this exit was called ( if showed as call customer-function '10' )
    But In ECC 6.0 this option is no longer valid? Where used option brings me no results.
    Anyone knows how this can be overiden?
    Using modsap table & smod does not help since I do get the FM name but stilll the "where used" isn't working.
    Thanks
    Ariel Fisher

    > In 4.6 when I had a FM (e.g. EXIT_SAPLE10M_001), when I did where used I got the source when this exit was called ( if showed as call customer-function '10' )
    >
    > But In ECC 6.0 this option is no longer valid? Where used option brings me no results.
    >
    > Anyone knows how this can be overiden?
    >
    > * Using modsap table & smod does not help since I do get the FM name but stilll the "where used" isn't working.
    >
    I don't know why this is not working, but the Exit function is still valid. 
    in the main program SAPLE10M the Exit function is used.
    i just searched for CALL CUSTOMETR-FUNCTION globally inside the program SAPLE10M(Function group main program) i got the below one.
    * Call user-exit...
      CALL CUSTOMER-FUNCTION '001'
           EXPORTING
                 x_v_eger  = x_v_eger
                 x_etyp    = x_etyp
                 x_te271   = x_te271
           IMPORTING
                 y_wechsel = y_wechsel
                 y_bglkenn = y_bglkenn
                 y_bglform = y_bglform.

  • Business Address Services (BAS) and Where-Used ADRV/ADRVP

    Can someone point out any good sources of information on Business Address Services or possibly its predecessors either online or hard-print?  I've been through the help.sap.com information for BAS and all sorts of SAPNotes without finding what I'm looking for.
    In particular I'm trying to understand default SAP's usage of the Where-Used links in BAS that are stored in the tables ADRV and ADRVP.
    My Issue: If I create a Sales Document in SAP referencing a partner address stored in BAS there is no Where-Used ADRV record created.  So I cannot use the address number of the ADRC record to find which documents are referencing it via ADRV.
    steps to recreate:
    - Using existing Customer/Partners
    - Create Sales Document (Order) adding partners by selecting partner #'s and not manually overriding any address information.
    - Address of the partner is now linked in the Sales Document via VBPA-ADRDA=D and the ADDRNUMBER references the same ADRC address records that KNA1 points to.
    - There is no Where-Used record created in ADRV indicating that the Sales Document is linked to that address.
    - If I change or delete the ADRC record from KNA1 then I do not have the information available to take any special actions on linked Sales Documents.
    Note: If you manually override the address or use a one-time address when entering the Sales Document then the new address is linked via VBPA-ADRDA=E and a Where-Used record is created in ADRV.  Also any follow-on documents created with reference to the Sales Document will also have Where-Used records created in ADRV.  So in the case of changed or manually entered addresses ADRV does work as I would expect it to.
    I am observing this behavior in both R/3 4.6c and ECC 5.0.  Trying to understand why SAP is using or not using ADRV in these situations and whether the behavior can and should be changed.

    Can someone point out any good sources of information on Business Address Services or possibly its predecessors either online or hard-print?  I've been through the help.sap.com information for BAS and all sorts of SAPNotes without finding what I'm looking for.
    In particular I'm trying to understand default SAP's usage of the Where-Used links in BAS that are stored in the tables ADRV and ADRVP.
    My Issue: If I create a Sales Document in SAP referencing a partner address stored in BAS there is no Where-Used ADRV record created.  So I cannot use the address number of the ADRC record to find which documents are referencing it via ADRV.
    steps to recreate:
    - Using existing Customer/Partners
    - Create Sales Document (Order) adding partners by selecting partner #'s and not manually overriding any address information.
    - Address of the partner is now linked in the Sales Document via VBPA-ADRDA=D and the ADDRNUMBER references the same ADRC address records that KNA1 points to.
    - There is no Where-Used record created in ADRV indicating that the Sales Document is linked to that address.
    - If I change or delete the ADRC record from KNA1 then I do not have the information available to take any special actions on linked Sales Documents.
    Note: If you manually override the address or use a one-time address when entering the Sales Document then the new address is linked via VBPA-ADRDA=E and a Where-Used record is created in ADRV.  Also any follow-on documents created with reference to the Sales Document will also have Where-Used records created in ADRV.  So in the case of changed or manually entered addresses ADRV does work as I would expect it to.
    I am observing this behavior in both R/3 4.6c and ECC 5.0.  Trying to understand why SAP is using or not using ADRV in these situations and whether the behavior can and should be changed.

Maybe you are looking for

  • Cannot delete files after emailing them

    Ever since I upgraded to Snow Leopard I cannot empty the trash if there is a file that I have added as an attachment in an email if Mail is still open. It will say the file is in use and I either have to quit Mail or Secure Empty Trash. This is reall

  • How configure reporting services configuration with sql server business development studio

    I have installed sql server 2008 r2 mixed mode(sql server authentication) with native mode I want to run report using reporting  services config manager. I made report in ssrs and I have configured reporting services configuration and  web url from R

  • 9 pro updates

    When I choose Update Adobe Acrobat 9 Pro from the help menu the message no updates available appears. After going to the update website I can see that update is at 9.5.5. My version is at 9.2.0. After downloading 9.5.5. it will not install. Do I have

  • HTML form over Flash bkd in Safari

    Hi, I've got a site which uses an animated Flash background element which is overlayed with a div containing an HTML form. It works fine in every browser I have, except Safari. In Safari, as soon as I click in the form, the entire HTML content of the

  • How to open word document directly using ole2 and ole containers

    Hello i am using ole conatiners....in forms 6i. i want o open word document directly when i click a button.... i have tried host....ole but word opens .....i want the document to open at once..... what should i use /set plz tell by host command and o