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
Former Member
0 Likes

Hi Rodrigo,

What I have understood that you eventually want to save 3 text field data in standard BO.

I think you can do this in two way..

first one is simple just Enhance the COD_Account_TI screen using exesibility explorer, see the below image

using the above approch you can use text field in highlighted place and data will save in the standard BO when you save account screen.

Second way of doing is little complicated.

You have to create Custom BO with 3 text field and design your Embedded component top of this BO then bind this EC to COD_Account_TI screen using Ourtport and pass the unique ID as parameter to identifying the corresponding intance of Custom BO, you have to write a code in aftermodify of custom BO to retrieve current instance.

I hope these suggestion will solve your problem, let me know if you face any issue.

Regards:

Sunil

Former Member
0 Likes

Sunil,

Thanks for reply....

I need to do the second way, because the 3 textfields must be "textarea" fields, with 6 rows.

These fields are in overview:

But when I enter in this screen, throws a exception.

I restarted again, unbinded the EC from account ti and remove that fields.

Now, I need to know:

Which ID in Customer BO I must to link to my EC ID?

So, when creating InPort, I must use CPID in parameterbinding?

So, creating event hander, which fields to use?

Thanks a lot!