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

Former Member
0 Kudos

Hi,

I have created a pricing routine.

I wanted to know is there any way by which i can diffenciate whether it is called from VA41, VA42 or some other program by BDC?

3 REPLIES 3

Former Member
0 Kudos

Hi

U can try to check th SY-TCODE in your routine

Max

Former Member
0 Kudos

check system fields ,

sy-tcode , sy-batch , sy-binpt .

Regards

Peram

0 Kudos

if i will be using the sy-tcode,

even if routine will be called from BDC program,

the tcode will be VA42 not the the program name.