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 standard program modifications

Former Member
0 Likes
340

hi experts,

i have to make some changes in the indian payslip,,,i have copied the program name HINCEDT0 into my own program including all includes,actually i have to display the absent days on the payslip,,,,here is my logic,,,

infotypes:2001,0001.

NODES:PERNR.

.

data:begin of itab occurs 0,

abwtg like p2001-abwtg,

end of itab.

DATA:rest like p2001-abwtg.

GET PERNR.

rp-read-all-time-ity pNPbegda pNPendda.

loop at p2001 where subty eq 'VLWP'.

itab-abwtg = p2001-abwtg.

collect itab.

endloop.

LOOP AT ITAB.

MOVE ITAB-ABWTG TO REST.

WRITE:/ REST.

ENDLOOP.

the problem is that where sud i add this logic because where ever i add this logic some error are coming also i m trying to include another INCLUDES but the program is not allowing to include another includes....plz help me.

2 REPLIES 2
Read only

Former Member
0 Likes
314

Hi,

When you copied the main program HINCEDT0 into ZHINCEDT0 it is not necessary to copy all the include programs into Z******. Copy only that include into Z**** where you actually need modification and replace this include program in ur main program. Lastly activate the main program ZHINCEDT0. There should be no errors. Your new include program also must be activated.

thanks,

sksingh

Read only

Former Member
0 Likes
314

solved by own