Skip to Content
0
Former Member
Sep 11, 2007 at 09:35 PM

field-group and field symbol

16 Views

In 4.6C working fine. Gettting runtime error in ECC6.0. When i am trying to insert field-symbol into field group. Can any body tell me or suggest me what is the reason.

  • Field Group Declaration

FIELD-GROUPS: HEADER, LINE.

FIELD-SYMBOLS: <S1>, <S2>, <S3>, <S4>.

INSERT: <S1> <S2> <S3> <S4> VBRK-VBELN VBRK-KUNRG VBRK-FKDAT VBRK-BUKRS

VBRK-VKORG VBRK-VTWEG VBAK-VKGRP VBAK-VKBUR VBPA-KUNNR

BSEG-AUGBL BSEG-BELNR COMBINE INTO HEADER.

INSERT: KNA1-NAME1 PAYR-CHECT VBRK-NETWR BSEG-DMBTR BSEG-SKNTO

VBAK-VBELN VBAK-NETWR BSEG-WMWST WS_WAVWR WS_TAX WS_REV

VBRK-KURRF BSEG-DMBT1 BKPF-BLART BSEG-SHKZG

INTO LINE.

CASE SORT_BY1.

WHEN '1'.

ASSIGN BSEG-AUGBL TO <S1>.

SORT1 = 'Clearing Doc.'.

WHEN '2'.

ASSIGN COMBINE TO <S1>.

SORT1 = 'Payer ID'.

WHEN '3'.

ASSIGN VBRK-BUKRS TO <S1>.

SORT1 = 'Company Code'.

Thanks

Ashraf