on 08-01-2015 10:33 AM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.