on 10-13-2015 5:09 PM
Hi all gurus,
Shortly; I have to rename one of the four steps of the Sourcing Cockpit application in a SAP SRM 7.03 system.
The standard configuration used by the system is /SAPSRM/WDCC_FPM_DO_SOCO_GAF .
Accessing the configuration by means of the component configurator, I can clearly see the four steps with their labels.
I tried to do as follows:
What's the issue with the configuration, in your opinion? It seems that the GAF configuration is not considered when dealing with mainsteps names.
Thanks for your support!
Best regards,
M.
There may be a possiblity that the texts are being set dynamically by code as well which is overriding all the enhancements you are doing, again I may be wrong, you can also dynamically change the text via code.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I tried debugging a bit but was unable to understand where these strings come from... It was also my first thought, even though if this is the case, then I'd expect to find something on the web or in a SAP note...
Unfortunately, it seems noone in the world has the requirement to modify the label of a mainstep in SAP SRM's Sourcing Cockpit....
Put a breakpoint at start of application then check the following:
CL_FPM=>GO_INSTANCE
Attribute MO_FLOORPLAN (Type CL_FPM_GAF_INTERNAL)
Then in that MO_VARIANT_ELEMENT and then child nodes; keep checking the child nodes until you find your step name, change it and put a watch point on it to see where it changes.
Hi Vaibhav,
EDIT:
tried to follow the approach that you described, found the string for the mainstep label and it's exactly the string I inserted in my WDCC.
However, I'm not able to set a watchpoint on the variable... it is {A:289*\TYPE=%_T00003S00000028O0000009636}[2]-NAME, but when I try to set a watchpoint on it the system gives me some errors.
Thanks again.
M.
Thanks,
I found anyway where the problem is... even though I don't know how to solve
During the SOCO loading phase, the method UPDATE_CONTEXT from class CL_FPM_GAF is triggered:
is_changed_by_app_cc( IMPORTING ed_changed = lv_changed_by_app_cc
es_flags = ls_flags ).
IF lv_changed_by_app_cc = abap_false. "No changes => bye
IF NOT ls_flags IS INITIAL.
* in case variant has changed - no context update necessary but change flags have to
* be resetted as well
initialize( ).
lv_changed_by_app_cc is set ti abap_true, and the flag related to the label is marked with an 'X'.
The initialize( ) method restores the original label instead of my custom one.
Actually, I'm thinking the best way to accomplish the task is to modify the standard label... but I wasn't able to understand where these mainsteps labels are located.
I tried almost everything: substitute the WDCC with a custom one, substitute the WDAC with a custom one, even modify the standard WDCC... Nothing. Still "Assign Sources of Supply (no items)" label is present in MAINSTEP_2.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.