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

Issue with smartform output type

Former Member
0 Likes
3,372

Hi Experts

I have done some changes in smartform and when i am trying to test in vf03.. i select issue output type and click on print preview ...and nothing is happening...is the output type is not configured or any issue with smartfrom.

Can anybody help pls

Thanks a lot.

Hi Experts

I have done some changes in smartform and when i am trying to test in vf03.. i select issue output type and click on print preview ...and nothing is happening...is the output type is not configured or any issue with smartfrom.

Can anybody help pls

Thanks a lot.

14 REPLIES 14
Read only

suresh_kutam
Participant
0 Likes
3,154

What are your changes ? Are there related some currency or amount ?

Are they added in your new changes ?

goto TNAPR table - pass ur form name in FONAM field - see if u have any entries over there.

If there are no entries pass the same form name in FONAM2 .....FONAM5...

If there are no entries - which mean your output type is not configured...

Need to assign to a output type in NACE...

Read only

hitesh_gabani
Participant
0 Likes
3,154

Hello Asha,

I think your smart form is corrupted.

while making changes in smart form first take the backup because in some cases of changes it corrupted.

So, that why smart form is not showing.

Regards,

Hitesh

Read only

0 Likes
3,154

Hi Asha,

Check your smartform and the driver program ,may be due to some changes you made in the smartform and not  in the driver program so that too can cause an issue.So elaborate your problem exactly what changes you made and so on then only it would be better for us to help you.

Regards

Nav

Read only

0 Likes
3,154

Hi Navaratan

My changes contains... earlier to print the bar code we were fetching data from J_1APACD. table now i have to fetch data from j_1ACAE table...i am using FM  J_1A_SD_BARCODE_CREATION for barcode creation.. i have made only change in this query

Kindly let me know if now the requirement is clear.

Regards

Asha

Read only

0 Likes
3,154

Hi Asha,

Have you checked the global data and import and export parameters in the smartforms.Are you using codes in the driver program or smartforms as well.Check these then let me know.

Regards

Nav

Read only

0 Likes
3,154

Hi Nav

THanks for your help...

yes i have check global data and import and export parameters...in smartforms i am using smart froms.

Read only

0 Likes
3,154

Hi Asha,

Now check the codes you have written something wrong with codes just debug it and you can get the idea where the problem is?

Regards

Nav

Read only

0 Likes
3,154

Hi

Thanks for your support.

Now i could see the invoice, reason behind it i forgot to pass print parameters to FM. Now i am facing one more issue ... i am passing a value to a field for that i have created structure and i have defined same in global definitions but when i execute   VF03... i am seeing fetch Vfo: &GS_J_IACAE-CAE_DUEDATE&.

Can anybody help here... did i miss something...this piece of code i am handling at form level not in driver program.

Read only

0 Likes
3,154

Hi Asha,

Have you defined all the input and output parameters in the codes you have written just check it and dont simply type the adress in the test field use plus sign  to add the address .

Regards

Nav

Read only

Former Member
0 Likes
3,154

Hi Asha,

Can you check the configuration of output type via VF02.

1.Put the billing document and click on Goto-->Billing item over analysis.

2.Now click Goto --> Header-->Output.

3.Make sure the output type assigned there is of Green status and medium chosen there is Print output.

4.If Red means click on the error Further Data and check for errors.

Make sure you are chossing the right output type in VF03.

Also make sure you have captured the right generated function module in-case hard coded in the program.

Hope it helps.

Regards,

Kannan

Read only

0 Likes
3,154

Asha,

First check its causing due to ur piece of code by undoing ur changes.if it works then check ur piece of code by writing the same in test program.if u get the same after undoing ur changes then it may b due to config as suggested or technically due to some overflow will c...

Read only

0 Likes
3,154

Hi All

Thanks for your support.

Now i could see the invoice, reason behind it i forgot to pass print parameters to FM. Now i am facing one more issue ... i am passing a value to a field for that i have created structure and i have defined same in global definitions but when i execute   VF03... i am seeing fetch Vfo: &GS_J_IACAE-CAE_DUEDATE&.

Can anybody help here... did i miss something...this piece of code i am handling at form level not in driver program.

Read only

0 Likes
3,153

you need to click on the + symbol and add ur value field &GS_J_IACAE-CAE_DUEDATE&..

then the value will be populated..

Read only

0 Likes
3,153

Hi Asha,

pass your structure like below when you calling your smartform function module.

CALL FUNCTION L_FM_NAME

      EXPORTING

        GS_J_IACAE                            =  GS_J_IACAE


      EXCEPTIONS

        FORMATTING_ERROR   = 1

        INTERNAL_ERROR        = 2

        SEND_ERROR               = 3

        USER_CANCELED         = 4

        OTHERS                         = 5.

Regards,

Hitesh