Skip to Content
0
Former Member
Jun 12, 2006 at 11:48 PM

Can QA11: Screen SAPLQPK1, 0200 be run in batch input

327 Views

When trying to record usage decisions for inspection lots using QA11 in batch input, I am unable to get past Screen 0200 of program SAPLQPK1 the "Usage Decision for Inspection Lot" screen that comes up. This screen pops up when I use '/11' to save the usage decision and I am unable to use BDC_CURSOR or any other BDC syntax to make any selection on this screen. I have tried many approaches as you can see by the commented code.

I have also used transaction SHDB (the Batch Transaction Recorder tool) to record making a usage decision with QA11 with the "Simulate Background Mode" selected. This fails also when I try to process the recording. The recording can not process this screen as well.

Any help would be greatly appreciated.

Best regards,

Doug Crabtree

PERFORM bdc_dynpros USING 'SAPMQEVA' '0100'.

PERFORM bdc_fields USING 'BDC_CURSOR' 'QALS- PRUEFLOS'.

PERFORM bdc_fields USING 'BDC_OKCODE' '/00'.

PERFORM bdc_fields USING 'QALS-PRUEFLOS' itab_bcode-wempf.

*

PERFORM bdc_dynpros USING 'SAPMQEVA' '0200'.

  • PERFORM bdc_fields USING 'BDC_OKCODE' 'BU'.

PERFORM bdc_fields USING 'BDC_SUBSCR' 'SAPMQEVA 1101UD_HEADER'.

PERFORM bdc_fields USING 'BDC_SUBSCR' 'SAPLSEXM 0200BADI_SUBSCR_1101'.

PERFORM bdc_fields USING 'BDC_SUBSCR' 'SAPMQEVA 0101SUB_UD_DATA'.

PERFORM bdc_fields USING 'BDC_SUBSCR' 'SAPMQEVA 1103UD_DATA'.

PERFORM bdc_fields USING 'BDC_CURSOR' 'RQEVA-VCODEGRP'.

PERFORM bdc_fields USING 'RQEVA-VCODE' 'A'.

PERFORM bdc_fields USING 'RQEVA-VCODEGRP' '01'.

PERFORM bdc_fields USING 'BDC_OKCODE' '/11'.

perform bdc_fields using 'BDC_SUBSCR' 'SAPLQPK1' .

PERFORM bdc_dynpros USING 'SAPLQPK1' '0200'.

PERFORM bdc_fields USING 'BDC_OKCODE' '/00'.

  • PERFORM bdc_fields USING 'BDC_CURSOR' '01'.

  • perform bdc_fields using 'BDC_SUBSCR' 'SAPLQPK1' & '%_GC 109 22'.

  • perform bdc_fields using 'BDC_SUBSCR' 'SAPLQPK1' .

  • PERFORM bdc_dynpros USING 'SAPLQPK1' '0200'.

  • PERFORM bdc_fields USING 'BDC_OKCODE' '=SEL'.

CALL TRANSACTION 'QA11' USING bdcdata MODE 'A' UPDATE 'S'.