Alternative smart form help
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
Regards
Hi Shanya,
How did you used INITIAL command in smartform,
It should be used as
IF V_KWERT<b> IS</b> INITIAL.
Regards,
Atish
Similar Messages
-
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. -
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 -
Hi all,
I am unable to print the customer one after one.Can any one help me in this.
regards,
LisaMaybe, look first the SP01.
but, have a look to the structure OUTPUT_OPTIONS, there are fields :
TDNEWID New spool ID,
TDIMMED Print immediatly
TDDELETE Delete spool after printing
TDFINAL Close the spool.
Did you use a SAP program to call your smartforms ? if yes, maybe look the parameter sent to the printer in the transaction that call the invoice print. (Because SAP manage well the OUTPUT_OPTIONS structure).
Fred -
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) -
Logical Expression for alternative in smart forms
Hi gurus ,
i want to add logical expression in alternative of smart forms
my condtion is like as below
if ( ekko-bstyp = 'F' and ( ekko-bsart = 'zc9d' or ekko-bsart = 'zc91' or ekko-bsart = 'zc9u' ) )
if i use the or button it is taking as ekko-bstyp = f or any of the other conditons actually it should be
bstyp = f and any one of the condtions
when i tried to write condition it is not showing syntax chekc but it is giving dump
how to write the expression
regards
afzalHi ,
In the alternative node conditions use like this
IF ( WA_EKKO-BSTYP EQ 'F'
AND WA_EKKO-BSART EQ 'ZSTO'
OR WA_EKKO-BSART EQ 'ZIMP'
OR WA_EKKO-BSART EQ 'ZSER'
OR WA_EKKO-BSART EQ ' ' ).
For this in the alternative node conditions
WA_EKKO-BSTYP = 'F'
WA_EKKO-BSART = 'ZSTO'
OR (By clicking the insert OR in the icons in the top )
WA_EKKO-BSART EQ 'ZIMP'
OR
WA_EKKO-BSART EQ 'ZSER'
OR
WA_EKKO-BSART EQ ' '
Let me know if any concerns.......
Regards,
Lokesh . -
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.... -
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. -
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 -
HOW TO DISPLAY ALTERNATIVE PAGE NO IN SCRIPT AND SMART FORM
HI, I HAVE TEN PAGES IN SCRIPT AND FORM, I HAVE TO DISPLAY PAGE-NO IN FIRST PAGE AND 2 PAGE NO NEED TO DISPLAY AGAIN 3RD PAGE HAVE TO DISPLAY. HOW TO DO THIS
hi......
In Smart forms u have use "ALTERNATIVE" option for printing alternative page numbers.
In Sapscript use coding to solve this problem,
if ( &page& mod 2 ) = 0
&page&
endif
Regards,
ARUN. -
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.
regardsHi,
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
Maybe you are looking for
-
How do I change the log in email ID on my I phone. I have done so on my account but can not do so on my I phone and it wont let me log in
-
The back button doesn't work on some pages
I go to bookmarks and navigate to a page, when I use a link on that page to go to another part the back button on the tool bar does not become active to I can go back. This seems to be happening on all web sites.
-
Hi All When the Idoc is sent from ECC to XI after checking the message in the SXMB_MONI I get an error saying: <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code> What is this error and how should I go about resolving it?
-
Cannot use kernel newer than 2.6.16-ARCH
I just got myself a new laptop (Toshiba U205-S5002) and was excited as hell to get Arch installed on it. The install went well.. until I did a pacman -Syu.. my system would freeze upon reboot and the fans would turn on full blast. I did a reinstall a
-
Allowed lenght for e-mail addresses
Hello, in transaction VV12 I have condition records "Sales Organization/customer" for an output message to be sent via e-mail. The transmission medium is "7 - Simple Mail". I double click on the field "Partner" (PARNR) to enter manually the e-mail ad