Skip to Content
Former Member
Jan 28, 2011 at 04:57 AM

Strange problem in Types Declaration.


Hi Experts,

I have encountered a Very Strange problem today, I am completely confused for this...

The Problem as follows,

TABLES: faglflexa, bkpf, bseg.

DATA : p_budat       TYPE faglflexa-budat.
TYPES: t_budat       TYPE faglflexa-budat.

DATA : budat         TYPE faglflexa-budat.
TYPES: budat         TYPE faglflexa-budat. 
* Above both are working fine

* Now actual problem is....!

TYPES : BEGIN OF ty_detail,
*        budat   TYPE   faglflexau2013budat,
*        docnr   TYPE   faglflexau2013docnr,
        blart   TYPE   bkpf-blart,
        rbusa   TYPE   faglflexa-rbusa, 
        augbl   TYPE   bseg-augbl,       
*        xblnr   TYPE   bkpfu2013xblnr,       
*        rcntr   TYPE   faglflexau2013rcntr, 
*        zzaufnr TYPE   faglflexau2013zzaufnr,
*        sgtxt   TYPE   bsegu2013sgtxt,        
        END OF ty_detail.

In the above ty_detail the commented lines like, budat, xblnr, sgtxt..... Etc are giving error.

Error is Type faglflexau2013budat is unknown.

Error is Type bsegu2013sgtxt is unknown.

Error is Type bkpfu2013xblnr is unknown.

... Etc

Please also try to copy the same code & place in your editors & check once.

Can Anyone tell me the reason for this.

All Ideas are welcomed.

Thanks & regards,

Dileep .C