cancel
Showing results for 
Search instead for 
Did you mean: 

Characteristic routine to read a length of char

Former Member
0 Kudos

Dear experts,

Can experts give me a characteristic routine to below info object?

Assume I load data from DSO to cube, and I want record in infoobject

to read only a length of words.

From example below, I want a characteristic routine at functional location

infoobject that can make functional location read as in the cube.

The original record is in the DSO.

Hope experts can help me. Thank you.

Example:

Infoobject  functional location.

DSO

functional location

MAB-3010-ASIDE-BOMBA-PARKING

CUBE

functional location

MAB-3010-ASIDE-BOMBA

View Entire Topic
anshu_lilhori
Active Contributor
0 Kudos

Hi,

If your requirement is to know the length of string then you may use function STRLEN.

Again if you need according to the below example and this will be the case always:


functional location

MAB-3010-ASIDE-BOMBA-PARKING

CUBE

functional location

MAB-3010-ASIDE-BOMBA

At field level routine just do the offseting as below.

0funcloc+0(20).

Hope this helps.

Regards,

AL