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: 

User Exit /BADI

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

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

Cheers

9 REPLIES 9

Former Member
0 Kudos

Hi,

Why not try Display Variant on VA46.

Cheers.

0 Kudos

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.

0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

Thanks for the reply.

Is there any other way to solve it

Former Member
0 Kudos

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

0 Kudos

Thanks for the reply.

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

Former Member
0 Kudos

Hi,

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

Cheers