Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding PE51

Former Member
0 Likes
357

hi experts,

i m working on the payslip(PRG NAME HINCEDT0) form no doubt i got the data which i want on the form but it is coming in the end of the form,cud u plz tell me how to allign that field so that it will come at my desire place.....

i m giving my coding here::::

data:begin of itab occurs 0,

PERNR LIKE p2001-pernr,

abwtg like p2001-abwtg,

begda like p2001-begda,

subty like p2001-subty,

end of itab.

data:abwtg(6) type c .

select pernr abwtg subty from pa2001 into corresponding fields of table

itab

where pernr = pernr-pernr and begda between versc-fpbeg and versc-fpend

and subty eq 'VLWP'.

LOOP AT ITAB.

MOVE ITAB-ABWTG TO P2001-ABWTG .

COLLECT P2001.

ENDLOOP.

LOOP AT P2001.

WRITE P2001-ABWTG .

ENDLOOP.

the value of p2001-abwtg is not coming on my desire palce in the form...plz help me what sud i do for this....

Message was edited by:

ravi gupta

hi experts,

i m working on the payslip(PRG NAME HINCEDT0) form no doubt i got the data which i want on the form but it is coming in the end of the form,cud u plz tell me how to allign that field so that it will come at my desire place.....

i m giving my coding here::::

data:begin of itab occurs 0,

PERNR LIKE p2001-pernr,

abwtg like p2001-abwtg,

begda like p2001-begda,

subty like p2001-subty,

end of itab.

data:abwtg(6) type c .

select pernr abwtg subty from pa2001 into corresponding fields of table

itab

where pernr = pernr-pernr and begda between versc-fpbeg and versc-fpend

and subty eq 'VLWP'.

LOOP AT ITAB.

MOVE ITAB-ABWTG TO P2001-ABWTG .

COLLECT P2001.

ENDLOOP.

LOOP AT P2001.

WRITE P2001-ABWTG .

ENDLOOP.

the value of p2001-abwtg is not coming on my desire palce in the form...plz help me what sud i do for this....

Message was edited by:

ravi gupta

1 REPLY 1
Read only

Former Member
0 Likes
327

solved