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

Offset settings help

Former Member
0 Likes
471

Hi

I have requirement

w here i need to set an Offset for SOBID.

Here SOBID is of Char 45 ,

Now the i need to check with the another infotype for the PERNR of length 8.

i need to take the last 8 digits of the SOBID.

Can any one help to take the offset.

Regards

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
449

DATA:

temp TYPE P_PERNR.

MOVE sobid+37(8) TO temp.

After that you can compare the values of temp and your other pernr....

It has to be +37, not +38.... It works!

2 REPLIES 2
Read only

Former Member
0 Likes
450

DATA:

temp TYPE P_PERNR.

MOVE sobid+37(8) TO temp.

After that you can compare the values of temp and your other pernr....

It has to be +37, not +38.... It works!

Read only

Former Member
0 Likes
449

you can check SOBID+38(8).

it will check the 8 characters from 38 th position