on 02-21-2013 1:06 AM
Hello all,
I am a webdynpro developer and have a task to modify the name of the header descriptions on the main screen (see "selected" below):
For example, I want to modify the header name "Risk / Oportunnity" to "Risk".
I got the name of the Component (POWL_UI_COMP) and oppened in the SE80 editor, but I can't see where I can enhance this screen.
Could someone help me giving some idea?
Thanks,
Ricardo
Hi Ricardo,
You don't need to make changes to the POWL component.
The POWL is sent data via the Feeder Class. You need to determine which feeder class is supporting the POWL.
From transaction POWL_TYPE you can find the entry for your powl, double click and get the feeder class.
Then you can go to SE24 and enter the feeder class name. The method you need to modify is IF_POWL_FEEDER~GET_FIELD_CATALOG, as this supplies the field catalog (and therefore the header names) to the POWL.
So if the feeder class is custom you can change it, or if it is standard you can do an enhancement.
Cheers
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Howdy,
I wouldn't say simple! I'm not really a POWL expert as I have just been dabbling in it.
But if you go to class CL_POWL_MODEL method FEEDER_GET_OBJECT_DEF there is a line of code:
CREATE OBJECT <fs_type>-instance type (<fs_type>-feeder).
Here <fs_type> will be the POWL_TYPE and <fs_type>-feeder is the feeder class name.
So if you put a breakpoint in that line of code and run your POWL then you'll get the name of the feeder class that you need to enhance.
Cheers
Alex
Hey Alex,
It was a very good tip. I got the feeder class of the main screen doing what you said.
But, for the others screens, it didn't work
I will try researching more... because some of the screens I couldn't get by the POWL_TYPE.
I tried each one on there and put a break point but anybody stopped when I made a test.
Cheers,
Ricardo
Hi Ric,
Try Using the following code in Feeder class of the powl.
Method : IF_POWL_FEEDER~GET_FIELD_CATALOG
FIELD-SYMBOLS: <fs_fieldcat> LIKE ls_fieldcat.
READ TABLE c_fieldcat
ASSIGNING <fs_fieldcat>
WITH KEY colid = 'Your Column'.
IF sy-subrc = 0.
<fs_fieldcat>-header = 'Name to be changed'.
ENDIF.
Regards
Rajashiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.