cancel
Showing results for 
Search instead for 
Did you mean: 

Reg. Output in smartform

Former Member
0 Kudos
51

Dear Experts

Can anyone give example for " Input throgh script and output in smartform ". Pls help urgently.

Thanks

Rajakumar.K

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

use the f.m FB_MIGRATE_FORMNAME

Former Member
0 Kudos

Hi Raja Kumar,

Create the script as per your requirement and than migrate the script into smartform.

Search forum regarding migration of script to smartform you will find lots of information.

Regards,

Sravanthi

Former Member
0 Kudos

Dear Experts

The below is my script,the output should come in smartform.

Pls help,

Report ZPR.

TABLES:mara,makt.

DATA:BEGIN OF pr OCCURS 0,

matnr LIKE mara-matnr,

ersda LIKE mara-ersda,

ernam LIKE mara-ernam,

laeda LIKE mara-laeda,

aenam LIKE mara-aenam,

lvorm LIKE mara-lvorm,

END OF pr.

DATA:pr1 LIKE pr OCCURS 0 WITH HEADER LINE.

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.

SELECT-OPTIONS:mat FOR mara-matnr.

SELECTION-SCREEN END OF BLOCK b1.

SELECT maramatnr maraersda maraernam maralaeda mara~aenam

mara~lvorm INTO TABLE pr1 FROM mara

WHERE mara~matnr IN mat.

write :/'Material',

'Material Desc'.

LOOP AT pr1.

WRITE:/ pr1-matnr,

pr1-ersda,

pr1-ernam,

pr1-laeda,

pr1-aenam,

pr1-lvorm.

ENDLOOP.

Thanks

Rajakumar.K

Former Member
0 Kudos

Hi You can do this..

goto se38 and run the program sf_migrate..

input the name of the script, original language, and check the source client as current client and execute.

it will build a smarform version of your script with a 'SF' at the end. That is if your script

http://help.sap.com/saphelp_crm50/helpdata/en/9d/9599386185c064e10000009b38f8cf/content.htm