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

script or form for a transaction

Former Member
0 Likes
542

Hi,

How would you identify if script or form would work with a transaction. I am currently working with sub contracting challan. I assigned my custom driver program and form name in NACE. When i execute the transaction J1IF01 , i am able to view my form layout but the values are not getting populated. When i checked in debugging mode in driver program NAST entries are not filled.

But if i change the driver program to J_1I57FPN and use script - J_1I_57F4 instead of smartform , transaction entries are correctly flowing.

Can some one help me to identify if this is just a problem with output type configuration or if script is to be used ?

Thanks

3 REPLIES 3
Read only

Former Member
0 Likes
517

You need to search for a Table in which the Forms for different document types are declared....this you would get by searching for all the select statements in the Driver/Main program....

SAP Normally controls the form selection by this way in CIN

Read only

Former Member
0 Likes
517

Hi,

You can also check in TNAPR table along with nast and nace.

Thanks.

Smita

Read only

Former Member
0 Likes
517

What you can do is find out what is used with standard transaction smartform or sapscript.

Go to se93 enter the transaction code and find out the name of the program.

Now go to se11, open table TNAPR, put program name in pgnam field and you get the form name in fonam.

Regards,

Lalit Mohan Gupta.