2011 Sep 01 8:08 AM
Hi experts ,
I want to fetch data from deep structure my requirement is i have method and have a global attribute( ip_output) with associated type as
BAD_BUS_TRANSN_MESSAGE in that a component exits with name as segment_sent with component type as BAD_SEGMENTS_SENT_MESS_T and in that line type is BAD_SEGMENTS_SENT_MESS in that line type component name as
.include and component type is SMOG_SINC and that component type contains four components name as tr_status,bef_img,task,sendbits .
now i want to these four values in method source code
so
i write code like this in my method
if not ip_output-segments_sent[] is not initial.
endif.
how to check data in smog_sinc.
Thanks in advance
Hi experts ,
I want to fetch data from deep structure my requirement is i have method and have a global attribute( ip_output) with associated type as
BAD_BUS_TRANSN_MESSAGE in that a component exits with name as segment_sent with component type as BAD_SEGMENTS_SENT_MESS_T and in that line type is BAD_SEGMENTS_SENT_MESS in that line type component name as
.include and component type is SMOG_SINC and that component type contains four components name as tr_status,bef_img,task,sendbits .
now i want to these four values in method source code
so
i write code like this in my method
if not ip_output-segments_sent[] is not initial.
endif.
how to check data in smog_sinc.
Thanks in advance
2011 Sep 01 8:44 AM
2011 Sep 02 5:38 AM
segment_sent data type is BAD_SEGMENTS_SENT_MESS_T it is a table type and it contains a line type BAD_SEGMENTS_SENT_MESS and it contains like
Component Component Type
.include SMOG_SINCagain smog_sinc is a structure and it contains 4 fields now i want access those 4 fields
2011 Sep 02 6:27 AM
Hi,
As said by Raymond, try like this..
data: ls_seg type BAD_SEGMENTS_SENT_MESS.
LOOP AT ip_output-segments_sent INTO ls_seg
***
..ls_seg-tr_status ..
...ls_seg-bef_img...
endloop.Regards,
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |