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 : Adding component with C002

Former Member
0 Likes
479

Hi all

I try to add component on a production ordrer with C0O2 but i have problem with the item category 'R' (Variable-size item). In fact, SAP ask me to fill variable-size item data but i can't run this step with batch input.

For example with the batch input recorder, i obtain :

SAPLCOKO1 0110 X

BDC_OKCODE /00

CAUFVD-AUFNR 10001280

SAPLCOKO1 0115 X

BDC_OKCODE =KPU2

SAPLCOMK 0120 X

BDC_CURSOR RESBD-LGORT(23)

BDC_OKCODE /00

FILTER_BOX NO_FIL

SORT_BOX ST_STA

RESBD-MATNR(23) SAM6506P00055

RESBD-MENGE(23) 2

RESBD-EINHEIT(23) M

RESBD-POSTP(23) R

RESBD-VORNR(23) 0040

RCOLS-APLFL(23) 23

RESBD-WERKS(23) 0200

RESBD-LGORT(23) 0010

BDC_SUBSCR SAPLCOKO1 0800ORD_HEADER

BDC_SUBSCR SAPLCOMK 0050BUTTONS

BDC_SUBSCR SAPLCOMD 0160SUBSCR_0100

BDC_CURSOR RESBD-ROMEI

RESBD-MATNR SAM6506P00055

RESBD-ROMS1 1000

RESBD-ROMEI MM

RESBD-ROKME M

Is there other way to fill variable-size item ? Have you got ideas to simulate this step ?

I don't use FM because i have to fill the field RESBD-VORNR.

Thanks in advance for your response.

Patrick.

1 REPLY 1
Read only

Former Member
0 Likes
370

In fact the choice that i have made was wrong.

Adding component with CO02 is possible with ls_params-nobinpt = ''.