10-26-2017 5:10 AM
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-26-2017 5:35 AM
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.
10-26-2017 5:42 AM
Hi Kali charan,
I have list of ztcodes already with me, how can i link sales order document number to this tcode?
Regards.
10-26-2017 5:52 AM
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.
10-26-2017 5:56 AM
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.
10-26-2017 6:53 AM
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