Skip to Content
0

Find tcode used for Sales order creation

Oct 26, 2017 at 04:10 AM

34

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Kali Charan Oct 26, 2017 at 04:35 AM
0

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.

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Kali charan,

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

Regards.

0

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
Former Member

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

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

relationships.jpg (62.8 kB)
0