cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Substring in Data Manager Package

Former Member
0 Likes
141

Hi Experts,

I'm having an issue.

It is possible in Data Manager Package in the script

i can make substring of text and put in one variable

for example

PROMPT(SELECTINPUT,%ENT_01%, , "Enter Entity","%ENTITY_DIM%",,1)

TASK(ZUJDXRL_VARIANT,TAB,%TAB%)

TASK(ZUJDXRL_VARIANT,EQU,%EQU%)

TASK(ZUJDXRL_VARIANT,SUSER,%USER%)

TASK(ZUJDXRL_VARIANT,SAPPSET,%APPSET%)

TASK(ZUJDXRL_VARIANT,SAPP,%APP%)

TASK(ZUJDXRL_VARIANT,SELECTION,%SELECTION%)

TASK(ZUJDXRL_VARIANT,LOGICFILENAME,MDOFX.LGF)

TASK(ZUJDXRL_VARIANT,REPLACEPARAM1_KEY,ID)

TASK(ZUJDXRL_VARIANT,REPLACEPARAM1_VALUE,%ENT_01%)

TASK(ZUJDXRL_VARIANT,REPLACEPARAM2_KEY,PROP1)

TASK(ZUJDXRL_VARIANT,REPLACEPARAM2_VALUE,??????????)

I want to create one variable so I can fill the last line with first 3 letters

for example

if Entity is GERMANY

i want to fill automatically GER

or

it is possible to get automatically one specific property from it?

like

ENTITY;PROP1

GERMANY;GER

is there any way to take the PROP1 into a variable?

Thanks.

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor
0 Likes

Absolutely not possible.

You can change the badi code to perform substring inside the badi.

Vadim

Answers (0)