How to print different header & item data in new pages using smart forms.
Hi,
In smart forms I am trying to print header data & their item data. But there are more than one header data for a given input.
I want to print all the different header data with their item data in new pages using smart forms. Can any one please help to solve the issue.. Its very urgent for me..
Regards,
Brajesh
Hi
U need to use control break statements to acheive ur requirement.
Regards,
Priya
Similar Messages
-
How do u get New page in Smart form dynamically
How do u get New page in Smart form dynamically
page break in smart form
Re: New Page in Smart Forms
Page break inside a loop in smart form -
Repeat Line item prints on every new page of smart form of Service PO
Dear Sir,
I am facing following Problem & need abaper help.
example:-
PO type is Service
Line item 10. Transportation 1 AU
under this activities
01. Transportaion by Tree wheeler 3 Rs/ KM
02. Transportaion by Four wheeler 8 Rs/ KM
03. Transportaion by Heavy vehical 10 Rs/ KM
Line item 20 Errection 1 AU
Sub services are,
01. Errection of Boiler 200 RS/Hr
Like this way
Now I am seeing Print Preeview
Suppose line item 20 come in second page , in this case system copies sub services of firs line item
example : - system shows line item 20 in second page as shown below which is wrong.
Line item 20 Errection 1 AU
01. Transportaion by Tree wheeler 3 Rs/ KM
02. Transportaion by Four wheeler 8 Rs/ KM
03. Transportaion by Heavy vehical 10 Rs/ KM
Pls, suggest where I need to change.
Regards,
Ravihi ,
i think you are not clearing the Barcode variable once it has printed.
try declaring the variable like this in smartform,
BARCODE TYPE CHAR24
when one loop excecutes .and end of loop in command line clear this variable.
thanks & regards,
kat. -
How to find out the Last line of a page in Smart forms
Hi Experts,
I need to find out the <b>last line of a page in smartforms</b>.
I have <b>Heading in a text element</b> and its <b>text in another text element</b>.
If the heading falls in the last line, its contents will be displayed in the next page. I want to print the heading in the next page.
Please advise on this issue.
Thanks in advance,
VivenYou can put both the heading and contents in a Folder node and check the page protection checkbox of the Folder node. This way both will be displayed on the same page always.
-
New page in smart form when displaying internal table data in table
Hi ,
My requirement in smartform is like
I'm using the tables to display the internal table data in main window .
based on SORTF field in the internal table ,when SORTF field value changes all the related to that SORTF value should be displayind in the new page.
Please anybody tell me that , how to do this?
Thanks
NaveenHi Navi,
Try this Logic.
1) Go to Smartform,
2) Declare a flag variable w_flag type c
3)Go to Main Window
a) Go to table
b) Create one more Table Line
c) Create a CODE Line in that.
write inside CODE as Below:-
CLEAR: w_flag.
ON CHANGE OF w_final-sortf.
w_flag = 'X'.
ENDON.
d) Create one COMMAND Under CODE line created above.
click on check Box "Go to New Page" ( Page1 or Page2 or give as reqd ).
click on conditions tabe of COMMAND
write: w_flag = 'X'.
Hope this will work
Reward Points if Useful
regards
Avi............. -
Transfer Order Printing using smart forms
Hi All
Our requirement is to print Transfer Order ( WM ) for Goods Receipt & Delivery using Smart forms.
Can we change the existing standard format (SAP script ) and use our own form(smart form ) to include some other data & print.
If possible how to replace the SAP script to Smart form.
Request someone could guide in detail.
Thanks in advance.
SamsonHi
When you create Smartform try to replace it in customizing OMLV. Not sure if it will work as it refers to Sap Scirpt in help description.
It is also possible to write Z program for TO printing and hardcode SmartForm there.
Regards
Mariusz -
How to header and item data of sales order using bapi interface
hi friends,
i am geetha, i having a problem like how to upload sales oder header and item data through va01 tcode using BAPI FUNCTION MODULES.
i need bapi function modules for header adn item data and brief explation on that , how to pass importing and tables parameters to get exact output .
regards
geetha.Use : BAPI_SALESORDER_CREATEFROMDAT2
Sales order: Create Sales Order
Functionality
You can use this method to create sales orders.
You must enter at least sales order header data (via ORDER_HEADER_IN structure) and partner data (via the ORDER_PARTNERS table) as input parameters.
Enter the item data via the ORDER_ITEMS_IN table. You can allocate item numbers manually, by filling in the relevant fields, or the system does it, according to the settings for Customizing, by leaving the relevant fields blank.
If you have configurable items, you must enter the configuration data in the ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF and ORDER_CFGS_VALUE tables.
Credit cards can be transferred via the BAPICCARD structure, on the one hand, data for card identification, on the other, data for a transaction which has taken place in an external system.
Once you have created the sales order successfully, you will receive the document number (SALESDOCUMENT field). Any errors that may occur will be announced via the RETURN parameter.
If no sales area has been created in the sales order header, then the system creates the sales area from the sold-to party or ship-to party, who has been entered in the partner table. If a clear sales area cannot be created, you will receive a system message, and the sales order will not be created.
Notes
1. Mandatory entries:
ORDER_HEADER_IN : DOC_TYPE Sales document type
SALES_ORG Sales organization
DISTR_CHAN Distribution channel
DIVISION Division
ORDER_PARTNERS..: PARTN_ROLE Partner role, SP sold-to party
PARTN_NUMB Customer number
ORDER_ITEMS_IN..: MATERIAL Material number
2. Ship-to party:
If no ship-to party is entered, use the following: Ship-to party =
sold-to party.
3. Commit control:
The BAPI does not have a database commit. This means that the relevant application must leave the commit, in order that can be carried out on on the database. The BAPI BAPI_TRANSACTION_COMMIT is available for this.
4. German key words:
The following key words must be entered in German, independantly of
the logon language:
DOC_TYPE Sales document type, for example: TA for standard order
PARTN_ROLE Partner role, for example: WE for ship-to party
Further information
You can find further information in the OSS. The note 93091 contains general information on the BAPIs in SD.
Parameters
SALESDOCUMENTIN
ORDER_HEADER_IN
ORDER_HEADER_INX
SENDER
BINARY_RELATIONSHIPTYPE
INT_NUMBER_ASSIGNMENT
BEHAVE_WHEN_ERROR
LOGIC_SWITCH
TESTRUN
CONVERT
SALESDOCUMENT
RETURN
ORDER_ITEMS_IN
ORDER_ITEMS_INX
ORDER_PARTNERS
ORDER_SCHEDULES_IN
ORDER_SCHEDULES_INX
ORDER_CONDITIONS_IN
ORDER_CONDITIONS_INX
ORDER_CFGS_REF
ORDER_CFGS_INST
ORDER_CFGS_PART_OF
ORDER_CFGS_VALUE
ORDER_CFGS_BLOB
ORDER_CFGS_VK
ORDER_CFGS_REFINST
ORDER_CCARD
ORDER_TEXT
ORDER_KEYS
EXTENSIONIN
PARTNERADDRESSES
Exceptions
Function Group
2032 -
Hi gurus in BDC how to print the header on the top of the data
hi gurus in BDC how to print the header on the top of the data
hi,
while downloading the file using gui_download function module
in that function module in TABLES filednames parameter is used to get headings
example:
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
FILENAME = FILENAME1
FILETYPE = 'ASC'
WRITE_FIELD_SEPARATOR = 'X'
TABLES
DATA_TAB = T_ZETBR
FIELDNAMES = IT_HEADER
reward if useful,
thanks and regards -
How to print different pages of sap script from diff. trays of printer
Hi All,
I have the requirement in SAP script. How to print different pages from different trays in the printer.
For example page 1 logo and address has to print from tray-1,
page 2 main data print from tray-2,
page 3 footer data print from tray-3.
will appreciate if u come up with solutions asap.
Thanks in advance.Hi,
May be the links given below might help you,
SAPScript:Selecting Different Tray in SAPscript
Print to different output tray in SAPscript/Print Workbench
Regards,
Hema.
Reward points if it is useful. -
How to upload vendor open item data.
How to upload vendor open item data.
HI Bhanu
There are many threads on it.
You can check the below one
http://scn.sap.com/thread/3547986
Regards
Pankaj Pandey -
How to print different colors of Strings into JEditorpane?
How to print different colors of Strings into JEditorpane?
Can any body give me answer ...JEditorPane contain HTML. So write your HTML using the color attribute.
Start by read the the API description of JEditorPane. you will find a link to the Swing tutorial on "Using Text Components" which has working examples of using a JEditorPane. It also has an example of using a JTextPane where you can dynamically change the attributes of individual pieces of text. -
How to set different header for different Standard report page
How to set different header for different Standard report page
Hi,
A easy answer would be use the 'set report header text.vi' but maybe you are talking about something else ? -
Restricting the item data for two pages if data is more then cutoff
Hi Expers,
I have one requirement that i need to restrict item data upto two pages .If more data is vailabe even pritning after two pages then data should cutoff(means we don't want to print that extra data in the next pages ).Could you please explain how can we achive this in main window ?Can we achive this even using secondary window also?Thanks for your help in advance.
Thanks and Regards,
VenkatDear experts,
For restricting the data up to two pages in the mainwondow ,I have written the condition SFSY-PAGE LE 2.But still i am getting more than two pages means entire data.Can any one explains why this condition is failed(My main window is in the first page itself).
Many thanks for your help,
venkat -
How to update an existing item in a sharepoint list using the WSS adapter for Biztalk
Is there a way that a record in SP list be updated using WSS adapter in biztalk ?
BizTalk 2013 and SP 2013 ..
Regards
Ritu Raj
When you see answers and helpful posts,
please click Vote As Helpful, Propose As Answer, and/or Mark As AnswerA ListItem has its own unique row id so in all likelihood, an insert with the same data will result in a new list entry. The Lists Web Service however, has an UpdateListItem method which will take an update request. [refer
http://msdn.microsoft.com/en-us/library/office/websvclists.lists.updatelistitems(v=office.15).aspx ]
There is another note in the conference (marked answered) to your List Item Update problem. Probably worth a try too. [refer
http://social.msdn.microsoft.com/Forums/en-US/bee8f6c6-3259-4764-bafa-6689f5fd6ec9/how-to-update-an-existing-item-in-a-sharepoint-list-using-the-wss-adapter-for-biztalk?forum=biztalkgeneral ]
Regards. -
How to print out multilingual reports from the main report using Xliff temp
Hi all,
How to print out multilingual reports from the main report using Xliff temp?
When I want main report call subtemplate and finish xliff tranlation
<?for-each@section:INVOICE?><?end for-each?>
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
<?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
Prints out fine with Finnish translation
But if I want in main program to check what language is used e.g.
if trx_number = 142 call Finnish translation and if trx_number =144,
call English translation.
<?for-each@section:INVOICE?><?end for-each?>
<?if:TRX_NUMBER=’142’?>
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
<?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
<?end if?>
<?if: TRX_NUMBER=’144’?>
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.US/?>
<?start:body?><?call:Header?><?call:Line?><?call:Weights?><?call:Banks?><?end body?><?call:Footer?>
<?end if?>
Prints out always in English and never the Finnish translation.
Program goes fine to if branch but does not print out Finnish
Does anybody know what could be wrong?
BR
KariThanks Amit,
I have two layout, main-layout and sub-layout
Main layout call subtemplate
I have registered layout and xliff-file
Main template
Localized Templates
File Name Language Territory
XXNS_INVOICE_MAIN.rtf English
SUB template
Localized Templates
File Name Language Territory
XXNS_INVOICE_SUB.rtf English
Translatable Template
File Name Language Territory
XXNS_INVOICE_SUB.rtf English United States
Available Translations
Language Territory Progress
English Finland Complete
If main report call subtemplate and finish xliff tranlation
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
Prints out fine with Finnish translation
But if I want in main program to check what language is used e.g.
if....
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.FI/?>
.....end if;
if....
<?import:xdo://XXIH.XXNR_XXINVPRINT_SUB.en.US/?>
.....end if;
Prints out always in English and never the Finnish translation.
Program goes fine to if branch but does not print out Finnish
Do you it's set up problem or program problem
BR
Kari
Maybe you are looking for
-
How I connect remote database in report builder
username myname password mypass database test database server 192.165.21.32 port 1521 how can I connect in oracle 11g report builder ??
-
Putting Parameter into SQL Expression or convert to formula Basic or Crystal
Post Author: yoschua CA Forum: Formula Hello,In my old report I got something like thisSELECT MIN(cast("ParDyn"."ParVal" as integer))FROM "result".ParDyn WHERE "ParDyn"."ParNo" = (SELECT Max("Piece"."ParDynNo") FROM "result".
-
Few battery cycles, but the battery breaks? surely a manufacturing fault
I experienced a situation where my battery needed replacing at only 131 cycles of usage, no where near the common level of 300 cycles, and I was covered with warranty, yet they insisted on me paying a fair bit for a new battery. It's ridiculous, I ha
-
Managing backup systems for referenced image masters
The manual says: +Aperture doesn't back up the masters of referenced images located outside the Aperture library. *You must maintain your own backup system of referenced image masters.* Aperture does back up the versions, previews, and metadata infor
-
When using the UPSshell.exe to initiate a batch script via command line, one of the fields it lists is: "Log Directory – File path where you want the UPSShell.exe log file written." What exactly is written in this log? From what I can tell, it only c