on 04-04-2016 11:33 AM
Hi
I have a requirement where I have to fetch the value of Type 4 entity from Type 1 at feeder class level.
Please suggest some sample code or classes or methods to use for the same.
Regards
Preeti Goyal
In the GET_DATA method of the feeder -
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Benjamin
Thanks for replying.
I am able to fetch the data now for those entities for which data has been entered on the screen.
But my requirement is to set some default values initially when the screen is loaded.
I need to set the data when the screen is loaded.
Can you guide how can we do that?
Regards
Preeti Goyal
What you are looking for is derivations.
You can do this either with BRF+ or with coding.
MDGIMG -> General Settings -> Data Quality and Search
and from there you can go:
any further issues please refer to the below documentation:
Sections 6-9 will be of interest to you.
Why is it so important to do it in the feeder class?
SAP have delivered a standard and robust way of defaulting data - which will not only default the value before the screen is output but will adapt to any data changes made if required and configured/coded.
I've never tried to default anything within the feeder class but in the get data method the parameter that holds the data (e.g. cs_data in forms) is a changing parameter so you could try changing the data to whatever you want to default in get data and see what happens!
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.