my query is on idoc interface,i have already devoloed idoc from this i have to do outbound interface.
i have z_tp_idocread function module which gives the idoc data i have to populate this data first.so tell me the code for this.
after we get the data .i have basic type zrmd_a07 for custom fields.and hrmd_a07 for normal fields.so suppose in 'header field' is record type of type char and in 'trailer field' i have 'record count' of type char,and in body i have to retrieve emp_last and the idoc field for this is e1p0002-name2.
so like this i have to map in header trailer and body format.
so plz try to give me code for this its very urgent.
plzz plz plz i want example code for this u can give with some fields.