‎2008 Oct 16 3:33 PM
Hello,
is it possible to do that :
DATA: BEGIN OF wt_sous_poste OCCURS 0.
INCLUDE STRUCTURE stpub.
DATA: posnr LIKE stpo-posnr.
DATA: pos TYPE c.
DATA: mod_txt1 TYPE c.
DATA: mod_txt2 TYPE c.
DATA: mod_qte TYPE c.
DATA: END OF wt_sous_poste.
with the type instruction
types: begin of l_sous_poste
...
...
end of l_sous_poste
thanks for your help
‎2008 Oct 16 3:36 PM
‎2008 Oct 16 3:41 PM
HI
Yes, but u need to declare a type table too:
TYPES: BEGIN OF TY_SOUS_POSTE.
INCLUDE STRUCTURE STPUB.
TYPES: POSNR TYPE STPO-POSNR.
TYPES: POS TYPE C.
TYPES: MOD_TXT1 TYPE C.
TYPES: MOD_TXT2 TYPE C.
TYPES: MOD_QTE TYPE C.
TYPES: END OF TY_SOUS_POSTE.
TYPES: TY_SOUS_POSTE_T TYPE TABLE OF TY_SOUS_POSTE.
DATA: WT_SOUS_POSTE TYPE TY_SOUS_POSTE_T WITH HEADER LINE.Max
‎2008 Oct 16 3:43 PM
‎2008 Oct 16 4:21 PM