Skip to Content
0
Former Member
Jul 31, 2007 at 01:00 PM

Simple code required

17 Views

Hi

Look at the below code :

IF int_edidd-segnam = c_e1edka1.

MOVE int_edidd-sdata TO l_e1edka1.

IF l_e1edka1-parvw = 'BK'.

IF l_e1edka1-name3 is INITIAL.

concatenate 'VAT Registration No: ' l_paval into l_paval.

l_e1edka1-name3 = l_paval.

MOVE l_e1edka1 TO int_edidd-sdata.

<b> MODIFY int_edidd TRANSPORTING sdata WHERE segnam = 'e1edka1' and</b> sdata = 'BK%'.

ENDIF.

ENDIF.

ENDIF.

The statement marked Bold is not working properly(i.e Not modifying the internal table contents)

Please suggest something (Or some other code to modify "int_edidd")

Note : Modify using Sy-tabix is not working as sy-tabix is always 1.

Points will be surely rewarded..

Regards

Tulip

Message was edited by:

Tulip Shah