cancel
Showing results for 
Search instead for 
Did you mean: 

Complex type not permitted !!

Former Member
0 Kudos

Hi,

I have created a Data Type FileInput->Record->Row->First Name, Last Name.

Activated this Data type FileInput.

Now when I try to create another data type FileOutput and assign the Type as FileInput I get a message box saying "Complex type not permitted (restrictions and enhancements of complex types are not supported)".

When I try to change the Category of FILEINPUT, I am unable to do so as it is not editable.

Please let me know where am I going wrong.

Apologize if this is a very silly question, bcoz I am new to XI.

Thanks in advance.

Regards,

Vivek

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi Vivek,

but you want to have the same

data type as output and input?

you can just create one data type - <b>file</b> for instance

and then just 2 message types - fileinput & fileoutput

and assign to both message types your data type (file)

is this what you are trying to achive?

Regards,

michal

MichalKrawczyk
Active Contributor
0 Kudos

BTW

assigning types to another data types

might be used if the assigned structure is

a smaller one let me give you an example:

data type - <b>NameDT</b> :

name

secondname

surname

data type - <b>PersonDT</b>:

NameDT (name, secondname, surname)

Address

year

Reference:

http://help.sap.com/saphelp_nw04/helpdata/en/a5/04623c4f69b712e10000000a114084/content.htm

Regards,

michal

Former Member
0 Kudos

Hi Michal,

Thanks for your help.

I am going through a file-XI-file scenario and following the following web log.

/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1

In this web log it says that I need to create 2 data types FILEINPUT and FILEOUTPUT_TEST.

FILEOUTPUT_TEST should be of type FILEINPUT, I am unable to do this ?

Regards,

Vivek

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

even if you can do it you shouldn't

(this is not a very good practice)

just base both of your message types on one data type if they are the same

if you start learning, start with good habits:)

Regards,

michal

Former Member
0 Kudos

Fine Michal, thanks a lot.

I will go ahead with the way that you have suggested and get back if I face any problems.

Regards,

Vivek

MichalKrawczyk
Active Contributor
0 Kudos

you do that:)

Regards,

michal