In Smart forms How to print address
Hi all,
If we have Multiple line items and if all the line items have the same address then address should be printed at Header level if not all the line items are holding different address then that address should be printed at line item level.
and again if the address is not displayed at Header level then that window should be hidden i.e the area should be hidden.
Please help in this issue ASAP.
Regards
Anu
Hi Anupama,
You mean Delivery Address???
1. Declare a Variable ADRNR in Import Parameters like ADRNR TYPE ADRNR.
2. Have a seperate Window to display Address.
3. Create a Address Node in that window, Give Address Number value as &ADRNR&.
4. In the Conditions tab maintain as ADRNR <> space
4. Get Data for ADRNR variable in Print Program and pass that value in Smartform Function Module for ADRNR Parameter.
Reward Points if this helps,
Satish
Similar Messages
-
How to know no of pages in smart forms to be printed ?
Hi,
How to know no of pages in smart forms to be printed ?
though i got SFSY structure during run time of smartform , even that was not useful.
&SFSY-FORMPAGES&
Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
for that Page &SFSY-PAGE& of &SFSY-FORMPAGES&
during debug of smart form i don't understand how it is calculating no of pages ,as i kept break point before printing page no in smart form.
please check my two screen shots, sfsy-formpage still contains current page no only but not total no of pages.
Help Required.
Thanks In advance.Hi Prakash,
You will not get these values during debugging.. Let the program execute completely, you will get the right values.
As Manish said, the value for &SFSY-FORMPAGES& will be known only after all the pages are processed, though it is not necessary that you use them in the final window only. It can be a text node in a window of any type.
You will get the desired output, just cant see them during debugging within the program. At the time of printing or in the print review, output would be as expected.
Also, FYI, it would be better to give total pages as &SFSY-FORMPAGES(3ZC)& as there can be error if the total number of pages exceeds 9, due to lack of sufficient space to print more digits -
Hi guru's i want to dovelope smart form how can we give form name for sales
hi guru's i want to dovelope smart form how can we give form name for sales order plz help me ...
Hi,
If u want to assign the form to Standard sales order, The, this form in the NACE.
and the, Run from va02/03.
Reward Points,
Vamsi. -
Hi guru's in SMART FORMS how i can get subtotals , and page totals
hi guru's in SMART FORMS how i can get subtotals , and page totals plz help me
Hi
check this
Subtotals - Check the link...
<b>Re: Subtotal with Table Node in smartforms can use the PROGRAM LINES node to calculate the page totals in Table node.
Table Node has three sections:
Header: (Triggered once in the beginning of a page)
Create a Program lines node to reset the value of TOTAL to 0.
Main Area (For each row of internal table)
Create a Program lines node to add the Value to TOTAL
Footer (Triggered once in the End of a page)
Display the TOTAL
Note: 1) You can declare the TOTAL variable in the GLOBAL Definitions under GLOBAL DATA.
2) In the PROGRAM lines always pass the TOTAL in both INPUT and OUTPUT parameters
Regards
Anji -
Smart forms- how to get the copies of form in other pages as duplicate
hi experts,
i am facing problem in smartforms.
one copy is ready for me.
i have to take that one in 4 pages as 1st page original,
2nd duplicate, 3rd triplicate, 4th quadriplicate.............
how to get them....
all theremaining data is same ....
Message was edited by:
dasr rU can achieve this with the help of NAST table,
in that table field ANZAL is the field for number of copies of the output.
Suppose u have a smartform which will print 3 pages for a Purchase Order,
and u want 4 copies of the same. (totally 3*4 = 12 pages)
U need to handle this in the smart form ifself with the help of ANZAL field, it holds number of copies to be printed on the output device.
if ANZAL = 1
print 'original'.
elseif ANZAL = 2
print 'Duplicate'.
elseif ANZAL = 3
print 'Triplicate'.
elseif ANZAL = 4
print 'Quadriplicate'.
endif.
or else u can handle the same with CASE ... ENDCASE.
I think, it may solve ur problem.
Regards,
Sujatha. -
Smart form- How to apply page break after every 5 entries in main window?
How do i make sure that only 5 line items are displayed per page in main window of my smart form. After 5 line items, the remaining lines should be printed in the next page
Hi
Pls check the link
issue related to next page in smartform -
Smart forms- when i print a report it print main window data on same page
hi,
when i print a report it print main window data on same page .
i.e. if data is more then one page then it shows data page wise on computer screen but when i print it print all data on same only one page by over wrriting .
pl. help why it is happening
i create page in page i set next page and in second page give first page.
mukeshmukesh,
what happened to this: smart form
close that please.
by the way,did you tried with what i suggested?
lets say mainwindow in 1st page.
copy the first page to second page.
now.
for 1st page: next page is : page2
for page2: next page is also : page2 -
Smart-Form name for Printing of Payment-Receipt in Tcode FBCJ
Dear Sir,
We use Tcode FBCJ for the making of Cash Payment . To Print the Cash Payment Receipt , we first select the Payment Line Item then Click on Edit --> Print Receipt .
This call a Smart-Form and Payment Receipt get printed .
We need to know the name of Smart-Form being used .
We request SAP experts to kindly guide as whhat is the name of Smart-Form being called in this case .
We assure to give full points for the suggested solution pl .
Rgds
B Mittalhi,
standard smartform for payment receipt is
FI_CA_PAYMENT_RECEIPT_SAMPL_SF
reward points if useful,
siri -
How to print ADDRESS in SAP Script
Hi All,
I want to print address using ADDRESS command in SAP script. I am using folowing code:
ADDRESS PARAGRAPH AS
TITLE &ADRS-ANRED&
NAME &ADRS-NAME1&, &ADRS-NAME2&,
STREET &ADRS-STRAS&
POBOX &ADRS-PFACH& CODE &ADRS- PSTL2& CITY &ADRS-PFORT&
POSTCODE &ADRS-PSTLZ&
REGION &ADRS-REGIO&
CITY &ADRS-ORT01&, &ADRS-ORT02&
COUNTRY &ADRS-LAND1&
FROMCOUNTRY &ADRS-INLND&
ENDADDRESS
Here in output I am getting Title, name1, & name2 in different lines. But I want that Title, name1 and name2 in same line.
I tried putting title, name1 and name2 in same line but then neither title nor name1, name2 are getting displayed.
Please tell me how I can do the same.
I have heard that SAP displays the address according to country standard. Please let me know in which table the country specific setting is stored.
Regards,
VijayHi,
country code stored in this T005T. Adjust the tab positions on script then only u will get all the title, name1, name2 will get in one line.
regards,
ravi shankar reddy -
Smart form: how to display two total amount in footer
hi, In smart form i trying to dispaly carry forward total and page total in footer, the first statment
of the footer only displaying, next one not displaying. But each page in footer i have to dispaly both carry forward total and page total. how to do this?Hi ,
This is a tricky solution.
Split the footer into two.
i.e create two windows with the property of footer.
Now use the first window to display a result and second window to display the next result.
This will surely work .
Just take care of the formatting.
Regards,
K.SIbi -
SMART FORMS: How are they used and how can they be configured/enhanced?
Hi Experts,
I would like to know how are the smart forms used in crm.I know that by using t-code SMARTFORMS we can view/edit standard smart forms . But I am confused about the fact that how are they used.If some one can list me the steps to be followed in simple language that would be of great help.
Any pointers would also be appreciated.
Regards,
AneeshHi Aneesh,
In CRm we use smartforms to send mail to Business partners based on the client requirement. This sending process will be defined using Actions. Through actions we will trigger the smartform and send to the concerned busines partner mail id.
Hope this helps you.
Regads,
Lakshmi.Y -
hI FRIENDS,
i HAVE TO CREATE ONE SMART FORM WITH DRIVER PROGRAM FOR s (sTORAGE UNIT ) . CAN YOU HELP ME TO KNOW WHAT IS THE TCODE , OUTPUT TYPE, APPLICATION FOR THE sU PRINT ? pLEASE INFORM ME THE MASTER TABLES FOR sUAS WELL .
tHANKS IN ADVANCE .Hi,
I hope the below link will help you.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d763c290-0201-0010-95ae-985957613e90
Thanks,
Khushboo. -
Hy gurus,
I really really need your help. Please, someone explain me how to create e simple smart form. For example I want to create a smart form that displays USR02-BNAME
field2 / page.
Or if you have links with tutorials...
Thank you!Dan M.
Follow the links to create Smartform
1.[Building a simple application using SMARTFORMS transaction code.|http://www.****************/Tutorials/Smartforms/GettingStarted/SimpleText.htm]
2.[Calling smartform using Driver program .|http://www.****************/Tutorials/Smartforms/SimpleDriverProgram/Demo.htm].
Here in the 2nd point function module generated is not fixed. so u have to use SSF_FUNCTION_MODULE_NAME to get smartform function module by giving exporting parameter smartform name.
Regards,
Venkat.O -
SMART FORM: HOW TO IMPORT STYLES IN SMART FORM
Hi Experts,
im working in verion 6.0 . how to import styles in my smart form.
in 6.0 im not finding the label styles were we import the styles. so plz experts help me in this.
plz show me the path step by step.
Thnaks & regards
Sunita.Hi Arpit,
Thnx for ur early reply .here in 6.0 i cant find the styles option .yeah in 4.6 or 4.7 we find in the output options.but in 6.0 im unable to find so plz help me.
Thnaks & regards
Sunita -
Smart form problem when printing header in table
Hi Friends,
I am facing some problem in smartform. In my smartform there is a table - where I should print "Header" at each start of line items and also at page break. So, I checked both the check boxes in Header as "Start of table" and "Page break".
Now the problem is in main window - it is printing Header and line items are coming. After finished Again the header is coming and line items are coming. In some cases - What is happenning is: If the first page ends at the header only - Header is getting printed in the first page and the page ends here. In the next page also "Header is appearing because i checked page break". So, it is appearing twice.
Could someone please guide me on this issue.
Regards,
HariHi,
At any case the two headers will not be displayed if you select the both "start of table" and "at page break.". Please check whether there is another widow in the form from where the header is displaying.
Thanks ,
Abhijit
Maybe you are looking for
-
First let me say that I'm am still new to this program and this was so much easier to do in Freehand. When you use clipping mask in Illustrator to insert a JPEG into a shape it looks good until you see it on your desktop or open it in Photoshop, the
-
photoshop bridge on my 3 year old mac pro has become inoperable. In activity monitor is is using 180+ percent of CPU. I also get switchboard not operating. I deleted all of photoshop and bridge and reloaded them. Same problem. Does anyone know a
-
I previously had itunes on my computer uninstalled and now I want to reinstall it on my computer now and it keeps trying to install to a J drive instead of the C drive I have plenty of room on my computer but not on this "J" drive how can I change wh
-
HT1918 How do I change back to using iTunes cards it won't let me
How can I change back from credit to iTunes cards ? I can't update or download anything Because of my billing problem how can I fix it
-
Backup Problem LTO & Tivoli.
Dear Guru's, I have again into a problem with our SAP Production backup. We have two backups regularly running in the system, following are the details : Single Cartridge LTO : Offline. Tivoli Backup : Online. The error is (It is same for both the c