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

LSMW (ABAP Code Rule)

Former Member
0 Likes
574

Hi All,

I have to upload data in transaction code MD61 (Planned Independent Requirement) for a year, that is, 12 months.

The requirement date and planned quantity have fields EDATU & PLNMG, respectively. If I'm going to input 12 months, the fields will become EDATU_01, EDATU_02... EDATU_12 and PLNMG_01 to PLNMG_12. However, the screen during background processing only has 10 rows, resulting to an incorrect session in SM35 with error: "Field RM60E-EDATU(11) does not exist in the screen SAPLM60E 0200".

Is there a way that I can use ABAP Code in LSMW's conversion rules for me to be able to upload 12 entries in MD61?

Thanks a lot in advance!

Best regards,

Olyn

3 REPLIES 3
Read only

Former Member
0 Likes
507

used Horizon date to manipulate my number of entries

Read only

0 Likes
507

Dear Olyn,

Please advice how were you able to do this.

Even I have tried to manipulate the planning horizon,All invain.

Read only

Former Member
0 Likes
507

Hi,

While recording did you come across the 11th and 12th row as well?

if not, once the recording is done try to insert those two in the recording list manually. And then in the field mapping try to map this with the 11th and 12th field you have in your structure.