2007 Apr 27 7:59 AM
Hi Guru,
I have a requirement to create a routine in VOFM - Data Transfer - Shipment to copy the INCO1 to VTTS-INCO1 (item level). I have the checked the standard routine and it is all changing the header. Can anyone tell me the coding to use? Many many thanks.
Regards,
Janet
Hi Guru,
I have a requirement to create a routine in VOFM - Data Transfer - Shipment to copy the INCO1 to VTTS-INCO1 (item level). I have the checked the standard routine and it is all changing the header. Can anyone tell me the coding to use? Many many thanks.
Regards,
Janet
2007 Apr 27 8:09 AM
The easy and simple way is put the hard code break-point statement in your custom routine for data transfer of shipment. It will help to find which structure can be used. You an refer SAP standard routine which structure can be used in custom routine.
Regards
Nilesh Shete
2007 Apr 30 4:39 AM
Hi.
The standard routine is as follows:
FORM DATEN_KOPIEREN_900
USING c_XVTTP TYPE v56i1_vttp_tab
c_XVTTS TYPE v56i1_vtts_tab
c_XVTSP TYPE v56i1_vtsp_tab
c_XTRLK type v56i1_vtrlk_tab
c_XTRLP type v56i1_vTRLP_tab
I_XVTTK STRUCTURE VTTKVB
VALUE(I_TVTK) LIKE TVTK
g_imp_data type v56I1_IMP_DATA
CHANGING C_XVTTK_tmp structure VTTKVB
g_exp_data type v56I1_exp_DATA.
VTTKVB is the header structure. Doesn't seems to have a item structure.
Regards,
Janet