09-11-2008 6:54 PM
Hi Experts,
I need to use Internal table XVBRP present in SAPMV60A program in a output routine which creates include in SAPLV61B.
I Coded as below:
data: lv_wa type char20 value '(SAPMV60A)XVBRP'.
Types: t_vbrpvb type standard table of vbrpvb.
field-symbols: <fs> type t_vbrpvb.
Assign (lv_wa) to <fs>.
However, In execution it is giving dump saying that you are attempted to assign a field to a typed field symbol but a type conflict occured
Can anybody explain me the way i have to forward to use that internal table in my output routine.
Thank you very much for your help
Gopal
09-11-2008 6:59 PM
data: lv_wa type char20 value '(SAPMV60A)XVBRP[]'. "<---this should be body since it is declared as
"header line, so you are trying to assign the header it is causing the dump.
Types: t_vbrpvb type standard table of vbrpvb.
field-symbols: <fs> type t_vbrpvb.
Assign (lv_wa) to <fs>.
09-11-2008 6:57 PM
Hi,
Try adding the body operator in the variable..
data: lv_wa type char20 value '(SAPMV60A)XVBRP[]'.
Thanks
Naren
09-11-2008 6:59 PM
data: lv_wa type char20 value '(SAPMV60A)XVBRP[]'. "<---this should be body since it is declared as
"header line, so you are trying to assign the header it is causing the dump.
Types: t_vbrpvb type standard table of vbrpvb.
field-symbols: <fs> type t_vbrpvb.
Assign (lv_wa) to <fs>.