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: 

smartforms urgent

Former Member
0 Kudos

hello experts,

i designed a smartform now i have to desing a logic to retrieve the data into it. I want to do it witht the use of userexit concept in an include how to do it and there is one custom transaction when v execute it v r already getting a form

now i have to add this include at that point so that when v execute that transaction i have to get the output with these two forms

how to proceed for it

please guide me i am very much confused with this userexit concept how to find it and how to add the logic in it and how to assing the print program

thanks in advanse

6 REPLIES 6

Former Member
0 Kudos

Naveen,

First thing that you need to do is to locate the place where the other SMART Form us being called in your Custom transaction. This you can do by going into that program and searching for CALL FUNCTION or search for the function which is used to get the name of the function of the SMART Form (SSFFUNCTIONNAME).

Once that is done, right after that SMART Form, you can collect the data required as input parameters for your Form and call your Form by passing the parameters.

Hope this clears your issue. Let me know if you more queries.

Regards,

Ravi

Note : Please mark the helpful answers

0 Kudos

Ravi

thanks alot for ur suggestion

but in that program i am finding only all the includes, there are nearly 30 includes r there how to locate exactly where that previous smartform being called

i find the other include where the logic for the smartform is writtem this include contains the userexits required but i am unable to find this include in the transaction program

how find the correct place where this smartfomr being called

thanks alot Ravi once again

0 Kudos

Naveen,

Don't use Ctrl+F to find.

Open the Main program of the transaction in SE38.

There will be FIND button on the TOP toolbar, right. Click on that which will give you a pop up screen. Enter the search criteria and Choose the radio button <b>FIND IN THE MAIN PROGRAM</b>. What this will do is to go and search for the string in all the includes used by the transaction.

I am sure you will hit on the place where its being called.

Regards,

Ravi

Note : Please mark the helpful answers

0 Kudos

Hi Naveen,

One way of adding a smartform and a driver program is using the NACE transaction.

Lets suppose: You are doing a smartform to print an invoice.

Goto NACE transaction -> select V3 billing -> Output types -> Select your output type ( ex: ZRDV) -> Processing routines -> and give your driver program and smart form.

If you run your transaction, with the output type you assigned the both smartform and driver program, you will get the layout.

So we cannot say that the smartform has been called from your driver program. It can be added to the driver program in the above way also.

Thanks,

Sreekanth

0 Kudos

Sreekanth,

Naveen is talking about a custom transaction, so where is the question of NACE coming into picture.

Regards,

Ravi

0 Kudos

srikanth,

ya i know that navigation but here point is i am using pscd module in erp 2005

i am working with the tax types

for this i donno the application type and corresponding ourput type

other wise i would have fallowed the same way

not only that i have to disply this form along with the existing smartform that means two forms at a time so i need to know the point where the first smartform is getting executed