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: 

Find tcode used for Sales order creation

Former Member
0 Kudos

Hello all,

In our system sales orders are geting created by VA01, custom programs using BAPI or Idocs etc . How can we find tcode/program used to create salesorder for trouble shooting.

Regards,

Sravan.

5 REPLIES 5

former_member196331
Active Contributor
0 Kudos

In table Tstc. You can find the list of ztcodes.If they are less, you can open one by one and check the source code.

0 Kudos

Hi Kali charan,

I have list of ztcodes already with me, how can i link sales order document number to this tcode?

Regards.

0 Kudos

Why you want to link, I did not understood. your target is finding source code from Sale order creation using Custom.Am i correct.If yes, then open the Ztcodes one by one check the bapi or exists or not.

0 Kudos

Hi Kali charan,

we have almost 10+ custom upload programs with different validations which are creating sales orders, we are facing few issues in sales order and want to find which program is causing this for debugging particular program. i can find link between tcode and document if it is changed but not when no changes are done to sales order.

Regards.

0 Kudos

If the user that is shown in VBAK-ERNAM is a dialog user - just ask him/her how exactly the document was created (e.g. tcode).

If you log what users do in the system, you could probably narrow down what program/transaction was used by comparing date/time, or by checking what authorizations users have, but I prefer just to ask them - it is faster and the chances of them not telling the truth are not very high. 🙂

For idocs you can try from VA03 Services for Object-> Relationships