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: 

Pricing Routine not triggered while creating Sales order through BDC

Former Member
0 Kudos

Hi Friends,

I've a program which is using BDC to create Sales order. I've written some code in the pricing procedure of the condition type. This code triggers only when we create or change the Sales order manually using VA01/VA02 but doesn't trigger when we create the Sames order using BDC.

Actually this is a program which combines multiple invoices & creates a sales order. I somehow need to add a functionality wherein the code in the pricing routine should also trigger. Please advise on this.

Thanks:

Gaurav

1 REPLY 1

Former Member
0 Kudos

Hello Gaurav,

My initial thoughts would be to check if sy-batch or sy-tcode is being checked inside the pricing routine, which is preventing the code from execution. Can you cross-check this possibility ?

Regards,

Samir