<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: VuGen correlation for SAP Web Dynpro</title>
	<atom:link href="http://www.jds.net.au/tech-tips/scripting-sap-web-dynpro/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jds.net.au/tech-tips/scripting-sap-web-dynpro/</link>
	<description>Expert consulting services with HP Software</description>
	<lastBuildDate>Mon, 06 Feb 2012 00:24:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Stuart Moncrieff</title>
		<link>http://www.jds.net.au/tech-tips/scripting-sap-web-dynpro/#comment-106884</link>
		<dc:creator>Stuart Moncrieff</dc:creator>
		<pubDate>Sat, 21 Jan 2012 10:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1439#comment-106884</guid>
		<description>Here is how you would decode a string, so that you can clearly see the parameters:

&lt;pre lang=&quot;c_loadrunner&quot; line=&quot;1&quot;&gt;
Action()
{
	char buf[1024];

	// Replace the event queue here, and run the script every time you want to decode a SAPEVENTQUEUE.
	char* encoded_SAPEVENTQUEUE = &quot;Custom_ClientInfos~E002Id~E004WD01~E005WindowOpenerExists~E004false~E005ClientURL~E004http~003A~002F~002Fwww.example.com~003A8001~002Fsap~002Fbc~002Fwebdynpro~002Fsap~002Fzprg_retailsales_iviews~002F~003Bsap-ext-sid~003DDYiorEo_84mRlbjuz_Eg9w--1aJlhGQp43C~002A9AlruJqxWw--~E003~E002ClientAction~E004enqueue~E005ResponseData~E004delta~E003~E002~E003~E001LoadingPlaceHolder_Load~E002Id~E004_loadingPlaceholder_~E003~E002ResponseData~E004delta~E005ClientAction~E004submit~E003~E002~E003&quot;;
	//      Decoded SAPEVENTQUEUE: Custom_ClientInfos~E002Id~E004WD01~E005WindowOpenerExists~E004false~E005ClientURL~E004http://www.example.com:8001/sap/bc/webdynpro/sap/zprg_retailsales_iviews/;sap-ext-sid=DYiorEo_84mRlbjuz_Eg9w--1aJlhGQp43C*9AlruJqxWw--~E003~E002ClientAction~E004enqueue~E005ResponseData~E004delta~E003~E002~E003~E001LoadingPlaceHolder_Load~E002Id~E004_loadingPlaceholder_~E003~E002ResponseData~E004delta~E005ClientAction~E004submit~E003~E002~E003

	lr_output_message(&quot;Decoded SAPEVENTQUEUE: %s&quot;, dynpro_decode(encoded_SAPEVENTQUEUE, buf));

	return 0;
}
&lt;/pre&gt;

Note carefully the value of the sap-ext-sid parameter:
Encoded = DYiorEo_84mRlbjuz_Eg9w--1aJlhGQp43C~002A9AlruJqxWw--
Decoded = DYiorEo_84mRlbjuz_Eg9w--1aJlhGQp43C*9AlruJqxWw--

The &quot;*&quot; symbol can cause intermittent playback problems for you. If there is no &quot;*&quot; in your SAPEVENTQUEUE while recording (and you are using Correlation Rules), you will probably not think to encode this parameter. On replay you will get an error if the sap-ext-sid parameter now has a &quot;*&quot; character in it.

The rule of thumb is that any parameterised/correlated values that appear in a SAPEVENTQUEUE should be passed through the dynpro_encode() function before being used.</description>
		<content:encoded><![CDATA[<p>Here is how you would decode a string, so that you can clearly see the parameters:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="c_loadrunner" style="font-family:monospace;">Action<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
	<span style="color: #0000ff;">char</span> buf<span style="color: #000000;">&#91;</span><span style="color: #008080;">1024</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">;</span>
&nbsp;
	<span style="color: #9b9b9b;">// Replace the event queue here, and run the script every time you want to decode a SAPEVENTQUEUE.</span>
	<span style="color: #0000ff;">char</span><span style="color: #000000;">*</span> encoded_SAPEVENTQUEUE <span style="color: #000000;">=</span> <span style="color: #008080;">&quot;Custom_ClientInfos~E002Id~E004WD01~E005WindowOpenerExists~E004false~E005ClientURL~E004http~003A~002F~002Fwww.example.com~003A8001~002Fsap~002Fbc~002Fwebdynpro~002Fsap~002Fzprg_retailsales_iviews~002F~003Bsap-ext-sid~003DDYiorEo_84mRlbjuz_Eg9w--1aJlhGQp43C~002A9AlruJqxWw--~E003~E002ClientAction~E004enqueue~E005ResponseData~E004delta~E003~E002~E003~E001LoadingPlaceHolder_Load~E002Id~E004_loadingPlaceholder_~E003~E002ResponseData~E004delta~E005ClientAction~E004submit~E003~E002~E003&quot;</span><span style="color: #000000;">;</span>
	<span style="color: #9b9b9b;">//      Decoded SAPEVENTQUEUE: Custom_ClientInfos~E002Id~E004WD01~E005WindowOpenerExists~E004false~E005ClientURL~E004http://www.example.com:8001/sap/bc/webdynpro/sap/zprg_retailsales_iviews/;sap-ext-sid=DYiorEo_84mRlbjuz_Eg9w--1aJlhGQp43C*9AlruJqxWw--~E003~E002ClientAction~E004enqueue~E005ResponseData~E004delta~E003~E002~E003~E001LoadingPlaceHolder_Load~E002Id~E004_loadingPlaceholder_~E003~E002ResponseData~E004delta~E005ClientAction~E004submit~E003~E002~E003</span>
&nbsp;
	<span style="color: #8a0000;">lr_output_message</span><span style="color: #000000;">&#40;</span><span style="color: #008080;">&quot;Decoded SAPEVENTQUEUE: %s&quot;</span><span style="color: #000000;">,</span> dynpro_decode<span style="color: #000000;">&#40;</span>encoded_SAPEVENTQUEUE<span style="color: #000000;">,</span> buf<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span>
&nbsp;
	<span style="color: #0000ff;">return</span> <span style="color: #008080;">0</span><span style="color: #000000;">;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>Note carefully the value of the sap-ext-sid parameter:<br />
Encoded = DYiorEo_84mRlbjuz_Eg9w&#8211;1aJlhGQp43C~002A9AlruJqxWw&#8211;<br />
Decoded = DYiorEo_84mRlbjuz_Eg9w&#8211;1aJlhGQp43C*9AlruJqxWw&#8211;</p>
<p>The &#8220;*&#8221; symbol can cause intermittent playback problems for you. If there is no &#8220;*&#8221; in your SAPEVENTQUEUE while recording (and you are using Correlation Rules), you will probably not think to encode this parameter. On replay you will get an error if the sap-ext-sid parameter now has a &#8220;*&#8221; character in it.</p>
<p>The rule of thumb is that any parameterised/correlated values that appear in a SAPEVENTQUEUE should be passed through the dynpro_encode() function before being used.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: D'Jango Na</title>
		<link>http://www.jds.net.au/tech-tips/scripting-sap-web-dynpro/#comment-84879</link>
		<dc:creator>D'Jango Na</dc:creator>
		<pubDate>Mon, 31 Oct 2011 15:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1439#comment-84879</guid>
		<description>Hi Stuart,

Any one succeeded with &quot;eventQueue&quot; as said above, this has become a pain.  I contacted HP, they said we can not correlate because it got Binary data.

Let me know if your thoughts.
DJ</description>
		<content:encoded><![CDATA[<p>Hi Stuart,</p>
<p>Any one succeeded with &#8220;eventQueue&#8221; as said above, this has become a pain.  I contacted HP, they said we can not correlate because it got Binary data.</p>
<p>Let me know if your thoughts.<br />
DJ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DJango Na</title>
		<link>http://www.jds.net.au/tech-tips/scripting-sap-web-dynpro/#comment-82295</link>
		<dc:creator>DJango Na</dc:creator>
		<pubDate>Wed, 19 Oct 2011 05:45:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1439#comment-82295</guid>
		<description>Hi Stuart,

Thanks for this interesting article.  I too facing similar problem, but it is little different to what was said above.

Here is the problem;

1. I recorded actions from a SAP Web Portal.  
2. My load script fails in the first run itself (before correlation)
2. I am unsuccessful with automatic correlation method.
3. Did correlation manually using WDIF
4. My load script is not having SAPEVENTQUEUE, but exist with SAP-EXT-SID
5. The Param I replaced for SAP-EXT-SID is works fine with the entire script, but only at the last few actions it throws error - 500.....  The help docs educates me that its a wrong parametrization.

Can you please help?

Many Thanks
DJ</description>
		<content:encoded><![CDATA[<p>Hi Stuart,</p>
<p>Thanks for this interesting article.  I too facing similar problem, but it is little different to what was said above.</p>
<p>Here is the problem;</p>
<p>1. I recorded actions from a SAP Web Portal.<br />
2. My load script fails in the first run itself (before correlation)<br />
2. I am unsuccessful with automatic correlation method.<br />
3. Did correlation manually using WDIF<br />
4. My load script is not having SAPEVENTQUEUE, but exist with SAP-EXT-SID<br />
5. The Param I replaced for SAP-EXT-SID is works fine with the entire script, but only at the last few actions it throws error &#8211; 500&#8230;..  The help docs educates me that its a wrong parametrization.</p>
<p>Can you please help?</p>
<p>Many Thanks<br />
DJ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart Moncrieff</title>
		<link>http://www.jds.net.au/tech-tips/scripting-sap-web-dynpro/#comment-73181</link>
		<dc:creator>Stuart Moncrieff</dc:creator>
		<pubDate>Thu, 08 Sep 2011 00:11:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1439#comment-73181</guid>
		<description>As you noted, this EventQueue is different to the example above. It is interesting that it includes what looks like double-byte characters - LoadRunner has attempted to represent the character by hex-encoding one of the bytes e.g. &quot;î\x80&quot;

Personally, I would try just correlating the button ID (HODKGFCPEMKJKJIOEBAM), and see if that works. 

Remember to add a web_reg_find() before every web_url() or web_submit_data() to make sure that your application is not throwing errors.</description>
		<content:encoded><![CDATA[<p>As you noted, this EventQueue is different to the example above. It is interesting that it includes what looks like double-byte characters &#8211; LoadRunner has attempted to represent the character by hex-encoding one of the bytes e.g. &#8220;î\x80&#8243;</p>
<p>Personally, I would try just correlating the button ID (HODKGFCPEMKJKJIOEBAM), and see if that works. </p>
<p>Remember to add a web_reg_find() before every web_url() or web_submit_data() to make sure that your application is not throwing errors.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjay</title>
		<link>http://www.jds.net.au/tech-tips/scripting-sap-web-dynpro/#comment-73113</link>
		<dc:creator>Sanjay</dc:creator>
		<pubDate>Wed, 07 Sep 2011 14:44:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1439#comment-73113</guid>
		<description>Any Clue, How to handle, how to handle EventQueue?
&lt;pre lang=&quot;c_loadrunner&quot;&gt;
		&quot;Name=sap-wd-appwndid&quot;, &quot;Value={AppId_P}&quot;, ENDITEM, 
		&quot;Name=sap-wd-cltwndid&quot;, &quot;Value={ClientId_P}&quot;, ENDITEM, 
		&quot;Name=sap-wd-norefresh&quot;, &quot;Value=X&quot;, ENDITEM, 
		&quot;Name=sap-wd-secure-id&quot;, &quot;Value={SecureId_P}&quot;, ENDITEM, 
		&quot;Name=asyncRequest&quot;, &quot;Value=&quot;, ENDITEM, 
		&quot;Name=eventQueue&quot;, &quot;Value=BUTTONCLICKî\x80‚Idî\x80‚HODKGFCPEMKJKJIOEBAM.Generic.AEî\x80‚CurrentFocusIdî\x80‚@{\&quot;sFocussedId\&quot;: \&quot;HODKGFCPEMKJKJIOEBAM.Generic.AE\&quot;}&quot;, ENDITEM, 
		EXTRARES,
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Any Clue, How to handle, how to handle EventQueue?</p>

<div class="wp_syntax"><div class="code"><pre class="c_loadrunner" style="font-family:monospace;">		<span style="color: #008080;">&quot;Name=sap-wd-appwndid&quot;</span><span style="color: #000000;">,</span> <span style="color: #008080;">&quot;Value=<span style="color: #c000c0;">{AppId_P}</span>&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Name=sap-wd-cltwndid&quot;</span><span style="color: #000000;">,</span> <span style="color: #008080;">&quot;Value=<span style="color: #c000c0;">{ClientId_P}</span>&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Name=sap-wd-norefresh&quot;</span><span style="color: #000000;">,</span> <span style="color: #008080;">&quot;Value=X&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Name=sap-wd-secure-id&quot;</span><span style="color: #000000;">,</span> <span style="color: #008080;">&quot;Value=<span style="color: #c000c0;">{SecureId_P}</span>&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Name=asyncRequest&quot;</span><span style="color: #000000;">,</span> <span style="color: #008080;">&quot;Value=&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Name=eventQueue&quot;</span><span style="color: #000000;">,</span> <span style="color: #008080;">&quot;Value=BUTTONCLICKî\x80‚Idî\x80‚HODKGFCPEMKJKJIOEBAM.Generic.AEî\x80‚CurrentFocusIdî\x80‚@{\&quot;</span>sFocussedId\<span style="color: #008080;">&quot;: \&quot;</span>HODKGFCPEMKJKJIOEBAM.Generic.AE\<span style="color: #008080;">&quot;}&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #0000ff;">EXTRARES</span><span style="color: #000000;">,</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart Moncrieff</title>
		<link>http://www.jds.net.au/tech-tips/scripting-sap-web-dynpro/#comment-73000</link>
		<dc:creator>Stuart Moncrieff</dc:creator>
		<pubDate>Wed, 07 Sep 2011 00:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1439#comment-73000</guid>
		<description>Here is an example of the dynpro_encode() function in action...

&lt;pre lang=&quot;c_loadrunner&quot;&gt;
	char SapEventQueueBuffer[7068]; // global variable to hold the value returned from dynpro_encode(). Best to declare this as a global variable (in globals.h), so it can be used by all Actions.

	lr_start_transaction(&quot;Click start appointment&quot;);

	// This is a cut-and paste from the SAPEVENTQUEUE parameter in the web_submit_data() function below.
	lr_save_string(
		&quot;Custom_ClientInfos&quot;
		&quot;~E002&quot;
		&quot;Id&quot;
		&quot;~E004&quot;
		&quot;WD01&quot; // Object ID. Best to manually update these when they change, rather than trying to correlate them. Note that if they change, your script might not fail at this point, but will instead fail right at the end of the business process when you press Save.
		&quot;~E005&quot;
		&quot;WindowOpenerExists&quot;
		&quot;~E004&quot;
		&quot;false&quot;
		&quot;~E005&quot;
		&quot;ClientURL&quot;
		&quot;~E004&quot;														 //       {PC_sap-ext-sid_8} = &quot;fjwSvjOEztlCo*7hA33GKg--LtcpLqMP_sohOBcY*M61sA--&quot;
		&quot;https://www.example.com/sap/bc/webdynpro/sap/z_fpm_ss_appoint/;sap-ext-sid={PC_sap-ext-sid_8}&quot; // This is the line that really requires the special encoding. The {PC_sap-ext-sid_8} parameter can contain characters that require encoding. If these are not encoded, the VuGen script will fail at this point. BUT we encode the entire SAPEVENTQUEUE because there are frequently other parameterised fields that will require special encoding.
		&quot;~E003&quot;
		&quot;~E002&quot;
		&quot;ClientAction&quot;
		&quot;~E004&quot;
		&quot;enqueue&quot;
		&quot;~E005&quot;
		&quot;ResponseData&quot;
		&quot;~E004&quot;
		&quot;delta&quot;
		&quot;~E003&quot;
		&quot;~E002&quot;
		&quot;~E003&quot;
		&quot;~E001&quot;
		&quot;Button_Press&quot;
		&quot;~E002&quot;
		&quot;Id&quot;
		&quot;~E004&quot;
		&quot;WD25&quot; // Object ID
		&quot;~E003&quot;
		&quot;~E002&quot;
		&quot;ResponseData&quot;
		&quot;~E004&quot;
		&quot;delta&quot;
		&quot;~E005&quot;
		&quot;ClientAction&quot;
		&quot;~E004&quot;
		&quot;submit&quot;
		&quot;~E003&quot;
		&quot;~E002&quot;
		&quot;~E003&quot;,
		&quot;Param_SAPEVENTQUEUE&quot;);
	// Uncomment these to understand what is happening.
	//lr_output_message(&quot;$$ Decoded value with params: %s&quot;, lr_eval_string(&quot;{Param_SAPEVENTQUEUE}&quot;));
	//lr_output_message(&quot;$$ Encoded value: %s&quot;, dynpro_encode(lr_eval_string(lr_eval_string(&quot;{Param_SAPEVENTQUEUE}&quot;)), SapEventQueueBuffer));
	//lr_eval_string(&quot;{Param_SAPEVENTQUEUE}&quot;);
	lr_save_string(dynpro_encode(lr_eval_string(lr_eval_string(&quot;{Param_SAPEVENTQUEUE}&quot;)), SapEventQueueBuffer), &quot;SAPEVENTQUEUE_10&quot;);

	web_reg_find(&quot;Text=View Appointment&quot;, LAST);
	web_reg_find(&quot;Text=The following is confirmation of your appointment.&quot;, LAST);
	web_reg_find(&quot;Text=Appointment number&quot;, LAST);
	web_submit_data(&quot;StartAppointment&quot;, 
		&quot;Action=https://www.example.com/sap/bc/webdynpro/sap/z_fpm_ss_appoint/;sap-ext-sid={PC_sap-ext-sid_24}&quot;, 
		&quot;Method=POST&quot;, 
		&quot;TargetFrame=&quot;, 
		&quot;RecContentType=text/html&quot;, 
		&quot;Referer=https://www.example.com/sap/bc/webdynpro/sap/z_fpm_ss_appoint/;sap-ext-sid={PC_sap-ext-sid_8}&quot;, 
		&quot;Snapshot=t10.inf&quot;, 
		&quot;Mode=HTML&quot;, 
		ITEMDATA, 
		//&quot;Name=SAPEVENTQUEUE&quot;, &quot;Value=Custom_ClientInfos~E002Id~E004WD01~E005WindowOpenerExists~E004false~E005ClientURL~E004https~003A~002F~002Fwww.example.com~002Fsap~002Fbc~002Fwebdynpro~002Fsap~002Fz_fpm_ss_appoint~002F~003Bsap-ext-sid~003DfjwSvjOEztlCo~002A7hA33GKg--LtcpLqMP_sohOBcY~002AM61sA--~E003~E002ClientAction~E004enqueue~E005ResponseData~E004delta~E003~E002~E003~E001Button_Press~E002Id~E004WD25~E003~E002ResponseData~E004delta~E005ClientAction~E004submit~E003~E002~E003&quot;, ENDITEM, 
		&quot;Name=SAPEVENTQUEUE&quot;, &quot;Value={SAPEVENTQUEUE_10}&quot;, ENDITEM, 
		&quot;Name=sap-charset&quot;, &quot;Value=utf-8&quot;, ENDITEM, 
		&quot;Name=_client_url_&quot;, &quot;Value=&quot;, ENDITEM, 
		EXTRARES, 
		&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/Hr/hr.gif?7.11.3.2.1&quot;, ENDITEM, 
		&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/roadmap/StartPoint.gif?7.11.3.2.1&quot;, ENDITEM, 
		&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/button/BtnPrevStepDsblLS.gif?7.11.3.2.1&quot;, ENDITEM, 
		&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/button/BtnNextStepDsblLS.gif?7.11.3.2.1&quot;, ENDITEM, 
		&quot;Url=/sap/public/bc/ur/nw7/js/classes/PopupManager.js?D0A102E5A5B0&quot;, ENDITEM, 
		&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/layout/matrix/gutterImageNarrow.gif?7.11.3.2.1&quot;, ENDITEM, 
		&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/checkbox/cb_chk_ro.gif?7.11.3.2.1&quot;, ENDITEM, 
		&quot;Url=/sap/public/bc/ur/nw7/js/classes/BlockLayer.js?D0A102E5A5B0&quot;, ENDITEM, 
		&quot;Url=/sap/public/bc/ur/nw7/js/classes/RoadMap.js?D0A102E5A5B0&quot;, ENDITEM, 
		&quot;Url=/sap/public/bc/ur/nw7/js/classes/ItemNavigation.js?D0A102E5A5B0&quot;, ENDITEM, 
		&quot;Url=/sap/public/bc/ur/nw7/js/classes/RoadMapItem.js?D0A102E5A5B0&quot;, ENDITEM, 
		&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/roadmap/EndPoint.gif?7.11.3.2.1&quot;, ENDITEM, 
		&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/roadmap/Border.gif?7.11.3.2.1&quot;, ENDITEM, 
		&quot;Url=/sap/public/bc/ur/nw7/js/classes/Group.js?D0A102E5A5B0&quot;, ENDITEM, 
		&quot;Url=/sap/public/bc/ur/nw7/js/classes/Hotkeys.js?D0A102E5A5B0&quot;, ENDITEM, 
		LAST);

	lr_end_transaction(&quot;Click start appointment&quot;,LR_AUTO);
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Here is an example of the dynpro_encode() function in action&#8230;</p>

<div class="wp_syntax"><div class="code"><pre class="c_loadrunner" style="font-family:monospace;">	<span style="color: #0000ff;">char</span> SapEventQueueBuffer<span style="color: #000000;">&#91;</span><span style="color: #008080;">7068</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">;</span> <span style="color: #9b9b9b;">// global variable to hold the value returned from dynpro_encode(). Best to declare this as a global variable (in globals.h), so it can be used by all Actions.</span>
&nbsp;
	<span style="color: #8a0000;">lr_start_transaction</span><span style="color: #000000;">&#40;</span><span style="color: #008080;">&quot;Click start appointment&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span>
&nbsp;
	<span style="color: #9b9b9b;">// This is a cut-and paste from the SAPEVENTQUEUE parameter in the web_submit_data() function below.</span>
	<span style="color: #8a0000;">lr_save_string</span><span style="color: #000000;">&#40;</span>
		<span style="color: #008080;">&quot;Custom_ClientInfos&quot;</span>
		<span style="color: #008080;">&quot;~E002&quot;</span>
		<span style="color: #008080;">&quot;Id&quot;</span>
		<span style="color: #008080;">&quot;~E004&quot;</span>
		<span style="color: #008080;">&quot;WD01&quot;</span> <span style="color: #9b9b9b;">// Object ID. Best to manually update these when they change, rather than trying to correlate them. Note that if they change, your script might not fail at this point, but will instead fail right at the end of the business process when you press Save.</span>
		<span style="color: #008080;">&quot;~E005&quot;</span>
		<span style="color: #008080;">&quot;WindowOpenerExists&quot;</span>
		<span style="color: #008080;">&quot;~E004&quot;</span>
		<span style="color: #008080;">&quot;false&quot;</span>
		<span style="color: #008080;">&quot;~E005&quot;</span>
		<span style="color: #008080;">&quot;ClientURL&quot;</span>
		<span style="color: #008080;">&quot;~E004&quot;</span>														 <span style="color: #9b9b9b;">//       {PC_sap-ext-sid_8} = &quot;fjwSvjOEztlCo*7hA33GKg--LtcpLqMP_sohOBcY*M61sA--&quot;</span>
		<span style="color: #008080;">&quot;https://www.example.com/sap/bc/webdynpro/sap/z_fpm_ss_appoint/;sap-ext-sid={PC_sap-ext-sid_8}&quot;</span> <span style="color: #9b9b9b;">// This is the line that really requires the special encoding. The {PC_sap-ext-sid_8} parameter can contain characters that require encoding. If these are not encoded, the VuGen script will fail at this point. BUT we encode the entire SAPEVENTQUEUE because there are frequently other parameterised fields that will require special encoding.</span>
		<span style="color: #008080;">&quot;~E003&quot;</span>
		<span style="color: #008080;">&quot;~E002&quot;</span>
		<span style="color: #008080;">&quot;ClientAction&quot;</span>
		<span style="color: #008080;">&quot;~E004&quot;</span>
		<span style="color: #008080;">&quot;enqueue&quot;</span>
		<span style="color: #008080;">&quot;~E005&quot;</span>
		<span style="color: #008080;">&quot;ResponseData&quot;</span>
		<span style="color: #008080;">&quot;~E004&quot;</span>
		<span style="color: #008080;">&quot;delta&quot;</span>
		<span style="color: #008080;">&quot;~E003&quot;</span>
		<span style="color: #008080;">&quot;~E002&quot;</span>
		<span style="color: #008080;">&quot;~E003&quot;</span>
		<span style="color: #008080;">&quot;~E001&quot;</span>
		<span style="color: #008080;">&quot;Button_Press&quot;</span>
		<span style="color: #008080;">&quot;~E002&quot;</span>
		<span style="color: #008080;">&quot;Id&quot;</span>
		<span style="color: #008080;">&quot;~E004&quot;</span>
		<span style="color: #008080;">&quot;WD25&quot;</span> <span style="color: #9b9b9b;">// Object ID</span>
		<span style="color: #008080;">&quot;~E003&quot;</span>
		<span style="color: #008080;">&quot;~E002&quot;</span>
		<span style="color: #008080;">&quot;ResponseData&quot;</span>
		<span style="color: #008080;">&quot;~E004&quot;</span>
		<span style="color: #008080;">&quot;delta&quot;</span>
		<span style="color: #008080;">&quot;~E005&quot;</span>
		<span style="color: #008080;">&quot;ClientAction&quot;</span>
		<span style="color: #008080;">&quot;~E004&quot;</span>
		<span style="color: #008080;">&quot;submit&quot;</span>
		<span style="color: #008080;">&quot;~E003&quot;</span>
		<span style="color: #008080;">&quot;~E002&quot;</span>
		<span style="color: #008080;">&quot;~E003&quot;</span><span style="color: #000000;">,</span>
		<span style="color: #008080;">&quot;Param_SAPEVENTQUEUE&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span>
	<span style="color: #9b9b9b;">// Uncomment these to understand what is happening.</span>
	<span style="color: #9b9b9b;">//lr_output_message(&quot;$$ Decoded value with params: %s&quot;, lr_eval_string(&quot;{Param_SAPEVENTQUEUE}&quot;));</span>
	<span style="color: #9b9b9b;">//lr_output_message(&quot;$$ Encoded value: %s&quot;, dynpro_encode(lr_eval_string(lr_eval_string(&quot;{Param_SAPEVENTQUEUE}&quot;)), SapEventQueueBuffer));</span>
	<span style="color: #9b9b9b;">//lr_eval_string(&quot;{Param_SAPEVENTQUEUE}&quot;);</span>
	<span style="color: #8a0000;">lr_save_string</span><span style="color: #000000;">&#40;</span>dynpro_encode<span style="color: #000000;">&#40;</span><span style="color: #8a0000;">lr_eval_string</span><span style="color: #000000;">&#40;</span><span style="color: #8a0000;">lr_eval_string</span><span style="color: #000000;">&#40;</span><span style="color: #008080;">&quot;<span style="color: #c000c0;">{Param_SAPEVENTQUEUE}</span>&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">,</span> SapEventQueueBuffer<span style="color: #000000;">&#41;</span><span style="color: #000000;">,</span> <span style="color: #008080;">&quot;SAPEVENTQUEUE_10&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span>
&nbsp;
	<span style="color: #8a0000;">web_reg_find</span><span style="color: #000000;">&#40;</span><span style="color: #008080;">&quot;Text=View Appointment&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">LAST</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span>
	<span style="color: #8a0000;">web_reg_find</span><span style="color: #000000;">&#40;</span><span style="color: #008080;">&quot;Text=The following is confirmation of your appointment.&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">LAST</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span>
	<span style="color: #8a0000;">web_reg_find</span><span style="color: #000000;">&#40;</span><span style="color: #008080;">&quot;Text=Appointment number&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">LAST</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span>
	<span style="color: #8a0000;">web_submit_data</span><span style="color: #000000;">&#40;</span><span style="color: #008080;">&quot;StartAppointment&quot;</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Action=https://www.example.com/sap/bc/webdynpro/sap/z_fpm_ss_appoint/;sap-ext-sid={PC_sap-ext-sid_24}&quot;</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Method=POST&quot;</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;TargetFrame=&quot;</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;RecContentType=text/html&quot;</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Referer=https://www.example.com/sap/bc/webdynpro/sap/z_fpm_ss_appoint/;sap-ext-sid={PC_sap-ext-sid_8}&quot;</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Snapshot=t10.inf&quot;</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Mode=HTML&quot;</span><span style="color: #000000;">,</span> 
		<span style="color: #0000ff;">ITEMDATA</span><span style="color: #000000;">,</span> 
		<span style="color: #9b9b9b;">//&quot;Name=SAPEVENTQUEUE&quot;, &quot;Value=Custom_ClientInfos~E002Id~E004WD01~E005WindowOpenerExists~E004false~E005ClientURL~E004https~003A~002F~002Fwww.example.com~002Fsap~002Fbc~002Fwebdynpro~002Fsap~002Fz_fpm_ss_appoint~002F~003Bsap-ext-sid~003DfjwSvjOEztlCo~002A7hA33GKg--LtcpLqMP_sohOBcY~002AM61sA--~E003~E002ClientAction~E004enqueue~E005ResponseData~E004delta~E003~E002~E003~E001Button_Press~E002Id~E004WD25~E003~E002ResponseData~E004delta~E005ClientAction~E004submit~E003~E002~E003&quot;, ENDITEM, </span>
		<span style="color: #008080;">&quot;Name=SAPEVENTQUEUE&quot;</span><span style="color: #000000;">,</span> <span style="color: #008080;">&quot;Value={SAPEVENTQUEUE_10}&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Name=sap-charset&quot;</span><span style="color: #000000;">,</span> <span style="color: #008080;">&quot;Value=utf-8&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Name=_client_url_&quot;</span><span style="color: #000000;">,</span> <span style="color: #008080;">&quot;Value=&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #0000ff;">EXTRARES</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/Hr/hr.gif?7.11.3.2.1&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/roadmap/StartPoint.gif?7.11.3.2.1&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/button/BtnPrevStepDsblLS.gif?7.11.3.2.1&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/button/BtnNextStepDsblLS.gif?7.11.3.2.1&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/sap/public/bc/ur/nw7/js/classes/PopupManager.js?D0A102E5A5B0&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/layout/matrix/gutterImageNarrow.gif?7.11.3.2.1&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/checkbox/cb_chk_ro.gif?7.11.3.2.1&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/sap/public/bc/ur/nw7/js/classes/BlockLayer.js?D0A102E5A5B0&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/sap/public/bc/ur/nw7/js/classes/RoadMap.js?D0A102E5A5B0&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/sap/public/bc/ur/nw7/js/classes/ItemNavigation.js?D0A102E5A5B0&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/sap/public/bc/ur/nw7/js/classes/RoadMapItem.js?D0A102E5A5B0&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/roadmap/EndPoint.gif?7.11.3.2.1&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/ZPOWERCOR/common/roadmap/Border.gif?7.11.3.2.1&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/sap/public/bc/ur/nw7/js/classes/Group.js?D0A102E5A5B0&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #008080;">&quot;Url=/sap/public/bc/ur/nw7/js/classes/Hotkeys.js?D0A102E5A5B0&quot;</span><span style="color: #000000;">,</span> <span style="color: #0000ff;">ENDITEM</span><span style="color: #000000;">,</span> 
		<span style="color: #0000ff;">LAST</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span>
&nbsp;
	<span style="color: #8a0000;">lr_end_transaction</span><span style="color: #000000;">&#40;</span><span style="color: #008080;">&quot;Click start appointment&quot;</span><span style="color: #000000;">,</span><span style="color: #0000ff;">LR_AUTO</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Lakshman</title>
		<link>http://www.jds.net.au/tech-tips/scripting-sap-web-dynpro/#comment-35986</link>
		<dc:creator>Lakshman</dc:creator>
		<pubDate>Sat, 29 Jan 2011 09:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1439#comment-35986</guid>
		<description>Hi Folks,
     i am recording SAP web Application.in my scripts,only one correlated value came i.e sap-contextid={sap-contextid4},
my question:- when i run the script,the script is working for 1 user and it is not working for multiple user.. Any ideas would be much appreciated.

    i saw in my script,
&quot;Name=SAPEVENTQUEUE&quot;, &quot;Value=Form_Submit~E002Id~E004SL__FORM~E003~E002ClientAction~E004submit~E005ActionUrl~E004~E005ResponseData~E004full~E005PrepareScript~E004~E003~E002~E003&quot;, ENDITEM, 

   Does i need to corrleate this value to work for running multiple users..if so,please how to decode the value..</description>
		<content:encoded><![CDATA[<p>Hi Folks,<br />
     i am recording SAP web Application.in my scripts,only one correlated value came i.e sap-contextid={sap-contextid4},<br />
my question:- when i run the script,the script is working for 1 user and it is not working for multiple user.. Any ideas would be much appreciated.</p>
<p>    i saw in my script,<br />
&#8220;Name=SAPEVENTQUEUE&#8221;, &#8220;Value=Form_Submit~E002Id~E004SL__FORM~E003~E002ClientAction~E004submit~E005ActionUrl~E004~E005ResponseData~E004full~E005PrepareScript~E004~E003~E002~E003&#8243;, ENDITEM, </p>
<p>   Does i need to corrleate this value to work for running multiple users..if so,please how to decode the value..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chandrakant Singh</title>
		<link>http://www.jds.net.au/tech-tips/scripting-sap-web-dynpro/#comment-35228</link>
		<dc:creator>Chandrakant Singh</dc:creator>
		<pubDate>Mon, 24 Jan 2011 18:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1439#comment-35228</guid>
		<description>Hi,
   I am working on WEB DYNPRO server with LOADRUNNER. I am getting following dynamic values
SAP-EXT-SID
SAP CONTEXT ID
TIME STAMP
SAP IVIEW HANDLE
SM AGENT VALUE
i did correlation for all these but when i am looking into the replay log there after sap-ext-sid value get
substituted i am getting message that different client window id is being used stop running script and contact administrator.
Then i removed the SAP EXT SID correlation and script is working fine with different users also.

Kindly suggest me which all dynamic values should i correlate
and i am unable to view the replay snapshots or the web page while running the script after enabling the show browser while replay option, so i am unable to verify that the script is doing its intented job.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
   I am working on WEB DYNPRO server with LOADRUNNER. I am getting following dynamic values<br />
SAP-EXT-SID<br />
SAP CONTEXT ID<br />
TIME STAMP<br />
SAP IVIEW HANDLE<br />
SM AGENT VALUE<br />
i did correlation for all these but when i am looking into the replay log there after sap-ext-sid value get<br />
substituted i am getting message that different client window id is being used stop running script and contact administrator.<br />
Then i removed the SAP EXT SID correlation and script is working fine with different users also.</p>
<p>Kindly suggest me which all dynamic values should i correlate<br />
and i am unable to view the replay snapshots or the web page while running the script after enabling the show browser while replay option, so i am unable to verify that the script is doing its intented job.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anushtup Ray</title>
		<link>http://www.jds.net.au/tech-tips/scripting-sap-web-dynpro/#comment-17552</link>
		<dc:creator>Anushtup Ray</dc:creator>
		<pubDate>Tue, 10 Aug 2010 14:32:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1439#comment-17552</guid>
		<description>Hi, Speaking on the subject of queues, I had a question completely different to SAPDynPro but related to Loadrunner MQ. I have been using a C based VUGen script for sometime to do Point to Point MQ Messaging. I was using the standard MQ Tester 330 addin provided with LR and connecting to a particualr MQ channel and then to a particular queue. 

Recently, my organisation decided that this connect has to happen over SSL. But when i try to inject a message on the same queue and same channel but with SSL, the injection does not happen. Not sure the reason why SSL prevents it. Manually there is not difference, hence i find this issue quite weird. Any ideas would be much appreciated.

Thanks,
Anushtup</description>
		<content:encoded><![CDATA[<p>Hi, Speaking on the subject of queues, I had a question completely different to SAPDynPro but related to Loadrunner MQ. I have been using a C based VUGen script for sometime to do Point to Point MQ Messaging. I was using the standard MQ Tester 330 addin provided with LR and connecting to a particualr MQ channel and then to a particular queue. </p>
<p>Recently, my organisation decided that this connect has to happen over SSL. But when i try to inject a message on the same queue and same channel but with SSL, the injection does not happen. Not sure the reason why SSL prevents it. Manually there is not difference, hence i find this issue quite weird. Any ideas would be much appreciated.</p>
<p>Thanks,<br />
Anushtup</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LR_LEARNER</title>
		<link>http://www.jds.net.au/tech-tips/scripting-sap-web-dynpro/#comment-16272</link>
		<dc:creator>LR_LEARNER</dc:creator>
		<pubDate>Sat, 17 Jul 2010 10:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.jds.net.au/?p=1439#comment-16272</guid>
		<description>hi

can u please clearly tell me at exactly which place i have mention the function,i have lot of syntax error can u please tell me 

Thanks</description>
		<content:encoded><![CDATA[<p>hi</p>
<p>can u please clearly tell me at exactly which place i have mention the function,i have lot of syntax error can u please tell me </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

