Want to modifi "RFDOPR10"
I need to develop a custom transaction, zfi_ageddebt, that will give the user the ability to run a statutory(company code level) debtor report, as well as a debtor report that will be grouped by region based on customer.
This region will be maintained in the customer master field Sales District, (screen field KNVV-BZIRK) This report will be a modification of standard report RFDOPR10.
in RFDOPR10 have one logical database DDF. i want to add field KNVV-BZIRK in that LDB(DDF) selection screen.
advise me,
Thanks and regards, Vijayan
Hello Vijayan,
As you have indicated that the new report will be modification of RFDOPR10, t.e u will be having a z report so include your selction in the report which would appear along with the LDB selection screen. You need to control this based on what report the user wants (Company code/ region). If the user selects region wise anyways you will have to acess KNVV table using customer number as primary key to extract data. This u can code in ur z program. This way you will not tamper with DDF as well as ur purpose will be met.
Hope this helps.
Similar Messages
-
I want some modification in JFileChooser
In FileChooser i was added two buttons "Preview" and "Remove" [Now the File Chooser default one].
Now i select one image file then click the Preview button means i want to preview the selected image in Accesory panel[Now FileChooser with Accesory ] ...
then i click the remove button, the Accesory panel should go... again it will come default Filechooser...
Like this i want to modification in FileChooser....
I dont no how to use Action Listener in that two buttons
Thanks in advance
My code is below
import java.awt.*;
import java.awt.event.*;
import java.io.File;
import javax.swing.*;
public class Test extends JFrame implements ActionListener{
JFileChooser chooser = new JFileChooser();
JButton button = new JButton("click");
JButton fb = new JButton("Preview");
JButton b = new JButton("remove");
JButton b1 = new JButton("test");
public Test() {
super("Simple File Chooser Application");
Container contentPane = getContentPane();
contentPane.setLayout(new FlowLayout());
contentPane.add(button);
button.setSize(10,10);
JPanel fp = (JPanel)chooser.getComponent(3);
JPanel panel = new JPanel();
panel.setLayout(new BoxLayout(panel, BoxLayout.X_AXIS));
panel.add(fb);
panel.add(b);
fb.addActionListener(this);
b.addActionListener(this);
button.addActionListener(this);
fp.add(panel);
button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
int state = chooser.showOpenDialog(null);
File file = chooser.getSelectedFile();
if(file != null &&
state == JFileChooser.APPROVE_OPTION) {
JOptionPane.showMessageDialog(
null, file.getPath());
else if(state == JFileChooser.CANCEL_OPTION) {
JOptionPane.showMessageDialog(
null, "Canceled");
public void actionPerformed(ActionEvent ae)
String s = ae.getActionCommand();
public static void main(String args[]) {
JFrame f = new Test();
f.setBounds(300,300,350,100);
f.setVisible(true);
f.setDefaultCloseOperation(
WindowConstants.DISPOSE_ON_CLOSE);
f.addWindowListener(new WindowAdapter() {
public void windowClosed(WindowEvent e) {
System.exit(0);
}Hi Srinivas,
Configuring condition type takes place in SPRO in SAP, which is meant for functional consultants to customise according to the business requirement.
therefore hiding or putting any fields for display for any function in SPRO is completely illogical as it doesnt serve any purpose.
Hiding or putting any fields to display is a consultants job by which you are restricting the end users from accessing all the fields in the easy access.
Hope it helps
Regards
Sai -
Want A Modification in TN that blocks to add PO....
Hello Expert,
I created one TN to block to add Purchase order if 6 PO for the particular vendor is open.
The following TN is working fine if we do not given any Approval template to it.
The TN is as follows:-
IF @object_type = '22' AND @transaction_type IN ('A')
BEGIN
IF ((SELECT Count(t1.docentry) FROM OPOR t1
where CardCode=(Select Cardcode from OPOR where docentry=@list_of_cols_val_tab_del ))) > 6
BEGIN
SET @error = -2
SET @error_message = ' You Cannot Perform this Action Because this vendor already 6 or greater that 6 Purchase Order Open'
END
END
Now I want modification in the TN is as follows:
Now i applies Approval Procedure then,
1) if for a particular vendor if 6 PO is opened then next PO will not be added,
2) As well as no draft document will be added in the system.
Regards,
SandeshHi,
1. In your TN you have to add
where T1.DocStatus = 'O' and CardCode .. (and the rest that you have)
2. You need to create a query more or less like this:
SELECT 'True' from OCRD T0 Where T0.[CardCode] =$[OPOR.CardCode] and (SELECT Count(t1.docentry) FROM OPOR t1
where T1.CardCode=(Select T1.DocStatus = 'O' and Cardcode from OPOR ))) < 6
3. In the approval you have to remove the always and select "When The Following Applies"
4. in the query name you have to select the query that you created in 2.
Hope it helps,
Augusto -
Modification history of a plan data
Hi Friends,
I want show modification history of a plan data at BI planning folder level. For example, if a sales target is planned for a division for a particular time frame, i want to show when and from whom this sales target was actually entered and modification history data like whether this value was planned directly, or whether the value was formed from targets, any changes in & corrections.
Already designed sales application planning folder and it is working fine. Now i have to incorporate this new functionality.
Now i'm working on BI7 system, with transaction infocube. Could any one of u help me with designing steps to proceed ahead. Or if you have useful pdf docs related to this send to [email protected]
Appreicate your help with points.
thanks,
RPHi Gupta,
Thanks for info and assinged points...
Yes i'm working on BI7, but we don't have web server associated with J2EE server, so accessing planning framework BPS0 only.
For trial purpose,I created one dummy sales planning application by having planning cube without 0bpp_objuid,0uname,0date & 0time objects. Maintained data into planning cube(application) through a planning folder. Then using remodeling concept i included 4 characterstics into planning cube and created required function modules. Now i'm trying to access planning area in bps0, it saying 'Generating enrironment"..in log bar. It seems to be we can achieve this only by again creating new planning objects(planning cube,area,levels,layouts & functions) only...
Any suggestions...
thanks ,
RP
Edited by: Kumar RP on Mar 29, 2008 10:52 AM
Edited by: Kumar RP on Mar 29, 2008 10:54 AM -
FBL5N customer line item ALV report -- define exit points
Customer wants to modifications on FBL5N std sap report. Here's what I think are the options:
1. Modify SAP program (which I dont prefer at all to do)
2. Copy SAP Program into Y/Z program
3. User-exits or BAdIs.
I am in process of doing step 2.
I tried to find any user-exits for the requirement but there seems no user-exit. There is no std BAdI delivered for the same purpose either.
Hence, I was wondering if I can create BAdI so as to define the exit points where I need. Can you suggest on howt to go about this procedure?If you copy and change the program, you have to be aware that in some of the includes, it checks the program name and calling transaction and behaves differently if it's not the normal program name or transaction. If SAP makes significant changes to the program during an upgrade, your changed program won't have these SAP changes. I don't know of any BADIs or user exits for report programs.
Some people wiil disagree with me on this, but I really don't have a problem with making mods to the original SAP code, particulary if you can isolate them in another include and keep changes to the SAP code to a minimum. With version management and SPAU at upgrade and support pack time, you can keep track of your changes and re-apply them if needed.
But it's easy for me to say because I've been doing this for quite a while. If you really don't want to make the changes, then you're probably better off copying and changing a Z program.
Rob -
Copying and updating Data from a table to new table using Merge command
Hi ,
Can anyone please tell me how to do this?
I have a table : EMP(empno(pk),ename,sal,dept) another table is EMP_CLASS(empno(pk),ename)
I want to insert corresponding rows from emp to emp_class table if that row does'nt exist in emp_class
otherwise it will update corrsponding info in emp_class table as well as delete from emp_class according to emp delete operation.
Thanks ,
Deekay.
Edited by: Deekay on Aug 12, 2010 10:59 PMHi Vishu,
This is really helpful, but I want little modification like it will check for deptno in emp and insert in class field if dept is 10 then 1 ,20 ,2 like wise. I have changed emp_class structure .Please find my updated code eaccording to that ,but I am getting error.
MERGE
INTO emp_class
USING emp
ON (emp.empno = emp_class.empno)
WHEN MATCHED
THEN
UPDATE
SET emp_class.ename = emp.calss_name,
emp_class.deptno = emp.deptno,
emp_class.class=select decode(deptno,10,1,20,2,30,3,40,4)from emp
DELETE
WHERE emp_class.empno = emp.empno
WHEN NOT MATCHED
THEN
INSERT (emp_class.empno,emp_class.name,emp_class.deptno,emp_class.class)
VALUES (emp.empno,emp.name,emp.sal,emp.deptno,decode(deptno,10,1,20,2,30,3,40,4)emp.class);
Please help me to fix this.
this is the error:
MERGE
INTO emp_class
USING emp
ON (emp.empno = emp_class.empno)
WHEN MATCHED
THEN
UPDATE
SET emp_class.ename = emp.calss_name,
emp_class.deptno = emp.deptno,
emp_class.class=select decode(deptno,10,1,20,2,30,3,40,4)from emp
DELETE
WHERE emp_class.empno = emp.empno
WHEN NOT MATCHED
THEN
INSERT (emp_class.empno,emp_class.name,emp_class.deptno,emp_class.class)
VALUES (emp.empno,emp.name,emp.sal,emp.deptno,decode(deptno,10,1,20,2,30,3,40,4)emp.class); -
ALV ( How to save the output as Excel file whenever we runs the Report )
Hi,
Can any one please let me know , how we can automatically save a ALV Grid Display report in Excel Format in presentation server whenever we execute the Report.
Regards
Avi.Hi,
This report demonstrates how to send some ABAP data to an
EXCEL sheet using OLE automation.
INCLUDE OLE2INCL.
handles for OLE objects
DATA: H_EXCEL TYPE OLE2_OBJECT, " Excel object
H_MAPL TYPE OLE2_OBJECT, " list of workbooks
H_MAP TYPE OLE2_OBJECT, " workbook
H_ZL TYPE OLE2_OBJECT, " cell
H_F TYPE OLE2_OBJECT. " font
TABLES: SPFLI.
DATA H TYPE I.
table of flights
DATA: IT_SPFLI LIKE SPFLI OCCURS 10 WITH HEADER LINE.
*& Event START-OF-SELECTION
START-OF-SELECTION.
read flights
SELECT * FROM SPFLI INTO TABLE IT_SPFLI UP TO 10 ROWS.
display header
ULINE (61).
WRITE: / SY-VLINE NO-GAP,
(3) 'Flg'(001) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(4) 'Nr'(002) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(20) 'Von'(003) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(20) 'Nach'(004) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(8) 'Zeit'(005) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP.
ULINE /(61).
display flights
LOOP AT IT_SPFLI.
WRITE: / SY-VLINE NO-GAP,
IT_SPFLI-CARRID COLOR COL_KEY NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CONNID COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CITYFROM COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CITYTO COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-DEPTIME COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP.
ENDLOOP.
ULINE /(61).
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-007
EXCEPTIONS
OTHERS = 1.
start Excel
CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
PERFORM ERR_HDL.
SET PROPERTY OF H_EXCEL 'Visible' = 1.
CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:\kis_excel.xls'
PERFORM ERR_HDL.
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-008
EXCEPTIONS
OTHERS = 1.
get list of workbooks, initially empty
CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
PERFORM ERR_HDL.
add a new workbook
CALL METHOD OF H_MAPL 'Add' = H_MAP.
PERFORM ERR_HDL.
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-009
EXCEPTIONS
OTHERS = 1.
output column headings to active Excel sheet
PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
PERFORM FILL_CELL USING 1 3 1 'Von'(003).
PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
LOOP AT IT_SPFLI.
copy flights to active EXCEL sheet
H = SY-TABIX + 1.
PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
ENDLOOP.
changes by Kishore - start
CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
CALL METHOD OF H_EXCEL 'Worksheets' = H_MAPL." EXPORTING #1 = 2.
PERFORM ERR_HDL.
add a new workbook
CALL METHOD OF H_MAPL 'Add' = H_MAP EXPORTING #1 = 2.
PERFORM ERR_HDL.
tell user what is going on
SET PROPERTY OF H_MAP 'NAME' = 'COPY'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-009
EXCEPTIONS
OTHERS = 1.
output column headings to active Excel sheet
PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
PERFORM FILL_CELL USING 1 3 1 'Von'(003).
PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
LOOP AT IT_SPFLI.
copy flights to active EXCEL sheet
H = SY-TABIX + 1.
PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
ENDLOOP.
changes by Kishore - end
disconnect from Excel
CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'C:\SKV.XLS'.
FREE OBJECT H_EXCEL.
PERFORM ERR_HDL.
FORM FILL_CELL *
sets cell at coordinates i,j to value val boldtype bold *
FORM FILL_CELL USING I J BOLD VAL.
CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
PERFORM ERR_HDL.
SET PROPERTY OF H_ZL 'Value' = VAL .
PERFORM ERR_HDL.
GET PROPERTY OF H_ZL 'Font' = H_F.
PERFORM ERR_HDL.
SET PROPERTY OF H_F 'Bold' = BOLD .
PERFORM ERR_HDL.
ENDFORM.
*& Form ERR_HDL
outputs OLE error if any *
--> p1 text
<-- p2 text
FORM ERR_HDL.
IF SY-SUBRC <> 0.
WRITE: / 'Fehler bei OLE-Automation:'(010), SY-SUBRC.
STOP.
ENDIF.
ENDFORM. " ERR_HDL
Please note that this example maybe slow at filling the excel table
(perhaps four fields per second on a 900 MHz machine - almost 30 seconds
for a short example).
To get the data on properties and methods - there is a bit of smoke and mirrors
going on here; they are EXCEL properties and methods, not sap ones - so you need
to look at excel help to determine how a particular function is structured. then
build the block in sap, as shown in the example.
If you only want to transfer the data to Excel like when you transfer the data from
ALV to Excel simply use the Function Modules:
XXL_SIMPLE_API
If you want more modifications when you transfer it to Excel use:
XXL_FULL_API
Hope this helps.
Reward if helpful.
Regards,
Sipra -
Download the ALV Report output into excel sheet or notepad
Hi,
how to downlaod the alv report out into excel sheet or notepad in a proper manner. program contain large number records....
Thanks in advance!!!!
Regards,
kranthi.Hi
Download a report to excel with format (border, color cell, etc)
Try this program...it may help you to change the font ..etc.
Code:
REPORT ZSIRI NO STANDARD PAGE HEADING.
this report demonstrates how to send some ABAP data to an
EXCEL sheet using OLE automation.
INCLUDE OLE2INCL.
handles for OLE objects
DATA: H_EXCEL TYPE OLE2_OBJECT, " Excel object
H_MAPL TYPE OLE2_OBJECT, " list of workbooks
H_MAP TYPE OLE2_OBJECT, " workbook
H_ZL TYPE OLE2_OBJECT, " cell
H_F TYPE OLE2_OBJECT. " font
TABLES: SPFLI.
DATA H TYPE I.
table of flights
DATA: IT_SPFLI LIKE SPFLI OCCURS 10 WITH HEADER LINE.
*& Event START-OF-SELECTION
START-OF-SELECTION.
read flights
SELECT * FROM SPFLI INTO TABLE IT_SPFLI UP TO 10 ROWS.
display header
ULINE (61).
WRITE: / SY-VLINE NO-GAP,
(3) 'Flg'(001) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(4) 'Nr'(002) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(20) 'Von'(003) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(20) 'Nach'(004) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
(8) 'Zeit'(005) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP.
ULINE /(61).
display flights
LOOP AT IT_SPFLI.
WRITE: / SY-VLINE NO-GAP,
IT_SPFLI-CARRID COLOR COL_KEY NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CONNID COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CITYFROM COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-CITYTO COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
IT_SPFLI-DEPTIME COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP.
ENDLOOP.
ULINE /(61).
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-007
EXCEPTIONS
OTHERS = 1.
start Excel
CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
PERFORM ERR_HDL.
SET PROPERTY OF H_EXCEL 'Visible' = 1.
CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:\kis_excel.xls'
PERFORM ERR_HDL.
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-008
EXCEPTIONS
OTHERS = 1.
get list of workbooks, initially empty
CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
PERFORM ERR_HDL.
add a new workbook
CALL METHOD OF H_MAPL 'Add' = H_MAP.
PERFORM ERR_HDL.
tell user what is going on
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-009
EXCEPTIONS
OTHERS = 1.
output column headings to active Excel sheet
PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
PERFORM FILL_CELL USING 1 3 1 'Von'(003).
PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
LOOP AT IT_SPFLI.
copy flights to active EXCEL sheet
H = SY-TABIX + 1.
PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
ENDLOOP.
changes by Kishore - start
CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
CALL METHOD OF H_EXCEL 'Worksheets' = H_MAPL." EXPORTING #1 = 2.
PERFORM ERR_HDL.
add a new workbook
CALL METHOD OF H_MAPL 'Add' = H_MAP EXPORTING #1 = 2.
PERFORM ERR_HDL.
tell user what is going on
SET PROPERTY OF H_MAP 'NAME' = 'COPY'.
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 0
TEXT = TEXT-009
EXCEPTIONS
OTHERS = 1.
output column headings to active Excel sheet
PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
PERFORM FILL_CELL USING 1 3 1 'Von'(003).
PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
LOOP AT IT_SPFLI.
copy flights to active EXCEL sheet
H = SY-TABIX + 1.
PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
ENDLOOP.
changes by Kishore - end
disconnect from Excel
CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'C:\SKV.XLS'.
FREE OBJECT H_EXCEL.
PERFORM ERR_HDL.
FORM FILL_CELL *
sets cell at coordinates i,j to value val boldtype bold *
FORM FILL_CELL USING I J BOLD VAL.
CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
PERFORM ERR_HDL.
SET PROPERTY OF H_ZL 'Value' = VAL .
PERFORM ERR_HDL.
GET PROPERTY OF H_ZL 'Font' = H_F.
PERFORM ERR_HDL.
SET PROPERTY OF H_F 'Bold' = BOLD .
PERFORM ERR_HDL.
ENDFORM.
*& Form ERR_HDL
outputs OLE error if any *
--> p1 text
<-- p2 text
FORM ERR_HDL.
IF SY-SUBRC <> 0.
WRITE: / 'Fehler bei OLE-Automation:'(010), SY-SUBRC.
STOP.
ENDIF.
ENDFORM. " ERR_HDL
Please note that this example maybe slow at filling the excel table
(perhaps four fields per second on a 900 MHz machine - almost 30 seconds
for a short example).
To get the data on properties and methods - there is a bit of smoke and mirrors
going on here; they are EXCEL properties and methods, not sap ones - so you need
to look at excel help to determine how a particular function is structured. then
build the block in sap, as shown in the example.
If you only want to transfer the data to Excel like when you transfer the data from
ALV to Excel simply use the Function Modules:
XXL_SIMPLE_API
If you want more modifications when you transfer it to Excel use:
XXL_FULL_API -
hi,
use vikas's application ,
i want some modifications in that,
i create check box in brows file report , now i want to insert checked records into tables .
please give me modified code of HTMLDB_tools package.
i am trying last 6 days on that problem.but i dont get solution.
http://htmldb.oracle.com/pls/otn/f?p=38131:1:3738150661527672hi,
use vikas's application ,
i want some modifications in that,
i create check box in brows file report , now i want to insert checked records into tables .
please give me modified code of HTMLDB_tools package.
i am trying last 6 days on that problem.but i dont get solution.
http://htmldb.oracle.com/pls/otn/f?p=38131:1:3738150661527672 -
Hi, sorry if this is in the incorrect section, couldnt find one specifically tailored to web forms.
I am attempting to edit the content of a web form. When laying out the design of the form in the web form editor, the html is not being updated with the changes I make. (I understand that the form needs to be inserted into a page, I am refering to html generated by the form editor) Specifically, when I drag an input field up or down to rearrange the order. The input field will 'click' into place, and I get a message saying that the layout has saved. Everything looks fine until I check the html code, the changes are not updating. If I check back to the form editor, everything looks fine again (in the correct order.)
I have tried everything I can think of, deleting and recreating the incorrect input fields, using the 'update' button at the bottom of the screen, etc.
The one thing I have found to work is that if I insert the form into a page, then rearrange the misbehaving input fields in the page html. This has worked, but then I am running into another problem that the data collected is still out of order. When a form is submitted, everything is in the wrong order in the email recieved by our accounting. This makes it very hard for them to sort it out and use the data.
I have noticed that each 'custom input" field has a unique number, possibly it sorts them according to this?
Thanks for the help!Web forms can be inserted into the page as html or as a module. If as the html the edits and changes you do there will only be there. Anything done differently in the admin will not appply to that for in terms of its layout.
In the admin you have two things. Customise web form which runs updated changes so if you add as a module then what you change there will update in the module.
The other, the get html is just a static non changing raw html source output which is there to be used if you were giving someone the working code for that form to be on a different website.
If you are viewing that this will never change.
In terms of what you see in the admin and the form order.. If you make ANY changes to the html of a form the system will not try and take control of the source of the form so the ordering will not change. This is for you to do in the html yourself if you want custom modifications to that form. -
How to calculate the maximum session for Confernecing and Xcoder on VG
Hi All
Please help me to understand the logic and concept that how we can calculate the number of session that we can define for the Conferencing and Xcoder Configuration on the VG.
Regards
ChamanHi Jaime
Thanks for Reply.
I created the Dsp profile . According to ISR i configured the Sessions . But i want to know the exact concept how to calcluate and if suppose i want some modification in future according to the conference calls that i want to support how do i calculate??
dspfarm profile 2 transcode
codec g729abr8
codec g729ar8
codec g711alaw
codec g711ulaw
codec g729r8
codec g722-64
maximum sessions 13
associate application SCCP
dspfarm profile 1 conference
codec g729br8
codec g729r8
codec g729abr8
codec g729ar8
codec g711alaw
--More-- codec g711ulaw
maximum conference-participants 16
maximum sessions 3
associate application SCCP -
Shiping labels print from LM19 Transaction in WM
Hi all,
This is regarding shipping labels print from RF transaction LM19.
How it can be done?
I saw in some document that we can do it with the user exit provided by SAP, Which is accessed by function module LE_MOB_PRINT.
Please let me know the procedure Completely how to make use of this user exit.
Thanks in advance.
RajaPlease read the following documentation. Hope it helps.
==============================================Two user exits are available for the printing of transfer orders:
1. in RLVSDR40 -> MWMD0001 : EXIT_RLVSDR40_001
Print transfer orders (TOs)
2. in RLKOMM40 -> MWMD0002 : EXIT_RLKOMM40_001
Print TOs using the multiple processing task
Both user exits allow you to control the process of printing transfer orders. The two user exits also have the same transfer parameters. If you want a modification to become effective in both print reports, you must activate both user exits and include the code you have written in shared routine. This is possible since both user exit function modules are contained in the same function group. -
JEditorPane: how to replace small parts of the document?
Hi
Im trying to create an application that will allow two people to type into two different JEditorPanes, but have the two people essentially editing the same document. So if one person types someting into thier frame, I want that modification sent to the other frame as well.
The problem I've come across is how to make changes to the contents of the frame without interfering with the person whos trying to type into it. That problem boils down to how do you replace only a small part of the document whithout taking control of the users caret?Hopfully I got your problem right. To change only small parts of the EditorPane's document should not be the probelm you can get it with EditorPane.getDocument(). But I think you have to take control over the caret, because the when user 1 has finished editing and sends the doc to user 2 who is editing the doc, user 2's caret position will change because the document length has changed.
The easiest way would be to add an input area (TextArea) for each user where they can type theit text and than to add the text into the document when they press enter, so you don't have the trouble with te caret position. If you don't want to do this then you could try that: the input of the users is cached while they are typing (not changing the doc) till they press enter. Then the doc is send to the other user, the users doc in the pane is updated and his current typing is added to the end of the new received doc. You can figure out the correct position by doc.getLength() and set the new caret position to doc.length + currentTyping.length
Hope that helps
Eryk -
Change of query already in workbook
Hi,
I have created a workbook for a query and moved to QA. Now the user wants some modifications and I had to change the query. Then I recreated the workbook and saved in the same name. And moved to QA. But the changes that I made to the workbook do not reflect in QA. The workbook reflects the old format only.
Did any of you face the same problem? How do I rectify this?
I look forward to your suggestions.
Thanks
KumarHello Kumar,
The name that u have given for your new workbook is the description; that may be the same for the old and new workbook; but, the technical name is different for both. So, it is obvious that the new workbook can not overwrite the old workbook.
So, may be u can delete the old workbook and advise user to use the new workbook - which is with same description.
-- plz assign points if helpful --
Regards,
Mainak -
Script for copy and compile objects from one schema to another
Hi,
I have 2 schemas like schema1 and schema2 in both schemas i have same procedures/function like p_test1 .If i modify a procedure in schema1 i want same modifications in schema2 so i want a script to apply these changes to schema 2.
except bellow process any alternative
SET PAGESIZE 10000
SET feedback OFF
SET heading OFF
SET echo OFF
spool d:\SQL.OUT
SELECT TEXT
FROM USER_SOURCE
WHERE NAME = 'MY_PROCEDURE';
spool OFF
SET echo ON
SET feedback ON
SET heading ON
CONNECT OTHER_USER/OTHER_PASSWORD@OTHER_DATABASE;
@d:\SQL.OUTAll what you have to know about that function :
http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_metada.htm#sthref3536
Nicolas.
Maybe you are looking for
-
Internet connection is AT&T highspeed DSL via Westell modem. Antivirus is AVG 2011. OS is XP Home SP2, circa 2002.
-
How do I create a web streaming app using digital publishing suite?
Hello, and thank you in advance. I'm looking for tutorials and guides on how to create a web streaming version of an app using digital publishing suite. Can anyone point me in the right direction.
-
@oracle team; forms server help desparately needed
hi my company is trying to migrate client machines to linux. our setup should be the following: database <-> forms server <-> linux client with applet viewer v9.2.....................v9i.................debian 3.0, j2sdk1.3 i am working on this setup
-
"All you need is a single cable to set it up"
Unless I'm mistaken, I think you'll need two cables at the very least. One would be power... I noticed it while I was reading through the blurb on the site - I'm half thinking of buying an Apple TV module. As I HATE cables, I thought that was a good
-
IPhone 5 not recognized in Windows Explorer, Advanced
Hi all, My goal is to rescue the pictures that my phone is holding hostage. iTunes recognizes the phone and syncs correctly, I can see the device in Media Monkey and write to the device properly with that app. However, I cannot see the device in Wi