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

abap help

Former Member
0 Likes
564

hello, i have a question about an issue. i have 2 tables....vbrp and mkpf. i need to take delivery number(VBELN) from vbrp which is defined as CHAR 10 and put it in XBLNR of mkpf which is defined as CHAR 16 but when i write a user exit it says "FOR ALL ENTRIES IN" statement both fields must be of same type and same length. i need to make both fields alike. can someone help? i am pretty new in abap.thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
531

Hi,

Please declare the field xblnr in your internal table with the type Char and length 10.

Hope this resolve your issue.

Thanks,

Sudheer

3 REPLIES 3
Read only

Former Member
0 Likes
531

Hello,

you have to make a new internal table with one field type makpf-xblnr.

after fetching data from vbrp table....move one by one all entries from vbrp internal table to new internal table...

now in the FOR ALL ENTRIES...use the new internal table

it will solve your problem...

Thanks

K.

Read only

Former Member
0 Likes
531

Moderator message - This is the ABAP forum. Just about every question here is asking for "ABAP help". So in the future, please use a more descriptive title.

Rob

Read only

Former Member
0 Likes
532

Hi,

Please declare the field xblnr in your internal table with the type Char and length 10.

Hope this resolve your issue.

Thanks,

Sudheer