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

Read Current line PRoblem

Former Member
0 Likes
640

Dear All ,

I am using Read Current line sattement as follows .

read current line field value

t_type4-bukrs into t_temp-bukrs

t_type4-belnr into t_temp-belnr

t_type4-NETCODE into t_temp-NETCODE

t_type4-UMSKZ into t_temp-umskz

t_type4-waers into t_temp-WAERS .

  • t_type4-WRBTR into t_temp-WRBTR

  • t_type4-UKURS into t_temp-UKURS .

I have commented the marked line it works fine . But I want to read WRBTR and UKURS also but it gives short DUmp.

These fields are frim BSID table . PLease Help me .

5 REPLIES 5
Read only

suresh_datti
Active Contributor
0 Likes
605

how did you define t_temp-wrbtr & UKURS? pl note both are DEC fields..

~Suresh

Read only

Former Member
0 Likes
605

I think the problem is that t_temp-wrbtr is not of sufficient size.

Declare it as char type instead of wrtbtr type.

Regards,

ravi

Read only

Former Member
0 Likes
605

The problem surely lies in terms of variable definition... Change the defn of t_temp-wrbtr and ukurs to character...think it should work fine after that.

Regards

Anurag

Read only

Former Member
0 Likes
605

hi,

this is becoz of data type mis match. check it out once

theaj

Read only

Former Member
0 Likes
605

Just define your variable

t_temp-WRBTR LIKE t_type4-WRBTR.

That should do the trick.