2006 Nov 27 9:42 AM
Hi Experts,
I am going through a macro for HR ABAP which has statements like this in a for Infotype 0235.
if it0235-typ&1 = '03' and it0235-exp&1 <> ' '.
move it0235-pernr to no_tab-pernr.
move 'YES' to w_fica-sw.
append no_tab.
endif.
What it0235-typ&1 and it0235-exp&1 actually indicate?
Thanks in advance,
Papiya.
Hi Experts,
I am going through a macro for HR ABAP which has statements like this in a for Infotype 0235.
if it0235-typ&1 = '03' and it0235-exp&1 <> ' '.
move it0235-pernr to no_tab-pernr.
move 'YES' to w_fica-sw.
append no_tab.
endif.
What it0235-typ&1 and it0235-exp&1 actually indicate?
Thanks in advance,
Papiya.
2006 Nov 27 9:44 AM
&1 indicates the first parameter value that you passing while calling the MACRO, for example, if you are passing 01 in the parameter value, the inside the MACRO
it becomes IT0235-TYP01.
Regards,
Ravi
Note - Please mark all the helpful answers
2006 Nov 27 9:58 AM
Ravi is spot on.. there could be 20 Tax types on a 0235 record.. instead of stepping through TYP01 thru TYP20 checking for value '03'.. the program uses a macro passing the 'xx' value in 'TYPxx'. It is just a better way of programming..
~Suresh
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |