This page is meant as a collection of future topics for the web sessions or single blog posts. Please feel free to post comments and suggest topics. (If you want to give yourself a face, sign up at gravatar.com and assign a picture to your email address)
As I have created the new forum please do not post comments here anymore and use the forum instead.
Hi XSteps Experts,
We are not getting the XSteps Icon in the Process Order though the same is active in Master Recipe! We have activated the LOG_PP_PI_EHM, LOG_PP_PMA_PMC, LOG_PP_SRN_CONF, LOG_PP_WIP_BATCH, LOG_PP_XS_RTG_PO!!
Can you please help to let know what we have missed.
Rgds,
Bhaskar
Hi all,
I’m implementting PI sheet without X steps in pharmaceutical context and my EBR is quite finished now. I just have a major issue that I cannot solve for the moment.
For each operation of my process order I have cleaning instructions linked to my resource. As a check list, each of these instructions displayed on screen have to be validated by the user. this validation is done via a matchcode : ok / nok / n/a.
To make the data management easy I imagined using resource characteristics to store each cleaning instruction => 1 resource char = 1 cleaning instruction (around 20 per resource).
Working like this was perfect : instructions linked to the resource, easy data management, one validation matrchecode in front of each instruction.
But the resource characteristic (like other characteristics) are limited to 30 digits and this is really not enough to give clear and understandable instructions to operators (the working langage is German).
Did someone of you meet this issue ? and how did you solve it ? maybe my conception is totaly wrong !
Thanks’ in advance and Regards
Every time the resource is used, the cleaning instruction is the same? So, with just one characteristic per resource, you can cover the requirement?
Hi Dario, thanks for your quick answer.
Yes the cleaning instruction is the same each time the resource is used But this characteristic is more than 30 digits, there are around 20 different iinstructions per resource (all these 20 instructions have to be displayed each time the resource is used). We want a matchcode in front of each instruction to validate each instruction.
So with all these constraints I feel I cannot cover the requirement with just one characteristic.
Regards
Hi Chris,
I do have a similar problem resolved with a function module where I’m using sapscript text with a free 70 char key.
I do have for each value a function module push button where you are linked to a free text window. Here you can edit your specific text with unlimited characteristics. You can always check this text / display it or enhance it.
If you want to have the function module and the instruction let me know!
Best regards
Hi Peter,
thank you very much for your answer. The idea is good but we don’t want to manage button because we have a lot of set up instructions and we want to display all of them in the same screen in a lean way. Also we want to have this validation matchcode (yes / no) in front of each set up instruction.
We also need to print the PI sheet at the end and store it as a validation document for QA so this idea with button does not match with our requirement.
Anyway I keep it in mind to use it when I want to displa some instruction which do not need validation.
In fact what I feel for all what I’m earing / reading is that our requirement cannot be covered without any Abap.
Thank you for your proposition, it’s nice from you.
Best regards
Chris
In principle this is a nice approach you described here.
One possible solution to your problem could be to use your characteristic value as a key to get a long text from a z table. Of course you would need to figure out how to evaluate a long text symbol (for example by looking at one of the standard symbols with long text). Unfortunately I have never tried this so I cannot give you any sample code.
Dear XSTEPS Guru,
We are implementing XSTEPS now where we created a custom scopes of generation for the first and last operation. BADi: CMX_XS_SRV_GEN is modified to populate the components either on the first or last operation. The xsteps is being generated, however, the operation number is not being shown unlike when we are using the scopes of generation ‘For All Operation’. the following are not being populated automatically:
OPR_DESC Description of Operation
OPR_NO Operation
SEQ_NO Operation Sequence
Any inputs will eb greatly appreciated.
Thank you.
I am not sure what you did exactly but you need to carefully have a look at the standard generation scopes on how they handle things. I am sure the standard implementation of “For all Operations” does call some methods to valuate the appropriate symbols of each operation.
Thank you for your inputs. But is this approcah had already been used in other implementations where only specific operations will be reflected in the xsteps generated?
Kind regards,
Jam
The scenario is that, there are components assigned to either first or last operation and we just wanted to generate that specific operation and not all the operations. So for this, we defined new scopes of generation like First operation and Last Operation.
Thank you.
Hi,
actually this site is my last hope, to find a proper solution for a customer requirement. Maybe somebody could provide a solution for this problem:
I have a Z-Table in the system containing production parameters for the order. When the PI sheet is opened, the table in pi sheet is filled with the last valid entries from the z-table (works via z-function module). Now the responsible person should be able to change data in the pi-sheet table and write the values back to the z-table (via button and z-function).
And here I get the problem, that an input field cannot be an output field at the same time and the other way round.
Our workaround was an additional column in the z-table where the “adjusted” values can be entered. But with this solution I have the problem, that after saving the PI sheet for the first time, this column is filled with data, but should be empty at every call of the PI sheet.
So basically there are two questions: can a input field be an output field and vice versa (in combination with z-function module)?
Can input fields in the PI sheet be “initialized” to empty, when the PI sheet is opened (default value only works for the first time after generation).
Maybe somebody could give me a hint or at least push me to the right direction
Thanks a lot
BR
Christian
I has a similar problem with the proposed Storage Location, which came from a table and it should be presented to the user; user can , of course, change the SLoc if required. The consulting firm stated that it is not possible and they add a new column. However we find a simple solution with no programming, based on the PPPI_DEFAULT_VARIABLE char.
This is the very basic stuff in the process instruction:
720 PPPI_INPUT_REQUEST Almacén
722 PPPI_DEFAULT_VARIABLE T_ALM2
730 PPPI_GLOBAL_VARIABLE T_ALM_MO
740 PPPI_REQUESTED_VALUE PPPI_STORAGE_LOCATION
T_ALM2 is the variable coming from the Z module and T_ALM_MO is the variable to be used in the second z Module, to store in the table.
That works nice in our environment. Not sure why
Dario
Hi,
first of all thank you very much for your response. Could you describe your solution an bit more in detail. Did you realize it via xsteps?
BR
Christian
No, we used conventional PI.
Regarding the solution, before these lines, you have the call to the first Function Module (with Document.Generated event) . The variable T_ALM_MO is used in another process instruction in the same PI Sheet.
Try implementing a simple PI (with one variable) to see how it works.
Hi,
I set up the following in my system:
Process instruction 1:
This will call the function module to set the default value and bring it to LV_DEFAULT
0010 PPPI_FUNCTION_NAME Z_TEST_XSTEPS_INPUT
0020 PPPI_BUTTON_TEXT DEFAULT
0030 PPPI_FUNCTION_DURING_DISPLAY allowed
0040 PPPI_EVENT DOCUMENT.LOGGED_IN
0050 PPPI_IMPORT_PARAMETER LV_DEFAULT
0060 PPPI_STRING_VARIABLE LV_DEFAULT
Process instruction 2:
0010 PPPI_DATA_REQUEST_TYPE Simple Data Request
0020 PPPI_INPUT_REQUEST Material
0030 PPPI_DEFAULT_VARIABLE LV_DEFAULT
0040 PPPI_GLOBAL_VARIABLE LV_INPUT
0050 PPPI_REQUESTED_VALUE PPPI_MATERIAL
0060 PPPI_FUNCTION_NAME Z_TEST_XSTEPS_OUTPUT
0070 PPPI_BUTTON_TEXT Pass to f-module
0080 PPPI_FUNCTION_DURING_DISPLAY allowed
0090 PPPI_EXPORT_PARAMETER LV_INPUT
0100 PPPI_STRING_VARIABLE LV_INPUT
At least I do not get any errors and I can call both function modules. But the default variable is not reset, after I open the PI sheet again. I have choosen the event of user logges in, which works fine (f-module is called, when PI sheet is opened), but something seems to be wrong with the default and global variable?
BR and many thanks in advance
Christian
No place to reply under your last posting.
I ONLY have tried to show how to use a given column for both input and output. Not intended to solve the empty or reset variable, this would require some different approach.
You had two issues, I only focused on the first one.
Regards
A general principle in the PI Sheet is that input fields are there to keep every information which gets entered into it (Electronic batch record
). So the input field works as designed.
I have a different approach to your requirement: You could include a function button which raises a popup with an entry field. This can be used to update your z table.
Hi Arne, in our case we have two differents PI sheet for a given process order. Control room is intended to charge the “technical” values, coming from scales and flowmeters. These values are stored in this PI Sheet and in an Z intermediate table. Then , they are presented in the second PI Sheet to the “Operations” and they can eventually change these values . For the sake of simplicity, Operations can “replace” the values provided by Control Room (i.e. output value can be used as input value in the same column), but the original values keep stored in the first PI Sheet and in the Z table.
Just to clarify our scenario.
Hello,
I am trying to carry out batch determination in the PI Sheet. According to the documentation, I should be able to have this functionality under
Environment >> Batch >> Find.
However, I cannot find this menu from CO60 or even in the PI Sheet itself. Is there any restriction regarding the SAP Release or HP ? Should I define some Process instruction allowing this batch determination ?
Thanks for sharing your knowledge & experience
Dario
See session 32
Hi all,
currently we do have a problem in getting the standard default values PPPI_ACTIVITY_1 – …_6 for Message PI_PHCON. With the old Proc.instructions the characteristics are automatically evaluated with value assignment COAV_ACTIVITY_1 – 6. The parameter valuation during XSTEPS allows you only the Activity assignment (w/o a specific number). In the SXS example you have to enter each value manually (you don’t have the standard value available).
Or you are using the function module COPF_ENTER_CONFIRMATION but then you don’t have a stroed message.
Is there a way how to valuate the ACTIVITY_1 thru 6 automatically like it was in the Proc.instruction system?
Thanks a lot!
Hello,
we send process mesagges using a job after event SAP_NEW_PROCESS_MESSAGE.
We need to send some of the information contained in PI_CONS and PI_PROD messages to an external system, once the message has been succesfully sent .
We found the field ERRKZ in COMH but we would need to trigger the sending to the external system when the status takes the value “N”, i.e. “Sent”.
Any idea or advice ?
Regards
We could change the standard function module COCI_CONFIRM_MATERIAL_CONS including the code required to send the information to the external system, if the sending has been successful (errkz = “N”) or defining Errkz as output paremeter of the function, so we can trigger the sending to the external system if the value is “N”. But we would like to know your advices…
Regards
There is no standard solution for this. I think the procedure you described here is a good approach.
Hi,
We have copied standard style sheet for COCKPIT and made few custom adjustments in that.
Now we have a requirement to set a CURSOR position on the first INPUT field and CURSOR should move to next INPUT field on every ENTER.
Can this be achieved by style sheet?
Thanks in advance.
Suraj Sadotra
I think many things can be achieved by style sheet or javascript magic. In this case it might be not so easy. Probably you need to include a javascript function which is run after the page has loaded and then you would need to find the first entry field by searching through the HTML DOM (Document Object Model). Then you could set the focus.
I am not sure whether you can do the thing with progressing by enter though…
Dear Arne,
Thanks for the input.
I treid for both the requirements but somehow I am not able to achieve the output. Request your inputs and expert advise.
Req1: Cursor on 1st input field
I am able to identify the first input field using HTML DOM but when I try to set cursor getting the below error
“Can’t move focus to the control because it is invisible, not enabled, or of a type that doesn’t accept the focus”.
Req2: Move cursor on each enter
I am able to move the cursor on each enter but then validation functions doesn’t work.
Kind Regards,
Suraj Sadotra
Hi,
We are in the process of implementing PP PI functionality with xsteps and in the mid of user acceptance testing.
we would like to follow the below mentioned process to test and move the master recipe with xsteps.
In SAP Quality/Test system, we build the master recipe and link to the xsteps in the repository.
test the PI sheet through control recipe generation and execute PI sheet for the process order and complete the order.
Once we are satisfied with the test, we would like to move/copy the master recipe along with xsteps assgined from the quality system to production system, reason being we can not process PI sheet in production system by executing a process order for testing purpose.
We would like to know, how other clients using xsteps for PI sheet processing are managing this process. Does SAP has any standard solution for this process.
Any suggestion/guidance is greatly appreciated.
Regards,
Aheesh
Hi All,
Our production system is ECC5.0
I cant import the SXS Basic Library in our SXS repository, but I am able to imported own SXS.
“The correct procedure is to
– go to the SXS repository (TCode CMXSV),
– right click the “Standard XSteps” folder and Create a new sub folder.
– name the new folder whatever you like
– Select your new folder and click the “CHANGE” button to allow changes
– right click your new folder and select “Import SXS Folder ISSUE: ***”——-I dont have this option***
– point your import at the file “SXS Library BASICS V1_0.XML.”
As mentioned – If I try the right click to import the option does not show up.
Do you know whats missing here?
Thanks a lot for your help on this.
Kind regards,
Sven
Hi
does XSTEPS functionality can be used with collective Order scenario for Process Orders / Production Orders?
if Yes, are there any limitations?
Thanks
JK
Hi
Currently we have a requirement where we are using only one Destination for all Work Instructions and some operations will take more than a day but we wanted to complete GI and GR and create messages for these.
The PI Sheet(Default) we are using does not create process messages until we complete the PI sheet.
Any inputs on this would be of great help
You can use the SIGN Process Instruction after the PI related to GR. If all characteristics are completed then the message PI_PROD is generated and you can send it thru CO54.
Hi
We have recently setup Xsteps in our system and when we are trying to see the Xsteps either in simulation mode or generating them as PI sheet it is showing blank page with some junk characters.
Could you please give some inputs on how to correct this error
What release of internet explorer are you using IE 7.0 does not work at all. You need to be at 6.0 or 8.0. Also, what stylesheet are you using? You need to have a call to the stylesheet at the beginning of the Xsteps being called. We have created a PI Sheet Header reference XStep that is only called once at the beginning of the recipe. In that, we have defined PPPI_Layout as text/XML with a call to the stylesheet as follows:
SAPR3-WR-Z_XS_IDEXX_S50.XSL
SAPR3-WR-Z_CMF_PISHEET_P50.XSL
ZEBR_XS_ORDER_QTY_IN_HDR
ZEBR_XS_ORDER_UOM_IN_HDR
The text you need for the header is in OSS notes and documentation.
Hope that helps.
Sue Rochon
Hi Sue,
We are using IE7 but during our testing it worked in our testing clients.
I will try the options that you have suggested.
Thanks,
Sri
Hi Sue,
The note 329997 resolved our issue
Thanks,
Sri
Please suggest the solution if anybody came across the below scenario before .I have posted this in Xsteps cafe as well .
We have a requirement to create PI_CRST automatically to complete the control recipe when the order status changes to DLV . We use 3 control recipes , 2 for PI sheet , we can complete manually . But for the 3rd one, is sent to the MES through MII ( ISA- 95 data exchange ) . There is no mechanism in MES to send PI_CRST .
Thanks
Ragu
HI,
You could create a workflow that sends the PI_CRST based on the event of the order status change to DLV.
Sue
But the MES does send other process messages for confirmations or bookings? If yes then it should also be capable of sending a message for PI_CRST.
Arne ,
MES sending only the Goods issues , no confirmation from MES . only bulk materials are issued through SCADA , the SCADA systems are connected to MES . MES is sending performance message ( ISA 95 ) to MII then posted to SAP as process message . for the same process order we have PI sheet as well for GR and confirmation . MES only knows the recipe changes in the SCADA , then attaching GIs for the running process order . MES cannot send PI_CRST message until the next recipe is loaded . This senario will work foir the whole week ,but not at the end of the week ( friday ) , i.e MES needs to wait until the next recipe is loaded on monday . Currently we have only two options 1.We can partially automate the PI_CRSTand accept that sometimes the process doesn’t work . or Create manual message .
I recently reviewed Session 18 with respect to the SAP MII Batch Templates. Was very good demonstration.
I had two quick questions with regard to what was on the demonstration:
1) I noticed that it looked like all Process Instruction Categories were of type 0. Is this a requirement when utilizing the SAP MII Batch templates?
2) There was some discussion within respect to whether XSteps could be utilized with the templates for SAP MII. Can they be used?
3) I noticed in the demonstrations several signatures being performed. Is the actual validation of the signatures done within SAP MII?
Any input you can provide with regard to these queries would be appreciated…
Hello
Do you know the rules followed by the pi-sheet status?
When you complete a pi-sheet, a process message is sent to update the control recipe status. But on the other hand you have also the pi-sheet status. The process message has not impact on this status.
It seems the pi-sheet status depends on criteria like mandatory fields have to be filled or every steps must be deactivated,…??? (cf table POC_DB_STEP)
I could not find anything in the documentation
kind regards
Hi All ,
This is a problem that comes up again and again where you are touching a component more then once whether it be weigh and tip or prepare and tip.
There must be a prescribed way of working from SAP on this as this is a scenario we encounter in every plant .
Can someone please explain find out how we associate a material to a measurement phase and then a usage phase.?
Thanks
Ragu
Hello
I’m not 100% to understand your question
you want to know how to link a material to a phase?
what do you mean by a usage phase? could you elaborate?
kind regards
I assume you want to assign a material to different phases. The standard only offers a one-to-one relationship. If your measurement phase is at the very beginning you can use a material generation without phase context at the beginning of the PI Sheet which would get all of your materials. Then you would normally assign your materials to the appropriate consumption phase.
However if you have long running orders the material assignemt to the phase matters for your material requirement planning. In that case you probably want to assign the materials to the first phase where you handle them and this is most likely the measurement/weighing phase.
To do some kind of automatic assignement of a material to a later phase you could use the BOM sort string and a custom generation scope which generates a list of components that match a certain sort string (e.g. sort string ‘CONS1′ for the first consumption point and then use the generation scope with that sort string as a filter in the phase where the first consumption takes place)
You could probably do some more sophisticated things with custom fields in the phase which you could use as the required sort string for that phase.
Hello to all,
We experience a problem with our browser-based PI-sheets.
Very rarely a PI-sheet generates two messages for a goods receipt for the process order instead of the regular one. The problem seems not to be material related. We are not using X-steps.
We have migrated from version 4.6C to ECC 6.0 April 2009 and have had no problems regarding this problem until June last year. Until now we 6 occurences of this issue.
There were some changes to the proces instruction, one of the changes was that the PPPI_DATA_REQUEST_TYPE was set from “Simple” to “Repeated ” with table size =1, to force a one line receipt-instruction (layout-change).
Does anyone recognize this problem?
Thanks in advance,
Evert
Did you check for those cases with duplicate messages whether there have been 2 table rows in the PI Sheet for some reason?
If you did not create an OSS message for this you should do so.
One comment on your layout change: I know that many customers prefer the tabular layout to save space on the PI Sheet. However using a lot of table elements in the PI Sheet could have a bad impact on performance in the long run.
I checked the PI-sheets, only one table row in the PI-sheet, still two messages were inserted in tabel COMH (and rows in COME).
Therefore double goods receipts were posted for the PI-sheet.
The PI-sheets are used frequently, only six occurences of double messages were found since June 2009 for various control recipes.
I have created an OSS-message, they replyed that we should provide a reproducable example. The problem is how to find out why the problem occurs, since we do not know a reproducable example is hard to find.
That is why I dropped the question here, maybe others have had the same problem
Kind regards,
Evert Smeenge
Hi All ,
We have an issue when we are changing the plant code after go-live ,
we are planning to develop a program to copy the master recipes from the old plant to the new one but the problem is , eventhough the xsteps stucture in the master recipe is copied from the provius plant , we need to re-reference all SXS-ref s in the manually to the repository . I know we can solve this issue if we have common repository for all plants. For the current situation we have only plant specific repository . Pls give me a suggestion if any body knows to resolve this issue.
Thanks in advance
Ragu
Hello Ragu
Ther i a pilot note for the implementation of a cross plant repository : 1124677
kind regards
Hi Arne,
Like you suggested I am posting my question here in the topic discussion area:
How to use commands and events to enforce a certain processing sequence?
Thanks
We are currently beginning an SAP upgrade from 4.7 to 6.0. From an XStep perspective, is there a list of impacts, functionality changes, fixes, etc. that we could access? Does anyone have any experience with such an upgrade and the impacts? Any help would be appreciated.
Thanks,
Sue Rochon
IDEXX Labs.
Hi all,
just one question,
Is it possible to display the value of valuation symbol in Head of PI sheet.
In case of Process Instructions, we display the value of a characteristic in HEAD-PI, specify the characteristic by stylesheet, and display its LABLE&VALUE.
Is there any way to specify a parameter of XSteps to get its value by stylesheet? it’s like a or something…
Thank you in advance.
Hiroki.K
See recorded session 27
Merry Christmas and Happy New Year to the whole group!
To have a good start into the New Year I do have a small question on table adding in XSTEP ;o))
We do have the requirement that inside a table business is entering values (thru barcode) Every time at the end of a table line a new line should be generated automatically. This can be done easily with TABLE.ADD_LINE and some event conditions.
But how can I position the cursor to the new created line automatically once the last field of the previous line is entered correctly? (The requirement is not to go to the table and point with the mouse to the next line – this should be done automatically)
Thanks a lot
Peter
We have done this by changing the style sheet so that when a new line is added, the cursor is positioned on that new line. In the XStep that adds a new line, we also have a Command Table_line.Complete and then the Command Table.Add_Line is executed on Table_Line.Completing. Hope that helps.
Sue
Hi Sue –
Just curious in your example, how do you control the last line.? From your example table.line add is based on the ‘event’ table.line.complete, this will always add a new line? How do you control this last line when you have no more inputs for example but a newly added line??
Nigel
Hi Sue,
thanks a lot, this will help! I’m only trying to find out how to enhance the stylesheet accordingly. Interesting is of course the last line problem – but here I could live with deactivating the empty line manually.
sorry for bothering you with some basic questions, but I strongly think that you can shed some light about this.
Our client in Argentina have decided to interface SAP to process control system (thru PI Sheet, at first glance) . They are a world scale biodiesel producer and they will also switch from the actual and not suitable repetitive manufacturing model to one based on PP-PI.
I have worked with some basic implementations of PI-Sheet and link to PCS, but the requirements of this customer seems to be too complicated to be managed with PI-Sheet or similar. Other consulting firm is offering a Z – development to cover the requirement but the client would prefer some standard SAP Solution….
The main requirements are:
- presentation of the component with planned quatities (like with AMAT_1)
- reading of the flowmeters and adding a column with the “actual” quantity value
- split the material line with the component quantity – if required – with batch determination (usually two different batches are consumed or produced with the same process order), so there are two lines by material code with two differents quantities and batch number.
- arrange the authorizations in PI-Sheet, so some users can only enter some values ( temperature or pressure) and other can make material postings.
I would like to know if the above requirements can be covered using Standard SAP PI-Sheet ( or XSteps) with some coding or it would required some special development (as the other consulting firm is proposing).
Additionally, and if you have some time, I would like to show to the client some other special features of the integration using standard SAP (work instruction, document presentation in PI Sheet, QM integration, and so on), so they can assess the advantages of using these tools.
Thanks in advance
Dario
Partially discussed in session 27
Dear all,
I ‘m having problem with table paraemter.(OSS 952561)
I’d like to display some values in a table(Output table), its values are exatly same values with other input table.
At the browser-based PI sheet, I developed a simple function module, it’s just like that “table parameter T_IN[] = T_OUT[]“. This is your advice in TOKYO, thank you Mr. Manthley, remenber?
I cannnot make a same PI sheet on XSteps.
Browser-based PI, variable declaration of output variable was neccesary in outputable, is this same in XSteps?
We maked some XSteps in different patterns, but failed.
1. in an one XStep from process instructionsof input table to other Proc.Instr, of output table
2. from parent XSteps to child XSteps using evaluation reference value INPUT
Could you tell me how I can make it ?
Thanks
Hiroki.K
Dear all,
I got a solution from OSS, it got to be possible using a static variable and function call for writing/reading, but there is a still problem about this issue for event-triggered function call using Parameter-Changed, runtime error is occured for caught in an infinite loop.
Anyway It is not so big problem for us actually.
Thank you in advance.
Hiroki.K
I have showed a small example on how to do this in my last session.
Hi all.
I am having problems with COEBR. Generating the PI Sheet in CO60 is okay. In the Process Orders’ Product Handling Table In/Out column some of them are blank. But as I archive the PI Sheet using COEBR those blank fields are populated with data which makes inconsistencies with the PI Sheet in CO60. I’m new to PI Sheet and I don’t know where to look at.
Can anyone help please. Thanks a lot!
What exactly do you mean by “Product Handling Table In/Out”? Is this a table you created in the PI Sheet? If yes what kind of data is in that table?
It is a table defined in a phase of our PI Sheet. It contains data such as materials, batch, In/Out, UOM, Quantity, Container Range. These data are all inputs from the user using CO60. And as the sheet is completed, it is now archived using COEBR.
The issue comes in when some of the rows’ in/out field are blank in CO60, and upon archiving in COEBR they are automatically filled up with data (e.g. Blank becomes IN). I have checked the Automatic Value Assignment of the Characteristic in TCODE 025C but none was declared in it.
Are there any other exits in COEBR where a characteristic will be automatically filled up?
I have problem in my current client ,
control recipe is getting created with no values for the process order , even before releasing it . And I don’t find any status changes in the order header level for the control recipe generation .It shows only CRTD ,PRC ,BCRQ ,MANC
Can anybody tell the reason for this behavior ?
Ragu
Ragu, please try to formulate your requests more sepecific. Probably OSS would be more suited for this.
Hello everyone,
we have problems with the display of deviations.
If we define an input validation rule e.g: X>X_MT_CQTY-(X_MT_CQTY/10) AND X>0 then the check of the entries is correct. And the output of the warning is also correct. But if we use the functionality “Display deviations” the display of the validation rule is not correct. For the example (see above) the validation rule X0; X_MT_CQTY=2,0000 is shown.
But for us it is necessary to get the correct validation rule. Is there a solution for this problem?
Thank you in advance.
I just checked the validation myself. Not sure whether I see the same issue though. I have the validation rule “X < PAR_NUM3" with PAR_NUM3 set as a fixed value to 50.
When I then enter a value of 55 I get the following message:
Value 55
Validation Rule X < PAR_NUM3; PAR_NUM3=55
Here it should say “PAR_NUM3=50″.
If you see this problem please create an OSS message describing it with much detail. Please do NOT refer to this blog for the message.
Dear All,
I have an Abap function that read a text file and return the text read. I want to call to this function from a process instruction and show the text returned, but as the parameters have 30 chars only, it is impossible to do it. Is possible to assign the returned value to a output process instruction type “message Text”? There is other form to do this?
Thanks!
Victor
Unfortunately I don’t know of any solution for this. The function module interface has a limitation in handling long text data.
Column text for tables!
I am creating a HTML fragment that I want to use as header text for a table column. I use symbol replacement to get it in place.
The problem arises when I want this column text to break over 3 lines. Then I get an error. Two lines is OK.
Anybody knows how to overcome this limitation or why it is thereat all?
The table would appear neater and less broad when I can break text in 3 lines.
Kind regards,
Tor
The problem is not really the number of lines but that ALL characters used in the HTML fragment is checked against the limit of 30 characters permitted in the description field (PPPI_INOUT_REQUEST in my case).
Is there still a workaround?
Risky to change PPPI_INPUT_REQUEST to hold more text.
//Tor
Your observation is correct. You are restricted to 30 characters for the column heading including any HTML tags. So if you want to have 3 lines this means that you need the tag <BR> twice. So you have 22 characters left for your title.
Hello,
I need to make a calculation (formula) at the beginning of a table.
But this calculation must be made for all lines.
If I choose as event:
DOCUMENT.LOGGED_IN, I have the calculation worked for the first line but not for the lines added after.
TABLE.LINE_ADDED, I have it for all lines added but not for the first line.
How to made it happens for each cases?
Thanks,
Emmanuel.
Dear All,
I read in the SAP online documentation that a standard process message PI_MFLOW for material flow are available.
But when I execute the option “Adopt Predefined Message Categories” I don’t get it.
Can you tell me how I can make it available?
Thanks a lot
Alen
Tricks of the trade or just weird SAP?!
Try tcode O22C_VHUMI.
Dear all,
I have an odd layout error. During simulation all is displayed at the right place, but after generation, the layout is changed (sdn forum post). I guess, I’m doing something wrong while structuring my objects.
Anyone who knows a solution?
Kind regards,
Samuel
Hello Samuel,
Perhaps do you use a Z-stylesheet which is not taken into account in simulation?
kind regards
Hi,
I have a question about transferring a master recipe to other system client.
Is there any IDOC or bapi which can be used for uploading master recipe with SXS reference.
I could not find any appropriate Message type for idoc.
Sorry, but I don’t think there is an IDOC for recipes which includes XSteps. You might need to create that IDOC by yourself (probably not that easy though)
Hi Arne
Is there any customer cases wchich create IDOC & API for transfering master recipes which includes Xsteps from QA server to Production server ?
Thanks in advance!!
Yumiko
I am not aware of such a case. Sorry!
Hello all
Problems when refer to the standard XSteps in a master recipe. Even with correct validity period and “Released” status, the system fails to copy a version in standard XStep to the master recipe. The function used to work fine but the system stops doing it since last week, any thoughts on this case?
Did you install a new support package? Please create an OSS message for this.
Hi all,
problems with F4 function in table lines:
In pi-sheets you can define characteristics with a check value function – e.g.
PPPI_BATCH has got the check function COC1_PPPI_CHAR_VALUES in O25C defined.
For this check function there exist a function module COC1_PPPI_CHAR_VALUES_F4 that allows to get F4 select for batches.
This works fine in “old” proc.instructions if you use an input_request for PPPI_BATCH, no matter if you are using it outside or inside of a table.
In XSTEPS the same F4 function seems to work only outside of tables. If you are defining inside a table the
PPPI_INPUT_REQUEST Batch
PPPI_VARIABLE LT_BATCH
PPPI_REQUESTED_VALUE PPPI_BATCH
you don’t get a F4 function.
If you are defining the same outside of a table the F4 is working!
Has anyone got an idea how to get the F4 inside a table in XSTEPS?
Thanks
Peter
Hi all,
after discussion with SAP and many tests the update from IE6 to IE8 resolved the problem!
Peter
Hello,
Concerning F4 function.
When you define a limited list of value in the characteristic without flagging ‘additionnal values’, then you have a very simple drop-down list on the corresponding field in the PI-sheet.
If you flag ‘additionnal values’ then you jump to a classification screen.
I’d like to restrict the list of values depending on a parameter value.
I already tried to use dependencies but it seems not working in the PI-sheet environment. Is it normal ? Or do you know any trick to achieve this?
Kind regards
Xavier
Hi all,
I do have a pretty simple question – I need in a table line for each added row at the front of the table. I resolved it by adding a function module that is taking the SY_ROW as an import parameter and exporting a Z_ROW line number that can be displayed at every line. This function is called at event DOCUMENT.GENERATED (for the first line) and TABLE.LINE_ADDED for each added line. It is working well each line in the table gets a sequence number.
During debugging I found that whenever I’m pressing the ADD Icon the TABLE.LINE_ADDED function is called for every existing line – if I’m adding the third line the function is called 3 times.
Perhaps this solution is to complicated, is there an easy way how to add a row number per line?
Let me first explain why the FM is executed for every line: Since you have the function call (with event TABLE.LINE_ADDED) in every table line it means that for every line the function module is executed (even if it does not make sense since the old lines do already have that line number).
In principle you can directly include an output of the variable SY_ROW. However I have experienced some weird XML error while doing so. Maybe that is a bug.
Arne,
Is the cross plant OSS pilote note comes with the language dependency contains in EHP5?
Thanks,
Emmanuel.
See my comment on your older question. Please give me more time to react
Hi Arne,
currently we are testing the archiving of pi-sheets (w/o EBR) following OSS Note 1417893 (Archive PI-Sheet 4.6c). It is working pretty well!
There is only one drawback on the implementation – it is always using the Stylesheet for EBR (PMC_STY_A_….) which is in the Layout.xml section. You don’t have a chance in the worklist of an archived stylesheet to take a different own stylesheet. I sent an OSS Note – SAP asked to change the -> Include LPOC_ENTRYIMP METHOD display_archived_prod_inst., but this doesn’t help because the whole html file is restored back.
So I tried to change the stylesheet during the archiving, but there is no chance as the XSL file from standard layout is taken.
The problem is that in already existing pi-sheets that are to be archived I can not change the stylesheet from the layout.xml.
Our business would like to have the same layout during archiving worklist as in pi-sheet standard display. So I changed the contents of PMC_STY_A_… EBR XSL file to the standard PMC_STY_…. XSL file before (!) I archived the pi-sheet. The problem is that I do not see any data in the worklist of the archived file.
Do you have any idea how I could get for archival worklist a flexible stylesheet?
Hello Mr. Fogel!
With note 01128083 we delivered a kernel based BAdI named BADI_CMX_POC_CHANGE_STD_LAYOUT (implementation done in package CMX_POC) that we use to exchange stylesheets of browser-based PI Sheets against stylesheets for electronic work instructions. We ship a default implementation class CL_IM_CMX_POC_EXCHANGE_LAYOUT for exchanging the stylesheets. Maybe you can use this BAdI with an own implementation for exchanging the stylesheets. Note is valid from ECC 6.03 (EhP3 for ERP 2005) upwards.
For lower releases like R/3 4.6 or 4.7 kernel-based BAdIs aren’t available. But if you have a look at the coding passages in note 001128083 you can identify where BAdI method for layout exchange are called.
Please also note that functionality of standard PI Sheet stylesheets like context menu calls (via right mouse button click) or diaplying comments won’t be possible for archived PI Sheets. Therefore archiving style sheet has a different ‘flavour’ than standard PI Sheet stylesheet, e. g. deviations and comments are listed in an own section at the to of the archived PI Sheet document.
Greetings
Uwe Dittes
Hello Mr. Fogel!
Sorry but I just forgot to mention the SAP standard way for stylesheet adjustments for PI Sheets that are archived using SAP’s Electronic Batch Record (TA COEBR):
Description can be found in SAP Library:
. Chapter ‘Optical Archiving of Batch Records (PP-PI)’ contains a sub chapter called ‘Definition of Contents and Layout of Archive Documents’. There it is described how the SAP standard archiving stylesheet can be replaced against an own one.
This should work..
Greetings
Uwe
Link to SAP help portal page:
http://help.sap.com/erp2005_ehp_04/helpdata/EN/d7/e22576408e11d1896b0000e8322d00/frameset.htm
Hello all,
I have a “problem” with XSteps, is not an error but it’s an annoying “problem”. I try to explain the situation:
When you define a new parameter in a Xstep in the Repository, you assign a NAME, DESCRIPTION, CATEGORY AND CHARACTERISTIC to this parameter. If you change the status of the XSTEP to Released, and after you need to change the CHARACTERISTIC of a input or output parameter, you must change the name of this parameter. There are some solution for this??
If there are not solution, the “problems” continue… When you are in the master receipt and create a SXS Reference to this XStep, in the VALUATION tab appears this parameter twice. There are some way to delete the “obsoled” parameters from the data base?? Now, for solve this “problem”, we need to change the parameter DESCRIPTION to know which is the good parameter in the master receipt!
Thanks very much!
My guess why this is happening: If you create an SXS with Parameter of name “A” and you are using it somewhere then the element might already be dependent on that parameter with the very same characteristic. If you change the parameter in the repository this would lead to confusion. Therefore the system asks you to rename the parameter.
One way to “remove” an unwanted parameter would probably be to export the SXS, edit the XML and find the parameter you want to remove and then re-import it again.
Of course if you already use that SXS a lot you would need to change the references…
Thanks Arne for your answers!
About export and import of the SXS, the problem is that in the SXS only appears the correct parameters.
The real problem is in the master receipt, that is where appear the “bad parameters”. When I change the name of a parameter because I have changed its characteristic, when I go to master receipt, in valuation tab of this SXS appear the first parameter and the new parameter, but in the SXS only there is 1 (the new) and if I export the SXS, in the XML document only appears the new parameter. I don’t know if you understand me… I try explain it with an exemple:
In a SXS –> parameter name: A – Description: ‘description of parameter A’ – Characteristic: PPPI_MATERIAL_QUANTITY
If I change the characteristic, I need to change the parameter name –>
new parameter name : A2 – - Description: ‘description of parameter A2′ – Characteristic: PPPI_PARAMETER_VALUE
When we go to a master receipt that has referenced this SXS, in valuation TAB of this referenced SXS appears the 2 parameters (only description) ‘description of parameter A’ and ‘description of parameter A2′. We have a button to delete parameters for this SXS referenced but I will like delete parameter permanently. Are these parameters in some table?
Thanks and I’m sorry for the lecture!!
Victor
Hello everyone,
we have problems with the print-out and creation of pdfs of the PI-sheets based on XSteps. If a PI-sheet contains tables with scrollbars in the print-out (and also in the pdf) the tables are cut off. So there is necessary information missing at the print-out. Do you have a solution for this problem?
Thanks in advance.
Since the PI Sheet is an online document it is not meant to be printed out. For the complete paperless production the aim is to use it online and archive it in form of an EBR.
However I know that a lot of customers are having this isssue. There is an OSS note available on this topic: 810895 which might help you.
Generally speaking you should avould wide tables if you intend to print you PI Sheets on paper.
Dear All,
I am faced with a very unique and different behaviour of standard SAP Characterisitic: PPPI_INPUT_GROUP.
This standard SAP Characteristic and it’s behaviour is working perfecting alright when I use it in IDES 800.
However, when I use the same in DEV server of an existing client/customer, this is not giving the desired results, in fact no results at all. I even tried copying all the standard PI Categories from Plant 001, to see if that help solve matter, but no avail.
Please help and thanks in advance.
Jawad Akhtar
Hi –
PPPI_INPUT_GROUP is controlled via the stylesheet used. Therefore if it is not displayed please check the stylesheet in use between for your two systems.
Check the log when the PI sheet is generated to find which stylesheet is being used.
Which process message do we need to use to create a shift note on the PP side? Can we directly use the PI_COMM process message or is there a std process message provided by SAP ? If there is then what would be the added value of having the shift note being implemented via this process message over having the std PI_COMM process message ?
Also how context and generation scopes are different from each other? I am bit confused on how those two differ and what they actually mean. The online documentation is pretty thin at best.
Please wait for the next session. I have asked a colleague to speak on shift notes in general on July 14th. There I will also touch this question.
On the context vs generation question: These two are really very different. The context is the assignment of an XStep (and its instructions) to a certain phase or operation. If no context is specified the instructions will be put in a special section at the beginning (with number 0000)
The generation is an automatic creation of multiple XSteps which share a certain characteristic (e.g. components, documents, phases,…).
The only intersection of context and generation you can find when doing a phase- or operation-based generation. In that case the generation will also automatically set the correct context for each instance.
Hello
Just two simple questions:
1. Is it possible to change the “Phase: XXXX” title by the number and description of the phase?
2. is there any way to make a migration of Steps asignation to master reciepes? (batch input, bapi, idoc, ect…)
Best regards
David
For #1 you just need to have a generated instruction in every phase that includes the characteristics PPPI_PHASE_SHORT_TEXT and PPPI_PHASE_LONG_TEXT properly valuated (using some parameters). For this you would need to create a manual instruction in the XStep including those characteristics in the second tab.
For #2: There is no standard way of such migration. You probably would need to do this with a custom development (e.g. IDoc)
Hello Everyone,
Is there an easy way to find out why a table line cannot be completed within a PI sheet? To be more specific, I have a repeated data request sent to a PI sheet that collects PP confirmation data in each line and sends the data back as a process message. I can complete the first line in the PI sheet successfully. At completion, it sends the message and posts the confirmation. However, it just won’t allow me to complete the 2nd line. Any thoughts?
Thank you,
Maddy.
Found the solution. It looks like there is a design restriction in Xsteps at the moment. System expects all mandatory characteristics to be displayed in the PI sheet though they are automatically valuated. For example, I have set the automatic valuation for the operation sequence but did not display the output field in the PI sheet as it was not relevant to be shown in the PI sheet. However, since this is a mandatory characteristic , system expects the field to be displayed in the PI sheet. But I’m still wondering why it would validate this only from 2nd line?!
Thanks to SAP who resolved this issue!
Maddy.
In my opinion it should not be necessary to display a mandatory characteristic to be able to complete a table line or instruction. You might consider to try again via OSS insisting that you do not want certain fields to be displayed.
I agree, I got this response about 2 months ago from manufacturing development, stating it was a ‘known restriction’ with Xsteps. For those customers that are trying to translate classic PI categories this poses a real problem as this restriction never existed. Obvioulsy until SAP removes this restiction the only option is to remove the ‘required’ field inside the message destination for those chaacteristics that you don’t want to display. However be careful that all the required values can be passed all the time for the message destination to complete successfully – for me this means that extra validations are present so that all data is correct and present before the message is sent…..
PIsheet – input data validation
need you advice on following issue.
my client is using PIsheet for confirmation , posting date is input in that.
he wants that if posting date is wrong , the system should give message .
i think input data validation should solve this issue but i dont how to do it .
please guide
Yes, an input validation will do it. You need to create a validation with a function module. There is a very simple function module in the SAP standard which shows how to build such a validation function module: COPF_VALIDATION_FUNCTION_TEST. It simply compares two strings and then raises an exception if the test fails. This exception is crucial for the validation to work. In your case you’ll need to do some sort of date comparison.
Hello,
Do you have any info/documentation about the tables used for X-step trees. Especially where is stored the allocation of x-step in the recipe.
I could not find anything in the task list tables nor in CMX* tables
This could help me in the perspective of a mass change of our recipes
kind regards
Xavier
Hi Xavier!
Concerning XStep trees you find all database tables in package CMX_XS. Database tables do have the prefix CMX_XS_DB.
Linkage of XStep trees (root nodes, step nodes) to applications are stored in database tables of application packages: For master recipes and standard routings please have a look at package CPC_CMX. There you find the so called context database tables CPC_CMX_DB_COR (root context) and CPC_CMX_DB_COS (step context).
For manufacturing orders please have a look at package COCR_CMX.
Greetings
Uwe
Hello Uwe
Thanks for your answer, it’s not very easy to find out the path in those tables but I think I’ve found the links to be able to change with a mass transaction the reference(s) to the X-step repository in the master recipe.
It seems working
Tx
K regards
Xavier
Hello to all,
I am new in this “café” I have searched it because i am getting crazy “playing” with xsteps.
Maybe someone can help me.
I need to develop a PI sheet for someone who can not press any key, they can only use the barcode scanner, so they can not press “save” when they finish. I can not find a function module to save the PI sheet automatically.
There is any solution for this?
Thank you very much.
Laura
Hi Laura,
you can use the command functionality (if you are on a release >= 4.7). You can check the documentation for some examples with ‘classic’ process instructions. It works similar with XSteps.
However be prepared to face a good deal of trial and error using no keyboard (and mouse?) at all. I am not eintirely sure whether it is possible at all. (Example: To complete a PI Sheet you need to click on the command in the header.)
Regards,
Arne
Hello again!
Thank you for your quick reply!
your example is exactly what I need to do. I need to find something to complete the PI sheet without using keybooard or mouse at all. Do you think this is possible with some function?
Uffff I am a little lost with this.
Thank you again
Regards
Maybe you could attend one of the upcomming live sessions and bring the topic up again? It is a little too complex to discuss inside the comment section…
Hello Arney,
Is there any session planned on PI Sheet performance related topics?. I you have not, can I request to arrange one such?. I believe this would be of great help to many customers using PI sheets.
Regards,
Hi Arne,
While using X-steps in a Variant configuration scenario, the X-steps tree is not adjusted automatically while the routing is assigned to the order. For example, if I have a super routing with 10 operations and when I create a production order with dependencies, it assigns only 8 relevant operations to the order. However, the x-step tree in the order contains the instructions for all 10 operations. It even generates the control recipe for all 10 operations and sends it to the browser-based PI sheet. Can you please let me know if X-steps is supposed to work in a variant configuration scenario, and if so, is there a workaround to deal with this issue. I would ideally not like to delete the x-steps manually from the order.
Thanks and would really appreciate your help,
Maddy.
I totally agree! Could you raise this issue as an OSS message please?
Hello Arne,
I have raised an OSS message as you suggested and I’m glad that the SAP development team is currently working on that.
Thanks,
Maddy.
Hello Arne,
SAP has provided a note for this issue and now everything works as expected! We were really overwhelmed by the extended support provided by Uwe Dittes!!
I’m obtaining loads of useful information from this cafe as well. Thanks for all your efforts! Meanwhile, I would like to ask one more question in this forum. Can we have more than 999 lines in a PI sheet table (repeated request)? Our average volume of production is 600 pieces a day and we are entering the parameters at various stages of operation against each piece produced and also track each piece throughout its production.
Thanks again,
Maddy.
Hi Maddy, please check out this post.
Thank you so much, Arne, for taking your time out for explaining us with clear illustrations!
That really helps us a lot to understand the performance of PI sheet when it reaches the maximum number of lines. Initially when we tried, we got a dump “CONVERT_NO_NUMBER” as we entered 1,000 in the xsteps. Later, we created a new template by removing the thousands separator for data type “NUM” to make it work! We were little hesitant to change this, because it changes the template in “PPPI_MAXIMUM_TABLE_SIZE”; just curious to know will there be any side effects due to this. Did you experience the same problem?
We also did some testing in our test system. As you mentioned it takes a while to load the sheet when the number of columns increased.
Thanks again for your help…
Maddy.
Have they finished working out on that issue? I too am looking for the solution to delete xsteps automatically when operations are removed from order.
The OSS note that solved Maddy’s issue was 1456690. Please check whether this note works also for you. If not, create an OSS message.
Hi Arne,
Kindly explain how to display the quantity of proces order components in ALTERNATE UNIT as well as BASE UNIT in the PI sheet. We are not using Xsteps in our scenario.
Can u explain in detail how to get the long text of BOM and update material quantities in the PI sheet
Thanks
N. Laxman
This has been discussed in session 19
Hello to all,
just one question, but i’m getting crazy trying to find a solution, I’m tryoing to create an Xstep, but when I want to assign a scope of generation system doesn’t allow me to do it. System issues message :
” First select a node”
but no nodes are available to select….
Thank’s in advance and best regards.
david
Hi David,
you should see a tree element below the section ‘Generations Available’ on that screen. Expand the folder and select any element or better double-click it.
If you do not see that tree you might need to release the SAP namespace manually in transaction CMX04. If the table there is empty then please create an entry ‘SAP’.
Arne, I face the same error in a ECC 5.0 system. SAP is already existing but there are no entries in the scope of generation. Same error also “First select a node”.
Thanks
Tor – One quick and easy way I found to check the visual changes in any stylesheet modifications is download the XML data doc from OAER – POC_PIDOC. Change the Stylesheets/Javascript references inside the XML to your style sheet stored locally.
If you then view the data XML document in any web browser it will render just like the PI sheet in SAP. This way any changes can be made and be seen immediately.
Yes, that is true. But you need to use a stylesheet where all links to images and other files have been adjusted (e.g. links like SAPR3-WR-… will not work). This also means that you need a local copy of all immages used in the PI Sheet.
Happy New Year!
I am very impressed and happy with your efforts on this.
I am becoming a convert and a true believer!
At this point I would like to know (if it is not asking too much…)
1. I have seen a presentation made by you Dr. Arne where the material description is displayed with 40 characterers in the PI-sheet. It seems that you have one symbol for holding the first 30 and another for holding the next 10 characters. But what is the trick to display it correctly?
2. How to learn more about stylesheet modifications? What tools are useful to quickly visualize changes?
Thanks for the positive feedback!
As for your topics:
I just created a new post explaing the 40 characters material short text work-around.
Concerning the stylesheets – yes, that is on my list but I did not have time for that so far. I might split this up into several smaller posts.
I just created a new post which describes an offline stylsheet setup:
http://websha.de/xstepcafe/2010/01/22/setting-up-an-offline-environment-for-stylesheet-development/
Hi,
I am trying to create a Goods Issue Proc message through XSTEPS generated PI sheet. I created a Proc instruction where all GI parameters and Process message with Process message category PP_CONS and fields & parmeters are copied from SXS libray and able to successfully create a PI Sheet. But, I do not see any button to trigger the Goods Issue Process message from PI sheet for each component goods issue. what am i missing here.
HI XSTEPS Guru,
I am also having the same problem as above. I have defined the process instructions with all the parameters but when trying to sign it is saying that process step cannot be completed. I am novice on XSTEPS and i believe that i missed something to the process instruction set-up to trigger the process message.
Any advice will be really appreciated.
Thank you.
Jam