cancel
Showing results for 
Search instead for 
Did you mean: 

SEN. Context administration in the desktop assistant V2

azov
Participant
0 Kudos
307

Hi all, I need again your support.

I'm trying to understand best way to manage page key in desktop assistant.

Prerequisites

  1. SEN cloud
  2. Desktop assistant has been created with in app help object.
  3. In app help object has such page key:

<PageKey>
<MSAA/>
<SAP>
<PageAtt type="programm" value="SAPLMEGUI" langdep="0"/>
<PageAtt type="text" value="wnd[0]" langdep="0"/>
<PageAtt type="title" value="Местная закупка 7100000312: создание: ana AMANGOSHVILI" langdep="1"/>
<PageAtt type="transaction" value="ME23N" langdep="0"/>
<PageAtt type="type" value="GuiMainWindow" langdep="0"/>
</SAP>
</PageKey>

Task 

Neutralise order number. In app help should be available for any order.

Decision

I tried 2 scenario:

  1. Replace with the preset - Neutralise all values
  2. Replace with the reg extension 

For both scenario I've got the same page key

<PageKey>
<MSAA/>
<SAP>
<PageAtt type="programm" value="SAPLMEGUI" langdep="0"/>
<PageAtt type="text" value="wnd[0]" langdep="0"/>
<PageAtt type="title" value="RegExp(/.*/)" original="Местная закупка 7100000312: создание: ana AMANGOSHVILI" langdep="1"/>
<PageAtt type="transaction" value="ME23N" langdep="0"/>
<PageAtt type="type" value="GuiMainWindow" langdep="0"/>
</SAP>
</PageKey>

Result 

  1. For the 1st scenario it doesn't work. In app help available only for the order 7100000312
  2. For the 2nd scenario it works well. In app help available  for any order

Question

Why with the same page key different result?

Accepted Solutions (0)

Answers (1)

Answers (1)

ShaneLipke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

The two page keys are not the same; the second one has been neutralized to remove the reference to a specific Order Number.  The highlighted part of the following image is the difference.  The Regular Expression that has been created by neutralizing the Order Number has removed the need for a specific Order Number, effectively any number is considered to be fine.

 RegularExpression.png

Regards
Shane

azov
Participant
0 Kudos
Hi Shane, the first page key is a "default" - before neutralising. the second one is a result of neutralising. I've got the second one after using the preset and reg exp (the same page key). But it works well only in case I use reg exp. In case I use preset it works only with the original order number