cancel
Showing results for 
Search instead for 
Did you mean: 

script Debugging.

Former Member
0 Kudos

Hai ALL,

i want to debug a script ,but i know only the Form Name which is related to FI .i wan to know the prog name, and in the script i want to add some fields.so please tell me the flow to do tht.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

If it is a FI related form you will not get it in TNAPR.

Because FI module does'nt use this Output type config.

This data u can find it in the SPRO settings.

Can you tell for which transaction that you are trying to use?

Former Member
0 Kudos

Hi Raju,

1) To debug a script

Give form name in SE71 and Goto Utilities tab and click on Activate Debugger to activate debug to a script.

2) How to find the prog name

If layouts are assigned through output controls then check the table TNAPR.Give script to FONAM field and get the driver program in the field PGNAM.

For custome scripts, check the table TTXFP.Give script to TDFORM field and get the driver program in the field PRINT_NAME.

3) How to add fields in script

Get the field values in driver program and display them in layout in between &'s.

Eg: To display sales order number IT_VBAK-VBELN then have this code in script editor.

/: &IT_VBAK-VBELN&

Thanks,

Vinay

Former Member
0 Kudos

1.before executing ur script run rstxdbug for debugging.

2.if u know the form name means check TNAPR table in that specify ur form name & serach u will get the print program.

3. copy ur form to zversion & modify ur form.

Former Member
0 Kudos

HAI,

I was trying in tnapr table but i coundnt trace the prog name..

is there any other option? in the Form i want to add some fields between.

help me in that if u can..

regards

Max.

Former Member
0 Kudos

can u tell ur form name