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

data type conflict

Former Member
0 Likes
1,237

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

8 REPLIES 8
Read only

Former Member
0 Likes
1,198

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

Read only

0 Likes
1,198

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 stats

here STATS and V2_NORMAL_RECORDS are internal tables

Read only

0 Likes
1,198

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

Read only

0 Likes
1,198

Hello Gupta,

I am getting RFCTI from structure SAPWLPFNRM and CPICTI from structure SAPWLSTATC.

Regards,

Phaneendra

Read only

0 Likes
1,198

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

Read only

0 Likes
1,198

Hello Gupta,

Yes, But these datadeclarations are in standard program.

Then how can i transfer the data between these two.

Please suggest.

Read only

Former Member
0 Likes
1,198

Solved

Read only

0 Likes
1,198

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!