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 Transaction and set Parameter ID

Former Member
0 Kudos

Hi all,

we need to create an infotype through PA30. We are using 'Call Transaction' method, we want to skip first screen so we are using parameter ids for pernr and infty. Now we need somthing for creation of an infotype.. how to do it ....

Regards'

1 REPLY 1

former_member386202
Active Contributor
0 Kudos

Hi,

Refer this code

CASE u_com.

WHEN '&IC1'.

SELECT SINGLE belnr

bukrs

gjahr

FROM bsis

INTO (lv_belnr,lv_bukrs,lv_gjahr)

WHERE belnr EQ lv_belnr

AND bukrs EQ lv_bukrs

AND gjahr EQ lv_gjahr.

IF sy-subrc EQ 0.

SET PARAMETER ID : 'BLN' FIELD lv_belnr,

'BUK' FIELD lv_bukrs,

'GJR' FIELD lv_gjahr.

CALL TRANSACTION 'FB03' AND SKIP FIRST SCREEN.

ENDIF.

ENDCASE.

Regards,

Prashant