cancel
Showing results for 
Search instead for 
Did you mean: 

Add existing Item in Cloud Application Studio throws error

Former Member
0 Kudos

Hello Experts,

I`m trying to add an existing Opportunity .xbo from a Customer-specific Solution with a Foundation Unit to a Customer-specific Solution also with a Foundation Uni. I can activate the Opportunity .xbo in the original Solution without any problem, but after adding the .xbo to a new Solution I get the following error:

The programm code is really easy with no logic in it. I just want to extend an existing Opportunity BO in a new Solution. I get the error after adding, in the first line on the import.

import AP.Common.GDT;

import AP.CRM.Global;

[Extension] businessobject AP.CRM.Global:Opportunity {

           node Item {

            element id:ID;

            element description:LANGUAGEINDEPENDENT_EXTENDED_Text;

            //Test

           }

           node Party {

           }

}

Do you know what this error causes?

With best regards

Sabrina

Accepted Solutions (1)

Accepted Solutions (1)

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Sabrina,

Can you explain what you mean with "add an existing Opportunity.xbo"?

Do you use a Solution Template?

Do you simply copy the file (Menu "Add -> Existing Item")?

Thanks,

   Horst

Former Member
0 Kudos

Hello Horst,

thanks for answering.

I have a Customer-specific Solution (not a template) named for example CarPark.

In this Solution I created an Business Object Extension (.xbo) of Typ Opportunity.

I activated it and it works.

I want to use this .xbo in another Customer-specific Solution called CarPark2.

Therefore I use the Menu "Add->Existing Item" and "copy" or "import" the .xbo data.

If I activate the .xbo in the new Solution called CarPark2 I got allways the same error:

Definition of business object extension missing

Thanks

Sabrina

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Sabrina,

This "copy" feature is not working for (X)BOs because you can only copy the file content from the hard disk.

But in the backend there is more meta data attached to this fiel which is not available in the local file system.

I've already asked the colleagues to disable this feature for (X)BO.

So you need to re-create the XBO manually in the Carpark2 solution.

Sorry,

   Horst

Former Member
0 Kudos

What a pity.

But thanks for the quick reply.

With best regards

Sabrina

Former Member
0 Kudos

Hello Horst,

Is it same when we try to add a custom BO by using the ADD->Existing Item

When I selected the. Bo file I get an error

Could you please guide me.

Thanks,

Jyothsna.

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Jyothsna,

I am sorry, but it's the same for Custom BO as well as for Extension BO.

Both files contain some meta information in the backend which is just missing in the plain files on the hard disk.

Sorry,

   Horst

Answers (0)