Application Development and Automation 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: 
Read only

Problems with SKIP FIRST Screen when calling a transaction variant

Former Member
0 Likes
1,616

Hi,

I have a transaction variant of VA02 that suppresses the display of the pricing button on the conditions screen. I have created a variant transaction for called ZA02 which calls this variant of VA02.

In my program I have coded the following :-

SET PARAMETER ID 'AUN' FIELD VBELN.

SET PARAMETER ID 'VPO' FIELD POSNR.

CALL TRANSACTION 'ZA02' AND SKIP FIRST SCREEN.

I would have expected the program to display the second screen of VA02 but it displays the first screen and when I hit return key the second screen is then displayed.

I don't think I need VPO setting but when I code

SET PARAMETER ID 'AUN' FIELD VBELN.

SET PARAMETER ID 'VPO' FIELD POSNR.

CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.

VA02's second screen is displayed

Any help as to how to Skip this first screen with ZA02 would be greatly appreciated

Thanks

Rous

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,174

AND SKIP FIRST SCREEN doesn't work for transactions which run a transaction variant. A workaround is proposed in Note 318448 - Call and skip first screen

Hi,

It seems you are refering wrong PID . PID for POSNR is APO not VPO.

Reg,

PB

6 REPLIES 6
Read only

Former Member
0 Likes
1,174

Hi,

It seems you are refering wrong PID . PID for POSNR is APO not VPO.

Reg,

PB

Read only

0 Likes
1,174

Yes you are right Reg thanks for that.

But it appears that VA02 doesn't require it setting anyway. I changed the PID to APO and indeed I've even commented the line out, but my program goes to the second screen when calling VA02 but stays on the first screen when calling ZA02 .

Read only

0 Likes
1,174

Sorry meant PB not Reg

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,175

AND SKIP FIRST SCREEN doesn't work for transactions which run a transaction variant. A workaround is proposed in Note 318448 - Call and skip first screen

Read only

0 Likes
1,174

there is also Note 558000 - Skip first screen in variant transaction

Read only

0 Likes
1,174

Many thanks Sandra FM RS_HDSYS_CALL_TC_VARIANT solved my problem

Rous