2007 Mar 21 6:37 AM
Hi Experts,
When i do Extended Syntax check to a pgm i am getting Priorty2 error like this:
"After a structure enhancement, assignment or comparison may no longer be permitted"
which i have to resolve..Can any body let me know how to solve this?
T_EXTENSIONIN LIKE BAPIPAREX OCCURS 0 WITH HEADER LINE.
CLEAR T_EXTENSIONIN.
T_EXTENSIONIN-STRUCTURE = 'BAPE_VBAK'.
Hi Experts,
When i do Extended Syntax check to a pgm i am getting Priorty2 error like this:
"After a structure enhancement, assignment or comparison may no longer be permitted"
which i have to resolve..Can any body let me know how to solve this?
T_EXTENSIONIN LIKE BAPIPAREX OCCURS 0 WITH HEADER LINE.
CLEAR T_EXTENSIONIN.
T_EXTENSIONIN-STRUCTURE = 'BAPE_VBAK'.
2007 Mar 21 6:40 AM
Hio ravi,
try using initialisation event for doing the assignment.
keerthi
2007 Mar 21 9:20 AM
Hi,
Substitute T_EXTENSIONIN-VALUEPART1 assignment with this piece of code.
DATA: BEGIN OF T_DNTAB OCCURS 0.
INCLUDE STRUCTURE DNTAB.
DATA: END OF T_DNTAB.
data: temp(284) type c.
data fname(50) type c.
data temp1 type string.
CALL FUNCTION 'NAMETAB_GET'
EXPORTING
langu = sy-langu
tabname = 'BAPE_VBAK'
TABLES
nametab = t_dntab.
loop at i_dntab.
concatenate '<workarea for the table>' '-' t_dntab-fieldname into fname.
assign (fname) to <fs1>.
move <fs1> to temp1.
concatenate temp temp1 into temp.
endloop.
T_EXTENSIONIN-STRUCTURE = 'BAPE_VBAK'.
T_EXTENSIONIN-VALUEPART1 = temp.
*******************************Reward points if found useful**********************
Regards,
Kriththika.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |