cancel
Showing results for 
Search instead for 
Did you mean: 

BPM 7.2: May be a bug in Process Diagram

Former Member
0 Kudos

Hello!

It seems Process Editor in NWDS 7.2 does not work correctly because I cannot assign existed UI to BPM task.

The BPM task edition interface has a little bit changed in CE 7.2. I have added all necessary dependency and go Task interface -> Choose -> Unified UI Import Wizard -> Search. Search interface don't find WD Components.

I have tested for MDM WD Components and also for own WD Component, even I choose "Show all components". The only possiblity to find WD component is to generate it for task but I need to include existed one.

Does anyone has the same problem? Is there a workaround?

Accepted Solutions (1)

Accepted Solutions (1)

ivo_simeonov
Explorer
0 Kudos

Hi Sergey,

Check the DC dependencies in your Process Composer DC. May be you have missed to add the WD DC there.

Regards

Ivo

Former Member
0 Kudos

I have added all necessary dependencies. I repeted the same confiruration steps as for CE 7.11. In CE 7.11 it works but in CE 7.2 don't.

My be this problem because of Windows 7. NWDS CE 7.2 didn'twork in Windows 7 untill I add paramerters

-Dos.name=Windows XP

-Dos.version=5.1

into SapNetweaverDeveloperStudio.ini

Former Member
0 Kudos

I have tested NWDS 7.2 SP01 on Windows XP - the same result.

I have also downloaded SP02 from update site - the same result.

Has anyone created a sucessful BPM process for MDM on CE 7.2?

Former Member
0 Kudos

Hi,

did you created a Public Part for the WD component? Try this:

Right click at component > Click at "Add to Public Part" > Define name as e.g. "API" > Build and Deploy

Now try to look for the WD component in the BPM task

Regards

Former Member
0 Kudos

I'm working with standard MDM WebDynpro components. They already have public parts...

I have tryed to add my own component to public part... I's funny but the button "Finish" in Wizard don't work and window don't closed...

Answers (5)

Answers (5)

Former Member
0 Kudos

We are having the same issue.

When do we expect a fix for NWDS 7.2 CE?

I have tried installing a separate NWDS 7.11, but it does not allow me to add the dependencies for the MDM_JAVA_WD_FRAMEWORK components, after successully importing the SC. They do not show up in the [Add] list.

Pressing [Refresh] does not help.

Thnak you,

Jim

Former Member
0 Kudos

I am experiencing the same problem

Has anybody been able to find a workaround this issue?

Thanks

Nicolas

Former Member
0 Kudos

It happened to me once. I tried the following and it fortunately solved the problem:

- In the web dynpro project, choose Repair > Project Structure and Classpath and then choose Rebuild Project

- In the Development Infrastructure perspective, choose your Process Composer DC and then Sync / Create Project > Sync Used DCs

I'm using 7.2 SP05.

Hope it helps,

Ricardo Giacomin

Former Member
0 Kudos

Thanks Ricardo; it worked

0 Kudos

Hi,

This is a reported bug on NW CE 7.2.

Not sure in which version exatlly it is/will be fixed.

Regards,

Isam

Former Member
0 Kudos

Hello

I think this is working fine in 7.2, but not with migrated applications from 7.11.

I think this occurs because of 3 reasons:

1. You should not have unsupported data types in the context of interface controller (simple types, dictionary types etc....)

2. You should not have model bindings for context nodes in interface controller. (Often when we copy paste context, model bindings are also copied, these should be removed manually)

3. There should be complete/error events defined and public part of the component should be added.

For all these problems there is a common error shown in UI like 'One of the ports has unsupported data types'.

Thanks

Vidyadhar

Former Member
0 Kudos

Hello Sergey,

When you go to your component interface of your webdynpro you want to use in your process, did you use any (own created) simple type with an enummeration? I had a problem with this. By changing the simple type for example with a String, you be able to connect the task to the webdynpro component.

Grtz,

Martin

Former Member
0 Kudos

Hi Alex,

I have the same problem... I did setup the dependencies in the Development Infrastructure, but in 7.2 NWDS I don't see a single component to use in the "Select a UI Component" wizard page although I'm following the How to... which apparently was done with screenshots from 7.11.

I also did that in 7.11 and it worked there, but I need this to work in 7.2 and I don't want to import everytime...

Let me know if SAP fixes this bug...

Regards,

Boris

OliverGoetz
Employee
Employee
0 Kudos

Hi,

I'm not sure if this is the cause, but have you checked that your Web Dynpro UIs only contain types which are supported by the BPM Task Management? In 7.11 some checks were missing, so that assigning the UI anyway was not always prevented (but could have led to undesired results).

For more information, please see SAP note 1446497 and the [SAP Help page about the supported types in Web Dynpro UIs|http://help.sap.com/saphelp_nwce711/helpdata/en/40/3548f6214d428ba9eaee07f912264b/frameset.htm]. And [here is the same help page for 7.20|http://help.sap.com/saphelp_nwce72/helpdata/en/40/3548f6214d428ba9eaee07f912264b/frameset.htm].

Best regards,

Oliver

Former Member
0 Kudos

I'm working with standard SAP MDM WD Components. They are BPM ready and I suppose they are correct)

Today I solved my problem by workaround - I created a processs in NDWS 7.11 and copied it into NDWS 7.2.

Oliver, could you import MDM WD SCA into your NWDS 7.2 and to check?

Former Member
0 Kudos

Hi Sergey,

I'll try your workaround and deploy the NWDS 7.11 to see if that works, but it definitely looks like a bug to me as I have the same issue... I've added all the dependencies and made sure the public parts are there, also my expectation is that if it works for 7.11 it should work with 7.2, but apparently that's not the case.

Are you using the same version of the SCA files? I presume you are. That way we know that it's not the SCA file.

Oliver, thanks for the links... I checked them and it makes sense if I'm making my own WD ready for BPM, but in this case I'm also just trying to use the SAP provided one from the SCA.

Thanks,

Boris

Former Member
0 Kudos

Hi guys,

Just an update to say that it all worked just fine for me when using 7.11 and then transferring the process component to 7.2 as Sergey suggested.

This apparently is a bug in NWDS 7.2 that needs to be fixed. Did anyone open an OSS message with them?

We are actually starting our development soon, so we'll need a stable release of the NWDS 7.2

The Sneak Preview won't do it.

Regards,

Boris

Former Member
0 Kudos

Hi

I was also facing the same issue. In NWDS of 7.2 I could see the following error

While discovering interface:[EXCEPTION]

com.sap.sdi.discovery.ComponentNotSupportedException: DISCOVERY: Type '//DtDictionary/DtSimpleType:com.sap.dictionary.longObject' in Element '//Context/ChildNode:Request_ReadCustDetails/ChildNode:ReadCustDetails/Attribute:CustomerNo' is unsupported.: Type '//DtDictionary/DtSimpleType:com.sap.dictionary.longObject' in Element '//Context/ChildNode:Request_ReadCustDetails/ChildNode:ReadCustDetails/Attribute:CustomerNo' is unsupported.

But I did not use any dictionary object. I checked my WSDL also. I used plain java.lang.Long

Dont know the issue. This was working fine in 7.1 EhP1.

Thanks and Regards

Vidyadhar

Former Member
0 Kudos

If you have public parts and right dependencies, you should сheck that the WDJ component's interface has a suitable event to complete the task and context data with right types.

Former Member
0 Kudos

Hello, Sergey!

I think it doesn't depend on Windows version, I have Windows 7 and everything work fine.

Please, try to build DC, which contains your WD component before try to add UI into task.

Former Member
0 Kudos

Alexander,

Thank you. I have created new WD DC and it works now.

But it still does't for imported DC from SCA with SAP MDM WD Component. Without such functionality CE 7.2 is not so interesting for us.

I have found a workarod - to create the MDM Process in NWDS CE 7.11 and to copy it CE 7.2 project location.

But I think SAP have to take a note and to fix it in near future. Because CE 7.2 + MDM 7.1 is the only solution that meets most of customer requirements.

Former Member
0 Kudos

Do you use NWDI for your development? If not, you can create track for this example and upload SCA file in track with all dependencies. Then try to build it in your own NWDS. In this way you can find some errors, or missing dependencies. More informatiion about this way of modification you can find in "NWDI Cookbook for XSS". So after all of this "dances" you can get your own WD component, which builds fine and correctly uploads in your task.