User Exit for Changing Item Quantity in VA02 upon Openning (2024)

0Kudos

Hi Guys,

Need your help. I checked the forums and I didn't find anything.

Requirement:

I'm trying to change the item quantity and uom upon openning VA02. ie.

1) Run tcode VA02

2) Enter Order Number

3) run exit, Change Quantity and Uom <<<

4) Result: VA02 screen is displayed with new quantity (still in change mode).

My Question is:

a) Is this possible?

b) What Exit/BADI do I use, and fields do I have to use?

Stuff I've done

1) debug: USEREXIT_MOVE_FIELD_TO_VBAP is NOT triggered. It is only triggered after the order is opened and the material number is changed.

2) I tried changing XVBAP-KWENG and Setting XVBAP-UPDKZ to 'U' at USEREXIT_READ_DOCUMENT (EXIT_SAPMV45A_918) but change does not take effect after saving. Also the field becomes greyed out. (The reason I chose this exit is because its the only one where xvbap seems to be modifiable). Although, I acknowledge that this doesn't look like the right solution anyway.

Thoughts? Thanks in advance!

-Emir

User Exit for Changing Item Quantity in VA02 upon Openning (2024)
Top Articles
Latest Posts
Article information

Author: Rueben Jacobs

Last Updated:

Views: 6130

Rating: 4.7 / 5 (77 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Rueben Jacobs

Birthday: 1999-03-14

Address: 951 Caterina Walk, Schambergerside, CA 67667-0896

Phone: +6881806848632

Job: Internal Education Planner

Hobby: Candle making, Cabaret, Poi, Gambling, Rock climbing, Wood carving, Computer programming

Introduction: My name is Rueben Jacobs, I am a cooperative, beautiful, kind, comfortable, glamorous, open, magnificent person who loves writing and wants to share my knowledge and understanding with you.