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

Dynamic field positions

Former Member
0 Likes
487

Hi Friends,

I have a requirement of Dynamic change of field positions,I have to write the Material number field positions dynamically,suppose the material is Eight characters after removiing leading zeros, I have add some empty spaces infront of it to make it as 20 characters for all the materail numbers.

Can you please provide me a solution.

Regards

Dinesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
462

Hi,

Use the below statement.

shift lv_matnr RIGHT DELETING TRAILING space

Thanks,

Srini.

Hi Friends,

I have a requirement of Dynamic change of field positions,I have to write the Material number field positions dynamically,suppose the material is Eight characters after removiing leading zeros, I have add some empty spaces infront of it to make it as 20 characters for all the materail numbers.

Can you please provide me a solution.

Regards

Dinesh

1 REPLY 1
Read only

Former Member
0 Likes
463

Hi,

Use the below statement.

shift lv_matnr RIGHT DELETING TRAILING space

Thanks,

Srini.