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

TVARVC table Selection Variable

Former Member
0 Likes
3,260

I am trying to link the selection variable SO_PERNR in TVARVC table to one of my report program's variant. But in my report's variant, it does not display SO_PERNR while pressing F4. Due to that I am not able to link the selection variable with my variant. COuld any one tell me the reason why this variable is not being listed?. Also please let me know how to link it to my variant.

Thanks,

Selva.

12 REPLIES 12
Read only

former_member209818
Active Contributor
0 Likes
2,118

You can select the SO_PERNR from TVARVC table in your initialization Event and assign those to your selection screen field

Read only

Former Member
0 Likes
2,118

Hi,

You need to maintain the relevant values in tvarvc table as variables and call them into a internal table in INITIALIZATION event. Then ON VALUE REQUEST, you need to read this table and assign it as an search help for that custom selection variable SO_PERNR. This can be done with function module 'F4IF_INT_TABLE_VALUE_REQUEST'.

Regards,

Sanjeev

Read only

0 Likes
2,118

Guys,

I am talking about the selection screen variable value linkage in the variant screen of the concerned report.

Read only

0 Likes
2,118

Selva,

Can you elaborate more? If the code for the search help is in place, it should work on the selection screen on value request even after you create the variants.

Thanks,

Sanjeev

Read only

0 Likes
2,118

Dear Sanjeeva Reddy,

If while you do F4 help in the variant dynamic property, it will list out only those variables which are present in table TVARVC, so make sure that you have made an entry in that table by using the transaction STVARV.

Thanks and regards,

kartik

Read only

former_member209818
Active Contributor
0 Likes
2,118

Have you created your TVARVC variable thru Tcode STVARV?

Read only

0 Likes
2,118

HI

Variant looks for entries from client 000 since that is a client independent change(ABAP) this needs to be done via STVARVC. That is because of entries are not in client 000.

Thanks

Chandra

Read only

0 Likes
2,118

All,

I have not created the selection variable in STVARV. I am using the existing selection variable for my variant. The entry is available in TVARVC. I dont know why it is not being listed while pressing F4 in the Selection variable column availale in the variant screen.

Thanks,

Selva.

Read only

0 Likes
2,118

Hi

pls check entry exist or not in client 000. If is not you need to create in 000.

Thanks,

Chandra

Read only

0 Likes
2,118

Chandra, Could you elaborate ?

Read only

0 Likes
2,118

Variant looks for entries from client 000 since that is a client independent change(ABAP) this needs to be done via STVARVC. That is because of entries are not in client 000.

Read only

0 Likes
2,118

Curretly I dont have an access to create the entry through STVARVC. Let me try it once I get the access. Thanks for everyone's help on this.