cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

I need to add a embedded component with 3 edittexts on a existing screen (COD_ACCOUNT_TI) and save data from these fields in an extented bo.

I'm able to add EC in the screen and the same appears on the account screen, but give me an error opening/saving.

0 Likes
View Entire Topic
Jens-Limbach
Product and Topic Expert
Product and Topic Expert

Hi Rodrigo,

you can also just do the following:

1. Create 3 extension fields in XBO

2. Create a new "Embedded Component"

3. Bind in "Data Model" the root node to the standard BO (the XBO that you enhanced)

4. Add a new data field and bind it to the InternalID of the standard BO

5. Create 3 data fields in the data model and bind them to your extension fields of the standard BO

6. Add an unbound data field to the data model "EC_ID_IN"

7. Create an Inport in Controller and link the parameter to "EC_ID_IN"

8. Add one Event-Handler "BO-Operation" Read that reads based on the "Alternative Key" and has the EC_ID_IN and the InternalID of the standard BO in the pathes.

9. Drag and Drop the bound extension fields from the data model to the Designer Tab and make them as "TextAreas"

10. Bind your EC in standard UI using the alternative key as a binding for the public outport

btw: LANGUAGEINDEPENDET_EXTENDED_Text is not limited to 255 chars in XBO's...

I cannot post pictures right now to explain it a little better but it should definetly work that way and it is relatively simple without involvment of any partner BO. Just 3 extension fields, one EC and some bindings...

Cheers,

Jens

Update: Screenshots showing the EC configuration:

Update2: I used the Internal ID, you can also use the UUID, this depends also on the Anchort that is available in the standard screen on the public outport.

Former Member
0 Likes

Hi Jens

Good Approach!! I like it...:)

Regards:

Sunil

Former Member
0 Likes

Jens,

Thank you so much! Perfect!

vinodkumar_kommineni
Active Contributor
0 Likes

Hi Jens,

Thanks for posting it, I never knew there was no restriction on the length

Regards

Vinod