Skip to Content
avatar image
Former Member

Searching webdynpro programs

Hi,

Is there any functionality by which I can search for a particular string in a webdynpro component.

Just like RS_ABAP_SOURCE_SCAN searches and finds string in report programs.

Thanks in advance,

Aravind

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 11, 2010 at 08:37 AM

    Hello

    SAP has provided a Class to get the class name of the any Web Dynpro component:

    Class Name: CL_WDY_WB_NAMING_SERVICE

    Use Method: GET_CLASSNAME_FOR_COMPONENT

    Execute ( ) the method GET_CLASSNAME_FOR_COMPONENT. Also look at the other methods in this class and their purpose.

    /1BCWDY/G0DNP6DCGHZPKYVE15GZ class is a SAP generated one for the Web Dynpro component ZCD0_WD_FORECAST. Searching this class is same as we search in other normal class.

    Open the class /1BCWDY/G0DNP6DCGHZPKYVE15GZ in SE24 and search (Ctrl+F) the class for the statement u2018S715u2019. Please find result in below screen shots, it shows all instance where this table is used by providing all details like view name, method.

    Thanks

    Pradeep

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 11, 2010 at 08:35 AM

    Hello

    yes you can get this using Class Name: CL_WDY_WB_NAMING_SERVICE

    For more details refer to this link

    Thanks

    Pradeep

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 11, 2010 at 08:47 AM

    Hi,

    one more work around is to do

    use transaction se16.

    table name : WDY_CTLR_COMPO

    you can supply sel tab range , the results you can export to excel or something. Here you can do a search for Anything (text string, method name..etc).

    Add comment
    10|10000 characters needed characters exceeded