cancel
Showing results for 
Search instead for 
Did you mean: 

Inspection plan/Task list integration in the PLM Web UI?

Former Member
0 Kudos

Hello Experts,

We are implementing the PLM web UI 3 in EhP7 , so as to take advantage of the ECR and other added functionality. The project requirement is to develop the ECM workflows. ECM is already implemented in ECC.
We don't have external contact, RFC's, TREX, DMZ,ACL etc. Strictly internal environment.

We want to integrate the task list/production routes available in ECC ( Transaction QP03 - Inspection plan)  into the Web UI environment. Is there any standard way to get it ? Either it should be a separate WD application/ tab in any of the standard screens like Engineering change order / Engineering change number in web UI?

The business is managing it in ECC. They want to have the same functionality in PLM WebUI.

Thanks for your help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Experts,

The structure /PLMU/S_ECN_OMR_TL_UI has the task list. Still checking for the link. Any advice?

former_member188458
Active Participant
0 Kudos

Hi Milind,

Do you want to create/change/display Inspection Lot from SAP PLM WebUI ?


There is no object in PLM WUI for Inspection Lot .


So , if you want to create/change/display Inspection Lot from WebUI . You have 2 options to achieve this using Custom development :


1)  Give an Option to open the respective tcode via ITS which would open the sap gui screen in browser from ECR / ECM . Lets say extending the "You Can Also "

2)   In case your client doesnt want to see GUI at all and if you want to use ECR one more option I can think of is you can create a custom object type for Inspection Lot and add it into the ECR chg item profile , where you can capture the Data required to create Inspection Lot and then lets say at certain status (once it is Approved) , you call the BAPI to create Inspection Lot .



Your latest reply on ECM structure could be used if you want to use ECM to change an existing Inspection Lot using ECM so basically it shows up as Objects( technically OMR - Object Management Record) in ECM . Check the Class - /plmi/cl_ecn_bo , to get some hint.


Hope this helps.


Best Regards,

Rini

Former Member
0 Kudos

Rini.

Let me elaborate more.

Presently the task list functionality is available in the Web UI only for the engineering change number. Here we are able to pull the tasks for the inspection plan (eg. Purchased Complete - Receiving Insp.).

The business want to get this tab( task list) and the underlying functionality to the Engineering change record level.

1) The "You can also, may not work since this is not a single transaction and we need Web UI data.

2) I guess the second option may work. Can you give more details?

3) Business want to hide some tabs in Engineering records. Attaching screenshots.

Thanks for your help.

former_member188458
Active Participant
0 Kudos

Hi Milind ,

1) To achieve it in ER , as I mentioned you can create a custom Object type for Inspection lot and assign it to Change item profile for your ECR type .

To create a custom Object type , ZINSPL, If i can recollect it is in below IMG path in SPRO

Logistics(General)-> PLM --> PLM WUI -> Objects in PLM WUI --> Navigation -> Define Object Type

You can  create the Change item Profile and assign it to ECR type  in the spro node :

Logistics(General)-> PLM --> PLM WUI -> Objects in PLM WUI --> Engg Record --> Make settings for Engg Record(ER Types & Change Item Profile nodes )

The columns shown for the new object type is based on the Object specific structure & ecr specific structure specified in same path (Make settings for engg Record (Object types))

2) Hiding the tabs , you do the same way , from the change Item Profile for given ECR type just remove the object types for the tabs you dont want to see.

Hope this helps.

Thanks,

Rini

Former Member
0 Kudos

Thanks Rini.

I am able to hide the standard objects. But while adding the custom object, there is an issue.

It is required to add the object attributes first to the custom object. Then only it is possible to add this object.

In the object attributes, it checks for the

former_member188458
Active Participant
0 Kudos

Hi Milind,

Yes , you got to specify the object attributes for the object type . As I mentioned specify the same in

SPRO path for Engineering Record --> MAke settings for Engg Record  - In there you should find a node for "Object type  settings"

add new object type and specify the Object specific structure and feeder class as well .

Ensure the structure has

1) a field for Internal_id

2) Include Structure which contains the  ID for inspection list , and in the group name as OBJECT_KEY

Finally in the feeder class . method GET_COLUMNS add the fields specified in the structure to the changing parameter.

You can implement other methods as well as required , In your case if i understand correctly you will have to implement the GET_OBJECT_SPECIFIC_ATTRINUTES method to fetch other data you want to fetch and show for the inpection id

For reference you can check the object specific structure and feeder class for PLM_MAt object there.

BR,

Rini

Former Member
0 Kudos

Thanks Rini.
For this custom object type, I am using the following settings.
object specific attributes:  /PLMI/S_ECR_OTYPE_CUST    - ECR - Object type structure for customizing
Eng. record specific attributes  - PLMK_DI   - Insp. charac. structure in task lists for direct input
For Eng. record specific attributes, this is the structure maintained for the inspection objects in ecc. I could not get other relevant structure in web UI

Both these structures didn't have the internal id, so added it separately.

The feeder class is /PLMI/CL_ECR_CHGITM_FED_ON , which is the same for all the object types.

Now I am unable to add a object to the Task list. The message is "The table does not contain any visible columns"

For this, checking the method GET_COLUMNS


Please see the screenshots.

former_member188458
Active Participant
0 Kudos

Hi Milind,

You can create your own Z-structure for object specific attributes in ABAP dictionery in Se11 and

similarly the Z-Feeder class in Se24 , Make sure the class implements the interface , /PLMI/IF_ECR_CHGITM_FED (please check the exact interface name from the standard class /PLMI/CL_ECR_CHGITM_FED_ON).

Add the code for columns in the GET_COLUMNS method in ur z-class now.


Then specify this structure and feeder class in ur config , 1rst screenshot in ur last reply.

ECR specific attributes structure in config is not mandatory , it is mainly used if let's say you have some fields(columns)

which you want to save w.r.t to ECR and they are not in that Object

That's all you need to do and it shud work 🙂

Best Regards,

Rini

Former Member
0 Kudos

Thanks Rini.

Done but still some issues. Add objects tab is inactive and the column width is limited. Unable to add anything.If we add more columns, they won't show up and get error. For standard objects like material and documents, this works properly.

former_member188458
Active Participant
0 Kudos

Hi Milind,

1) What is the key for task list object ?

As mentioned the id structure in Object specific atrib structure has to be given a group name "OBJECT_KEY" in group .Check the obj specific structure(in se11) for PLM_DIR  ,  /PLMI/S_ECR_OBJ_SPEC_ATTR_DIR , the include structure /PLMI/S_ECR_DIR_ID is marked as Group "OBJECT_KEY"

 

2) Are you trying to add an existing task list object or you want to create Task list from the info captured here?

   Add object button is for adding existing object only -For which you need to enable Search for that       object type in spro node PLM Web App->pLM      search)

     The button is enabled if :

  •      Firstly the search is enabled on that object type
  •       Secondly Fields in the id structure specified in the obj specific structure(mentioned above) are editable at      the  given ECR status

BR,

Rini

Former Member
0 Kudos

Thanks Rini.
This issue is partially solved.

The add object button is active now but while searching the object gives this error
"Entry EA-APPL~ST missing in table COM_SE_BUSOBJ".


2) The width of the column is limited. Even when we add new columns, it is not shown up.

former_member188458
Active Participant
0 Kudos

Hi Milind,

1) For Search button giving Dump , I guess you have configured your Object type search by Search engine service(SES) , hence it is looking into that table .

a) If you want to configure as SES - you have to ensure the same is configured for that object type in below

SPRO path

SAP NW ->Search & Operational Analytics --> Search engine ServicE(SES)--> Define BO type for SES

Check if there is any std config for your Obj -> Inpection list there or else you have to configure from scratch

b) Or else you can configure it to use ESH or enterprise search . before that check if your object (inspection) is available for ESH in tcode ESH_COCKPIT

2) For columns not visible , Could you please paste your object spect specific and ecr specific structures screenshot as well here.

BR,

Rini

Former Member
0 Kudos

Thanks Rini.

Please find the details.

Object specific structure

ECR specific structure

former_member188458
Active Participant
0 Kudos

HI Milind,

Firstly The object specific structure seems wrong .

It should ideally have something like below:

Include for /plmb/s_ecr_chg_itm_intid

include for inspection list id structure with group named as 'OBJECT_KEY'

Hope this helps.

BR,

Rini

Former Member
0 Kudos

Thanks Rini.

Changed the sequence of the object structure  but got the following errors.

Error : 500 sap internal server. Dynamic type conflict during assignment of the references

former_member188458
Active Participant
0 Kudos

Hi Milind ,

Please note the sequence isn't the issue here.

The issue is that you haven't specified the correct id structure .

say for an example : For Document , PLM_DIR ,object type you will find in the SAP standard object specific structure you will find an include for structure containing documeant no , type , part , version fields , and the include structure is marked as OBJECT_KEY in Group column .

Similary for your object type , Inspection list , there should be some id (unique number) . You need to create a structure with the id fields and mark it as OBJECT_KEY and not the include for Internal id as OBJECT_KEY.

Hope it works for you now!

Best Regards,

Rini