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

ME11 BATCH INPUT

Former Member
0 Likes
753

hi. I'm having problem with my batch input. here is my code:

PERFORM BDC_DYNPRO TABLES BDCDATA USING 'SAPMM06I' '0100'.

PERFORM BDC_FIELD TABLES BDCDATA USING:

'BDC_OKCODE' '=ENTR',

'EINA-LIFNR' I_REC-VENDOR,

'EINA-MATNR' I_REC-MATNR,

'EINE-EKORG' 'BE01',

'EINE-WERKS' P_WERKS.

PERFORM BDC_DYNPRO TABLES BDCDATA USING 'SAPMM06I' '0102'.

PERFORM BDC_FIELD TABLES BDCDATA USING:

'BDC_OKCODE' '=ENTR',

'EINE-APLFZ' I_REC-PLADEL,

'EINE-NETPR' I_REC-NETPR.

PERFORM BDC_DYNPRO TABLES BDCDATA USING 'SAPLSPO1' '0100'.

PERFORM BDC_FIELD TABLES BDCDATA USING:

'BDC_OKCODE' '=YES'.

CALL TRANSACTION 'ME11' USING BDCDATA

MODE 'E'

UPDATE 'S'

MESSAGES INTO ITAB_MSG.

but when i run my program the screen shows up and needs to press enter to continue.

I need to create info record thru batch input but the 2nd screen shows up everytime i run the program. Please let me know what i did wrong.

thanx.

3 REPLIES 3
Read only

Former Member
0 Likes
569

mostly the OK-CODE is different from what u have specified in ur program....Do a SHDB once again and check it and modify the code accordingly...

Read only

Former Member
0 Likes
569

There may be probelm in recarding.....

u can also test that recording in SHBD...(check it weather it is properly recorded or not)...

Ramesh.

Read only

Former Member
0 Likes
569

Thanks for the help guys