Help in smart forms
Hallow I new in smart form .i build a report program in abap and in my program I have to call to smart form .
In my program I select score of student in some course in If the student passed the course I have to send him page with his name (that I have in the program) and more data that I have in my program and if the student pass the course I send page 1
And if he didn't pass I send other page .
My problem is how I call to the smart from from my program and if I have to build 2 different smart forms .
SELECT objid_e objid_p objid_va objid_r objid_p objid_vc istat_p score weighting begda_e endda_e
FROM yhr_score_page
INTO (wa_score_tab-objid_e , wa_score_tab-objid_p , wa_score_tab-objid_va ,wa_score_tab-objid_r,
wa_score_tab-objid_p, wa_score_tab-objid_vc,wa_score_tab-istat_p,wa_score_tab-score,
wa_score_tab-weighting ,wa_score_tab-begda_e ,wa_score_tab-endda_e)
WHERE objid_e IN c_course
AND objid_p = pernr.
IF sy-subrc = 0.
APPEND wa_score_tab TO score_tab.
CLEAR wa_score_tab.
ENDIF.
ENDSELECT.
LOOP AT score_tab INTO wa_score_tab.
SELECT SINGLE ename orgeh werks
FROM pa0001
INTO (wa_score_tab-ename , wa_score_tab-orgeh , wa_score_tab-werks)
WHERE pernr = wa_score_tab-objid_p.
IF sy-subrc = 0.
MODIFY score_tab FROM wa_score_tab TRANSPORTING ename orgeh werks.
CLEAR wa_score_tab.
ENDIF.
ENDLOOP.
Yhr_score_page is table that I take all the data for the student and score tab is my internal table with the data .
I wont to now how I move ename to the smart form
I now that I have lot of question but I lost.
regards
Hi,
When you create the smartforms..
In the GLOBAL SETTINGS -> FORM INTERFACE.
you can give the internal table name in the TABLES PARAMETER..
After activating the form..It will generate a function module...
Press f8 in the smartforms after activating..you will get the function module name..
Use the function module name to call from your print program..
CALL FUNCTION 'xxxxx'
EXPORTING
TABLES
ITAB = ITAB_DATA[].
It is just like a function module call..
THanks,
Naren
Similar Messages
-
Hi,
I dont know how to create the smartforms. Could anyone help me out in creating smartforms and i want a step by step procedure of creating a complete smart form.
thanks,
Shiva shekar kHi,
These are the following links.
for 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,
Sankar M -
Hi Folks,
Can anybody give me pdf links for smartforms
Thanks in advance
Ravihi,
Check these.
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
Check these step-by-step links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
https://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/8fd773b3-0301-0010-eabe-82149bcc292e
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985
for 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
Kishi. -
i am hard coding a text in smart from
what i want is the test should be displayed in the log in language
for ex: am harding in english (EN ) then in german login that text should come in german(DE)HI,
If you hardcode the Text then you can not get it in other launguages, better to create a Standard text and call the Standard text using READ_TEXT with the specific launguage
Regards
Sudheer -
Hai everybody,
My probs is, ineed to sum all packed variables in each page and should display in that page as total(this total belongs to current page) and when i go to second page prev total should display on top of my second page and this time this sum get calculated along with current page total... likewise upto the end of my smartform page.if anyone knows,plz send some sample code....
Thanks in advanceGlad I could be of help, (as I have absolutely no idea what SMARTFORMS is all about... I am just beginning to learn).
Regards,
Subramanian V. -
HELP-i want to print price details in SMART FORMS
Hi friends ,
I want to print price details of sales order in every page of my smart forms .
eg:item_total :
gross_total:
net_total :
is there is any function module to help this?
all your answers are appreciatable.
regards,
shan
(Started learning SAP..)
Message was edited by: Shanhi,
after a long search i learned a function module called RV_PRICE_PRINT_ITEM can used to print the price details ,but i dnt know how to use that function module.
so i request anybody to help in this issue.
regards,
shan -
HELP-i want to print price details in SMART FORMS-urgent
hi friends,
I want to print price details of sales order in every page of my <b>smart forms</b> using FM <b>RV_PRICE_PRINT_ITEM</b> .
Can anyone help me how to use that function and how to pass value to the parameter
all your answers are appreciatable .
thanks in advance
shan
Message was edited by: Shanhi santhosh ,
this is how my program look ,but i dnt know how values can be pass to this internal table as the table TKOMV and
TKOMVD in FM are of structure type .
DATA: IT_KOMV LIKE TABLE OF KOMV,
WA_KOMV LIKE LINE OF IT_KOMV.
DATA: IT_KOMVD LIKE TABLE OF KOMVD,
WA_KOMVD LIKE LINE OF IT_KOMVD.
select *
into table IT_KOMVD
from komvd up to 10 rows.
CALL FUNCTION 'RV_PRICE_PRINT_ITEM'
EXPORTING
COMM_HEAD_I = WA_KOMV
COMM_ITEM_I = WA_KOMVD
LANGUAGE = ' '
IMPORTING
COMM_HEAD_E =
COMM_ITEM_E =
TABLES
TKOMV = IT_KOMV
TKOMVD = IT_KOMVD .
LOOP AT IT_KOMV INTO WA_KOMV.
WRITE: / 'TAX' , WA_KOMV-TXJLV.
"WRITE: / WA_KOMV-matnr.
ENDLOOP.
LOOP AT IT_KOMVD INTO WA_KOMVD.
WRITE: / 'DISCOUNT' , WA_KOMVD-NRMNG.
WRITE: / 'KNTYP', WA_KOMVD-KNTYP.
ENDLOOP.
pls help in this issue.
thanks ,
shan(SAP beginner) -
In my smart form why main's content din't display in print preview?Plz help
In my smart form why main's content din't display in print preview?Plz help me.
Regards
Indu
Moderator message: too vague, help not possible, please describe problems in all technical detail when posting again.
Edited by: Thomas Zloch on Jan 5, 2011 3:27 PMmake sure u've specified da style in output options of text element as
TIMES 10 in style field and select da desired paragraph and charcter format in general attributes tab of da text element.activaTE AND CHECK.
if problem still persists u can ask again.
reward points if it helps. -
Hello,
I have three windows which holds some standard text to be placed as footer on a smart form.
I mean these three windows should be seen on the last page on the smart form output.
Form may contains multiple pages.
How do i achieve this.
any ideas would be appreciated..
Thanks
Sampras.Hi,
Let me Re-phrase your question.
You are placing the Three Windows ("footer") outside the Main Window and Need that they be displayed at the end of the Main Window or on the Last Page.
Please follow this
After creating the Three Windows, go to the conditions tab for each and check "Only After End of Main Window"
I Hope this Helps.
Rgds,
Santosh. -
Help required: Bill of lading smart form
Dear All,
My requirement is to display the following fields for bill of lading
1. Number of packages
2. Package type
3. SKU
4. Description of articles
5. Qty per package
6. Total Quantity
7. UoI
The print program iam considering is RVADTR01.
Does the table XVBPLS serve my purpose?
Thanks.hi
chk the links below .. should help u out..
http://www.sap-img.com/smartforms/search-for-standard-or-customise-smartform.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
http://www.sap-img.com/smartforms/internal-table-in-smartform.htm
http://www.sap-img.com/smartforms/smart-001.htm
Reward if Useful
Thanx & Regards
Naren.... -
HELLO FRIENDS - I M TRYING TO MAKE SMARTFORM FOR FIRST TIME BUT I AM NOT ABLE TO DEVELOP THEM , PLS HELP ME OUT WITH SOME SIMPLE PROCEDURE
Hi,
1. Go to transaction Smartforms
2. Enter a name against form zzz_form.Click create.
3. Create a text element by right clicking the main window.In the right hand side window,write
'Heelo Smartform'.
4.Click activate button(ctrl +f3).Then execute it by pressing f8.Then you will get a function module.Then press f8.Then again f8 will give you the output.
This is the small example.You will do good programming if you started observing sf_example_01 and sf_example_02 standard smartforms.
These links will help you.
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
Kindly reward points by clicking the star on the left of reply,if it helps. -
Need Urgent help to control extra page (Last page) display in Smart forms
Dear all,
I have supplier data in Header and corresponding line item data in another internal table.
I am passing both to my smart form. I am using loop in Main Window with both the internal tables linked with GUID field.
I am having 2 problems with smart form output.
1. One more extra page is displaying at the end (With header and footer but without data).
2. when Data in a particular page exceeds, Next page is not having Header and Footer..Only data is displaying without Header and Footer.
Can any one help ...
Regards,
SriniDear all,
I have supplier data in Header and corresponding line item data in another internal table.
I am passing both to my smart form. I am using loop in Main Window with both the internal tables linked with GUID field.
I am having 2 problems with smart form output.
1. One more extra page is displaying at the end (With header and footer but without data).
2. when Data in a particular page exceeds, Next page is not having Header and Footer..Only data is displaying without Header and Footer.
Can any one help ...
Regards,
Srini -
Dear Friends ,
For PO develelpment in smart form as per client requirement which are the details we need to give for developers . I had given only table and fiels name for the displaying elements in PO , message type , document type . They are asking conditions also , is it this the job of functional consultant ? .
If any one having sample FS for PO plaese send . Other than EKKO , EKPO which are the table are there for PO related...?
RBhi,
find all tables in MM-PUR (Purchasing) :
EBAN - Purchase Requisition
EBKN - Purchase Requisition Account Assignment
EBUB - Index for Stock Transport Requisitions for Materi
EINA - Purchasing Info Record: General Data
EINE - Purchasing Info Record: Purchasing Organization D
EIPA - Order Price History: Info Record
EKAB - Release Documentation
EKAN - Vendor Address: Purchasing Document
EKBE - History per Purchasing Document
EKBEH - Removed PO History Records
EKBZ - History per Purchasing Document: Delivery Costs
EKBZH - History per Purchasing Document: Delivery Costs
EKEH - Scheduling Agreement Release Documentation
EKEK - Header Data for Scheduling Agreement Releases
EKES - Vendor Confirmations
EKET - Scheduling Agreement Schedule Lines
EKETH - Scheduling Agreement Schedules: History Tables
EKKI - Purchasing Condition Index
EKKN - Account Assignment in Purchasing Document
EKKO - Purchasing Document Header
EKPA - Partner Roles in Purchasing
EKPB - "Material Provided" Item in Purchasing Document
EKPO - Purchasing Document Item
EKPV - Shipping-Specific Data on Stock Tfr. for Purch. D
EKRS - ERS Procedure: Goods (Merchandise) Movements to b
EKUB - Index for Stock Transport Orders for Material
EORD - Purchasing Source List
EQUK - Quota File: Header
EQUP - Quota File: Item
T024 - Purchasing Groups
T024E - Purchasing Organizations
T024W - Valid Purchasing Organizations for Plant
T024Z - Purchasing Organizations
T027A - Shipping Instructions, Purchasing -
i try to do altrnative in smart form and its not working
what i wont to do is if field V_KWERT = 0 display field y1
else display field V_KWERT
in condtion of altrnative i put V_KWERT = INITIAL.
what i have to change?
the fields is global
RegardsHi Shanya,
How did you used INITIAL command in smartform,
It should be used as
IF V_KWERT<b> IS</b> INITIAL.
Regards,
Atish -
Problem with Smart Form ('RLE_DELNOTE')--Please Help
Hello,
I am facing a problem in the smart form.
So far I am printing certificates (QM module) for the finished goods. i.e. first level batches. Now I should incorporate down level batches info also. i.e. semi finished goods info (second, third... level batches). I am not aware of how to find out the semi finished goods info of a finished good. Each finished good may have one or two levels of semi finished goods....The print program i am using is 'RLE_DELNOTE'.
Can any body suggest me what i have to do?
I have tried with FM 'CHVW_BATCH_WHERE_USED_LIST'. But is of no use.....please tell me...
Best Regards,
ShekharTo check to see if you have an OpenGL problem:
In Photoshop choose Edit - Preferences - Performance.
Is [ ] Use OpenGL Drawing checked?
If so, uncheck it.
Close and restart Photoshop.
Does the problem persist?
If so, you probably can correct it with a video driver update.
Don't forget to go back and re-enable Use OpenGL Drawing.
To update your video driver:
Right-click on your desktop and choose Screen Resolution.
In the dialog that comes up, choose Advanced settings.
Click the Adapter tab, if it isn't already current.
What Adapter Type is listed? Note the brand and model.
If it is an ATI model, visit this web site:
http://support.amd.com/us/Pages/AMDSupportHub.aspx
If it is a nVidia model, visit this web site:
http://www.nvidia.com/Download/index.aspx?lang=en-us
Follow the instructions to choose the proper card and operating system.
Download and install the latest drivers for your hardware.
-Noel
Maybe you are looking for
-
Difference B/W creation of STO via ME21N and ME27
Dear all, The requirement is to create a STO via transaction ME21N. I am doing so using BDC Recording. But I believe that BDCs can not be used for creation of Application Documnets using Enjoy transactions. For the same reason I tried to create the S
-
How to use GUI_DOWNLOAD inside BSP Application event
Hi All, I am facing one issue while using GUI_DOWNLOAD inside BSP Application. When the processing goes at GUI_DOWNLOAD it gives me unknown error where as the same code is working when used in report program. My requirement is to save password into e
-
EXPLAIN PLAN with pluggable mapping
Dear Folks, I have a mapping with a pluggable mapping included. When I try to get the EXPLAIN PLAN TREE I receive an error: 'ORA-00904: "FULLPACKAGENAME"."CONSTANT_0_SITUATION_1":invalid identifier'. The EXPLAIN PLAN REPORT says in the first line: Er
-
Dynamic datatable and command link
I'm having a problem creating CommandLink's automatically. What we have is a tag, which can contain a set of data. We need this on several locations, so we have to create a datatable dynamically. When you press a link, it should be possible to retrie
-
Mail rule switches off / stops working repeatedly
Hi, I have a simple rule set to move messages with a certain subject directly to the trash folder. After setting it up, it processes as expected but after a while it un-sets the trash folder back to "Choose folder". So it doesn't send the mails to th