cancel
Showing results for 
Search instead for 
Did you mean: 

Reverse navigation from Custom EC to standard screen in SAP C4C

mariusz_jurcz
Participant
0 Kudos

Hello Experts,

I created Custom EC and HTML Mashup in SAP C4C. I can pass parameters from standard screen and use those fields in my EC and Mashup. But there is small problem.

I want pass some data from my Custom EC to standard screen. But there is no "Reverse Navigation" option like in Custom EC.

Can someone advise me how can I pass parameters from Custom EC to standard screen?

Best regards,

Mariusz Jurcz

View Entire Topic
VishnAndr
Active Contributor
0 Kudos

Hi Mariusz,

Usually, what is exposed by the inport from the standard screen is what is available to you.

But. Since you're already in a Custom EC you're free to do whatever is required. Just try to bring the fields you want to update right into your data model in the custom EC of yours. And update them there receiving values from the mashup. Maybe 'round-trip required' property on the corresponding data model's element will be also useful for you.

mariusz_jurcz
Participant
0 Kudos

Hi Andrei,

This is what I created:

I just want to get data marked in the picture. I didn't create any custom object right now, I just added fields in EC:

Is there something (Event in UI Designer, or some ABSL Code in Customer Object), that allows me to retrieve values from those fields and put them into standard fields in Customer screen?

Do I need create custom BO and somehow pass it into customer and then retrieved by ABSL code?

Can you share some documentaion or blogs useful in this case?

VishnAndr
Active Contributor

Can't see your picture for some reason.

You don't need a custom BO.

1. You already have custom EC as far as I I understood.

2. You can bring standard object to your data model in this custom EC.

3. On inport event into your custom EC (fired by the standard screen) you can read corresponding entity of the standard object. And you can have all its fields already added in the data model of your EC.

4. Later, when you fire update context from your mashup (this will fire inport from the mashup back to your EC) , your custom EC event on mashup inport can update the standard object field (assuming the field is already in your custom EC data mode) l. You can even bind your mashup inport-outport parameters to your data model fields.

5. The changes made to the standard object in your custom EC will be visible /applied to the standard screens as well.

mariusz_jurcz
Participant
0 Kudos

Thanks Andrei,

I figure that out.

Regards,

Mariusz