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: 

call transcriom lt31

Former Member
0 Kudos

how i can make call transaction lt31 pass parameter an make ctrl+p

and return to my screen?

thanks.

1 ACCEPTED SOLUTION

former_member223537
Active Contributor
0 Kudos

Hi,

Write a BDC program for the same.

CALL TRANSACTION LT31 using it_bdcdata.

Best regards,

Prashant

3 REPLIES 3

former_member223537
Active Contributor
0 Kudos

Hi,

Write a BDC program for the same.

CALL TRANSACTION LT31 using it_bdcdata.

Best regards,

Prashant

Former Member
0 Kudos

Are you looking for P+(Page down functionality)??

This is an example for you to understand if the question is for P+ functionality

 DATA: lv_line3(2) TYPE n.
  CLEAR lv_line3.
  lv_line3 = '01'.
  LOOP AT git_cdata INTO wa_cdata WHERE usr00 = wa_hdata-usr00.

    IF lv_line3 > '06'.
      PERFORM bdc_dynpro      USING 'SAPLCOIH' '3000'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=P+'.

      PERFORM bdc_dynpro      USING 'SAPLCOIH' '3000'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=ENT1'.

      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RESBD-VORNR(02)'.

      lv_line3 = '02'.
    ENDIF.

<b>Reward Points if it helps,</b>

Satish

0 Kudos

ctrl +p it's print .