2009 Oct 22 1:17 PM
Hi
i am working badi , here i found table type
i want insert data into this table CT_HDR_ADDITIONAL like HUHDR_ADD.
while running i have data
i want to insert 1 data into i field , for eg . to this CT_HDR_ADDITIONAL-EXIDV
how to do that
Hi
i am working badi , here i found table type
i want insert data into this table CT_HDR_ADDITIONAL like HUHDR_ADD.
while running i have data
i want to insert 1 data into i field , for eg . to this CT_HDR_ADDITIONAL-EXIDV
how to do that
2009 Oct 22 1:19 PM
use
data : wa_itab like line of it_tabtype. " say it_tabtype is created from a table type.
now use wa_itab-field = 'value'.
append wa_itab to it_tabtype.
2009 Oct 22 1:37 PM
Why cant i see a subject line for this thread? Anything wrong with my eyes?
2009 Oct 22 1:46 PM
2009 Oct 22 1:50 PM
Hi
U need to define a workarea like the line of table type HUHDR_ADD, i.e. HUHDR_ADDITIONAL_DATA, and use it to loop the table:
DATA: WA_CT_HDR_ADDITIONAL TYPE HUHDR_ADDITIONAL_DATA.
LOOP AT CT_HDR_ADDITIONAL INTO WA_CT_HDR_ADDITIONAL.
WA_CT_HDR_ADDITIONAL-EXIDV = .....
MODIFY CT_HDR_ADDITIONAL FROM WA_CT_HDR_ADDITIONAL.
ENDLOOP.
Max
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |