on 03-27-2009 7:19 AM
Hello,
I am writing the abap report for sproxy.
The link to the field in structure is very long.
e.g. it-fault_message_mt-request-calldata-requester-gid = 'Z12345'.
In the structure one field in calldata is ADDITIONAL_ATTRIBUTE which is of table type.
I want to assign values to the fields of ADDITIONAL_ATTRIBUTE.
When I click on field ADDITIONAL_ATTRIBUTE we can see line type ZFAULT_MESSAGE_ADDITIONAL_ATTR and this line type is having NAME as on of the field.
I want to pass value to field NAME.
Regards,
Neelambari
Hi,
Create a work area as line type. and loop at table type into work area.
*wa like line type
*loop at table_type into wa.
*wa-name = Value.
*append wa to target table type.
****target table type structure should be same as that of source table type. *****
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Got the answer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do something like this..
Data: wa_attr TYPE ZFAULT_MESSAGE_ADDITIONAL_ATTR.
it-fault_message_mt-request-calldata-wa_attr-name = 'Neelambari'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.