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 using ABAP

Former Member
0 Likes
2,074

Hi, i've a Z program to create a delivery order but when i try to use more than 15 items appears error message

"Screen 0000 is too large for internal batch input area" - Message no. 00379

This is the program:

PERFORM bdc_dynpro USING 'SAPMV50A' '1000'.

CLEAR indx.

LOOP AT lt_dados.

indx = indx + 1.

MOVE indx TO sindx.

CONCATENATE 'LIPS-MATNR(' sindx ')' INTO l_matnr.

CONCATENATE 'LIPSD-G_LFIMG(' sindx ')' INTO l_lfimg.

PERFORM bdc_field USING: 'BDC_OKCODE' '/00',

'BDC_SUBSCR' 'SAPMV50A 1502SUBSCREEN_HEADER',

'KUWEV-KUNNR' p_kunnr,

'BDC_SUBSCR' 'SAPMV50A 1102SUBSCREEN_BODY',

'BDC_CURSOR' 'LIKP-WADAT',

'LIKP-WADAT' l_datum,

'LIKP-WAUHR' '00:00:00',

l_matnr lt_dados-matnr,

'BDC_CURSOR' l_lfimg,

l_lfimg lt_dados-lfimg,

'BDC_SUBSCR' 'SAPMV50A 0611SUBSCREEN_BOTTOM',

'BDC_SUBSCR' 'SAPMV50A 1708SUBSCREEN_ICONBAR'.

ENDLOOP.

PERFORM bdc_transaction TABLES lt_dados USING 'VL01NO'

'X'

p_modo

'L'.

Can somebody help me ? Thanks

8 REPLIES 8
Read only

Former Member
1,333

Hi

I think u are getting error for amount or quantity field.

Before passing amount or quantity field to BDCDATA, First Condense that field.

try this.

Regards,

Raghu.

Read only

Former Member
0 Likes
1,333

There are a nuymber of notes about batch input for this program. For starters, see [note 457925 Batch input compatibility of the new delivery transactions.|https://websmp206.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=457925&_NLANG=E]

Rob

Read only

Former Member
0 Likes
1,333

Hi,

I find you have used two diff variables for index "indx" , "sindx". :

LOOP AT lt_dados.

indx = indx + 1.

MOVE indx TO sindx.

CONCATENATE 'LIPS-MATNR(' sindx ')' INTO l_matnr.

CONCATENATE 'LIPSD-G_LFIMG(' sindx ')' INTO l_lfimg.

Thanks,

Navneeth K.

Also clear index value before loop.

Thanks,

Navneeth K.

Read only

0 Likes
1,333

I had an error when i concatenated indx because it's a INT so i create a string and i put indx value at string.

It's correct ? or i cant do this way ?

Thanks,

Read only

0 Likes
1,333

Hi,

You can declare indx as numc with length 2.

regards,

nilesh.

Read only

Former Member
0 Likes
1,333

Hi Recardo,

I am also getting the same error while updating the data through BDC call transaction.

it is working fine for 10 reocrds, I am getting the below error.is the problem with data or coding?

Screen 0000 is too large for internal batch input area

Can you please help me in solving the above issue?

Regards,

Xavier.P

Read only

0 Likes
1,333

Hi, I try to solve my insue but i couldn't do. I think i've to put item line by line but i didn't know who do that.

Thanks,

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,333

Instead of facing suchproblems in BDC you can go for BAPI

You can try

SHP_DELIVERY_CREATE_NOREF

BAPI_OUTB_DELIVERY_CREATENOREF

BAPI_DELIVERYPROCESSING_EXEC