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: 

Table Control in LSMW

Former Member
0 Kudos

Hi Experts,

I want to create contract through ME31K using LSMW (don't want to use BDC). In this transaction, I have to fill (Outline Agreement Items) multiple line items(more than 100). I don't know how to handle this. Can anyone let me know how to use table control in LSMW? I found the below threads to confirm that this can be done through LSMW but I am not clear on how to achieve this. It would be helpful if someone can share their experiences facing this kind of situation.

Step-By-Step explanation is highly appreciated.

Thanks in advance.

1 ACCEPTED SOLUTION

madhu_vadlamani
Active Contributor
0 Kudos

Hi Shano,

I did this type of table control for customer master taxes upload. You check this and write your code in LSMW.

BMMH2-ALAND1 = 'US'.

BMMH2-TATY1 = 'MSWP'.

BMMH2-TAXM1 = '1'

Transfer record.

BMMH2-ALAND1 = 'CA'

BMMH2-TATY1 = 'MSWP'

BMMH2-TAXM1 = '0'.

BMMH2-ALAND1 = 'CA'.

BMMH2-TATY2 = 'MSWP'.

BMMH2-TAXM2 = '0'.

BMMH2-ALAND1 = 'CA'.

BMMH2-TATY3 = 'MSWP'.

BMMH2-TAXM3 = '0'.

transfer record.

BMMH2-ALAND1 = 'SG'.

BMMH2-TATY1 = 'MSWP'.

BMMH2-TAXM1 = '0'

transfer record.

Check in this way and post if need more help in this.

Regards,

Madhu.

1 REPLY 1

madhu_vadlamani
Active Contributor
0 Kudos

Hi Shano,

I did this type of table control for customer master taxes upload. You check this and write your code in LSMW.

BMMH2-ALAND1 = 'US'.

BMMH2-TATY1 = 'MSWP'.

BMMH2-TAXM1 = '1'

Transfer record.

BMMH2-ALAND1 = 'CA'

BMMH2-TATY1 = 'MSWP'

BMMH2-TAXM1 = '0'.

BMMH2-ALAND1 = 'CA'.

BMMH2-TATY2 = 'MSWP'.

BMMH2-TAXM2 = '0'.

BMMH2-ALAND1 = 'CA'.

BMMH2-TATY3 = 'MSWP'.

BMMH2-TAXM3 = '0'.

transfer record.

BMMH2-ALAND1 = 'SG'.

BMMH2-TATY1 = 'MSWP'.

BMMH2-TAXM1 = '0'

transfer record.

Check in this way and post if need more help in this.

Regards,

Madhu.