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: 

Need help with Transaction with variant

Former Member
0 Kudos
157

Hi All,

I have a Z transaction ZTVF02(transaction with varient) for the standard transaction VF02, and I'm facing a problem with it.

On entering ZTVF02 and once we click on the " back " button or upon save / cancel the control is passed back to Transaction VF02 rather than going to ZTVF02.

Since not all have access to VF02 a " not authorised" message comes up on save ( but the record is getting saved). This message leads to an impression to the users that the record is not saved.

Please tell me how i can set the control to go back to ZTVF02 on back / save / cancel

Thanks

10 REPLIES 10

0 Kudos
116

check some BADi in the PAI to control this

sitakant_tripathy2
Active Participant
0 Kudos
116

Hi Derek,

could you please cross check the screen sequence in the Transaction Variant...

Regards,

Sitakant...

0 Kudos
116

Hi Sitakant,

Can you please tell me more details on the same, both the transaction is having the first screen as 104. So how to make sure that the control is moved to screen 104 of the Z transaction.

0 Kudos
116

Hi Derek,

Check the code in the PAI where the CALL SCREEN or LEAVE TO SCREEN is written.

Can you post the same for your Z transaction where you have written code for on clicking of back button.

It will be easier to find out.

Regards

Abhii

0 Kudos
116

Hi Derek,

it has now been 4 years since I worked on the Transaction Variants so am not able to help with that detail...just wanted to suggest you something....Could you please go throught this link [http://help.sap.com/erp2005_ehp_04/helpdata/EN/7d/f639f8015111d396480000e82de14a/frameset.htm]..It talks about the screen sequences and variations..

Hope this helps...If this also doesnot help then give a shout..maybe will have to ponder a bit more...

@Abhii: Transaction Variants do not have there own osurce code as this is not exaclty a customer copy of the transaction...henceforth it is so that you cannot make changes to PBO or PAI...

Regards,

Sitakant....

0 Kudos
116

Hi Sitakant,

Thanks for your reply... I went through the document that you had mentioned. But unfortunatly no where in that i could find details regarding the screen sequencing. Would appreciate if you can help me on it ...

Thanks

Former Member
0 Kudos
116

Hi Derek,

In the first screen, while creating "do not display screen" check box would have been enabled. So, When you press back button it goes to the standard transaction.

Hope it helps.

Sujay

0 Kudos
116

Hi Sujay,

The check box is not checked. On calling the Transaction the control goes to the Z transaction, the problem is only when we come back. If the Check box was clicked the control will not go to that screen at all.

Anyways thanks for the suggestion

0 Kudos
116

Hi Guys...

Still the issue has not been fixed.. Request your suggestions !!

0 Kudos
116

Derek,

I created a Z T-Code. It is taking to the standard transaction. But, in the "System: Status", I could see the transaction variant which I created.

I have a suggestion here. While creating a transaction variant, Instead of creating screen variants seperately and adding together. You could create screen variants as you create transaction variant.

Hope it helps.

Sujay