Query in Smartforms!!!!
Hi all,
Can anyone please tell me how to get the URL of a Smart Form.
Kindly reply immediately as this is bit urgent.
Regards,
Vijay
hi
good
Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
thanks
mrutyun^
Similar Messages
-
Query reagarding Smartform....its urgent
Hi Everybody,
GoodMorning,
Here is my query on smartform issue.
My net amount exceeding more than one page and i want the total of all the net amount to be dispaly at the end of the last page,but in the last page it is displaying only the total of last page net amount values.
If my net amount values is not exceeding more than one page than it is coming perfectly.
Plz help me how can i dispaly the total of all the net amount values at the end of last page if my net amount values is exceeding more than one page.
Thanks a lot
mrutyun^hi,
Please put a breakpoint in the SmartForm Program lines which are printing these values:
break : <username>.
As I see it, it is some issue with the way the internal table is being handled.
It is always giving total of the current page.
Do post your findings from Debugging
Rgd
Vivek
- Reward points if helps. -
hi everyone,
iam new to smartforms and have a query regarding select st in smartforms,
i have created a table in the main window, in that i have 7 cols,in which the 5th and 6th cols are Quantity(VBRP-FKIMG) and Condition Value (KONV-KWERT) respectively.Now i want the product of these 5th and 6th cols and want the result to be displayed in 7th col. How can i do this and where i have to write the code?
if i want more than 1 row then how can i use the loop for this.
i have written the code to display the 1st 6 cols in the program lines of main window,,,but iam unable to write the code for the product of FKIMG and KWERT.
Plz help me if anyone knows the answer,,its urgent
<b>Points will be rewarded</b>,
u can also mail the answer to this id [email protected]
thnx in adv
ZiaHi,
you can calculate the your 7th column in the program lines.
After creating a table right click > create>program lines.
in this you need to pass the 5th , 6th and 7th column as input parameters and 7th column in the out put parameters.
make the calculation in the program lines as necessary.
Now in the Main area display the 7th coulmn value which is calculated in the program lines.
Another alternative is before the table . create a program lines.
modify the internal table accordingly and then call the table with the modified internal table.
For eg:
Program lines -- zprog
input paramers : itab and output parameters : itab.
loop at itab.
it_tab-colum 7 = it_tab-column 6 * it_tab - column 6.
modify it_tab.
endloop.
In the table under data table pass your modified internal table with workarea.
in the 7th column give &it_tab-column7&. that's it.
Br,
Laxmi -
Bezei select query in smartform
Hi all ,
i need to pick bezei from v_tonc and the logic given is like this
"Access table LIKP with VBELN and get INCO1 then
access table v_TINC with LIKP-INCO1 and get BEZEI"
and wrote the query
if wa_likp-inco1 is not initial.
select single bezei from v_tinc into wa_v_tinc
where inco1 = wa_likp-inco1.
its throughing error as Global Definitions : Field " BEZEI" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement . . . . . . . . . .
I defined it but still....................
please answerHi,
i guess the select single query is wrong:
it suppose to be either of the below 2:
1st Method:
data : wa_v_tinc TYPE v_tinc.
*select single * from v_tinc into wa_v_tinc*
where inco1 = wa_likp-inco1.
OR
2nd Method:
data : gv_bezei TYPE v_tinc-bezei.
select single bezei from v_tinc into gv_bezei
where inco1 = wa_likp-inco1.
U should either get all the columns of V_TINC into a Work Area/Structure (wa_v_tinc) like 1st method or get the single column value (BEZEI) into gv_bezei (global variable) from V_TINC like 2nd method...
but its not possible to get a single column into a structure like:
data : wa_v_tinc TYPE v_tinc.
select *single * from v_tinc into wa_v_tinc*
where inco1 = wa_likp-inco1
Hope it helps!!
Rgds,
Pavan -
Hi Experts,
I have a requirement in which I am sending a mail through actions.In the action I have mentioned the smartform.The email sent should have voting buttons such as 'YES' and 'NO'.
If the reciever replies back to the email and selects 'YES' the subject line should get propagated with the string 'YES'.
Is this possible using smartforms?
Thanks and Regards
ShilpiHello Mr Grover,
I tried doing as said in that thread but I could not get it right .Could any one tell me where am i going wrong .
g_Control_parameters-NO_DIALOG = 'X'.
g_Control_parameters-PREVIEW = 'X'.
g_OUTPUT_OPTIONS-TDDEST = 'locl'.
*-- to suppress the print preview option .
CALL FUNCTION 'SSF_OPEN'
EXPORTING
OUTPUT_OPTIONS = G_output_options
CONTROL_PARAMETERS = g_control_parameters
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZHR_SCR_L03'
IMPORTING
FM_NAME = WF_FNAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
" MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
" WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION WF_FNAME
TABLES
INT_SALARY = INT_SALARY
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
" here the sy-subrc is coming as 2 WHY?
IF SY-SUBRC <> 0.
"* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
" * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-"MSGV4.
ENDIF.
CALL FUNCTION 'SSF_CLOSE'
IF SY-SUBRC <> 0.
"* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
"* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ELSE.
MESSAGE S082(Z1)."'No salary has been Changed during the selected period' TYPE 'S'.
ENDIF.
Thanks
Message was edited by:
Khaleel S.Mohammed -
Hi all,
Consider the output of a smartform. I want to connect a transaction after getting the output.
Ex: In the output if i press a text field, based on the value i should update a std.transaction.
How to do the above.Hi,
to get interactive, Adobe has to be used:
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/b7/64348655fb46149098d95bdca103d0/frameset.htm">SAP Interactive Forms by Adobe</a>
Regards,
Christian -
Hi
I need 2 copies of form to be printed when the program is executed. I have passed the value in the ouput_options-tdcopies. I get two copies in my output.
I have one condition that some content should be printed only in first copy and not in the second copy. Is there any field that i can use to find the current copy being printed. I have tried copycount but it is not working.
Please help me out in this regardHi
Check in the table <b>NAST</b>
the field <b>ANZAL</b> may be useful for your purpose.
Reward points if useful
Regards
Anji -
Hi
In RFQ smart forms ,
1. ph no and fax no of user is taken from user profile or HR master data ?
2. Both ph no and fax nos are joined i.e no space is coming (xxxxxxxxxxxxxxxx),but in user profile SU01D space is maintained.
3.
Following logic is used to obatin the tel number and fax number:
User ID of the user is xxxxxx
From table USR21, the personnel number xxxxx, and address number xxxx is obtained.
Using this the tel number is obatined from table ADR2 and fax number is obtained from ADR3. The program gets the long numbers which include the country code + number. The fields are adr2-telnr_long and adr3-faxnr_long.These fields are maintained incorrectly. the fields that appear in User master is adr2-tel_number and adr3-fax_number which is stored correctly without country code.
Once the user master is corrected, the values will be correctly populated in the RFQ output.
Could you please advice on this,where from ph and fax no picked usually and how to given space for ph and fax no i.e (xx x xxxx xxxx) we need to change in script for this ?
Many ThanksHello,
You seem to have the solution in your own question..
It is pulled from the user tables from the profile..
1. you can decide to pull the Variables from any field that suits you, and now for the space.. that is a part of the script logic. you should code that in to your script if you are using one. -
Hi,
I am new to ABAP HR.
I am designing a smartform. I want to populate the fields T513S-STLTX, T528T-PLSTX, T001P-BTEXT in the form. How do I write the select query for it in my driver program?Hi Anita,
You may declare these tables using
<b>Tables:</b> statement
Or you may declare your <b>Internal Table</b> and <b>WorkArea</b> using
<b>Data</b> statement
Data: it_tab type table of T513S, "Internal table
wa_tab like line of it_tab. "Workarea
Data: it_tab1 type table of T528T, "Internal table
wa_tab2 like line of it_tab. "Workarea
<i><b>OR</b></i>
If you are using logical database PNP or PNPCE then you may also use macros.
<i><b>OR</b></i>
You may write this select query within Smartform.
~Bhawanidutt. -
Hi,
I have Written below Query in SmartForms To get The address details...
SELECT SINGLE *
FROM ADRC
INTO V_ADRNR
WHERE ADDRNUMBER = WA_FINAL-ADRNR.
In Global Definitions i have declared it as V_ADRNR TYPE ADRC
Im Getting following warnings...
%Text10 : Field V_ADRNR-STREET has no defined value
%Text11 : Field V_ADRNR-STR_SUPPL3 has no defined value
%Text12 : Field V_ADRNR-LOCATION has no defined value
How to Resolve this ?
Can Anybody help me on thisYa its works fine...
Because Of Warnings im not able to transport it to 832 Client...
It is giving Error While Transporting...
Not able to Release the Request...
there should not be any Warnings while transporting....
Thanks & Regards
Smitha -
Change Smartform Language Dynamically
Hello Guys,
I got a requirement to display the Smartform text in Russian language from English with the user Login to SAP. I know the way to change the static text with TCode SE63. It also changes the text with user login but what about dynamic text, which we get with our select query in smartform.
For example: Employee description from KNA1. All the list should automatically changed to the Logged in user language, in my case Russian.
I have searched on SDN and found only for the static text maintained via Text module or Text element can be converted. Is there any way around, we can achieve this functionality dynamically.
Regards,
ChandanHi,
Check if you have in ADRC the russian info for the Customer .
To get the data you will need kna1-adrnr .
This is how it is done here .
And finally a tip: In the future try to put all your data extraction in the calling program .
Also note the use of parameter CONTROL_PARAMETERS field LANGU .
Regards. -
Hi Friends,
Hope doing great,
Here is my query on Smartform.
I am trying to print both japanese and english character in smartform output.
Plz help me on this if anybody face same kind problem.
Thaks In Advance
Mrutyun^Hi,
Create the Standard text with the Charecters you need to print in japanese and put the Launguage as Japanies, and create another standard text for english and put the launguage as English and write the Include statment in the Smartform
Regards
Sudheer -
How to display pie chart in smart forms
hii experts,
my requirement is to display pi chart in smart forms . i have googled but could not get any meaning full results. If any one knows this pls share ..
Thanks and Regards
Aditya ShrivastavaHi
I really doubt If you did search at all in the first place. Anyhow, check this:
https://www.sdn.sap.com/irj/scn/advancedsearch?query=piechartin+smartforms&cat=sdn_all
Vishwa. -
Hi,
Can any one tell me, how do i debug Adobe Forms ?
Thanks,
ChandraAs like we do for Smartforms.
And for smartform debugging you may see this search results.
https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=howtodebug+smartforms&adv=false&sortby=cm_rnd_rankvalue -
A query regarding setting default parameters like locl in a smartform.
Hello Everybody,
My query is when I execute a program having a smartform , I need to type locl and then the print preview , now my requirement is when ever i execute a program that has a smartform , program should automatically take the printer as 'locl' and should go to print preview without me having to select the print button. How is that possible .
Thanks
KhaleelHello Mr Grover,
I tried doing as said in that thread but I could not get it right .Could any one tell me where am i going wrong .
g_Control_parameters-NO_DIALOG = 'X'.
g_Control_parameters-PREVIEW = 'X'.
g_OUTPUT_OPTIONS-TDDEST = 'locl'.
*-- to suppress the print preview option .
CALL FUNCTION 'SSF_OPEN'
EXPORTING
OUTPUT_OPTIONS = G_output_options
CONTROL_PARAMETERS = g_control_parameters
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZHR_SCR_L03'
IMPORTING
FM_NAME = WF_FNAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
" MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
" WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION WF_FNAME
TABLES
INT_SALARY = INT_SALARY
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
" here the sy-subrc is coming as 2 WHY?
IF SY-SUBRC <> 0.
"* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
" * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-"MSGV4.
ENDIF.
CALL FUNCTION 'SSF_CLOSE'
IF SY-SUBRC <> 0.
"* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
"* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ELSE.
MESSAGE S082(Z1)."'No salary has been Changed during the selected period' TYPE 'S'.
ENDIF.
Thanks
Message was edited by:
Khaleel S.Mohammed
Maybe you are looking for
-
Please help! I need to upgrade my Mac from 10.4.11 to Leopard.
It's a PowerPC G4. Can I upgrade to 10.5.6 or do I need to upgrade to 10.5 first? Thanks in advance for your assistance.
-
A print-out of Purchase History
Hi, I have 27 "pages" of Purchase history in my iTunes account, Is there any way I can print that out? I obviously don't want 27 pages (which are small) but a list of "full pages" regards
-
hi , i have designed a layout and did a coding in driver program,but problem is when i fetch docno which contins line items of 68 . in page 1: Item Pk Account Account Short Text Assignment Amount Rs. Cost Center Line Item Text 001 40
-
What is the JDEV RAD way to do JSP ?
Hello, As I see it there are some basics to doing web/jsp app's... How does jdeveloper save you typing in doing the following tasks? What jdeveloper tools/functions to I use to accomplish the following with minimal typing? 1) create/manager the sessi
-
Load Report Failed - Server Only
Hello, I have an asp.net C# application hosted on an Amazon EC2 server. I am trying to select a report using: ReportDocument rep; protected void Page_Load(object sender, EventArgs e) string reportPath = Server.MapPath((string)Utils.Ge