cancel
Showing results for 
Search instead for 
Did you mean: 

Pass Account Id on a EC and to Quick Create Screen

Former Member
0 Kudos

Hello Experts,

I have created a custom BO and I've associated this with Account. Now when ever I create a new instance of the BO I should get the Account Id prepopulated.

I've already added the custom EC to the Account screen and the EC is invoking correctly but I don't know how to pass the account id on this EC. If anyone of you have done this scenario please let me know this can be achieved.

Thanks in advance

Sandeep

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Sandeep,

http://scn.sap.com/docs/DOC-71763 this may help you.

Thanks & Regards,

Meghna

Former Member
0 Kudos

Thanks Meghna. This is very helpful.

Former Member
0 Kudos

Hello Experts,

I was able to achieve this with Outport and Inport mapping and Event Handler on the TI, Extended Component and Quick Create screen

Closing this thread.

Regards,

Sandeep

0 Kudos

Hi Sandeep,

I have also same requirement. Can you please suggest.

I have used QueryByElement and Inport to receive the data. But its not working.

Thanks,

Savita

Former Member
0 Kudos

Hi Savita,

Sorry for the late reply. Not sure if you have already achieved this.

When you add EC to the standard TI this will ask you to perform binding. Here you can select the outport and relevant fields from the source component and map it to inport and parameters defined in the target component.

Once you have the data available in the target component you can then manipulate this by assigning to a field in the data model.

If this does now work, can you let me know the steps that you took to do the mapping.

Regards,

Sandeep

0 Kudos

Hi Sandeep,

Thanks for reply. I have done the same and Its done now.

Regards,

Savita

Former Member
0 Kudos

Hi Sandeep,

I was getting a lot of infomration in your discussion!

However, on how you achieve it. Can you show some screenshot or more guidelines to assist me as i had the same problem and need help solving it too.

Thanks for the help in advance.

Regards,

Richie.

Former Member
0 Kudos

Hi Richie,

1) You need to define the outport mapping and inport mapping in your target component to the New button

2) In the outport of your source component you can do the mapping to parameters which you want to send to the inport of target component

3) In the Inport of your target component you have to accept the parameters and call an event handler to map this to any parameter as you wish

4) In the event handler add a data operation and map the parameters.

Hope this is helpful.

Regards,

Sandeep

Former Member
0 Kudos

Hello Experts,

I have tried 2 options

1) CreateWithReference - This does not work and gives a dump as SDK documentation says that can only be used with SAP Business Objects

2) Directly Mapping the parameters from Account TI to EC and from EC to QC screens. This also generates a dump.

If anyone of you have achieved this requirement, please let me know.

Regards,

Sandeep