on 01-03-2007 2:58 PM
Hello All,
I want a declaration like this in BSP :-
***************************************************************************************
DATA : BEGIN OF imkop OCCURS 100.
INCLUDE STRUCTURE mkop.
DATA : waers LIKE mepro-waers.
DATA : END OF imkop.
***************************************************************************************
<b>In BSP: Type Definitions</b>
I wrote like this :-
***************************************************************************************
Types : BEGIN OF imkop.
INCLUDE STRUCTURE mkop.
Types : waers type mepro-waers.
Types : END OF imkop.
**************************************************************************************
I'm getting an error saying that I can't use structures in this .
Now what should I do ?
Can anyone help me out ?
Regards,
Deepu.K
deepu,
we can declare structures as below.
DATA: event_data TYPE REF TO cl_htmlb_event.
TYPES: BEGIN OF row_iid_type,
row_iid TYPE hap_row_iid,
END OF row_iid_type.
DATA:
t_row TYPE STANDARD TABLE OF row_iid_type,
t_row_wa TYPE row_iid_type,
t_message TYPE STANDARD TABLE OF bal_s_msg .
DATA:
lw_body_element TYPE hap_s_body_elements,
lw_body_column TYPE hap_s_body_columns,
lw_body_cell TYPE hap_s_body_cells,
lw_return TYPE bal_s_msg,
warning TYPE i.
regards,
manasa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
THE syntax will be like :
TYPES : BEGIN OF TY_ST,
SLNO TYPE N ,
INCLUDE TYPE SFLIGHT.
TYPES : END OF TY_ST.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepu,
Just go to SE11 and create a structure and use the same in your program.
You can include the existing structure in another structure in SE11->Datatype ( create structure).
Thanks,
Sreekanth
<i>*-- reward if it helps you</i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.