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

User Exit /BADI

Former Member
0 Likes
1,304

For VA46 transaction i want to replace one of the field with another field.

I am trying to do with user exit or BADI.

I don't find and user exit for VA46 transaction.

Next i am Trying to use BADI.How should i know the BADI's of VA46 transaction.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,241

Hi,

You can only do the modifications by copying VA46 to custom program and tcode.

Cheers

For VA46 transaction i want to replace one of the field with another field.

I am trying to do with user exit or BADI.

I don't find and user exit for VA46 transaction.

Next i am Trying to use BADI.How should i know the BADI's of VA46 transaction.

9 REPLIES 9
Read only

Former Member
0 Likes
1,241

Hi,

Why not try Display Variant on VA46.

Cheers.

Read only

0 Likes
1,241

Sanjay,

Thanks for your imm reply.

My requirement is, in the initial screen of VA46

•The field “Subseq process until” should be replaced with a new field called “Dismantling Date”

•The field “Valid to” should be removed.

When this screen is submitted it need to Select all contracts where:

Document Type = Screen Document Type

If Sold-To is entered

Contract Sold-to = Screen Sold-To

Purchase Order Number (contract line item) = Screen Purchase Order Number

Contract Dismantling Date <= Screen Dismantling Date.

I need to do this using BADI or User exit. As this transaction does not have any user exit i am going for BADI. I am trying to find the BADI for VA46.

Read only

0 Likes
1,241

I have created implementation for ALM_ME_CONTRACT.I have put one break point in it.When i run VA46 this BADI is not called.

Please help me solve this problem.

Read only

Former Member
0 Likes
1,241

Hi,

try with this BADI

ALM_ME_CONTRACT, you can find of list of badi definition by this table SXS_ATTR .

or you search with some keywords in SE18.

Cheers,

Sasi

Read only

Former Member
0 Likes
1,241

Hi

I dont think there is a BADI / User Exit for VA46.

You can use transaction varaiant to suppress screen fields. But replacing a field would not be possible. ALso changing the selection criterion is not possible.

May be you can do a sort / filter in ALV display for

the date field you intend to ADD as a restriction.

Cheers.

Read only

0 Likes
1,241

Thanks for the reply.

Is there any other way to solve it

Read only

Former Member
0 Likes
1,241

Hi Sid,

I think there is no User Exit Available for Tr. VA46.

But a BADI named BADI_CUST_HIER is available for Tr. VA46 and I think it will help you for further processing.

There is no other BADI's available for this Tr. VA46.

Regards,

Anbalagan

Read only

0 Likes
1,240

Thanks for the reply.

I have created implementation for BADI_CUST_HIER.When i run VA46 this BADI is not called.

Read only

Former Member
0 Likes
1,242

Hi,

You can only do the modifications by copying VA46 to custom program and tcode.

Cheers