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 calculation

Former Member
0 Likes
926

i do have a field which is gt_po_detl-buss_part = p829829db6,

i have to have 829 which is company code , pls tell me how to take the this 829

which is 2nd letter of the variable and ends at 4 th , pls tell me it is urgent .

sridhar .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
640

co_code = gt_po_detl-buss_part+1(3).

Howcome the company code is 3 chars. Generally it is four characters.

Kind Regards

Eswar

3 REPLIES 3
Read only

Former Member
0 Likes
641

co_code = gt_po_detl-buss_part+1(3).

Howcome the company code is 3 chars. Generally it is four characters.

Kind Regards

Eswar

Read only

Former Member
0 Likes
640

example

v_var+1(03) = gt_po_detl-buss_part

the variable will have the value 829

Read only

Former Member
0 Likes
640

co_code = gt_po_detl-buss_part+1(3).