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

Disable data tab for a specific situation

Former Member
0 Likes
764

We are in the process of adding own fields on the "additional data tab B" within a contract (TCD VA41 - VA43) .

Therefore we will expand the VBAK tabel with the needed fields and via SE51

we will add new fields to the screen 8309 of program SAPMV45A .

When all the fields are added we would like to use this specific "additional data tab B" only for one specific contract-type.

So, we're looking for the correct way to only use this tab on one specific contract.

Thanks for your reaction

Jan Weegels

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
646

If order type = "your order type" set the fields to invisible. Use the screen group to identify the screen elements you want to hide.

Use the PBO event of screen 8309.

loop at screen.

case screen-group1.

when 'YID'.

  • set screen element visible

screen-invisible = '0'.

when others.

  • set screen element invisible

screen-invisible = '1'.

endcase.

endloop.

Cheers,

Dennis

We are in the process of adding own fields on the "additional data tab B" within a contract (TCD VA41 - VA43) .

Therefore we will expand the VBAK tabel with the needed fields and via SE51

we will add new fields to the screen 8309 of program SAPMV45A .

When all the fields are added we would like to use this specific "additional data tab B" only for one specific contract-type.

So, we're looking for the correct way to only use this tab on one specific contract.

Thanks for your reaction

Jan Weegels

3 REPLIES 3
Read only

Former Member
0 Likes
646

u need to get the tab poperties and then when this condition...loop at screen...if screen-name = tab...disable and modify the screen.

Read only

0 Likes
646

Where/how can i get the properties of the screen.

The best Regards

Jan Weegels

Read only

Former Member
0 Likes
647

If order type = "your order type" set the fields to invisible. Use the screen group to identify the screen elements you want to hide.

Use the PBO event of screen 8309.

loop at screen.

case screen-group1.

when 'YID'.

  • set screen element visible

screen-invisible = '0'.

when others.

  • set screen element invisible

screen-invisible = '1'.

endcase.

endloop.

Cheers,

Dennis