on 06-03-2008 2:11 PM
Hello everyone,
I have an ALV component and a dictionary structure assignet to it.
Lets say that this structure has one field called customer_code.
What i want to do is to create a method to search the table where i have the customer_name and display it in my ALV component.
But the problem is that i can only assign one structure to my ALV component and the structure assigned doesnt have the field customer_name.
Is it possible to display a field which is not in the dictionary structure?
Regard
After creating your node using the DDIC structure, edit it to hold the customer_name also. To do this, you need to clear the value in context Node structure, and add one more attribute to it. Do a move-corresponding to the context structure after getting the data from your APIs. Loop through the internal table and fill in the customer_name for each row, corresponding to the customer_no.
Hope that was clear enough, revert for any clarification.
Regards,
Nithya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Tamilselvan and Nithya,
both were very helpfull answers.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes you can
Just create an attribute which you want additionally to the context node which contains the fields that needs to be displayed in the alv,and update the mapping with the ALV component.
Hope this helps u
Edited by: Tamilselvan K on Jun 3, 2008 3:31 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.