How can we display the list of Report Names in Dashboard Prompt?
How can we display the list of Report Names in Dashboard Prompt?
Hi,
No its not possible to display list of reports in dashboard prompts.
Can do this using SQl results in prompt(we write query checking out report names manualy),but its not easy thing if you are having many report names to be displayed.
Assign points and close your threads if answered.
Refer : http://forums.oracle.com/forums/ann.jspa?annID=939
Regards,
Srikanth
Similar Messages
-
How to extract all the list of reports names available in the WEBI public?
can anyone please help me how to extract all the list of reports names which are available in the WEBI Public folder?
I ran the VB macro downloaded from net but that is extracting all crystal,deski & webi reports..
but i want only webi list of reports..
Please help me to achieve this?
Thanks
RadhaIs this about Business Objects WEBI? You might want to post in the BOBJ forums instead.[BOBJ Forums|/community [original link is broken];
-
How can BPC display the property in report input schedule
When create a property, if the InApp is check, we can use the property in the MDX Query, however what is the best way to display the property in report and input schedule?
Although we can use the EvPRO function, but according the definition of EvPRO
"The EvPRO (Property value) function returns the value of a specified property for a specified member."
for example =EVPRO("Finance","Sales","Currency") will returns USD, if the currency value for the member Sales is U.S. dollars., if I have a property group for account dimension, how could I display the value of group for all the account number?Hi
you just use EVPRO like you mentioned:
=EVPRO(Finance,$D20,group)
In the cell $D20 your account number is displayed. You copy this function down for each account.
-> just create an input schedule or report from a template, open the configuration panel. There you see this principle used for property High Level, Calc, ...
D
this method is perfect but you need to add the formula each time.
I would prefer to use the formula using the after or before range in expansion options of evdre which would make it dynamic and you need not copy paste the formula to derive the property each time.
Cheers
Thanks and Regards
Harish B K -
How can I display the first and last name using a paramater as employee ID?
Hi SAP,
I have a parameter that is called {? Employee ID}. What I want to do is display the first and last name based on the employee ID value entered in {? Employee ID} in the page header of the report. Right now, when I put the following formula in the page header only some pages get the right result while other pages dont....
if table.employeeid = {? Employee ID} then
table.firstname" "table.lastname
It appears as though if the first record in the details section on the beginning of each page happens to be the employee under {? Employee ID} then it prints it correctly, if it isn't I get a null value in the page header.
Anyone have any ideas?
ZHi Try this,
Whileprintingrecords;
if ={?EmpID} then
Also check the option "Default values for null" in the formula editor.
Regards,
Vinay -
How can I display the range for LastFullMonth in the header of a report
How can I display the month for LastFullMonth in the header of a report run in the past so that a report that ran sept 1 2009 selecting data for LastFullMonth (august 2009) displays sept 2009 in the header even if there is no data selected by the report?
Good,
Sometimes I answer these questions and completly miss it....
( lack of understanding on my part ) -
How can i display the days of the month in my report, please help
dear all
my table name is day_close_table
it contains these columns:
product_code number,
the_date date,
sale_qty number,
buy_qty number
price number
i need to make report like the fiollowing
product : 10144 from: 1-jan-2006 to :10-jan-2006
days | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
Sale | 50| 10| 20| 15|10|5 | 6 | 11|12|6 |
buy |10 | 20 | 10| 0 | 0 | 0 | 10| 1 | 1| 1|
i created two query and i decieded to join them
the first one is to display days in horizon direction
my query is:
SELECT TO_CHAR(THE_DATE,'DD-MONTH')D,
FROM HS_DAY_CLOSE;
my question is how can i display the records in horizone direction
please helpi solved this problem using this query
SELECT STOCK_CODE, COUNTRY_ID,
SUM(DECODE(to_char(the_date,'dd') ,'01', buy_qty)) "1",
SUM(DECODE(to_char(the_date,'dd') , '02', buy_qty)) "2",
SUM(DECODE(to_char(the_date,'dd') , '03', buy_qty)) "3",
SUM(DECODE(to_char(the_date,'dd') , '04', buy_qty)) "4",
SUM(DECODE(to_char(the_date,'dd') , '05', buy_qty)) "5",
SUM(DECODE(to_char(the_date,'dd') , '06', buy_qty)) "6",
SUM(DECODE(to_char(the_date,'dd') , '07', buy_qty)) "7",
SUM(DECODE(to_char(the_date,'dd') , '08', buy_qty)) "8",
SUM(DECODE(to_char(the_date,'dd') , '09', buy_qty)) "9",
SUM(DECODE(to_char(the_date,'dd') , '10', buy_qty)) "10",
SUM(DECODE(to_char(the_date,'dd') , '11', buy_qty)) "11",
SUM(DECODE(to_char(the_date,'dd') , '12', buy_qty)) "12",
SUM(DECODE(to_char(the_date,'dd') , '13', buy_qty)) "13",
SUM(DECODE(to_char(the_date,'dd') , '14', buy_qty)) "14",
SUM(DECODE(to_char(the_date,'dd') , '15', buy_qty)) "15",
SUM(DECODE(to_char(the_date,'dd') , '16', buy_qty)) "16",
SUM(DECODE(to_char(the_date,'dd') , '17', buy_qty)) "17",
SUM(DECODE(to_char(the_date,'dd') , '18', buy_qty)) "18",
SUM(DECODE(to_char(the_date,'dd') , '19', buy_qty)) "19",
SUM(DECODE(to_char(the_date,'dd') , '20', buy_qty)) "20",
SUM(DECODE(to_char(the_date,'dd') , '21', buy_qty)) "21",
SUM(DECODE(to_char(the_date,'dd') , '22', buy_qty)) "22",
SUM(DECODE(to_char(the_date,'dd') , '23', buy_qty)) "23",
SUM(DECODE(to_char(the_date,'dd') , '24', buy_qty)) "24",
SUM(DECODE(to_char(the_date,'dd') , '25', buy_qty)) "25",
SUM(DECODE(to_char(the_date,'dd') , '26', buy_qty)) "26",
SUM(DECODE(to_char(the_date,'dd') , '27', buy_qty)) "27",
SUM(DECODE(to_char(the_date,'dd') , '28', buy_qty)) "28",
SUM(DECODE(to_char(the_date,'dd') , '29', buy_qty)) "29",
SUM(DECODE(to_char(the_date,'dd') , '30', buy_qty)) "30",
SUM(DECODE(to_char(the_date,'dd') , '31', buy_qty)) "31"
FROM HS_DAY_CLOSE
GROUP BY STOCK_CODE,COUNTRY_ID -
How can I display the holiday list in the portal
System
ECC 6.0
EP 7.0
ESS/MSS 1.0
how can I display the holiday list in the portal.
There will be a holiday list created by the ABAP-er in ECC, how can I include it in the portal?Hi,
Create a WebDynpro Iview to create a simple application that pulls information from the RFM(that you has ABAPer created).
Start from <a href="https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#backend">Here</a>
(Or)
To get an idea, download the world time BP from below link. It has calender with holidays displayed.
http://www.sweetlets.com/world_times_preview.html
Regards,
N. -
How can I display the vendor associated with result of my running total sum
I have a report that lists vendors with their most vecent order dates. I need to set up a rotation so that the vendor with the latest order date is next to be selected. I used the running total summary to pick the latest date. How can I display the vendor associated with result of my running total summary?
If your "latest" order date means the "oldest" order date, why don't you try this:
Go to Report tab -> Record Sort Expert -> Choose your order date in ascending order
This will make your oldest order your first record shown.
You can then create a running total count for each record.
Lastly, in your section expert under conditional suppress X+2 formula, write this:
{#CountRecords}>1
The result will only show the oldest record in your report.
I hope that helps,
Zack H. -
How can I display a list of records from a JSP to my Midlet ??
Hi there !
I'm new in J2ME. I have been strugling with this problem for weeks now. All I find on the net is some theory and is not helping me much. Here the deal
I have created a Midlet that shoud display a certain list which is from the remote database. The list comes from a JSP file in the server. When I use the browser I can see the list.
The problem comes when I have to take the same list and output it in my midlet file. Then finding the selected index of the selecte item of the same list and using it somewhere else.
I would appreciate it if somone could help me !!
My head is speaning now !!! If you want me to post my code so one could identidy the proble, I don't mind !! Help please !!Here is my Code !!
String url = "http://10.2.25.3:8080/CreateAppointment/doctorsList.jsp";
String dateUrl = "http://10.2.25.3:8080/CreateAppointment/date.jsp";
String myUsername,myPassword;
// Custom declaration code starts here
public CreateAppointment_GUI()
//Creating a login Form
loginScreen = new Form("Login");
//Login form Textfields
username = new TextField("Username:", null, 200, TextField.ANY);
password = new TextField("Password:", "Initial text", 200, TextField.ANY| TextField.PASSWORD);
loginScreen.append(username);
loginScreen.append(password);
//Adding the commands
loginScreen.addCommand(loginCommand);
loginScreen.addCommand(cancelCommand);
loginScreen.setCommandListener(this);
loginScreen.setItemStateListener(this);
// Creating my selection list
String[] selectionList = { "1.Appointments", "2.Add New Patient", "3.Patient Details" };
listSelectAction = new List("Select Action", List.IMPLICIT, selectionList, images);
listSelectAction.addCommand(backCommand);
listSelectAction.addCommand(nextCommand);
listSelectAction.setCommandListener(this);
public void startApp() throws MIDletStateChangeException
display = Display.getDisplay(this);
display.setCurrent(loginScreen);
public void pauseApp()
public void destroyApp(boolean unconditional) throws MIDletStateChangeException
notifyDestroyed();
public void itemStateChanged(Item item)
void getDoctors(String url) throws IOException {
HttpConnection connection = null;
InputStream is = null;
OutputStream os = null;
StringBuffer stringBuffer = new StringBuffer();
TextBox textBox = null;
String newStr =null;
String newStr2=null;
Vector v = new Vector();
try {
connection = (HttpConnection)Connector.open(url);
connection.setRequestMethod(HttpConnection.POST);
//connection.setRequestProperty(String key, String value)
connection.setRequestProperty("IF-Modified-Since","20 Jan 2001 16:19:14 GMT");
connection.setRequestProperty("User-Agent","Profile/MIDP-2.0 Confirguration/CLDC-1.0");
connection.setRequestProperty("Content-Language", "en-CA");
connection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
os = connection.openOutputStream();
is = connection.openInputStream();
int ch;
while ((ch = is.read()) != -1) {
stringBuffer.append((char) ch);
System.out.print((char)ch);
}//while
newStr = stringBuffer.toString();
newStr2=newStr.trim();
int start = 0;
position = newStr2.indexOf("%", 0);
while ((position = newStr2.indexOf("%",start)) > -1) {
String aName = newStr2.substring(start,position);
v.addElement(aName); // store the substring
start = position + 1; // so the next time we start checking following the space
String[] theNames = new String[v.size()]; // create an array big enough to store the strings
v.copyInto(theNames); // Now theNames is a String array with the list of names
// now we can create a List using this array:
listDoctors = new List("Select Doctor", List.IMPLICIT, theNames,null);
listDoctors.addCommand(backCommand);
listDoctors.addCommand(nextCommand);
listDoctors.setCommandListener(this);
} //try
finally {
if(is!= null) {
is.close();
} //if
if(os != null) {
os.close();
}//if
if(connection != null) {
connection.close();
}//if
}//final
display.setCurrent(listDoctors);
} //invoke
public void commandAction(Command c, Displayable d)
if (c == loginCommand)
myUsername = username.getString();
myPassword = password.getString();
Thread thread = new Thread() {
public void run() {
try {
getDoctors(url);
display.setCurrent(listSelectAction);
}// Try
catch (IOException ioe) {
ioe.printStackTrace();
}// catch
}// Public void
};//Thread
thread.start();
else if (c == cancelCommand && d == listSelectAction)
else if (c == nextCommand && d == listSelectAction)
int selectedAction = listSelectAction.getSelectedIndex();
Alert displayNewText =
new Alert("Selected","Screens are still being developed", null, AlertType.INFO);
displayNewText.setTimeout(1000);
if (selectedAction == 0)
Thread thread = new Thread() {
public void run() {
try {
getDoctors(url);
display.setCurrent(listSelectAction);
}// Try
catch (IOException ioe) {
ioe.printStackTrace();
}// catch
}// Public void
};//Thread
thread.start();
if (selectedAction == 1)
display.setCurrent(displayNewText);
if (selectedAction == 2)
display.setCurrent(displayNewText);
}//Else
else if (c == backCommand && d == listDoctors)
display.setCurrent(listSelectAction);
else if (c == nextCommand && d == listDoctors)
Thread thread1 = new Thread() {
public void run() {
try {
getDate(dateUrl);
display.setCurrent(listDate);
}// Try
catch (IOException ioe) {
ioe.printStackTrace();
}// catch
}// Public void
};//Thread
thread1.start();
else if (c == backCommand && d == listDate)
display.setCurrent(listDoctors);
}That is my midlet !! Now here is the code for my JSP !!
<%@ page import="java.sql.*" %>
<%@page import="java.util.*,java.text.*" %>
<%
String name="";
String id = "";
String connectionURL = "jdbc:microsoft:sqlserver://10.2.25.223;DatabaseName=NDOH_PAAB";
Connection connection = null;
Statement statement = null;
ResultSet rs = null;
%>
<%
try
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
catch (Exception ex)
out.println(ex.toString());
connection = DriverManager.getConnection(connectionURL,"remotepaab_user","mohwiti2004");
statement = connection.createStatement();
String mysql ="SELECT * from physicians";
//out.println(mysql);
rs = statement.executeQuery(mysql);
%>
<%
while (rs.next()) {
name= rs.getString("name");
id = rs.getString("id");
out.print(name + "%");
out.print(id + "%");
%>
<%
%>
<% rs.close(); %>In the JSP the name variable is the one that has my List. The problem is how do I say in my Midlet = display the list contained in name. Or in id. I need to use both of them "name + id". the id I will use to find out which name a user ha selected !! Not sure how !!!
Any help would be appreciated !! Thanks !! -
How can i display the error count
Hi I'm using jdev11g
How can i display the count of errors in validation error message pop up instead of displaying the entire list.Searching the forum would help
Re: How to customize Error? -
To display the list of File Name in a report region from a Directory
Hello All,
Can any one guide me in displaying the list of file name from a file system directory in a report region with link?
On click of the link it should display the open/save dialog box.
I will appreciate the early solution. (It is bit urgent)
Thanks,
ShyamA quick, "dirty solution would be to have a cron job (I am assuming you are on a UNIX-based system) that populates a file periodically with the names of files in a directory/directories. Then have an external table that points to that file. You can then create an Apex report that lists the contents of the external table.
1) crontab job:
ls -1 /source_dir/* > /destination_dir/file.list
2) create external table:
CREATE DIRECTORY filedir AS ' destination_dir ';
GRANT READ ON DIRECTORY xfer_files TO public;
CREATE TABLE file_list_ext (file_names VARHCAR2(100))
ORGANIZATION EXTERNAL
TYPE oracle_loader
DEFAULT DIRECTORY files_dir
ACCESS PARAMETERS
records delimited by newline
fields terminated by ','
missing field values are null
(file_name)
LOCATION ('file.list')
REJECT LIMIT UNLIMITED;
3) create APEX report on table: file_list_ext
Hope this helps. -
How can we find the list of user exits for a transaction
hi all
iam new in user exits please send the basic details
how can we find the list of user exit for a perticular transaction and how can we determine that a particulr user exit is used for a field
regards
jagadishhi,
check the below links for userexits
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
FAQ's
http://http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.ficoexpertonline.com/downloads/User%20ExitsWPedit.doc
http://www.easymarketplace.de/userexit.php
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
1. what is the defference between enhancement and user-exits?
http://www.sap-img.com/abap/difference-between-badi-and-user-exits.htm
Re: difference between user exits & customer exits
Some Questions ! Plz help...
http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci1190924_tax299358,00.html?bucket=ETA
2. Difference between CMOD and SMOD?
http://www.sap-img.com/abap/what-is-the-difference-between-smod-and-cmod.htm
http://www.sap-img.com/abap.htm
http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/diff-between-cmod-and-smod-236095
http://sap.ittoolbox.com/groups/technical-functional/sap-r3-dev/diff-between-cmod-and-smod-236107
check these links..
http://www.sapgenie.com/abap/tips_and_tricks.htm
http://www.sap-img.com/abap/field-exits-smod-cmod-questions-and-answers.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
passing selet-option variable to subrouine...
Finding the user-exits of a SAP transaction code
Finding the user-exits of a SAP transaction code
Enter the transaction code in which you are looking for the user-exit
and it will list you the list of user-exits in the transaction code.
Also a drill down is possible which will help you to branch to SMOD.
Written by : SAP Basis, ABAP Programming and Other IMG Stuff
http://www.sap-img.com/*
report zuserexit no standard page heading.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
select single * from tadir where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
*---End of Program
if u want to find the function exit
then check the below code
REPORT ZV_FIND_EXIT NO STANDARD PAGE HEADING.
TABLES : TSTC, TADIR, MODSAPT, MODACT, TRDIR, TFDIR, ENLFDIR.
TABLES : TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE OBLIGATORY.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR WHERE FUNCNAME =
TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT = 'SMOD'
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT WHERE SPRSL EQ SY-LANGU AND
TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(95) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Exit Name',
21 SY-VLINE ,
22 'Description',
95 SY-VLINE.
WRITE:/(95) SY-ULINE.
LOOP AT JTAB.
SELECT SINGLE * FROM MODSAPT
WHERE SPRSL = SY-LANGU AND
NAME = JTAB-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 SY-VLINE,
2 JTAB-OBJ_NAME HOTSPOT ON,
21 SY-VLINE ,
22 MODSAPT-MODTEXT,
95 SY-VLINE.
ENDLOOP.
WRITE:/(95) SY-ULINE.
DESCRIBE TABLE JTAB.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , SY-TFILL.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
AT LINE-SELECTION.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
or
1. in se11, goto table MODSAP
View table contents
2. in Type field, enter 'E' (for function exit)
3. For that tcode, u should know the program name.
eg. SAPLLMOB
4. then type SAPLLMOB and execute
or
REPORT z34331_user_exit .
TABLES : tstc, "SAP Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP Modifactions
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
Regards,
Naveen -
How can I display the data in table in separate column?
I have a vi reading data one by one in the same column.
How can I display the data with separate column?
like this:
data 1 | read | read
data 2 | read | read
data 3 | read | read
(would you mind if I will ask for an example
because it is much easier for me to work
with an example)
THANK YOU.If you're reading your data in as a 1D array, this is as simple as using the Reshape Array to make a 2D array. I've attached an example in LabVIEW 6.1 format. The example rearranges a single column of data fill several columns horizontally, but you can easily modify this code to fill the columns downward instead.
Attachments:
Data_Column_Example.vi 18 KB -
I can successfully view and control a VI remotly. However, the remote VI dinamically loads another VI, this VI loaded dinamically is a VI that allows open others VIs, I want to see the files that contains the server machine, in the client machine, but the front panel of the dinamic VI appears only on the server and not on the client, How can I display the fron panel with the files of the server machine of the dinamically loaded VI on the client computer?
Attachments:
micliente.llb 183 KB
miservidor.llb 186 KB
rdsubvis.llb 214 KBI down loaded your files but could use some instructions on what needs run.
It seems that you are so close yet so far. You need to get the data on the server machine over to the client. I generally do this by doing a call by reference (on the client machine) of a VI that is served by the server. THe VI that executes on the server should pass the data you want to diplay via one of its output terminals. You can simply wire from this terminal (back on the client again) to an indicator of your choosing.
Now theorectically, I do not think that there is anything that prevents use from getting the control refnum of the actual indicator (on the server) of the indicator that has the data, and read its "Value" using a property node. I have never tried this idea but it seems t
hat all of the parts are there. You will need to know the name of the VI that holds the data as well as the indicator's name. You will also have to serve all VI's. This is not a good idea.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
How can I display the HTML page from servlet which is called by an applet
How can I display the HTML page from servlet which is called by an
applet using the doPost method. If I print the response i can able to see the html document. How I can display it in the browser.
I am calling my struts action class from the applet. I want to show the response in the same browser.
Code samples will be appreciated.hi
I got one way for this .
call a javascript in showDocument() to submit the form
Maybe you are looking for
-
No keyboard appears in Safari search?
When in Safari and using search via Google, no keyboard pops up at the bottom and therefore you can't type "your requested" search. This just happened. It was working just fine. Please help.
-
Client Photo Management Solution?
I am searching for a software solution that will allow me to store 5GB-7GB of photos in the cloud so my client can view and download images from his photo gallery. If possible, having the option to download a couple different resolutions would be ide
-
Hi, I'm pasting a .png logo in Keynote. The color is just different. Can't find any place where I can manage the color adjustment for keynote. Need solution for this issue. Can someone help me please?
-
Changing Apple ID to reconfigure business phone.
Hi, my boss has asked me to create a new itunes account for our office iphone (3g). I have created the new ID with the business email, however the macbook I use as for the business is his old personal macbook.Having signed into the new account I can
-
Master Collection - All worked - Now some don't
Quad core 2gig ram xp sp3 Gforce 8600gt Ok I have a difficult one. I installed CS3 Master Collection about two months ago. I tested out the programs to see if they all worked and they did. Then about two weeks ago I tried After Effects and get the C+