cancel
Showing results for 
Search instead for 
Did you mean: 

How to achieve create with reference functionality in Cloud studio

Former Member
0 Kudos

Hi Experts,

We have one business requirement ,

where on click of New button on advance list pane,

fields value should get auto- populated from the fields present in Header of Object.

like if in any business object customer name is present , and we have added one tab and advance list pane, and on click of new button on it ,

it open a pop up to add an entry and customer name field is also present here, so it should get auto populated with the value present in header customer name field.

we have checked in standard contract object and they have achieved this functionality but creating OBN Navigation and Port type reference CreateWithRef, and also creating outport for the same.

Kindly let me know ASAP if we can and how using this Create with reference functionality.

Thanks,

Bhupi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Megha,

I am able to achieve this functionality by creating Root n child node elements.

Could you please help me on the below issue, if by chance you came across this.

Kindly have a look on the below issue raised by my colleague, if possible please reply ASAP

Thanks,

Bhupinder.

Former Member
0 Kudos

Hello Bhupinder,

What I understood from your post is that you have added a new tab in a standard screen using Embedded Component and put an advanced list pane there. Now you want to have some data to be flowing from the Standard screen to the Quick Create of your custom BO based on which the advanced list pane is created.

This can be achieved using the Inport/Outport of the standard screen and Embedded component. The Public Outport available for the standard screen will have certain fields as parameters which can be mapped to the data fields of the Inport of your Embedded Component and in this way you can get the data in your Custom BO and show in QC. But all header fields wont be available for you to pass to EC but mainly ID fields. This solution is for C4C.

Hope it helps.

Thanks & Regards,

Meghna

Former Member
0 Kudos

Thanks a lot Meghna,

i also thought lil bit of same and tried implementing that,

but was doing that by extending standard contract object and adding an element in that.

then creating inport in Embedded component by mapping that field with outport of standard object.

but somehow this binding is creating a problem and while opening the New button screen it throws dump.

Could you please share some of screenshots if you have implemented such case recently.

if needed i could also share the screenshots.

Thanks,

Bhupinder.

Former Member
0 Kudos

Hi Meghna,

We tried your approach of achieving it,

Could you please let us know how to populate data in quick create after binding the inport/outport

like we have added an embedded component with custom contract tab/Pane on standard opportunity object.

and we are retrieving related contracts to opportunity, and providing New Contract button to add new one.

but want to show some fields from opportunity header in custom contract QC.

steps followed to achieve :-

1. Created an Inport for Opportunity ID,Opportunity name and binding it to dummy data field created in data model of EC.

2.Used standard outport of opportunity and binding the opty id n opty name to inport elements.

Now how could we pass the value of fields in data model to our custom quick create elements?

i have attached screenshots for your reference, if you could notice the missing component or binding.

it would be a great help.

Thanks.

Bhupinder

Former Member
0 Kudos

Hello Bhupinder,

Please refer to http://scn.sap.com/docs/DOC-71763.

This may help.

Thanks & Regards,

Meghna

Former Member
0 Kudos

Hi Meghna,

Thanks a lot , it has solved all the queries,

only doubt is do we need create query to achive this? or without using query also we can get account id on QC.

and what are eventarguments purpose that you have selected on quick create properties ? could not get the purpose of that.

You are super saviour.

i will definitely recommend this document to everyone, greatly explained.

Thanks,

Bhupinder

Former Member
0 Kudos

Hi Meghna,

We are implementing Copy control in standard sales quote, by adding an embedded component and opening QC of custom contract, and we are trying to bring sales quote ID from the header to our own created one ID field as shown in screenshots,

we created inports and binded ID field to standard outport field,

we are facing one problem as in our QC value is coming on load but once QC gets load properly value disappears automatically,

and we are not able to fetch that by debugging also could you please let us know the possible reasons behind it.

i am attaching all the possible relevant screenshots :

1. value coming on click of new button

2. once it loads properly value disappears:-

3. inport in embedded component

4. outport in EC

5. query

6. QC inport

6. standard outport

Thanks,

Bhupinder