{"id":893,"date":"2010-04-26T12:49:35","date_gmt":"2010-04-26T10:49:35","guid":{"rendered":"http:\/\/websha.de\/xstepcafe\/?p=893"},"modified":"2018-06-01T06:45:21","modified_gmt":"2018-06-01T04:45:21","slug":"the-ultimate-guide-to-type-0-process-instructions","status":"publish","type":"post","link":"https:\/\/websha.de\/xstepcafe\/2010\/04\/26\/the-ultimate-guide-to-type-0-process-instructions\/","title":{"rendered":"The Ultimate Guide to Type 0 Process Instructions"},"content":{"rendered":"<style type=\"text\/css\">\nh1,h2,h3,h4 {border: 1px solid #FFF; border-right-color: #999; border-bottom-color: #999; } \nh1 {background-color: #172972; color: #FFF; padding-left: 5px; margin-top: 20px;}  \nh2 {background-color: #6780B8; color: #FFF; padding-left: 5px; margin-top: 25px;}  \nh3 {background-color: #CDCDBE; color: #000; padding: 2px; padding-left: 5px; margin-top: 5px; font-weight: bold;} \nh4 {background-color: #D6D7BB; color: #000; padding: 1px; padding-left: 5px; font-weight: bold; } \nh1 + p {margin-left: 15px} \nh2 + p {margin-left: 15px} \nh3 + p {margin-left: 15px} \nh4 + p {margin-left: 15px}\n<\/style>\n<p>With XSteps it is very easy to setup the instructions for PI Sheets. However there are still a lot of customers out there using the old-style process instructions. In the old days there were only the ABAP list-based PI Sheets and back then it was also relatively easy to create the process intructions (type 1 to 7) because there is\u00a0the PI assistant available for these types. Since R\/3 4.6c and the browser-based PI Sheets a new type 0 was introduced which allowed a much more flexible way of defining and combining different basic elements of an instruction in one single process instruction.<br \/>\n<!--more--><br \/>\nThe problem is that you need to follow a certain syntax to make these process instructions work correctly. Unfortunately the PI assistant was not updated to handle this type as well. Basically the XSteps were the solution for solving this. In this article I give you a guide on the correct sequence you need to follow.<!--more--><\/p>\n<p>Before you start please note the following rules on how to read the syntax description:<\/p>\n<table style=\"clear: left;\" cellspacing=\"0\" cellpadding=\"0\">\n<caption>Syntax Rules<\/caption>\n<thead>\n<tr>\n<th>Syntax Element<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"text-align: center;\">(&#8230;)<\/td>\n<td>Optional characteristc<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">|<\/td>\n<td>Logical OR<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">&lt;&#8230;&gt;<\/td>\n<td>Placeholders for other syntax elements (hyper-linked)<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">PPPI_*<\/td>\n<td>Characteristic<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><strong><span style=\"color: #ff0000;\">PPPI_*<\/span><\/strong><\/td>\n<td>Key characteristic<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">*<\/td>\n<td>Repeating syntax elements<\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\"><sup>8<\/sup><\/td>\n<td>Repeating syntax elements (max. 8 times)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1>Start<\/h1>\n<p>( PPPI_PREDECESSOR )*<br \/>\n( PPPI_LAYOUT )<br \/>\n( PPPI_DATA_REQUEST_TYPE )<br \/>\n( PPPI_MINIMUM_TABLE_SIZE )<br \/>\n( PPPI_MAXIMUM_TABLE_SIZE )<br \/>\n( PPPI_MESSAGE_CATEGORY )<br \/>\n( <a href=\"#REQUEST\">&lt;REQUEST&gt;<\/a> ) *<\/p>\n<h1><a name=\"REQUEST\"><\/a>&lt;REQUEST&gt; Request Element<\/h1>\n<p><a href=\"#COMMAND\">&lt;COMMAND&gt;<\/a> | <a href=\"#INPUT\">&lt;INPUT&gt;<\/a> | <a href=\"#OUTPUT_CHAR\">&lt;OUTPUT_CHAR&gt;<\/a> | <a href=\"#OUTPUT_VAR\">&lt;OUTPUT_VAR&gt;<\/a> | <a href=\"#CALCULATION\">&lt;CALCULATION&gt;<\/a> | <a href=\"#FWD_VARDECL\">&lt;FWD_VARDECL&gt;<\/a> | <a href=\"#AUTOMATIC\">&lt;AUTOMATIC&gt;<\/a> | <a href=\"#EXTERNAL\">&lt;EXTERNAL&gt;<\/a> | <a href=\"#FIX\">&lt;FIX&gt;<\/a> | <a href=\"#FUNCTION\">&lt;FUNCTION&gt;<\/a> |  <a href=\"#DATA_ACCESS\">&lt;DATA_ACCESS&gt;<\/a><\/p>\n<h2><a name=\"COMMAND\"><\/a>&lt;COMMAND&gt; Command (e.g. lock, activate, &#8230;)<\/h2>\n<p><strong><span style=\"color: #ff0000;\">PPPI_COMMAND<\/span><\/strong><br \/>\n( PPPI_ACTION )<br \/>\n<a href=\"#TRIGGER\">&lt;TRIGGER&gt;<\/a><\/p>\n<h3><a name=\"TRIGGER\"><\/a>&lt;TRIGGER&gt; Trigger condition to execute the command<\/h3>\n<p>PPPI_EVENT | <a href=\"#EVTFUNC\">&lt;EVTFUNC&gt;<\/a> | PPPI_FORMULA<\/p>\n<h3><a name=\"EVTFUNC\"><\/a>&lt;EVTFUNC&gt; Trigger function module (similar to validation function)<\/h3>\n<p>PPPI_FUNCTION<br \/>\n( <a href=\"#PARAM\">&lt;PARAM&gt;<\/a> )<\/p>\n<h2><a name=\"INPUT\"><\/a>&lt;INPUT&gt; Input Field<\/h2>\n<p>( PPPI_INPUT_REQUEST )<br \/>\n( PPPI_DEFAULT_VALUE | PPPI_DEFAULT_STRING | PPPI_DEFAULT_VARIABLE | <a href=\"#CHAR\">&lt;CHAR&gt;<\/a> )<br \/>\n( <a href=\"#VARDECL\">&lt;VARDECL&gt;<\/a> )<br \/>\n<strong><span style=\"color: #ff0000;\">PPPI_REQUESTED_VALUE<\/span><\/strong><br \/>\n<a href=\"#VALIDATION\">&lt;VALIDATION&gt;<\/a><\/p>\n<h3><a name=\"VALIDATION\"><\/a>&lt;VALIDATION&gt; \u00a0Validation of Input<\/h3>\n<p>( <a href=\"#VALFORM\">&lt;VALFORM&gt;<\/a> | <a href=\"#VALFUNC\">&lt;VALFUNC&gt;<\/a> )<br \/>\n( PPPI_TEXT_FOR_INVALID_INPUT )<br \/>\n( PPPI_ACCEPT_INVALID_INPUT )<br \/>\n( PPPI_SIGNATURE_AUTHORIZATION )<br \/>\n( PPPI_SIGNATURE_STRATEGY )<br \/>\n( PPPI_SIGNATURE_MODE )<\/p>\n<h3><a name=\"VALFORM\"><\/a>&lt;VALFORM&gt; \u00a0Validation Formula<\/h3>\n<p>PPPI_VALIDATION_FORMULA <sup>8<\/sup><\/p>\n<h3><a name=\"VALFUNC\"><\/a>&lt;VALFUNC&gt; \u00a0Validation Function<\/h3>\n<p>PPPI_VALIDATION_FUNCTION<br \/>\n( <a href=\"#PARAM\">&lt;PARAM&gt;<\/a> )*<\/p>\n<h2><a name=\"OUTPUT_CHAR\"><\/a>&lt;OUTPUT_CHAR&gt; \u00a0Output of fixed Characteristic<\/h2>\n<p>( PPPI_OUTPUT_TEXT )<br \/>\n<strong><span style=\"color: #ff0000;\">PPPI_OUTPUT_CHARACTERISTIC<\/span><\/strong><\/p>\n<h2><a name=\"OUTPUT_VAR\"><\/a>&lt;OUTPUT_VAR&gt; \u00a0Output of Variable<\/h2>\n<p>( PPPI_OUTPUT_TEXT )<br \/>\n<strong><span style=\"color: #ff0000;\">PPPI_OUTPUT_VARIABLE<\/span><\/strong><\/p>\n<h2><a name=\"CALCULATION\"><\/a>&lt;CALCULATION&gt; \u00a0Formula-based Calculation<\/h2>\n<p>( PPPI_INPUT_REQUEST )<br \/>\n( <a href=\"#VARDECL\">&lt;VARDECL&gt;<\/a> )<br \/>\n<strong><span style=\"color: #ff0000;\">PPPI_CALCULATED_VALUE<\/span><\/strong><br \/>\n( PPPI_EVENT )<br \/>\nPPPI_CALCULATION_FORMULA<sup>8<\/sup><\/p>\n<h2><a name=\"FWD_VARDECL\"><\/a>&lt;FWD_VARDECL&gt; \u00a0Declaration of a global Variable<\/h2>\n<p><strong><span style=\"color: #ff0000;\">PPPI_DECLARE_VARIABLE<\/span><\/strong><br \/>\nPPPI_VARIABLE_TYPE<\/p>\n<h2><a name=\"AUTOMATIC\"><\/a>&lt;AUTOMATIC&gt; \u00a0Automatic Valuation (Date or Time)<\/h2>\n<p>( <a href=\"#VARDECL\">&lt;VARDECL&gt;<\/a> )<br \/>\n<strong><span style=\"color: #ff0000;\">PPPI_AUTOMATIC_VALUE<\/span><\/strong><\/p>\n<h2><a name=\"EXTERNAL\"><\/a>&lt;EXTERNAL&gt; \u00a0\u00a0Value Assignement Variable to Characteristic<\/h2>\n<p>PPPI_DEFAULT_VARIABLE\u00a0\u00a0\u00a0\u00a0\u00a0 \u2026 name of existing variable<br \/>\n<strong><span style=\"color: #ff0000;\">PPPI_EXTERNAL_VALUE<\/span><\/strong><\/p>\n<h2><a name=\"FIX\"><\/a>&lt;FIX&gt; \u00a0Fixed Characteristic Valuation \/ Variable Declaration<\/h2>\n<p>( <a href=\"#VARDECL\">&lt;VARDECL&gt;<\/a> )<br \/>\n<strong><span style=\"color: #ff0000;\">&lt;Any Characteristic&gt;<\/span><\/strong><\/p>\n<h2><a name=\"FUNCTION\"><\/a>&lt;FUNCTION&gt; \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Dynamic Function Call<\/h2>\n<p><strong><span style=\"color: #ff0000;\">PPPI_FUNCTION_NAME<\/span><\/strong><br \/>\n( PPPI_BUTTON_TEXT )<br \/>\n( PPPI_FUNCTION_DURING_DISPLAY )<br \/>\n( PPPI_EVENT )<br \/>\n( <a href=\"#PARAM\">&lt;PARAM&gt;<\/a> )*<\/p>\n<h3><a name=\"PARAM\"><\/a>&lt;PARAM&gt; Parameter for Function Call<\/h3>\n<p>(<a href=\"#EXPPAR\">&lt;EXPPAR&gt;<\/a> | <a href=\"#CHGPAR\">&lt;CHGPAR&gt;<\/a> | <a href=\"#IMPPAR\">&lt;IMPPAR&gt;<\/a> | <a href=\"#TABPAR\">&lt;TABPAR&gt;<\/a>)*<\/p>\n<h4><a name=\"EXPPAR\"><\/a>&lt;EXPPAR&gt; Export Parameter<\/h4>\n<p><strong><span style=\"color: #ff0000;\">PPPI_EXPORT_PARAMETER<\/span><\/strong><br \/>\n<a href=\"#VARTYPE\">&lt;VARTYPE&gt;<\/a> | <a href=\"#CHAR\">&lt;CHAR&gt;<\/a> | <a href=\"#CONST\">&lt;CONST&gt;<\/a><br \/>\n( PPPI_OPTIONAL_PARAMETER )<\/p>\n<h4><a name=\"CHGPAR\"><\/a>&lt;CHGPAR&gt; Changing Parameter<\/h4>\n<p><strong><span style=\"color: #ff0000;\">PPPI_CHANGING_PARAMETER<\/span><\/strong><br \/>\n<a href=\"#VARTYPE\">&lt;VARTYPE&gt;<\/a><br \/>\n( PPPI_OPTIONAL_PARAMETER )<\/p>\n<h4><a name=\"IMPPAR\"><\/a>&lt;IMPPAR&gt; Import Parameter<\/h4>\n<p><strong><span style=\"color: #ff0000;\">PPPI_IMPORT_PARAMETER<\/span><\/strong><br \/>\n<a href=\"#VARTYPE\">&lt;VARTYPE&gt;<\/a><\/p>\n<h4><a name=\"TABPAR\"><\/a>&lt;TABPAR&gt; Tabular Parameter<\/h4>\n<p><strong><span style=\"color: #ff0000;\">PPPI_TABLE_PARAMETER<\/span><\/strong><br \/>\n<a href=\"#VARTYPE\">&lt;VARTYPE&gt;<\/a><br \/>\n( PPPI_OPTIONAL_PARAMETER )<\/p>\n<h2><a name=\"DATA_ACCESS\"><\/a>&lt;DATA_ACCESS&gt; Manufacturing Data Access (e.g. OPC DA)<\/h2>\n<p><strong><span style=\"color: #ff0000;\">PPPI_DATA_ACCESS<\/span><\/strong><br \/>\n( PPPI_BUTTON_TEXT )<br \/>\n( PPPI_FUNCTION_DURING_DISPLAY )<br \/>\n( PPPI_EVENT )<br \/>\n( <a href=\"#DATAPOINT\">&lt;DATAPOINT&gt;<\/a> )*<\/p>\n<h3><a name=\"DATAPOINT\"><\/a>&lt;DATAPOINT&gt; Data Point<\/h3>\n<p>(<a href=\"#EXPDATP\">&lt;EXPDATP&gt;<\/a> | <a href=\"#IMPDATP\">&lt;IMPDATP&gt;<\/a>)<\/p>\n<h4><a name=\"EXPDATP\"><\/a>&lt;EXPDATP&gt; Export Data Point<\/h4>\n<p><strong><span style=\"color: #ff0000;\">PPPI_EXPORT_DATA<\/span><\/strong><br \/>\n(<strong><span style=\"color: #ff0000;\">PPPI_EXPORT_DATA<\/span><\/strong>)*<br \/>\n<a href=\"#VARTYPE\">&lt;VARTYPE&gt;<\/a> | <a href=\"#CHAR\">&lt;CHAR&gt;<\/a> | <a href=\"#CONST\">&lt;CONST&gt;<\/a><br \/>\n( PPPI_OPTIONAL_PARAMETER )<\/p>\n<h4><a name=\"IMPDATP\"><\/a>&lt;IMPDATP&gt; Import Data Point<\/h4>\n<p><strong><span style=\"color: #ff0000;\">PPPI_IMPORT_DATA<\/span><\/strong><br \/>\n(<strong><span style=\"color: #ff0000;\">PPPI_IMPORT_DATA<\/span><\/strong>)*<br \/>\n<a href=\"#VARTYPE\">&lt;VARTYPE&gt;<\/a><br \/>\n( <a href=\"#VARTYPE\">&lt;VARTYPE&gt;<\/a> )*<\/p>\n<h1>Miscellaneous Simple Elements<\/h1>\n<h3><a name=\"VARDECL\"><\/a>&lt;VARDECL&gt; Variable Declaration<\/h3>\n<p>PPPI_VARIABLE | PPPI_GLOBAL_VARIABLE<\/p>\n<h3><a name=\"VARTYPE\"><\/a>&lt;VARTYPE&gt; Variable Type (for MDA \/ Function Call)<\/h3>\n<p>PPPI_STRING_VARIABLE | PPPI_FLOAT_VARIABLE | PPPI_DATE_VARIABLE | PPPI_TIME_VARIABLE<\/p>\n<h3><a name=\"CONST\"><\/a>&lt;CONST&gt; Fixed Type (for MDA \/ Function Call)<\/h3>\n<p>PPPI_STRING_CONSTANT | PPPI_FLOAT_CONSTANT | PPPI_DATE_CONSTANT | PPPI_TIME_CONSTANT | PPPI_TRANSACTION_CODE<\/p>\n<h3><a name=\"CHAR\"><\/a>&lt;CHAR&gt; Any Characteristic<\/h3>\n<p>&lt;Any Characteristic&gt;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article I give you a guide on the correct sequence you need to follow when using process instructions of type 0 (no XSteps)<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_links_to":"","_links_to_target":""},"categories":[52],"tags":[73],"_links":{"self":[{"href":"https:\/\/websha.de\/xstepcafe\/wp-json\/wp\/v2\/posts\/893"}],"collection":[{"href":"https:\/\/websha.de\/xstepcafe\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/websha.de\/xstepcafe\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/websha.de\/xstepcafe\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/websha.de\/xstepcafe\/wp-json\/wp\/v2\/comments?post=893"}],"version-history":[{"count":68,"href":"https:\/\/websha.de\/xstepcafe\/wp-json\/wp\/v2\/posts\/893\/revisions"}],"predecessor-version":[{"id":2161,"href":"https:\/\/websha.de\/xstepcafe\/wp-json\/wp\/v2\/posts\/893\/revisions\/2161"}],"wp:attachment":[{"href":"https:\/\/websha.de\/xstepcafe\/wp-json\/wp\/v2\/media?parent=893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/websha.de\/xstepcafe\/wp-json\/wp\/v2\/categories?post=893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/websha.de\/xstepcafe\/wp-json\/wp\/v2\/tags?post=893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}