cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms layout

Former Member
0 Kudos

i developed smartform from scrap.the layout is desinged for the purchase order.

can i use the standard program SAPMF06P for that smartform.

suppose if i want to retrieve data for the filkeds material type...should i write the coding in the print program or can i write it in "INITIALIZATION"in my smartform.

when should i customize the print program?

Edited by: Alvaro Tejada Galindo on Apr 21, 2008 3:33 PM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

For Your First Quetion

can i use the standard program SAPMF06P for that smartform?

Yes u can use.

For that Go to NACE>Select Application EF>Output Types>Selct NEU>Double Click On processing routines-->Give Your smartform Name there.

For your 2nd Question.

You can write the perform in Initialization part and form for the perform routine in Form Routines.

When it is not possible to make the modification in smartfrom then only u should change print program.

Regards

Sandipan

mahaboob_pathan
Contributor
0 Kudos

hi,

if you want to attach your smartform layout to the standard report then u need to do changes in nace transaction,this part will be done by yolur functional consultant.important here is where the data which u need is getting from standard program or not.if it is same and u need only few changes then u can write that code in smartform layout it self in initialisation part or by using program lines as per the requirement.

if entire format is different then in that function module find the user exit and write u r code in that and activate the user exit.

radhushankar
Participant
0 Kudos

If u have already designed the smartform , and your driver program is calling your smartform means my advice would be better do the coding in ur smartforms buy the way of including program lines as per the requirement.

It is easy to set brak point and check as well u will not get confused wer u have commited the error.

Thanks and Regards

Arun joseph

Sm1tje
Active Contributor
0 Kudos

Your smartform will not be called automatically. You should ask your functional consultant how to customize this. Look at the standard smartform for the purchase order and make sure the interface of the smartform function module (smartform will internally be called as a function module) looks the same. If this is done, I don't really think you need to do anything else, except when you have defined additional fields in the smartform. For this you can do some additional coding. this can be done in the initialization, but you can also do this on 'window level''. When right clicking you can add coding as well.