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

batch input me21n

Former Member
0 Likes
1,756

My problem is: I have record me21n in shdb, I'm inserting data from itab into the 'item grid' at the bottom of me21n. The problem is, I can insert only 10 records, then I get an error: "Field RM11P-KOSTL(11) is not existing on screen SAPLMEGUI 0014". Like I said... only 10 records Is there any way to 'scroll' down this grid to another 10 records in ABAP code using those 'bdc_field' commands. Pleas help!

6 REPLIES 6
Read only

Former Member
0 Likes
1,253

Is there any reason why you dont want to use BAPI_PO_CREATE1. Also Enjoy transactions do not work good with recordings, Try using ME21 instead.

Read only

0 Likes
1,253

User wants to put an Excel file in the selection screen of my program, and then he wants to see those data from file in me21n, then he wants to control it, make some corrects and Save this order.

Read only

Former Member
0 Likes
1,253

Hi,

In the program if the records are more than 10 try to give the ok_code as 'P+' (Page Down). The field values needs to be filled again as (01) to (10).

Thanks,

Mahesh

Read only

0 Likes
1,253

Thank you Mahesh Paladi, it works with the scroll, but still when I use ok_code P+ and then values again from 01 to 10, then all 01 (only 01) records are overwrite with the last value.

Read only

0 Likes
1,253

As already mentioned, why use a batch when perfectly good BAPIs exist to create / change purchase orders? Batches can be fiddly and annoying to build, don't work properly with Enjoy transactions (like ME21N), and even when you use the older type of transaction and you have managed to get one to work, any change made by SAP to the screen layout can cause it to stop working.

Read only

0 Likes
1,253

Hi,

I found a mexican solution ,  I set an invalid filter in the ítems, so as I capture each ítem, when " \00" is ejecuted, in automatic way the ítem is filtered and there are ítems available....so I can continue entering ítems in the first item.

I know is late, but maybe anybody could help.

Regards