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,
Ajoy
Hi 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.
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 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 -
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 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 -
i capturing image using Microsoft.Device.PhotoCamera. it is working fine but when i save it into phone,it's orientation change to 90 degree.i need to rotate that image to proper orientation.....thanks in advance.
My advice is to use blend first. You rotate using the UI. Once you see the results from Blend you can then start coding
it by hand if you wish to
I sale myself ONLY half CNY! -
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 rotate window media player clockwise or counter clockwise
When I receive video , it is 90 degree off clock wise. how to rotate window media player clockwise or counter clockwise?
Hello,
These sort of questions belong in the
Music, Photos, and Video forum on Microsoft Community.
As the Microsoft Community is on a different platform, we cannot move the question for you.
Once there, click on Participate near the top of the screen, and select 'Ask a Question' or 'Start a Discussion':
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book:
Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}}) -
How to construct a window that shows images in a continuous rotation on a webpage using flash
Would like to know how to create a window in a web page that shows images in a continuous rotation
There are dozens of ways to accomplish this. What sort of experience with Flash do you have? A very simple method is to just place each image on the timeline. Set a frame rate for the movie, and then extend each image's extent on the timeline to allow it to be shown for the duration that you want. For instance, with the frame rate set to 15 fps, to show each image for 1 second, you would have each image occupy 15 frames. Add or subtract frames to suit your needs. You can add transitions between each image if you like.
-
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 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.
Maybe you are looking for
-
Need to keep signing in....
I have had a subscription to CC since the beginning of November and this has only started happening in the past day and a half. For some reason Photoshop "forgets" that I am signed in. If I use Photoshop and then close it for say an hour or two then
-
Can't i sync my iPad and my iPhone on the same computer
i can't sync both my iPad and my iPhone on the same computer.the iPhone can sync but the iPad can't.anytime i try it ,i am asked to authorize this computer which i do but still can't sync
-
I want to allow a plug-in to be installed but the yellow information bar which would allow me to do this is missing. Both "plugin.hide_infobar" configs are set to false. I disabled the pop-up blocker as well. How do I allow that plug-in to be install
-
Newest Flash and Photoshop Updates Nixed my Tablet
This isn't the first time updating an adobe product has forced me to wipe my HDD and start from scratch. Everything was working perfectly until I updated to the latest versions... Now I can't get either of them to even open. Flash at least opens, b
-
Help! problem turning on imac
I shouldn't wait to the last minute! I need to print pictures for a Christmas present. I am having problems turning on my new imac. I even tried a different place on the power strip. Finally got it to start up after trying about 8 times of pushing th