2015 Jul 10 8:04 PM
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.
2015 Jul 11 5:22 AM
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...
2015 Jul 11 5:50 AM
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
2015 Jul 11 6:05 AM
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
2015 Jul 11 11:56 AM
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
2015 Jul 11 12:50 PM
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
2015 Jul 11 1:31 PM
Hi Nav
THanks for your help...
yes i have check global data and import and export parameters...in smartforms i am using smart froms.
2015 Jul 13 4:55 AM
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
2015 Jul 13 5:26 AM
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.
2015 Jul 13 5:42 AM
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
2015 Jul 11 1:29 PM
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
2015 Jul 11 2:46 PM
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...
2015 Jul 13 5:26 AM
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.
2015 Jul 13 5:38 AM
you need to click on the + symbol and add ur value field &GS_J_IACAE-CAE_DUEDATE&..
then the value will be populated..
2015 Jul 13 7:29 AM
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