2007 Apr 12 2:02 AM
Hi ,
I need to put LIFNR(field with char 10) into a field with 13 character.Can I do this?
2007 Apr 12 2:08 AM
Yes, you can. If you want the field to be completely filled with zeros, then you must take additional action.
data: lifnr_c(13) type c.
data: lifnr_n(13) type n.
data: lifnr type lfa1-lifnr value '0000012345'.
lifnr_n = lifnr.
lifnr_c = lifnr_n.
write:/ lifnr_c.Regards,
RIch Heilman
2007 Apr 12 2:05 AM
Hi
You Can do it..
For instance::
data lifnr like lfa1-lifnr.
data lifnr1(13) type c.
move lifnr to lifnr1.
Cheers,
Hakim
2007 Apr 12 2:06 AM
2007 Apr 12 2:08 AM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |