Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Syntax Error with Offset assignments

Hi Experts,

Now i am doing upgrade project from 4.6C to ECC6.0.

I have one syntax error with offset assignment

Error description:

The length declaration "97" exceeds the length of the character-type

start(=70) of the structure. This is not allowed in Unicode programs.

syntax error with this line *bseg20(97) = *bseg0(97).

Small piece of code:

IF v_tax_amount <> 0.

*bseg20(97) = *bseg0(97).

*bseg2-kostl = *bseg-kostl.

*bseg2-prctr = *bseg-prctr.

*bseg2-mwskz = *bseg-mwskz.

*bseg2-saknr = t030k-konts.

*bseg2-hkont = t030k-konts.

*bseg2-buzei = '999'.

Kindly help me its bit urgent to me.



Former Member
Not what you were looking for? View more on this topic or Ask a question