Its urgent pls help me .
how can i call a portal from webdynpro application
my requirment is
i was created webdynpro application.
in that i was created one view . in that i was created one button (go).
if i click that button i want move some other portal.
how can i acchive pls help me.
its urgent.
pls send any example programe
Message was edited by:
madipadiga nagaraju
Message was edited by:
madipadiga nagaraju
hi,
there is no direct tcode for going to webdynpro component/interfaces in ecc 6.0.
but u have se58 in ecc 5.0,as webdynpro convertor.u give ur program name and click web dynpro convertor button then it takes u to se80 .but this wda(webdynpro abap) component comes as in application tree hierarchy .
i can say in wda component refers a class .if u select webdynpro component/interface,it ask u to create a class or interface.
after that it automatically generate component controller(it is also a class),
interface view and windows.all these 3 are classes.for every window one interface view will be created.ie.. window is internal visible where as interface view is external visible.
u create view and embed these views in windows.by going to the window layout,right click on the window name and click embed view.u can enbed as many view as u wish.in order to navigate from one view to other view ,click "create navigation" by right clicking the view plugs.
by default windows and view have inbound plugs.this is literally a event of that class.
if u want to navigate from view1 to view2 ,create outbound plug for view1,the click outbound plug of view1 and right click the click create navigation the select inbound plug of view2.
then create a application .this is simillar of creating an object.
click on this object and test .this will open in browser.
for deploying u have use "sap webdynpro iview".
Similar Messages
-
Delete duplicate entriess from the internal table its urgent pls help.
Hi friends,
Hope everybody is doing good,Here is m query on delete duplicate data from the intenal table.
I have an internal table which contain data in the following format.
Doc No Comp Cod Vendor Assignment
1500000009 JM11 00000000
1500000008 JM11 20070212(Repeating)
1500000007 JM11 20070212
1500000006 JM11 00000000
1500000005 JM11 00000000
1500000004 JM11 00000000(Repeating)
1500000003 JM11 00000000 (Repeating)
1500000002 JM11 00000000
1500000001 JM11 20050302
1500000000 JM11 00000000
1500000003 JM11 10000088
1500000001 JM11 10000088
1500000030 JM11 10006260
1500000010 JM11 10006269
1500000008 JM11 10006269
1500000006 JM11 10006269
1500000004 JM11 10006269
if you see the document numbers,there are some document number which are repeating here,there are some document numer which contain vendor number but not the assignments,some of the document numbers contain the assignments but not the vendors.
If my internal table contain this kind of data with repeted document numbers than i want the document number which contains only the vendor number.
Pls help me with the appropriate logic,its urgent.
Thanks a lot
mrutyun^Hi,
<u><b>Deleting Adjacent Duplicate Entries</b></u>
To delete adjacent duplicate entries use the following statement:
DELETE ADJACENT DUPLICATE ENTRIES FROM <itab>
[COMPARING <f1> <f2> ...
|ALL FIELDS].
The system deletes all adjacent duplicate entries from the internal table <itab>. Entries are
duplicate if they fulfill one of the following compare criteria:
Without the COMPARING addition, the contents of the key fields of the table must be
identical in both lines.
If you use the addition COMPARING <f1> <f2> ... the contents of the specified fields <f1>
<f2> ... must be identical in both lines. You can also specify a field <fi> dynamically as
the contents of a field <ni> in the form (<ni>). If <ni> is empty when the statement is
executed, it is ignored. You can restrict the search to partial fields by
specifying offset and length.
If you use the addition COMPARING ALL FIELDS the contents of all fields of both lines
must be identical.
You can use this statement to delete all duplicate entries from an internal table if the table is
sorted by the specified compare criterion.
If at least one line is deleted, the system sets SY-SUBRC to 0, otherwise to 4.
Examples
DATA: BEGIN OF LINE,
COL1 TYPE I,
COL2 TYPE I,
END OF LINE.
DATA ITAB LIKE HASHED TABLE OF LINE WITH UNIQUE KEY COL1.
DO 4 TIMES.
LINE-COL1 = SY-INDEX.
LINE-COL2 = SY-INDEX ** 2.
INSERT LINE INTO TABLE ITAB.
ENDDO.
LINE-COL1 = 1.
DELETE TABLE ITAB: FROM LINE,
WITH TABLE KEY COL1 = 3.
LOOP AT ITAB INTO LINE.
WRITE: / LINE-COL1, LINE-COL2.
ENDLOOP.
The output is:
2 4
4 16
The program fills a hashed table with a list of square numbers. The DELETE
statement delete the lines from the table where the key field COL1 has the contents 1 or 3.
Regards,
Bhaskar -
ALV Report_ its urgent pls help me ( every input gets the reward points)
Program with ALV_Grid
1. Selection Screen
Customer Number: KUNNR
Billing Date: FKDAT
Now Using the above Selection screen inputs, I want to generate the following fields in the output.
2. Output Screen
Invoice No: VBELN
Invoice Date: FKDAT
Customer Number: KUNNR
Customer Name: NAME1
Material Description: MAKTX
Payment Terms: ZTERM
Net Value: NETWR
Ship-to City: ORT01
Sold-to party: KUNAG
Ship-to party: KUNNR
Tables Used:
Delivery: LIKP, LIPS
Invoice:VBRK, VBRP
Customer: KNA1
Material: MARA
Material Description: MAKT
Now the Problem what I got is....How to link between these tables...ie., what common fields can be used between these tables so that I can use FOR ALL ENTRIES and retrieve the above output fields.
3. Create Dictionary Structure for Output Data
4. Create Dynpro (Screen 9000)
5. Create ALV Grid Object and Call Method "set_table_for_first_display" of alv obj in PBO Module of Screen
Can anyone please help me out in giving a REPORT program or a pseudo code for the above data.Hi
The link with select-options
VBRK-KUNAG (or KUNRG) -> KUNNR (Select option)
VBRK-FKDAT -> FKDAT (Select option)
Link between header and item data
VBRP-VBELN = VBRK-VBELN.
Link beetween invoice and delivery
VBRP-VGBEL = LIPS-VBELN
VBRP-VGPOS = LIPS-POSNR
Link beetween header and item delivery
LIPS-VBELN = LIKP-VBELN
Link beetween document and material
VBRP-MATNR (or LIPS-MATNR) = MARA-MATNR
Link with customer master data
VBRK-KUNAG (or KUNRG) = KNA1-KUNNR
Max -
hi friends,
Here is my query on a Alv Report output display
I have two internal tables i_vbak and i_vbap
i_vbak contains the fields and value as
vbeln kunnr auart audat bstnk vkorg
1000066 1000071 ze0r 20070918 Itest1 PA11
1000067 1000072 ze0r 20070919 SLA-Test1 PA11
i_vbap contains the field and value as
VBELN MATNR ARKTX
1000066 SAMPLE MATERIAL1 Sample Material for reports
1000066 SAMPLE MATERIAL Sample Material for reports
1000066 TEST MATERIAL Test Material for reports
1000067 SAMPLE MATERIAL Sample Material for reports
1000067 TEST MATERIAL Test Material for reports
1000067 SAMPLE MATERIAL1 Sample Material for reports
I have a another internal table called inv_final which contain all these fields and respective values to display in the alv output.Here i am giving only two field how it whould come in alv output.
Sold to Patry(kunnr) Sales Doc No(vbap-vbeln) Material Name(matnr)
1000071 1000066 Sample Material1
1000071 1000066 Sample Material
1000071 1000066 Test Material
1000072 1000067 Sample Material
1000072 1000067 Test Material
1000072 1000067 Sample Material1
If anybody have done similay kind of repore than help me with the code,or else if anybody having any idea to solve this out than help me.I have only prob with the logic bofore the final table display in the alv output.
Helpful answer will be rewardad generously.
Thanks a lot
mrutyun^Hi
Put all the fields in to an internal table and disply only your required fields.
Kuntal -
Bat files from java application..its urgent pls help me
hi
My java application tries to execute the bat file, the code followes
Runtime runs = Runtime.getRuntime();
runs.exec("e:/customisation/test.bat");
The bat file contains commands to copy files from one folder to another
and some dos commands, but the commands are not executing. If i tried the bat file with some exe's like notepad its working well, but not working with dos commands.
thanks in advance
nisamHi
Your batch file will be working actually. But no output will be seen in the console window.
For example I had created a batch file with the folowing code
echo This is test
copy test.bat test1.bat
pause
Even though I can't see the messages in the console, it executed when called using
Runtime runs = Runtime.getRuntime();
runs.exec("hi.bat");
where hi.bat contains the above code.
If you want to see the output messages also in the console, you have to redirect the outputstream to the current console. One such class this does is available somewhere in Java(I don't exactly remember :-( ). I think it is StreamPluginThread.java
Regards -
How to install adapters in pi 7.0 ex(tibco adapter) its urgent plz help
hi friends
can any one help me how to insatlll the tibco adapter in pi 7.0 its urgent plz help
thanks in advance
bye
rajaHi Raj,
Is your Sender System Tibco If so Use JMS Adapter to get the Data from tibco and Use IDOC Adapter to Post in R3. For this you no need to Install any Adapter in XI System.
Similar discussions ,
XI integration with Tibco
XI Integration with Tibco EMS (Using JMS Adapter)
Regards
Agasthuri Doss -
Hello Everyone,
We all know whenever we try to connect to a PC which is not on network, we get UnKnownHostException etc..... by which we can detect that the corresponding PC is not an network(intranet/internet)
But when i send a msg from my PC to my PC, it works fine even if the network is down. I hv provided my PC's IP address instead of using localhost or 127.0.0.1 which reduces the possibility that the msg will not be traversed thru the network.
Any IDEA how this works.
Is There any possible way by which i can detect that my PC is not on network or the PC to which i'm trying to connect is not on network .......
Pls help me out, its really urgent as to be implemented in my Project
Thanks In Advance
Sahil ShaikhHello Surtee
I have developed a Messeging Service for the eCRM Apllication my company is developing and we r in the final stage of debugging.
Now whenever a user sends a msg to a PC which is not on network, the messaging service automatically sends an Offline mssg to that PC. But know i want ot distinguish wheather the PC to which i'm sending the msg is not on network or am I not on network based on this i need to perform diff. actions, hence i wanted to know that how can i detect .......
Pls see if u canhelp me out ......
Thanks
Sahil Shaikh -
Hi guys (very urgent pls help me out)
i have an doubt that iam using JBoss AS, my scienraio is
inital when start my Application Server it will connects to mysql DB datasource, i will retrieve some values those are DB Names like oracle,sql server,db2 etc in my JSP page iam placed at combo box upto this i am very much successful but now my problem is after gettinh those values in html select box.
if user selects Oracle and in the same screen user can enter connection config details and after submitting the request. At runtime App Server want to connect for that particular Database.
for ex Oracle and its connection parameters then it want to connect that particular Database without restarting the server.
so mysql is internal DB and Oracle is external db. how to manage this scienraio
please anyone knows solution, pls help me out......
regards
Yadavhi
the message is very clear that the sold to party ur refering is not from the same sales area. if u have the customer already then extend the same to the said sales area, by common division and distribution channel
<b>reward points</b>
Regards -
Very URGENT: PLS HELP:canno resolve symbol session.setAttrribute
hi everbody,
i'm new at this and have got a presentation after 1 day!....pls help
when i compile the servlet i get :
cannot resolve symbol
metod: setAttribute (java.lang.String,java.lang.String)
location: interface(javax.servlet.http.HttpSession)
the servlet that gets te error when comiled is:
* Authenticate.java
// this places all user variables in session
//to access use session.getAttribute
//dispatcher stuff
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpServlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import java.sql.*;
import java.io.*;
import java.util.*;
* @author Gudiya
* @version
public class Authenticate extends HttpServlet {
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, java.io.IOException {
HttpSession session = request.getSession(true);
Connection con=null;
String sessionid;
String deptcode;
String desig;
String add1;
String add2;
String contname;
PrintWriter out = response.getWriter();
try
response.setContentType("text/html");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:SACFA","","");
System.out.println("connection established");
catch(ClassNotFoundException e){
System.out.println("database driver not found");
System.out.println(e.toString());
catch(Exception e){System.out.println(e.toString());
// ServletContext context=getServletContext();
String username=request.getParameter("username");
String password=request.getParameter("password");
try{
PreparedStatement stmt=con.prepareStatement("SELECT * FROM AUTHENTICATION,mb_add where AUTHENTICATION.NAME=? AND AUTHENTICATION.PASSWORD=? AND mb_add.DEPT_NAME=?");
stmt.setString(1,username);
stmt.setString(2,password);
stmt.setString(3,username);
ResultSet rs=stmt.executeQuery();
boolean rowfound=false;
rowfound=rs.next();
if (rowfound==true)
sessionid=session.getId();
System.out.println(sessionid);
//context.setAttribute("userid",sessionid);
// session.setAttribute("user",username);
rs.beforeFirst();
while (rs.next())
deptcode=rs.getString("DEPT_CODE");
desig=rs.getString("DESIGNATION");
add1=rs.getString("ADDRESS1");
add2=rs.getString("ADDRESS2");
contname=rs.getString("NAME");
session.setAttribute("dept_code",deptcode);
session.setAttribute("designation",desig);
session.setAttribute("address1",add1);
session.setAttribute("address2",add2);
session.setAttribute("cont_name",contname);
//context.getRequestDispatcher(request.getParameter("dispatcho")).forward(request,response);
} out.println("<html>");
out.println("<head>");
out.println("<title>Successful Login Screen</title>");
out.println("</head>");
out.println("<body bgcolor='ORANGE'>");
out.println("<script language='Javascript'>");
out.println("<!--function send_onclick(mydispatcho) {var dispatcho;if(mydispatcho=='Noc'){ dispatcho='/Noc1';}if(mydispatcho=='Ce'){ dispatcho='/Ce1';} if(mydispatcho=='Bye'){ dispatcho='/Bye1';}}-->");
out.println("</script>");
out.println("WELCOME MEMBERS FROM "+ username);
//print decorative html statements here
out.println(" SELECT NY ONE ACTION:-");
out.println("<form Action="+"\"servlet/noc\""+" method =post>");//call for your noc servlet
//print decorative html statements here
out.println("<INPUT TYPE=submit VALUE='GENERATE NOC' NAME='NOC' language='javascript'>");
out.println("</form>");
//print decorative html statements here
out.println("<form Action="+"\"servlet/comments\""+" method =post>");//call for your comment servlet
out.println("<INPUT TYPE=submit VALUE='ENTER/ MODIFY COMMENTS' NAME='COMMENTS' language='javascript' >");
out.println("</form>");
//print decorative html statements here
out.println("<form Action="+"\"servlet/bye\""+" method = post>");
out.println("<INPUT TYPE=submit VALUE=EXIT NAME=EXIT language='javascript' >"); //place javascript fucction for exiting window
out.println("</form>");
out.println("</body>");
out.println("</html>");
con.close();
} catch( SQLException e){ }
out.close();}
NOTE: I'M USING JDK1.3 and jsdk2.0
pls help me....
Thank u all,
ashnaHTTP Status 404 - /mywork/servlet/Authenticate
hi dheeraj,
thank u so much the servlet comiled!!!
now i have a new problem....the Tomcat server cannot find its class file. i have placed the class file in C:\Program Files\Apache Group\Tomcat 4.1\webapps\mywork\WEB-INF\classes.
the error it shows is as follows:
type Status report
message /mywork/servlet/Authenticate
description The requested resource (/mywork/servlet/Authenticate) is not available.
Apache Tomcat/4.1.18-LE-jdk14
PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!11 -
Very Urgent Pls help : Change of payload type to user-defined types
Hello Experts
I was using sys.xml_type as payload type in my queue table creation.
consider xml message
<order>
<id>1</id>
<load rerer="mq" erere='gg" > </load>
</order>
This i inserted into queue table using enqueue process.
this is done.
BUT NOW My manager wants to change the payload type.
he created a type
create or replace type systype as object (msg varchar2(4000));
Now payload type of queue table is changed to
PayloadType==>aq.systype.
Pls help me how can i insert xml messages into this queue table.
This is very urgent. Pls help me
SI've just read this thread three times and I have absolutely no idea what you are doing, in what version, and what you are asking for help with.
Do you want to change the message type? If you do you MUST drop the queue and start over again from the beginning.
Do you want to enqueue messages?
Post your DDL and other relevant information or you are on your own. We can not guess at your issue. -
Creating notification (Its urgent Plz help)
Hi All,
I am asked to do a development for create notification such that if a person enter the measuring point greater than a specified limit say 60 which according to them is a dangerous point then a notification should be created and it should be triggered to the concerned person that the measuring point is at danger level. How could i achieve this functionality, how should i proceed, the transaction in which they needed this functionality is IK11.
What should i do , how to proceed please help me out as its urgent issue.
Thanks and Regards,
Rachit KhannaHi,
<u>check the following fun modules based on it</u>
<b>2078 BAPIs for quality notifications</b>
BAPI_QNOTIFICAT_CREATE Create quality notification
BAPI_QNOTIFICAT_GETCATALPROFIL Determine Catalog Profile for Quality Notification
BAPI_QNOTIFICAT_GETKEYFIGURES Determines Existing Quality Notifications
BAPI_QNOTIFICAT_GETLISTFORCUST Select quality notifications for a customer
BAPI_QNOTIFICAT_GETMATLISTFCUS Select a Customer Material List for Quality Notifications
<b>EEWM_SV_NTF IS-U-WM: Service Notifications</b>
BAPI_ISUSMNOTIF_CREATEMULTIPLE Create service notifications
BAPI_ISUSMNOTIF_SETCOMPLETED Set Service Notification to Completed
BAPI_ISUSMNOTIF_USERSTATUSSET Set User Status for Notification
<b>IWOPM BAPI Functions for PM/CS Notifications</b>
BAPI_ALM_NOTIF_CHANGEUSRSTAT Change User Status of a PM/CS Notification
BAPI_ALM_NOTIF_CLOSE Complete PM/CS Notification
BAPI_ALM_NOTIF_CREATE Create PM/CS Notification
BAPI_ALM_NOTIF_DATA_ADD PM/CS Notification: Add Data
BAPI_ALM_NOTIF_DATA_DELETE PM/CS Notification: Delete Data
BAPI_ALM_NOTIF_DATA_MODIFY PM/CS Notification: Change Data
BAPI_ALM_NOTIF_GET_DETAIL PM/CS Notification: Read Detail Data
BAPI_ALM_NOTIF_LIST_EQUI Select PM/CS Notifications by Equipment
BAPI_ALM_NOTIF_LIST_FUNCLOC Select PM/CS Notifications by Functional Locations
BAPI_ALM_NOTIF_LIST_PARTNER Select PM/CS Notifications by Partners
BAPI_ALM_NOTIF_LIST_PLANGROUP Select PM/CS Notifications by Maintenance Planner Group
BAPI_ALM_NOTIF_LIST_SORTFIELD Select PM/CS Notifications by Sort Field
BAPI_ALM_NOTIF_POSTPONE Reset PM/CS Notification
BAPI_ALM_NOTIF_PUTINPROGRESS Release PM/CS Notification
BAPI_ALM_NOTIF_SAVE Save PM/CS Notification
BAPI_ALM_NOTIF_TASK_COMPLETE PM/CS Notification: Complete Task
BAPI_ALM_NOTIF_TASK_RELEASE PM/CS Notification: Release Task
BAPI_ALM_NOTIF_TASK_SUCCESS PM/CS Notification: Set Task to Successful
<b>IWWW BAPIs for Eqpt. + Service Notifications</b>
BAPI_SERVICENOTIFICAT_CREATE Create service notification
BAPI_SERVICENOTIFICAT_GETLIST Select service notifications according to customer or contact person
Reward points for useful Answers
Regards
Sudheer -
Sec. Edu Cess not Flowing in MIGO - Urgent Pls help
Dear Friends
We have created a IMPORT PO,
Invoice verification is done with all necessary cess and duties which flown.
with the MIRO document and year, when we do MIGO, i am able to see duty, cess but secondary edu.cess is not flowing.
I tried to enter it manually also, but it is not accepting (field is open).
I have checked the settings.
The similar kind of PO, before it had been done, MIRO done, MIGO also done with proper flow of all values. But for this particular PO only problem existing.
Only difference between the two PO is problematic PO is with account assignment category Q.
Pls treat this urgent and help me in solving the same friends.
regards
PanneerFor Imports, condition type for SECess is <b>J1CV,</b> you have to maintain this condition type in Excise Defaults of CIN Customization.
Note - You cannot use any other condition type for SECess for Imports other than J1CV.
Cheers..
Santosh.D
<i>Reward Points if Helpfull</i> -
How to calculate the size of the heap memory? its urgent pls
i had a task in which i need to calculate the size of the heap memory can anybody help me its urgent pls
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html
Specifically:
max/total/freeMemory()
http://javaalmanac.com/egs/java.lang/GetHeapSize.html?l=new -
my i pad is not charging ,however it shows the green light and charging signs
.before i had this problem, then it started charging on its own . now i was abroad it was 37% charged .was going to charge it for the journey and it stopped charging again .but it works excellent except for the charging .it still works but i am not using it now .just left it on the charger .the green light and the battery sign shows its charging ,but the i pad now is 35% the battery power .pls help .i cant aford another pad .i am broke and i am so much used to itIt may just be giving you false battery info. Unless it actually dies prematurely, Its just a software error. I would recommend restoring. http://support.apple.com/kb/ht1414
-
Download ALV to EXcel- Urgent pls help me
Please help me in this...
I have an ALV report around 120 column. The report is displayed perfectly on screen. But when I use the Export option to download as an excel file, some data is missing in SAP No field
For example
My report output is like this
sap No Name Jobdes. Dept
00021 AAA clerk1 FI
00022 BBB clerk1 FI
00023 CCC clerk1 FI
00024 DDD clerk1 FI
00025 EEE clerk1 FI
00026 FFF clerk1 FI
Excel output is
sap No Name Jobdes. Dept
00021 AAA clerk1 FI
Blank BBB clerk1 FI
Blank CCC clerk1 FI
Blank DDD clerk1 FI
00025 EEE clerk1 FI
Blank FFF clerk1 FI
Pls help meHi Kumar,
Pls try the below Function Modules to download the data to excel.
ALSM_EXCEL_TO_INTERNAL_TABLE
KCD_EXCEL_OLE_TO_INT_CONVERT Uploads data directly from Excel sheet
RH_START_EXCEL_WITH_DATA Starts Excel with contents of an internal table
or the below links also might help you.
For uploading Excel to Internal Table??????
Data from Excel sheet to my internal table
Check the following link:
http://www.sap-img.com/abap/upload-direct-excel.htm
or even the below code might be helpful.
Multiple excel sheets generation in a workbook
CREATE OBJECT EXCEL 'EXCEL.SHEET'.
GET PROPERTY OF EXCEL 'Application' = APPLICATION.
SET PROPERTY OF APPLICATION 'Visible' = 1.
CALL METHOD OF APPLICATION 'Workbooks' = BOOKS.
CALL METHOD OF BOOKS 'Add' = BOOK.
CALL METHOD OF BOOK 'WORKSHEETS' = SHEET.
CALL METHOD OF SHEET 'ADD'.
Fill all the sheets with relavant data
PERFORM SHEET1 TABLES ITAB1.
PERFORM SHEET2 TABLES ITAB2.
PERFORM SHEET3 TABLES ITAB3.
PERFORM SHEET4 TABLES ITAB4.
Quit the excel after use
CALL METHOD OF EXCEL 'QUIT'.
FREE OBJECT: COLUMN,SHEET,BOOK,BOOKS,APPLICATION,EXCEL. "NO FLUSH.
CLEAR V_SHEET.
FORM FILL_CELL USING ROW COL VAL.
CALL METHOD OF SHEET 'cells' = CELL NO FLUSH
EXPORTING #1 = ROW #2 = COL.
SET PROPERTY OF CELL 'value' = VAL.
FREE OBJECT CELL NO FLUSH.
ENDFORM. " FILL_CELL
FORM SHEET1 TABLES ITAB1 STRUCTURE ITAB1.
V_SHEET = Sheet Name.
V_NO = V_NO + 1.
CALL METHOD OF BOOK 'worksheets' = SHEET NO FLUSH EXPORTING #1 = V_NO.
SET PROPERTY OF SHEET 'Name' = V_SHEET NO FLUSH.
PERFORM FILL_SHEET1 TABLES ITAB1 USING V_NO V_SHEET.
CALL METHOD OF SHEET 'Columns' = COLUMN.
FREE OBJECT SHEET.
CALL METHOD OF COLUMN 'Autofit'.
FREE OBJECT COLUMN.
ENDFORM.
Repeat above procedure for all sheets you want to add
FORM FILL_SHEET1
TABLES ITAB1 STRUCTURE ITAB1
USING V_NO V_SHEET.
ROW = 1.
PERFORM FILL_CELL USING ROW 1 'Column1 Name'.
PERFORM FILL_CELL USING ROW 2 'Column2 Name'.
PERFORM FILL_CELL USING ROW 3 'Column3 Name'.
ROW = ROW + 1.
LOOP AT ITAB1.
PERFORM FILL_CELL USING ROW 1 ITAB1-Column1.
PERFORM FILL_CELL USING ROW 2 ITAB1-Column2.
PERFORM FILL_CELL USING ROW 3 ITAB1-Column3.
ROW = ROW + 1.
ENDLOOP.
ENDFORM.
Repeat above procedure for all sheets you want to add
Try this also
TYPE-POOLS: truxs.
DATA: it_raw TYPE truxs_t_text_data.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
field_name = 'P_FILE'
IMPORTING
file_name = p_file.
Upload Excel file
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR =
i_line_header = 'X'
i_tab_raw_data = it_raw
i_filename = p_file
TABLES
i_tab_converted_data = i_XCEL[]
EXCEPTIONS
conversion_failed = 1
OTHERS = 2.
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Pls reward if useful.
THanks,
Sirisha
Maybe you are looking for
-
Player Installation with Multiple WinXP Users
It seems that normally, if you install the player ActiveX control in IE7 on XP with a Windows administrator account, then the player is available to Windows limited user accounts on the same computer. However I have one location where even after inst
-
Is there a good way to replace the "view cart" text with another text?
I have this big issue i'm still stuck with, i hope someone can help me. I need to change the text "view cart" in the cart-summary module. I have learned that i can do this with javascript: http://forums.adobe.com/message/4409239#4409239 But there are
-
Serializable transactions and initrans parameter for version enabled tables
Hi, we want to use serializable transactions when using version enabled tables, so we need to set initrans parameter >= 3 for such tables. Change made during BEGINDDL - COMMITDDL process is not done for LT table. I think that initrans parameter is no
-
I have discovered a loophole in your system
I have discovered a loophole in your system and I hope corrected in the next version ,, When the device is locked with a password I can easily open the device without using a password or a fingerprint, and that is the way I ask siri to open Twitter o
-
GetNetworkInterfaces() missing some interfaces
Hi there, I want to retrieve a list of installed network interfaces and I am using: try Enumeration<NetworkInterface> nifs = NetworkInterface.getNetworkInterfaces(); while (nifs.hasMoreElements()) Netwo