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

Call Transaction Batch Input Me21n set Filter automatically

Former Member
0 Likes
838

Hi

we want to set a filter in the me 21n automatically. Untill yet the Batch Input creates an order with one position. Without the filter option it isn't possible to introduce more then the visible positions. I know the create Bapi but that do not solve my Problem

How is the code for filling the positions. Which screen are they in?

I know how to open:

PERFORM dyn_bild USING 'SAPLMEGUI' '0014'.

PERFORM dyn_feld USING 'BDC_OKCODE' '=MEPO1211EDITFILTER'.

but how do i have to continue so that the user must not set the filter

Tank you for your hints.

Hi

we want to set a filter in the me 21n automatically. Untill yet the Batch Input creates an order with one position. Without the filter option it isn't possible to introduce more then the visible positions. I know the create Bapi but that do not solve my Problem

How is the code for filling the positions. Which screen are they in?

I know how to open:

PERFORM dyn_bild USING 'SAPLMEGUI' '0014'.

PERFORM dyn_feld USING 'BDC_OKCODE' '=MEPO1211EDITFILTER'.

but how do i have to continue so that the user must not set the filter

Tank you for your hints.

2 REPLIES 2
Read only

Former Member
0 Likes
638

Hi,

If you are trying to create a batch input map for transaction ME21. You can record the transaction with transaction: SHDB.

Based on the recording you can even create a program.

Best regards,

Guido Koopmann

Read only

0 Likes
638

Hello

I used the transaction SHDB .

unfortunely i can t find the name for the fields in the window in the Filter screen.

What does the ok_code 'DTC_WLSE' mean

What does the ok_code 'DTC_CONT' mean

Please answer

Best regards

Edited by: Annette Bruy on Mar 16, 2010 2:02 PM