Application Development and Automation 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: 
Read only

Pricing routine

Former Member
0 Likes
622

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
Read only

Former Member
0 Likes
591

Hi

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

Max

Read only

Former Member
0 Likes
591

check system fields ,

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

Regards

Peram

Read only

0 Likes
591

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.