‎2010 Oct 21 7:11 AM
Hello Experts,
Here we are passing data from field type FLTP No of characters 16
Decimal places 16
and Output length 22
and sign Ticked
to field type DEC No of characters 10
Decimals 0
and Output length 13
and sign unticked.
and i am getting a short dump. ( Actually these fields are from different structures of standard programs
and we are doing this transfer in z program )
Can anybody please suggest.
Regards,
Phaneendra P
‎2010 Oct 21 7:19 AM
Hi
your field DEC NO is of 10 characters with output length 13 with 0 decimal places and the field FLTP No is of 16 characters with output length 22 and decimal places 16.
then how it can be possible because your source field is greater than destination field and the output length and the decimal places are also not matching.
I think you need to search ore on this .
Please paste your code for more calarity.
Thanks
Lalit Gupta
‎2010 Oct 21 7:27 AM
Hello Gupta,
Thanks for your reply -
CLEAR STATS.
STATS-CPICTI = V2_NORMAL_RECORDS-RFCTI
DATA V2_NORMAL_RECORDS LIKE SAPWLPFNRM OCCURS 0
WITH HEADER LINE.
DATA BEGIN OF stats OCCURS 0.
INCLUDE STRUCTURE sapwlstatc.
DATA: origin TYPE i,
jobname LIKE sapwlpfbtc-jobname,
jobstep LIKE sapwlpfbtc-jobstep,
cua_prog LIKE sapwlpfnrm-cua_prog,
cua_func LIKE sapwlpfnrm-cua_func,
memsum LIKE sapwlpfnrm-memsum,
usedbytes LIKE sapwlpfnrm-usedbytes,
privsum LIKE sapwlpfnrm-privsum,
maxbytes LIKE sapwlpfnrm-maxbytes,
maxbytesdi LIKE sapwlpfnrm-maxbytesdi,
privmode LIKE sapwlpfnrm-privmode,
wprestart LIKE sapwlpfnrm-wprestart,
guinettime LIKE sapwlpfnrm-guinettime,
guitime LIKE sapwlpfnrm-guitime,
guicnt LIKE sapwlpfnrm-guicnt,
END OF statshere STATS and V2_NORMAL_RECORDS are internal tables
‎2010 Oct 21 7:32 AM
Hi
i am not able to see the fields FLTP and DEC No in your code.
from which structure you are referring them.
Thanks
Lalit
‎2010 Oct 21 7:37 AM
Hello Gupta,
I am getting RFCTI from structure SAPWLPFNRM and CPICTI from structure SAPWLSTATC.
Regards,
Phaneendra
‎2010 Oct 21 7:42 AM
Hi
i have checked both the fields in the system and there data types are diffrent with diffrent length,
So I think you cannot transfer the data among them. because of incompatebility.
thanks
Lalit Gupta
‎2010 Oct 21 7:55 AM
Hello Gupta,
Yes, But these datadeclarations are in standard program.
Then how can i transfer the data between these two.
Please suggest.
‎2010 Oct 25 6:53 AM
‎2013 Nov 07 2:29 PM
p l, can you explain how you solve this?
I have a similar problem in the INCLUDE LSTUWF03 with RFCTI and CPICTI.
Thank you very much!