How to cross a window in smartforms
How to cross a window in smartforms.
I guess it is not possible to draw crossed lines inside window, but you can upload an image with cross line and display it inside the window basing on condition... it will give a look and feel of what you want.
Close the thread if your question is answered.
Regards,
SaiRam
Similar Messages
-
How to create Dynamic Window in Smartforms
Hi all,
Could you please help me out on how to create Dynamic Window in smartforms excluding Main Window.
Thanks in Advance.
Vinay.hi,
Hi,
1.If you are creating the Different windows for the Countries,then In conditions tab of window specify the Condition i.e.
company -code = '2201'.
2.Then that window can trigger ofr that condition.
3.Other wise, if you are using the different layouts ,then write the condition in Print program and call that form .
reward me if helpful. -
How to hide a window in smartforms
Hi experts,
How to hide a window in smartforms depends on the conditions. The condition is the window how a hard coded values + fields. if the condition satisfies i want to display in form if its fails no need to display in the form... plz, its urgent.
Regards.
Gowrisankarhi,
inside the window, you can create a condition.
right click on the window, CREATE>FLOWLOGIC>ALTERNATIVE.
you can give your condition there
thx
pavan -
How to create dynamic window in smartform
<i>HI Floks</i>
my requirement is invoice smartform having few line items .i can print this line items with different categories with dynamically placed in smartfom. there how many items with in particular category print its self . how is it possible to printing .is it possible to print dynamic fields and window without changing driver program and structure .How to create dynamic window.
any body knows reply me fast
thanks in advance ,
sureshHi suresh,
You can create all the windows, but if you go to specific window you will see different tabs like general attributes, output options and conditions. In that conditions tab, you can give condition. so based on that condition, that window will be printed.
Dont forget to reward points if helpful.
regards,
Chandra. -
How to supress a window in smartform
how do we supress a window in a smartform when i reach a particular page.my sf has 2 pages defined.first and next.and my output has 12 pages of matter.when i reach a specified page number i dont want a window in my form to b displayed.one thing is that the page number from which i dont want a window is not fixed. it may b 3rd or 4th or any other.
hope to c the reply soon.Hi Yathish
If you want to supress a window put a condition in the condition tab of that particular window ,and the condition to supress for a particluar page no which is not static, write one program lines this way.
take a variable v_page.
depending upon your condition assing the value for this variable and put a condition on the supressing window as when this variable value is say 1 then dont print this window.
then this window will not be printed for that condition.
Hope this helps you solve your problem.
Kindly reward points if helpful.
Regards
Zarina -
How to rotate a window in Smartform
Hi Everybody,
Anyone can please tell me how to print in Smartform and SAPscript in window where the window is rotated. I heard about to use different Print Control for Vertical Writing in SAPscript though not clear. It you can suggest any solution, please let me know.
Thanks & Regards,
AjoyHi are u wondering about changing the page format from POTRAIT->LANDSCAPE in runtime environment.
Well use the following command: SLAND->Page orientation: Landscape
and SPORT->Page orientation: Portrait.
in Smartforms u can use the commands using the output control in Command Control , and in Sapscript u can do it by using the Function Module: CONTROL_FORM and use the command as the import statement.
Hope That Helps
Anirban M. -
How to create dynamic windows in smartforms
Hi All,
i am creating a smartform wherein i have to print different layout for different company codes,
like if the company code belongs to an Indian company then i need to display cost center window. so can you please guide me through the procedure to create windows dynamically.
thanks in advance
pooja.U can create different layouts for different company codes.
Declare a variable p_bukrs i.e. company code form interface.
Made u r window as condition like in the condition tab.
p_bukrs = '1000'.
Then it will call corresponding to the company code.
or
u can create different forms for different company code and u can differentiate in the driver program.
if p_bukrs = '1000'.
call function ssf .
if p_bukrs = '1500'.
call
endif.
with regards,
Kiran.G -
How to cpoy a window from one smartform to another smartform
Hi experts,
can u please help me .
how to copy one window from one smartform to another smartform..
Thanks
SaiHi,
we can copy the window from one smartform to other.
first select the window what you want to copy then go to utilities-> download subtree.
and save the xml file as local file.
Go to another smartform and select the page and upload the window by goto utilities->upload it will ask the file you have to give the name of the file what ever you saved earlier.
Then you got the success message as window <win> copied to clipboard.
then right click on the page choose paste. You will get the the window of another smartform.
Regards,
Jagadeesh. -
How print address in Single line in Address window in Smartform
Hi All,
How print address in Single line in Address window in Smartform?
Thanks in advance.
Message was edited by: Vipin NagpalHi Vipin,
if u r defining the variables for the address manually,
then u can define all the fileds in a single line in the edit mode of address window u will get the address in the single line only
if u r using the standard format
modify the address format by using the user exit:
"EXIT_SAPLSADR_001"
Check OSS Note : 454987
or in the least case u can use the address window setting to change the format and lines
May be this will help you.
Regards,
Naveen -
How to show a window at end of main window in smartforms
Hi guys,
I want my window in smartform to show only after end of showing the main window,,,
When i tick only after main window in condition tab of window, it shows on the uppermost portion of the output and not below the main window... Do I need to input the upper margin for this?
How am i going to do it?
Thanks a lot!Thanks guys,,,
But still not working...
Do I need to fill the upper margin of the final window?
Since the height of my main window is dynamic, Im not sure what to fill up on the upper margin... -
How to print Check Box in smartform
HI,
How to print check box in smartforms. I am using Include Sap Symbol but in the print it is coming as #. Do we need to do any setting like we do for barcode?
Thanks
Raghavendrahi,
u can print a check box in different ways.. by inserting symbols and making window as check box..
once go through the thread u will get to k now differnt ways
putting checkboxes in smartform?
Please Close this thread.. when u r problem is solved. Reward all Helpful answers
Regards
Naresh Reddy K -
How the Pop UP window got closed on line select
Hi All,
at BP_ADDR component we are calling component BP_SEARCH_HELPS by cross component usage on F4,
then we are doing bank details search, then on single line select at View BP_SEARCH_HELPS/BankKeySearchHelpResult
then it goes to event handler method EH_ONSELECT then.
inside this method we have code for to call window outbound plug RETURNRESULT'
METHOD eh_onselect.
via viewmanager:
DATA: lr_window TYPE REF TO cl_bsp_wd_window.
lr_window ?= me->view_manager->get_window_controller( ).
lr_window->call_outbound_plug( iv_outbound_plug = 'RETURNRESULT' ).
endmethod.
but at Window out bound plug there is no code for cross comp Window navigation (like Fire_outbound_plug with navigation link)
then also popup is closing and it gets navigating to BP_ADDR component, how it happenning...?
code at window BP_SEARCH_HELPS/BankKeySearchHelpW outbound plug is
method OP_RETURNRESULT.
endmethod.
there is no navigation link also defined for window BP_SEARCH_HELPS/BankKeySearchHelpW at Runtime repository.
one more question is how the event handler method EH_ONSELECT is executed for line select (we r not define any server event for any field of table's context node), is it property of Table context node?
Thanks,
VjMhydHi VJ,
I hope you are able to find the answer to your question that "how pop up is closing and navigation is done to BP_ADDR component" if not here is the answer.
Go to your window class and search for method call_outbound_plug ( remove the filter check box ). inside that method firstly your outbound plug method RETURNRESULT will be called and then you will find another method fire_outbound_plug. inside this method there is code to navigate back and close the pop up. this code is only triggered for pop up cases and that's how navigations takes places.
check if this is a popup rep. view
if ME->IS_TOPLEVEL_WINDOW = ABAP_TRUE.
We ignore the navigation for popups but save the outbound plug if given
and tell the current popup to get closed
data: LV_VIEW_MANAGER type ref to LCL_VIEW_MANAGER,
LV_APPL_CONTROLLER type ref to CL_BSP_WD_APPL_CONTROLLER.
try.
LV_VIEW_MANAGER ?= ME->VIEW_MANAGER.
LV_APPL_CONTROLLER ?= LV_VIEW_MANAGER->GET_APPLICATION_CONTROLLER( ).
LV_APPL_CONTROLLER->POPUP_MANAGER->CLOSE_POPUP( IV_OUTBOUND_PLUG ).
catch CX_SY_MOVE_CAST_ERROR. "#EC NO_HANDLER
endtry.
I hope this clarifies your issue.
Thanks
Sudhir Grover -
HOW TO USE PERFORM STATEMENT IN SMARTFORMS
Hi,
Can anyone tell me how to use call subroutine in smartform?
Thanks & Regards,
Gauarv.Hi,
Hope this helps you..
You can use the PERFORM command to call an ABAP subroutine
(form) from
any program, subject to the normal ABAP runtime
authorization
checking. You can use such calls to subroutines for
carrying out
calculations, for obtaining data from the database that is
needed at
display or print time, for formatting data, and so on.
PERFORM commands, like all control commands, are executed
when a
document is formatted for display or printing.
Communication between a
subroutine that you call and the document is by way of
symbols whose
values are set in the subroutine.
The system does not execute the PERFORM command within
SAPscript
replace modules, such as TEXT_SYMBOL_REPLACE or
TEXT_INCLUDE_REPLACE.
The replace modules can only replace symbol values or
resolve include
texts, but not interpret SAPscript control commands.
Syntax in a form window:
/: PERFORM <form> IN PROGRAM <prog>
/: USING &INVAR1&
/: USING &INVAR2&
/: CHANGING &OUTVAR1&
/: CHANGING &OUTVAR2&
/: ENDPERFORM
INVAR1 and INVAR2 are variable symbols and may be of any of
the four
SAPscript symbol types.
OUTVAR1 and OUTVAR2 are local text symbols and must
therefore be
character strings.
The ABAP subroutine called via the command line stated
above must be
defined in the ABAP report prog as follows:
FORM <form> TABLES IN_TAB STRUCTURE ITCSY
OUT_TAB STRUCTURE ITCSY.
ENDFORM.
The values of the SAPscript symbols passed with /: USING...
are now
stored in the internal table IN_TAB . Note that the system
passes the
values as character string to the subroutine, since the
field Feld
VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR
80). See the
example below on how to access the variables.
The internal table OUT_TAB contains names and values of the
CHANGING
parameters in the PERFORM statement. These parameters are
local text
symbols, that is, character fields. See the example below
on how to
return the variables within the subroutine.
From within a SAPscript form, a subroutine GET_BARCODE in
the ABAP
program QCJPERFO is called. Then the simple barcode
contained there
('First page', 'Next page', 'Last page') is printed as
local variable
symbol. -
How to add standard text in smartforms?
Hi friends,
How to add standard text in smartforms ?
points rewarded soon
Regards
RHCreating the Standard Text:
Go to SO10
1. Enter Text Name. For example, ZABC
2. Text ID ST
3. Language EN
Click on Create.
And enter the Required Information and save.
To include a Standard text in SmartForm.
Follow the steps below:
1. Create a text node in the window.
2. Under general attributes select "Include text" as Type.
3. Specify the fields under Text.
Text Name ZABC
Text Object TEXT
Text ID ST
Language EN.
Hope it helps.
Regards. -
How to protect the lines in smartforms
hi gurus
i want to know how to protect the line in smartforms..
regards
baskarCheck this link.
http://www.saptechies.com/smartforms-protect-lines-in-main-window/
if you are using tables, there are two options for protection against line break: You can protect a line type against page break. You can protect several table lines against page break for output in the main area.
Protection against page break for line types Double-click on your table node and choose the Table tab page. Switch to the detail view by choosing the Details pushbutton. Set the Protection against page break checkbox in the table for the relevant line type. Table lines that use this line type are output on one page.
Protection against page break for several table lines Expand the main area of your table node in the navigation tree. Insert a file node for the table lines to be protected in the main area. If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file. Choose the Output Options tab page of the file node and set the Page Protection option. All table lines that are in the file with the Page Protection option set are output on one page
Regards,
Maha
Maybe you are looking for
-
Initially my wife set up our I pad and Mac with a certain apple ID. I purchased the I phone4 and setup my own apple ID and now want to sync all of our other products with the new apple ID, but am having problems setting this up. Please advise on how
-
Lost the install disk for my Zen Xtra 4
Can someone please help? Thanks
-
"You do not have sufficient access to your computer " Why??????
Why am I getting this error connecting from Vista to a shared printer on my iMac under 10.5.5?
-
How to give path in Runtime. exec( )
Hi, I am trying to create an user interface, in which, it should open a different file (for example, example.doc)when a button is clicked in the applet. let us say, the path for example.doc is "C:\\WINDOWS\\DeskTOP\\folder1". I tried with the followi
-
Converting WMA to MP3: Controlling When Conversion Takes Place?
Hello. I have a 4GB Nano. When I load a few WMA files into the iTunes software library, I am immediately asked whether to convert them, or skip them. I choose Convert. However, I noticed I cannot load additional WMA files during the conversion proces