on 12-02-2009 11:43 AM
Hello Dynpro Experts,
I have added an custom field in the dynpro component(/SAPSRM/WDC_DODC_NA) in the view(V_DODC_ADDATTACHMENT) which is a pop up for attaching the attachments for shopping cart.
I want to display the value of this custom field in another view (V_DODC_ATTACHMENT) which contains the details of all the attached attachment. I have added the custom filed in this view also.
I have tried setting the value of this attribute in method WDDOMODIFYVIEW of second view (V_DODC_ATTACHMENT), but it is displaying the value for this custom field only for the current line item. If I add 1 more attachment then the value of custom filed for the 1st attachment is changing.
Please help me. It is my first dynpro development so may be I need to write my code somewhere else.
Thanks,
Abnish
Hi,
The custom field is a part of any TABLE UI/ALV..because you said that one one value ie 1st atatchement is taken...
For a given item is this custom field value differs...
I mean is it a single value or it changes per lien item of a table...
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abnish Jain,
If you have used a table UI element to store a list of attachment, then to save each attachment to the table you have create
an empty element in the corresponding node using the CREATE ELEMENT method of the node object/instance. Otherwise it
will keep replacing the old value in the same element of each attachment.
If this is not the case, please provide some more information.
Regards,
Vikrant
Can you please tell mehow can I find the internal table which is prepared in the standrad to display those attachment line items.I read in the documents that we use bind_table method to pass the values to the views.
But in the standard i am not getting that internal table how they are preparing.If i get that internal table then i can modify that with teh custom value.
Can you please helpo me that ....how can i find that internal table.
Edited by: Abnish Jain on Dec 3, 2009 10:33 AM
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.