This blog has been discontinued (See latest posts)
Wednesday, August 20, 2014 Search the XStep Repository
VN:F [1.9.22_1171]
Rating: 1.0/5 (1 vote cast)

I recently found the question on the Google+ forum about how to find Standard XSteps which match a certain condition. In that particular case all XSteps need to be found which have an input field with validation and the ‚Never accept‘ error handling.

One option would be to export the entire tree and search in the xml document for the characteristic PPPI_ACCEPT_INVALID_INPUT and the value 02 which corresponds to the ‚Never Accept‘ option (these values can also be looked up in characteristic maintenance – use either transaction code CT04 or O27C). In the xml file an entry would look like this:

<cmx:FIELD DOMAIN=”PPPI_ACCEPT_INVALID_INPUT”><cmx:VALUE>02</cmx:VALUE></cmx:FIELD>

The downside of this is that it is very hard to find the context of such a line in the xml file and the corresponding Standard XStep. Therefore the much more elegant way is simply the standard search function in the SAP GUI window:

NewImage

First you select a folder or any other node in the XStep repository and then press the find button. Unlike in most other areas in the SAP system you are then presented with a very extensive search popup which contains a lot of search options. For the described search problem you need to select the tab ‚Process Instruct.‘ and then fill in the values described above which is DOMAIN=PPPI_ACCEPT_INVALID_INPUT and VALUE=02:

NewImage

After executing this search you should see the resulting processed instructions in the lower part of your screen. However during my tests I did not get any results when I provided the value 02. A similar search for a numeric characteristics (e.g. DEFAULT_VALUE) or long/short text characteristic (e.g. PPPI_FRAGMENT_HTML or PPPI_OUTPUT_TEXT) did work so I assume there might be an issue using other types of characteristics. Try it out on your system and if it does not work create a support message.
A search for the domain only (PPPI_ACCEPT_INVALID_INPUT) gets this result:

NewImage

You can double-click on each entry in the search result area which adjusts the main view an presents you the corresponding process instruction in the XStep repository. There you can make your necessary adjustments.

Additional Comment (September 10 2014):

During the September web session Sue Rochon pointed out that you can use something like “N*” in the value filed instead of “02” and this will find the instructions. Thanks Sue for the tip!

Search the XStep Repository, 1.0 out of 5 based on 1 rating
Please rate the article:
VN:F [1.9.22_1171]
Rating: 1.0/5 (1 vote cast)

News

This blog has been discontinued!

Archives

Calendar

August 2014
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031