Application Development 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: 

hii

Former Member
0 Kudos
93

Please tell me the below,in a simpler way:

IF t_qmel-mgfrd = space AND t_qmel-mgfrd = c_0.

IF t_qmfe-fmgfrd = space AND t_qmfe-fmgfrd = c_0.

SHIFT t_qmel-objnr LEFT DELETING LEADING c_qm.

1 ACCEPTED SOLUTION

0 Kudos
63

Perhaps you can do this:

IF t_qmel-mgfrd = space AND t_qmel-mgfrd = c_0 AND t_qmfe-fmgfrd = space.

SHIFT t_qmel-objnr LEFT DELETING LEADING c_qm.

3 REPLIES 3

0 Kudos
64

Perhaps you can do this:

IF t_qmel-mgfrd = space AND t_qmel-mgfrd = c_0 AND t_qmfe-fmgfrd = space.

SHIFT t_qmel-objnr LEFT DELETING LEADING c_qm.

former_member188827
Active Contributor
0 Kudos
63

c_0 and c_am are constants which must hav been assigned some value in program.

if da above to condtions are true simpy t_qmel-objnr 'll be shifted left and da leading c_qtm characters 'll be removed.

plz reward if dis helps

former_member386202
Active Contributor
0 Kudos
63

Hi,

Do like this

IF t_qmel-mgfrd = space AND

t_qmel-mgfrd = c_0. AND

t_qmfe-fmgfrd = space AND

t_qmfe-fmgfrd = c_0.

SHIFT t_qmel-objnr LEFT DELETING LEADING c_qm.

endif.

Regards,

Prashant