on 04-06-2016 12:20 PM
Hi Experts,
We have a requirement , say we have 6 file attributes and if we enter value of one of the attribute , rest 5 should get populated?
Is there a way to achieve this by coding or by any other means ?
Specifically this is for HR module so is it possible to access infotypes and get info and populate in file attributes.
Regards,
Lakshmi.
Hi Lakshmi,
This can be achieved by extending the Fiori Application. My suggestion is to have a Footer Button on the File Page to trigger action(Odata Call) for reading the 5 attributes based on the First Attribute value.
Once you have the data, then you need to extend the S2 controller(File Screen) and set the new attribute values to the Dynamic Attributes Model.
Regards,
Karthik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karthik,
Thanks for your inputs.
We want this auto populate functionality for one of the file types , so can we keep this adding footer section specific to file type
Also instead of adding footer button, can we use save button or any other existing button to trigger action(Odata Call) for reading the 5 attributes based on the First Attribute value.
Thanks
Lakshmi
Hi Lakshmi,
You can use the Save button and write a post exit for Save method to retrieve and save the other attributes in the DB. You need to take care of 2 things
1. To return these values to the UI and populate it into the dynamic attributes model
2. To handle the conditions appropriately on save
Regards,
Karthik
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.