Ahmed Yahya
Ahmed Yahya

Reputation: 21

User exit EXIT_SAPLV54B_002 is not called

In SAP ABAP function module SD_SCD_PRICING_PREPARE is called when creating a shipment cost doc by tcode VI01.

There is a user exit EXIT_SAPLV54B_002 which should be used to include additional fields in pricing.

The exit is activated by activating the include ZXV54U03 and writing the required logic. However, I placed a break point in the include to check if the program will call the exit but it does not.

enter image description here

With the break point in include ZXV54U03, the system should have stopped when creating a shipment cost document via VI01 but this doesn't happen. Please advice.

Upvotes: 1

Views: 1889

Answers (2)

Ahmed Yahya
Ahmed Yahya

Reputation: 21

thanks all exit needed activation through SMOD & CMOD

Upvotes: 1

Kisbandi
Kisbandi

Reputation: 313

From this description, two possibilities came to my mind.

My first question is, are you sure this USEREXIT will start? I am not sure if the code will make it this far. Put the debug point in the EXIT_SAPLV54B_002 code or in the SD_SCD_PRICING_PREPARE function module and try to get to that point.

Another idea is to turn on the System Debugging option. In debug mode you can find it under the settings tab. If you turn this on and press Continue(F8), it should stop there.

enter image description here

Upvotes: 0

Related Questions