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

Split

Former Member
0 Likes
698

Hi,

Please explaint what is the meaning of this code?

Split vbap-arktx at ‘***’ into ws_c_string1 ws_c_string2.

If ws_c_string2 <> space.

If ws_c_string2 <> space.

Screen-input = 0.

End if.

Thanks & Regards,

sairam

6 REPLIES 6
Read only

Former Member
0 Likes
674

Hi,

Whatever the data that is there in VBAP-ARKTX , it will be split into two strings string1 n string 2. and if strings are Not equal to space then screen-input = 0, means screen active.

Regards

Kannaiah

Read only

Former Member
0 Likes
674

say the value of vbap-arktx is 'ahahf***jsafks'

split statement will split vbap-arktx at *** into ws_c_string1 and ws_c_string2

ws_c_string1 will containg ahahf

ws_c_string2 will contain jsafks

Read only

Former Member
0 Likes
674

Hi....

<b>Split vbap-arktx at ‘***’ into ws_c_string1 ws_c_string2.</b>

Here vbap-arktx is splitted in to 2 parts at '***'.

<b>If ws_c_string2 <> space.

If ws_c_string2 <> space.

Screen-input = 0.

End if.</b>

Here if Both these parts are empty he is making a screen field as input disabled.

Let me know if you have any more doubts......

Reward points if useful......

Suresh......

Read only

Former Member
0 Likes
674

Hi,

Since they are maintaining Material Description Text with some specific character values(**) in it.

they are splitting the text into two words.

and checking the Second word.

if the second word id space then making the field invisible.

reward if useful

regards,

ANJI

Read only

Former Member
0 Likes
674

Hi,

Thanks for all replies.I will give reward points to all.

Thanks,

sairam

Read only

Former Member
0 Likes
674

Thanks.