Application Development 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: 

DBC Error which updating the data

Former Member
0 Kudos

DBC Error----> S : no batch input data for screen 'XXXXX'100

                                                              • my code**************************************

CLEAR bdcdata .

PERFORM open_session.

PERFORM bdc_dynpro USING 'SAPMV50A' '4004'.

PERFORM bdc_field USING 'BDC_CURSOR' 'LIKP-VBELN'.

PERFORM bdc_field USING 'BDC_OKCODE' '/00'.

PERFORM bdc_field USING 'LIKP-VBELN' TXTDONO.

PERFORM bdc_dynpro USING 'SAPMV50A' '1000'.

PERFORM bdc_field USING 'BDC_OKCODE' '/00'.

PERFORM bdc_field USING 'BDC_SUBSCR' 'SAPMV50A'.

PERFORM bdc_field USING 'BDC_CURSOR' 'LIPSD-PIKMG(01)'.

MOVE TXTTYDS to temp_qty.

condense temp_qty.

PERFORM bdc_field USING 'LIPSD-PIKMG(01)' temp_qty.

PERFORM bdc_field USING 'BDC_CURSOR' 'LIPSD-G_LFIMG(01)'.

PERFORM bdc_field USING 'LIPSD-G_LFIMG(01)' temp_qty.

PERFORM bdc_field USING 'BDC_SUBSCR' 'SAPMV50A'.

MOVE TXTTROLLS to totalrolls_temp.

CONDENSE totalrolls_temp.

MOVE TXTTOTALNETWEIGHT to netweight_temp.

CONDENSE netweight_temp.

MOVE TXTTOTALGROSSWEIGHT to grossweight_temp.

CONDENSE grossweight_temp.

PERFORM bdc_dynpro USING 'SAPMV50A' '2000'.

PERFORM bdc_field USING 'BDC_OKCODE' '=SICH_T'.

PERFORM bdc_field USING 'BDC_SUBSCR' 'SAPMV50A'.

PERFORM bdc_field USING 'BDC_CURSOR' 'LIKP-GEWEI'.

PERFORM bdc_field USING 'BDC_SUBSCR' 'SAPMV50A'.

PERFORM bdc_field USING 'BDC_CURSOR' 'LIKP-NTGEW'.

PERFORM bdc_field USING 'LIKP-ANZPK' totalrolls_temp. "Total number of packages in delivery

PERFORM bdc_field USING 'LIKP-BTGEW' grossweight_temp. "Total Weight

PERFORM bdc_field USING 'LIKP-NTGEW' netweight_temp. "Total Weight

PERFORM bdc_field USING 'BDC_SUBSCR' 'SAPMV50A'.

PERFORM bdc_field USING 'LIKP-GEWEI' TXTUOM.

CALL TRANSACTION 'VL02N' USING bdcdata MODE 'N' UPDATE 'S'

MESSAGES INTO it_bdcmsgcoll.

4 REPLIES 4

Former Member
0 Kudos

Hi

First you have mention the what is Error came in your BDC Let me know the we'll give solve for that.

Thanks

Regards

I.Muthukumar.

0 Kudos

yeah this error comes from DBC.

the reason that i had found is during recording in vl02n T-code.

1 - when we enter the outbound delivery number like '70000157' and press enter. The cursor by default focuses on items grid send line. which is not supposed to be provided by DBC data. I just want to update the data in the first item data like

picked quantity and loaded quantity. got it

Regards,

Masoom ali

Edited by: masoom.ali on Jun 21, 2010 11:33 AM

former_member536879
Active Contributor
0 Kudos

Hi,

Goto the SHDB T-code. Please select the Recording of this and process directly from there with all screenbs in the forground. Just see whether its going to that button which you have mentioned. If so just do a new recording. Other wise you might be command some bdc cursor statements.

With Regards,

Sumodh.P

0 Kudos

Thanks.

Regards,

Masoom Ali Asghar