How to Print data from variable or in header of the table in smart forms
Hi all.
i have to print mondy tuseday etc in the header of the table . the actual data is printed ok in the main area from itab where as i m unable to print data in header from that itab.
i have tried from one variable as well . as i export that value to the smart form andthen try to print but i won't be able to do that
Regards
Ammad
please post the question clearly.
Similar Messages
-
How to import data from excel or csv files to Oracle table
hello everybody,
I am new here and new in Oracle. I would like to know the steps how to import data from excel or csv files to Oracle table.
Let say I already have table inside the Oracle. Then my user give me the sets of data inside the Excel Worksheet.
So, how can I import the excel data into Oracle table.
Thank you in advance.
cheers,
shimaEven easier. Download JDeveloper 11G from this site.
Set up the database connection, right click on the table, select Import->Excel and specify your file to load it. On the import pop-up, you must view and update each tab indicating Columns, Data Types, and DML.
Columns -- move the selected columns that you want to load to the box on the right
Data Types -- select column name from second column to which the data for each column of the import file should load
DML -- click this tab to generate the INSERT SQL
Once done click 'Insert' -
HOW TO READ DATA FROM A FILE AND INSERT INTO A TABLE USING UTL_FILE
Hi..
I have a file.I want to read the data from file and load it into a table using utl_file.
how can I do it?
Any reply apreciated...Hi,
This is not your requirment but u can try this :
CREATE OR REPLACE DIRECTORY text_file AS 'D:\TEXT_FILE\';
GRANT READ ON DIRECTORY text_file TO fah;
GRANT WRITE ON DIRECTORY text_file TO fah;
DROP TABLE load_a;
CREATE TABLE load_a
(a1 varchar2(20),
a2 varchar2(200))
ORGANIZATION EXTERNAL
(TYPE ORACLE_LOADER
DEFAULT DIRECTORY text_file
ACCESS PARAMETERS
(FIELDS TERMINATED BY ','
LOCATION ('data.txt')
select * from load_a;
CREATE TABLE A AS select * from load_a;
SELECT * FROM A
Regards
Faheem Latif -
How to print data from SAP without showing the screen.
I need to develop one RFC.It will call by third party tool like XMII.
Required data will come from XMII and RFC should print data directly from printer.
RFC should call transaction QM02>Notification>Print>Item Selection>select one of the Shop paper -->Print (No.of copies and name of printer will be given by XMII)Hi Priya,
Build a process chain, to load the Cube and after the load completed, delete the PSA used to load the Cube.
Also include in this chain a generated ABAP program to selective delete data from your DSO based on some selection/variant , ex: Fiscal Year or something.
Also check the design and find a reason for using DSO, if no reason then just load into CUBE.
Hope this helps.
Thanks,
Naveen Rao Kattela -
How to upload data from flat to ztables with in the same client by idocs
Hi Experts,
I have a requirement in IDOCS, I need to create a custom IDOC .I am working on IDES 4.6c. The reqirement is , there are ztables with header and item data. say for example Authors and Books. I need to upload data from flat file which is available in presentation server of the same client, which will updated in ztables by using idocs. For this i need to do ale settings also. The client is 800. There is no other client available. With in the same client i need to do the above stuff.
For this requirement how to approach (step by step) to accomplish.
Thanks in Advance.
Regards
J.S.VarmaHi,
This is the procedure.
create segments using we31. <b>don't forget to relaese it</b>
create idoc using above segments using we30 <b>don't forget to relaese it</b>
create message type using we81
create function module to upload data using se37
maintain process code using we42
create partner profiles we20.
In the fm module itself write the code for downloading the data from presentation server by GUI_DOWNLOAD.
Then update the database tables directly by insrt through other internal table in the same client itself.
Thanks
Manju -
How to display data from 2 different groups in a single table
Hi,
Following is the requirement:
The XML Content is below
ListOf_ssAssetMgmtAsset>
-<ssAssetMgmtAsset>
<ssAccountName>1-1D09-83031</ssAccountName>
<ssAccountPrimaryCountry>USA</ssAccountPrimaryCountry>
<ssAssetNumber>13111027</ssAssetNumber>
<ssNaiAssetNumber>123</ssNaiAssetNumber>
<ssNaiGrantNumber>ABC</ssNaiGrantNumber>
<ssNaiProductType>System Security Software</ssNaiProductType>
<ssNaiSuperceded>123</ssNaiSuperceded>
<ssProductDescription>Upgrade extract local DB</ssProductDescription>
<ssProductName>1-1M5H-296</ssProductName>
<ssStatus>ABC</ssStatus>
<ssId>1X-ZY</ssId>
<ssCreated>01/01/1980</ssCreated>
<ssUpdated>01/01/1980</ssUpdated>
<ssCreatedBy>1X-ZY</ssCreatedBy>
<ssUpdatedBy>1X-ZY</ssUpdatedBy>
-<ListOf_ssAgreementEntitlement>
-<ssAgreementEntitlement>
<ssEntitlementEndDate>16/12/2009</ssEntitlementEndDate>
<ssEntitlementStartDate>16/11/2009</ssEntitlementStartDate>
<ssEntitlementType>Services</ssEntitlementType>
<ssNaiQuantity>2</ssNaiQuantity>
</ssAgreementEntitlement>
</ListOf_ssAgreementEntitlement>
-<ListOf_ssAgreementEntitlement>
-<ssAgreementEntitlement>
<ssEntitlementEndDate>10/12/2009</ssEntitlementEndDate>
<ssEntitlementStartDate>10/11/2009</ssEntitlementStartDate>
<ssEntitlementType>ServicePortal</ssEntitlementType>
<ssNaiQuantity>1</ssNaiQuantity>
</ssAgreementEntitlement>
</ListOf_ssAgreementEntitlement>
</ssAssetMgmtAsset>
</ListOf_ssAssetMgmtAsset>
The data needs to be displayed in the below manner where first grouping is by Account Country, then by Account Name. Then the table with 9 columns where in the first 5 columns are from first group and the next 4 are from second group.
Account Country
Account Name
ProductType Grant # Asset # Product SKU Product Name Entitlement Type Quantity /Nodes EntitlementStart Date Entitlement EndDate
I have the coding as
first for loop: <?for-each-group:ssAssetMgmtAsset;./ssAccountPrimaryCountry?>
second for loop: <?for-each-group:current-group();./ssAccountName?>
third which is for the table : <?for-each:current-group()?>
I close the above grp after product description.
One table with the first 5 columns and below second table is placed adjacent to the first to display the 4 columns with the grp <?for-each:ssAgreementEntitlement?>
how do I get all the 9 columns in a single row in a single table.
Any help is appreciated.
thanksWhat is the lnk between the two
ssAssetMgmtAsset and ssAgreementEntitlement ?
you want to display all the ssAgreementEntitlement for every ssAssetMgmtAsset group ?
there shud be a link between them, you have link them and display. -
How to transfer data from one MBP to another on the same wireless network?
Hello All,
My wife & I both have MBP's & are connect to the internet wirelessly via a Comcast-supplied Arris modem & a Belken router I purchased.
Please don't laugh too hard but when I share data with my wife I, first, transfer it onto a flash drvie, then I walk to my wife's mbp & transfer the data from the flash drive to her mbp.
I have a feeling there is a better way. Since I guess we are on the same network can I do this wirelessly some how?
Any help would be appreciated!
Thanks in advance.
Jimhere is a link to some information on AirDrop --
http://support.apple.com/kb/HT4783?viewlocale=en_US&locale=en_US -
How to read the data from excel file and store into the table?
Hi All,
I have table with BLOB datatype contains a excel file. I have to read that data from excel and store into one table with all the fields in excel.
All the excel fields and my table columns are same.
Can you share with me how can acheive this using LOB's?
ThanksHi OraSuirya,
you can try with external tables .
syntax as follows
create table ext_table_csv (
i Number,
n Varchar2(20),
m Varchar2(20)
organization external (
type oracle_loader
default directory ext_dir
access parameters (
records delimited by newline
fields terminated by ','
missing field values are null
location ('file.csv')
reject limit unlimited;
For this you need to create directory
Directory Creation syntax:
create or replace directory ext_dir as 'D:\oracle\user_dir\ext_dir';
grant read, write on directory ext_dir to <User>;
please paste the excel file in the particular directory .
I hope this will help you.
Please correct me if I am wrong anywhere .
Thanks,
Tippu. -
How to copy data from one node to another or fromone table to another table
Hi,
I have a two tables.I am populating data in first table and on the click of first table ,selected row data should be copied to the second table.
How do i achieve this requirement and what should be the cardinality of the second table
Thanks
Bala DuvvuriHi,
For this u have to fetch the selected row.
For fetching the selected row go to the events of first table and select "OnLeadselect".
Create a new method for this.
Now in this method read the value of the selected row with method get_static_attributes.
with this u will have the selected row in the element.
not just bind this elemnt with the second table.
Second node will also have the cardinality 0:n, because this is also binded with the table.
Coding part for this is as below:
method ONACTIONSELECT .
DATA lo_nd_cn_mara TYPE REF TO if_wd_context_node.
DATA lo_el_cn_mara TYPE REF TO if_wd_context_element.
DATA ls_cn_mara TYPE wd_this->element_cn_mara.
DATA ls_cn_mara1 TYPE wd_this->elements_cn_mara.
navigate from <CONTEXT> to <CN_MARA> via lead selection
lo_nd_cn_mara = wd_context->get_child_node( name = wd_this->wdctx_cn_mara ).
@TODO handle not set lead selection
IF lo_nd_cn_mara IS INITIAL.
ENDIF.
get element via lead selection
lo_el_cn_mara = lo_nd_cn_mara->get_element( ).
@TODO handle not set lead selection
IF lo_el_cn_mara IS INITIAL.
ENDIF.
alternative access via index
lo_el_cn_mara = lo_nd_cn_mara->get_element( index = 1 ).
@TODO handle non existant child
IF lo_el_cn_mara IS INITIAL.
ENDIF.
get all declared attributes
lo_el_cn_mara->get_static_attributes(
IMPORTING
static_attributes = ls_cn_mara ). " here u are getting the selected row of the table.
APPEND ls_cn_mara to ls_cn_mara1. " append the row in the table so that can be binded with the second node
DATA lo_nd_cn_maraout TYPE REF TO if_wd_context_node.
DATA lo_el_cn_maraout TYPE REF TO if_wd_context_element.
DATA ls_cn_maraout TYPE wd_this->element_cn_maraout.
navigate from <CONTEXT> to <CN_MARAOUT> via lead selection
lo_nd_cn_maraout = wd_context->get_child_node( name = wd_this->wdctx_cn_maraout ).
Bind the table with the second node
lo_nd_cn_maraout->bind_table( ls_cn_mara1 ).
endmethod.
->cn_mara is the first node.
->cn_mara1 is the second node
Thanks,
Pankaj Aggarwal
Edited by: Pankaj Aggarwal on Nov 19, 2008 7:40 AM -
How to load data from a flat file to two different tables at a time.
I am not aware of Sql Loader so Please any body suggest me that is there any way to load data from excel sheet to two different tables at a time its very urgent.
with regards,
Srinivas.RRead Utilities Guide from the Oracle Documentation Library. See
<br>
Oracle Database FAQs
</br> -
How to populate data from dynamic drop down list to the text field
Hi,
I tried to populate data from dynamic drop down list to city field. I would like to concat data from drop down list.When selecting add button to add the item and select item from drop down list, data should be displayed in the text field. However, Please help. I spent alot of time to make it works I am not successful.
Please see the link below.
https://acrobat.com/#d=SCPS0eVi6yz13ENV0cnUdw
Thanks for your help
CindyHi Rosalin,
Loop the hidden table, get the values and populate drop down in each iteration.
DropDownList1.addItem("Text","Value");
You can use one more solution for this scenario. If it is a matter of 2,3 dropdowns, put three dropDowns in the form layout and give seperate static data binding to them. At run time make the dropDowns hide/visible as per the requirement.
Hope this helps.
Thanks & Regards,
Sanoosh -
How to fetch data from XML and store it in internal table
Hi All,
Can anyone help me out, in fetching data from xml and store it in an internal table. Is there any standard function module is there?
Regards,
Karthickto do this you can either develop a XSLT program and use it with CALL TRNSFORMATION key word to tranform the XML into itab .
(search the ABAP General forum, i have posted few samples)
or simply use the following FM which converts your XML into a itab of name value pair (name would holw the element name and value would hold the value of the element) which you can then loop and read it to your itb.
data: xmldata type xstring .
data: result_xml type standard table of smum_xmltb .
data: return type standard table of bapiret2 .
CALL FUNCTION 'SMUM_XML_PARSE'
EXPORTING
xml_input = xmldata
TABLES
xml_table = result_xml
return = return .
Regards
Raja -
How to Transfer Data from editable ALV grid control to internal table?
Hi,
Can anyone give me a simple example by which I can transfer data from editable alv grid control back to the internal table. The ALV has been created by OO approach.
I would appreciate if the solution is provided without handling any events.
Regards,
AuroHello Auro
You simply need to call method <b>go_grid->check_changed_data</b> at PAI of the dynpro displaying the ALV grid. If data have been changed on the editable ALV grid then this method will raise event DATA_CHANGED. If you do not want or need to handle this event (e.g. for validating the edited values) then you do not define any event handler method.
Regards
Uwe -
How to extract Data from HR into BW by using the LSA Stamping Approach?
Hi All,
i have an issue regarding the extraction on Data fron HR into BW by using the LSA stamping approach.
Could some one give me some steps are the logi should be implemented? Or document?
Thank
You
Cheershi,
You can find the business content objects here:
http://help.sap.com/saphelp_nw04/helpdata/en/04/47a46e4e81ab4281bfb3bbd14825ca/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/3a/7aeb3cad744026e10000000a11405a/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/16/4d0b3c56488e6be10000000a114084/frameset.htm
For other info you can look up some OSS notes and forum threads (like for details on CRM extraction)
You can check out the best practices here:
http://help.sap.com/bp_biv170/html/bw.ht
Hope this helps you
regards
harikrishna N -
How to print data from database
Hi,
Assume that the HR web application contains a JSP page that displays the employees in paged table. The employees table has a link "Print" witch suppose to print al the records from database NOT only the data that is shown in the current page.
For example:
The employees.jsp displays a table of 15 rows, paging links (first, previous, 1, 2, 3, next, last) and "Print" link.
When the user click on Print link or button , it should popup the print dialog then print all the records of employees from the database NOT only the 15 that are shown in current page.
What do I tried??
I do display all employees records in one JSP page (printableEmployess.jsp) and divide them to tables, where is every 35 record in one table. But this methodology is not efficiently, because one company in my application has 20,000 records so the JSP page is too huge .
Kindly help me to fix this problem.The put it bluntly: the browser can only print what it has received from the server. If you want to print everything, you have to send everything. If you don't want to do that, you'll have to stick to the multiple pages and then the user has to print every page himself.
If this is a really big problem for you, then you'll have to concider alternative solutions, like a Java client application that can connect to your server to retrieve the data and then print it using the Java printing API. That puts the problem outside the browser, but the user will have to have java installed on his machine.
Maybe you are looking for
-
PO date issue when scheduling replenishment
Hello Guys, i'm currently experimenting an issue that i don't understand. when I try scheduling RWRPLPRO program (WRP1) with a timezone UTC+11 for my step user, the document date of my purchase order is the system date and not a user date. Is there s
-
I am using an iPad. In iCal, whenever I try to turn to the month of March, the app closes. I know of at least one other person who has had the same problem. Has anyone had a similar experience and know of any solution?
-
LMS 4.0 High Resources : High CPU
Hi Guys Can some one help me to fix our LMS 4.0 high CPU issues?. It takes lots of resources and also some time stop responding. I am woudering somesettings not done properly or anyway to fix this issues. Please refer the attached picture for more
-
Hi all, I am new to database back up. Can anyone explain me what is the difference between the back up which is taken using db13 in sap and taking back up directly from sql enterprise server in windows. Is it possible to do offline and online back up
-
How do you delete HelveticaNue.dfont in Leopard.
I tried but it keeps popping back up no matter what I do.