Skip to Content
author's profile photo Former Member
Former Member

Batch Input failure

Hi,

I've created a batch input for 'LQ02' transaction. In this transaction you can mark all the registers with a button (materials) to move (another button).

When I do it manually, that means I mark all the registers with the button and move them with the other button, it works properly. But, with the batch input only does the first (however all the registers are marked).

Some idea why?

This is the batch input:

<i>report Z_LIBERA

no standard page heading line-size 255.

include bdcrecx1.

start-of-selection.

perform open_group.

perform bdc_dynpro using 'RLLQ0200' '1000'.

perform bdc_field using 'BDC_CURSOR'

'PA_BUDAT'.

perform bdc_field using 'BDC_OKCODE'

'=ONLI'.

perform bdc_field using 'S1_LGNUM'

'E'.

perform bdc_field using 'S1_LGTYP-LOW'

'001'.

perform bdc_field using 'PA_BWLVS'

'904'.

perform bdc_field using 'PA_BLDAT'

''.

perform bdc_field using 'PA_BUDAT'

''.

perform bdc_dynpro using 'SAPMSSY0' '0120'.

perform bdc_field using 'BDC_OKCODE'

'=MKAL'.

perform bdc_dynpro using 'SAPMSSY0' '0120'.

perform bdc_field using 'BDC_OKCODE'

'=UMBU'.

perform bdc_transaction using 'LQ02'.

perform close_group.</i>

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2007 at 03:04 PM

    Hi

    Have you tried to do a submit for the report RLLQ0200 instead of the BDC?

    Max

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Max,

      thank's for reply but I didn't understood your answer..

      Finally I found something in a thread that were useful:

      I've added this code to the report:

      <i>

      DATA: BEGIN OF git_ctu.

      INCLUDE STRUCTURE ctu_params.

      DATA: END OF git_ctu.

      • here I comment the perform, to do the call transaction by own code

      *perform bdc_transaction using 'LQ02'.

      GIT_CTU-DISMODE = 'E'.

      GIT_CTU-UPDMODE = 'A'.

      GIT_CTU-RACOMMIT = 'X'.

      CALL TRANSACTION 'LQ02'

      USING GIT_BDCDATA

      options from git_ctu

      MESSAGES INTO GIT_MESSTAB.</i>

      Cheers!

      Xavi.

      Message was edited by:

      Xavier Murillo

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.