How to Add delta functionality to generic datasource
Hello all,
My requirement is to make a Generic Transactional Data source Extractor to Delta enabled.
The datasource doesnt contain either of the following delta enabling functionality
-> Date
->time stamp
->Numeric pointer.
Could anyone suggest idea how to add these in Generic Datasource so that it can be delta enabled
regards
Bala
Hi Bala,
Coding should be done checking th trasaction and the tables.
but i can provide outline .
add a field last changed on and write a code saying last changed on is equal to sy-datum.
i am not sure of the scenario where to write this code and after which line.you can take a decision.
check the link below
https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c062a3a8-f44c-2c10-ccb8-9b88fbdcb008&overridelayout=true
Regards
Joga
Similar Messages
-
How we add parter function in customer sales area usinf xd02
how we add parter function.in xd02.any function module or user exit is there.
it check first whether parter exit or not if not exit then add to atb partner function tab in XD02.any bdc how we add at run time thisu can check with lsmw
-
How to add scroll function in the applet launched by Java Web Start?
I have Java Web Start installed in order for the applet to launch.The applet size: width:700 height:1000
my compuer resolution:800*600
the applet launched by Java Web Start can only be seen partly,especially height.How to add scroll function in the applet launched by Java Web Start?
Thanks for help.
email:[email protected]You can very easily add a JScrollPane manually between the Applet and your content. Perhaps it would be beter if javaws did this automatically. In the browser, an applet can be any size. In Java Web Start an applet is directly contained within a JFrame, so it cannot be smaller than the minimum size of a JFrame, or Larger than the max.
-
How does the Delta functionality works while updating Infocube from PA
Hi Gurus
How does the Delta functionality works when you send forecast to the Info cube from the Planning Area.
As I have weekly based planning, every week we have to update the forecast into the Cube. If I update every week into the Cube , then the values are going to append in the Info cube.
Shall I create ODS in between the Planning area and the Info cube .
(or)
Any other method ?
Please Suggest.Hi Preetham,
Data Extraction from planning area to infocube usually its supports for full update only, when u r going to load the data from planning area to cube ,it deletes the previous data and u vil get the fresh data, this is the best method performance wise,
if u want to use the delta functionality u can go for planning area to Dso, Dso to cube, it vil supports the delta functionality, but it vil degrades the system performance,
regards
ravi -
To enable delta update in generic datasource
Hi All,
I'm creating a generic datasource for master data. I want to enable the delta update option. While creating the datasource the option is disabled and i'm not able to tick the checkbox. Can you please tell me how to enable the delta update option.
Thanks in advance,
SanandaHi Sananda,
when creating the DataSource, choose button Generic Delta. In the dialog box that appears, specify the delta-determining field and the type of this field. Maintain your entries and save data. After the DataSource has been generated, the delta update field is selected.
Regards,
Theodoros -
How to call a function with generic table parameter
Hi everybody
I need to call function module RSAR_ODS_API_GET (from BW). It recive an internal table with request ids and should return in E_T_DATA "unstructured" data from the psa and in E_T_RSFIELDTXT the description of the data structure, I guess
from sap help only thing I have reggarding how to use the function module is :
"You can call up the function module RSAR_ODS_API_GET with the list of request IDs given by the function module RSSM_API_REQUEST_GET. The function module RSAR_ODS_API_GET no longer recognizes InfoSources on the interface, rather it recognizes the request IDs instead. With the parameter I_T_SELECTIONS, you can restrict reading data records in the PSA table with reference to the fields of the transfer structure. In your program, the selections are filled and transferred to the parameter I_T_SELECTIONS.
The import parameter causes the function module to output the data records in the parameter E_T_DATA. Data output is unstructured, since the function module RSAR_ODS_API_GET works generically, and therefore does not recognize the specific structure of the PSA. You can find information on the field in the PSA table using the parameter E_T_RSFIELDTXT."
unfortunately I when running de report bellow, I get a dump which says:
Function parameter "E_DATA" is unknown
in the definition of the interface E_DATA has no type, which means it can recive any table type, right?
So I have two questions?
1) How to get the code working
2) How do I use the parameter E_T_RSFIELDTXT to parse the data returned in E_DATA
by debuging RSSM_API_REQUEST_GET for this code I found it try to put an internal table with the struct of the database table /BIC/B0000151000 in E_DATA
Thanks a lot for any help
rgds
my test report is:
REPORT ZTEST_PSA_API.
TABLES: /BIC/B0000151000 .
TYPE-POOLS: RSSM.
TYPES: BEGIN OF STC_REQ_LINE,
sign(1),
option(2),
low TYPE rsa_request,
high TYPE rsa_request,
END OF STC_REQ_LINE,
IT_REQUEST TYPE STC_REQ_LINE OCCURS 0.
DATA: lit_request TYPE RSSM_T_API_REQUEST_GET WITH HEADER LINE,
lc_system TYPE RSSM_T_API_LOGSYS,
lit_request1 TYPE IT_REQUEST WITH HEADER LINE.
DATA: lc_dtarget_name TYPE RSA_ODSNAME,
lit_meta_data TYPE RSARC_T_RSFIELDTXT.
DATA: lt_psa_data LIKE /BIC/B0000151000 OCCURS 0.
CALL FUNCTION 'RSSM_API_REQUEST_GET'
EXPORTING
I_SOURCE = '2LIS_13_VDITM'
I_TYP = 'D'
I_DATEFROM = '20060627'
IMPORTING
E_T_REQUEST = lit_request[]
E_T_LOGSYS = lc_system
EXCEPTIONS = 1.
READ TABLE lit_request.
lit_request1-sign = 'I'.
lit_request1-option = 'EQ'.
lit_request1-low = lit_request-request .
APPEND lit_request1 .
break-point .
CALL FUNCTION 'RSAR_ODS_API_GET'
EXPORTING
I_T_REQUEST = lit_request1[]
IMPORTING
E_ODSNAME = lc_dtarget_name
E_T_RSFIELDTXT = lit_meta_data
TABLES
E_DATA = lt_psa_data
EXCEPTIONS
NO_DATA_FOUND = 1
PARAMETER_FAILURE = 2
REQUEST_NOT_AVAILABLE = 3
NO_REQUEST_FOUND = 4
NO_FIELDS_TO_ODS = 5
NO_ODS_FOUND = 6
PACKAGE_LOCKED_BY_LOADING = 7 .Try to pass table parameter without "[]" :
CALL FUNCTION 'RSAR_ODS_API_GET'
EXPORTING
I_T_REQUEST = lit_request1
IMPORTING
E_ODSNAME = lc_dtarget_name
E_T_RSFIELDTXT = lit_meta_data
TABLES
E_DATA = lt_psa_data -
Hello All,
I am working on ECC 6.00 SD module
I want to add partner function in the main screen of the sales order, that mean add more partner function beside Sold to party and the ship to party to be in the order header, Is it possible and how?
Regards
Jacopo FrançoiseHi
If you want in the sales order , above the sold to party as the box then you need to go for enhancements
Regards
Srinath
Edited by: sri nath on Jun 11, 2008 6:56 PM -
How to add F4 functionality to a field in the Custom Infotype
Dear Friends,
I have created a custom Infotype 9332 for tracking the career growth of the employee. now i want add F4 functionality to a field in this infotype. How to do it and where to implement the code. Please suggest your valuable options.
regards.Hi,
You have 2 options.
1.Table Level
create a search element and you can attch it in table.
2.Screen Level.
In the Flow logic, create a module like " FIELD P9332-fieldname MODULE f4_values" under PROCESS ON VALUE-REQUEST.you can do the coding in the module for populating.
Reward points if helpful.
Regards,
Manoj. -
Can i add new function in B1.Example exist function in 2005 version is Concat(,) if i want to add new function can i do.I want function to convert number to text for decribe total price, example total price = 3250 the text must show as 'three thousand and two hundred fifty'.Can i do.Please reply.
thank youHi Virasak
Where are you trying to do this??? In your program or the pld. If in the pld it can be done, works great.
In the sdk itself i do not think there is any functions for this, but you should check in your programming enviroment to see if it has such a function.
Hope this helps -
How to add Timer functionality to Agentry application?
I want to add timer functionality in my Agentry app.
After selecting particular button, the timer should start and end after other button selected.
I am using Eclipse editor for coding and I cant see any option for timer functionality.Prit,
The actiontimer program is a windows program that was developed to execute the action at certain intervals. This program is a windows program that naturally will not run on Android and there is no equivalent android program that exists at this time.
Also, since Android is a more locked down OS, we don't have the same capabilites in terms of other external applications invoking actions within the Agentry client that we do with Windows.
The Agentry 6.0.x client just doesn't have the same capabilities needed to implement this functionality. However as I mentioned, with theSMP 3.0 (Agentry 7) client we have introduced the OpenUI SDK which should give you the ability to write an equivalent capability on the Android platform.
The OpenUI API documentation can be found at the following link
Agentry OpenUI API
--Bill -
How to do Delta upload using Generic Extractor built on Function Module?
Hello Guys,
I have never created a Generic Extractor using a Function Module. I wanted to know how can we support Delta mechanism if we create Generic extractor using Function Module.
Regards,
AbhishekHi Abishek,
Please check the standard Function Module RSAX_BIW_GET_DATA for your delta mechnism.
Hope it will help you.
Thanks,
Chandra -
How to enable delta in a generic Data Source
Hi,
I am developing a Generic Data Source (Z) based on a view.
How can i enable it to delta capable...
What is the concept of Calanderday......timestamp....pointer
How can i make a decesion (what factors do i need to consider) to go for Calanderday......timestamp....pointer
Please provide me detail steps & description on this as this is my first data source
Thankshi
how to ...gds
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
1. Time stamp - The field is a DEC15 field which always contains the time stamp of the last change to a record in the local time format.
2. Calendar day - The field is a DATS8 field which always contains the day of the last change.
3. Numerical pointer - The field contains another numerical pointer that appears with each new record
Please check this link on generic delta
http://help.sap.com/saphelp_nw04s/helpdata/en/37/4f3ca8b672a34082ab3085d3c22145/frameset.htm
WHEN U CHECK UR DATASOURCE IN RSA6 U WILL FIND THE DELTA UPDATE CHECKBOX IS CHECKED.....
hope it helps,
cheers. -
How to add new column to COPA datasource?
Dear all,
It seems we have to delete the COPA datasource and regenerate it when we need add new column, if so,we should regenerate the initialIzation for the delta.
Beacause only the new delta data need have value for new column,so I do not want to reextract the historical data,do you have any solution?
Best regards
SimonHi Simon
You are correct, COPA DS need to be regenerated.
Initialize without Data Transfer might help you. But was thinking how do you manage the 'lost' delta in between the processes?
I m not sure about your flows i.e how data moves from PSA to cube but I think at least you should
Initialize the delta for the current fiscal year ( with Data Transfer) and then continue with delta.
Which type of COPA you are using? Account based or Cost Based? For Acc Based delta initialization starts from summarization level , so you also need to fill up summarization level at least for the current year.
Regards
Anindya -
How to add a function field into the existing matrix report
Hi,
I have a matrix report , now i wanted to add one moe field into the matrix which is getting the value from a function , this function is a part of the ref cursor query(group) , i'm able to get the value from the function but it cannot display on the existing matrix report. i wanted to add this in the repeating frame which is printing down. how could i do this , looking for your help. thanks . bcjHere the scenario like,
Data from Table_1
NAME UNITS DAYS RATE
AAA 10 1 1.2
BBB 12 2 3.1
AAA 20 2 4.1
CCC 23 1 5.2
Here, In the matrix report the NAME and UNITS are row fields and 'DAYS' is column field , RATE would be the cell field, and
Data from Table_2 ,
NAME BASIC
AAA 2
AAA 2
BBB 2
CCC 3
In the report i have to display the 'BASIC' along with the NAME in row level ( repeating frame printing down),
To get the multiple 'Basic' for each 'Name' using a ref cursor .
and, using a function to do further calculation based on the basic value
begin
select basic into v_basic where name =:name;
return(caluculated_value);
end;
and return the calculated value to the report. But at that time cannot accommodate the value in the matrix report with other groups frequency.
looking for your valuable help. Thanks Bcj -
How at add closd function in the JButton??
Hi, sir:
I hope to add a closd function in the JButton, ie, like a JPanel or JFrame, there is a "X" sign icon on the right upper coner, when we click this X sign,
whole window or JPanel or JFrame will be closed, here I hope to add a "x" sign in JButton, when I click it, itthis button b2 will be vanished.
I update following code, but looks like not work, I hope Text and its icon on the leading Left, but closed sign is on the extreme end of right.
Can guru help??
Thanks
import javax.swing.AbstractButton;
import javax.swing.Icon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JFrame;
import javax.swing.ImageIcon;
import javax.swing.SwingConstants;
import javax.swing.GroupLayout.Alignment;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
* ButtonDemo.java requires the following files:
* images/right.gif
* images/middle.gif
* images/left.gif
public class ButtonDemo2 extends JPanel implements ActionListener {
protected JButton b2,bclosed;
public ButtonDemo2() {
Icon closedIcon = new ImageIcon("images/ActionButton/closed.PNG");
ImageIcon middleButtonIcon = new ImageIcon("images/little.gif");
JLabel label1 = new JLabel("Image and Text", middleButtonIcon, JLabel.CENTER);
bclosed = new JButton(closedIcon);
bclosed.setBorder(null);
bclosed.setToolTipText("closed");
b2 = new JButton("Middle button", middleButtonIcon);
b2.setText("Middle button");
b2.setVerticalTextPosition(AbstractButton.BOTTOM);
b2.add(bclosed, -1);
b2.setIcon(middleButtonIcon);
b2.setHorizontalTextPosition(AbstractButton.LEFT);
b2.setAlignmentX(LEFT_ALIGNMENT);
b2.setMnemonic(KeyEvent.VK_M);
b2.setToolTipText("This middle button does nothing when you click it.");
//Add Components to this container, using the default FlowLayout.
add(label1);
add(b2);
public void actionPerformed(ActionEvent e) {
if ("disable".equals(e.getActionCommand())) {
b2.setEnabled(false);
} else {
b2.setEnabled(true);
private static void createAndShowGUI() {
//Create and set up the window.
JFrame frame = new JFrame("ButtonDemo");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//Create and set up the content pane.
ButtonDemo2 newContentPane = new ButtonDemo2();
newContentPane.setOpaque(true); //content panes must be opaque
frame.setContentPane(newContentPane);
//Display the window.
frame.pack();
frame.setVisible(true);
public static void main(String[] args) {
//Schedule a job for the event-dispatching thread:
//creating and showing this application's GUI.
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
}Thanks, I add as follows:
package a.border;
import javax.swing.AbstractButton;
import javax.swing.Icon;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JFrame;
import javax.swing.ImageIcon;
import javax.swing.SwingConstants;
import javax.swing.GroupLayout.Alignment;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyEvent;
* ButtonDemo.java requires the following files:
* images/right.gif
* images/middle.gif
* images/left.gif
public class ButtonDemo2 extends JPanel implements ActionListener {
protected JButton b2,bclosed;
public ButtonDemo2() {
Icon closedIcon = new ImageIcon("images/ActionButton/closed.PNG");
ImageIcon middleButtonIcon = new ImageIcon("images/little.gif");
JLabel label1 = new JLabel("Image and Text", middleButtonIcon, JLabel.CENTER);
bclosed = new JButton(closedIcon);
bclosed.setBorder(null);
bclosed.setToolTipText("closed");
bclosed.setActionCommand("closed");
b2 = new JButton("Middle button", middleButtonIcon);
b2.setText("Middle button");
b2.setVerticalTextPosition(AbstractButton.BOTTOM);
b2.add(bclosed, -1);
b2.setIcon(middleButtonIcon);
b2.setHorizontalTextPosition(AbstractButton.LEFT);
b2.setAlignmentX(LEFT_ALIGNMENT);
b2.setMnemonic(KeyEvent.VK_M);
bclosed.addActionListener(this);
b2.setToolTipText("This middle button does nothing when you click it.");
//Add Components to this container, using the default FlowLayout.
add(label1);
add(b2);
public void actionPerformed(ActionEvent e) {
if ("disable".equals(e.getActionCommand())) {
b2.setEnabled(!b2.isEnabled());
if ("closed".equals(e.getActionCommand())) {
System.out.println("OK closed is pressed");
remove(b2);
private static void createAndShowGUI() {
//Create and set up the window.
JFrame frame = new JFrame("ButtonDemo");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//Create and set up the content pane.
ButtonDemo2 newContentPane = new ButtonDemo2();
newContentPane.setOpaque(true); //content panes must be opaque
frame.setContentPane(newContentPane);
//Display the window.
frame.pack();
frame.setVisible(true);
public static void main(String[] args) {
//Schedule a job for the event-dispatching thread:
//creating and showing this application's GUI.
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
}But I cannot see the First Image I add in b2 such as little.gif and "Image and Text" on it, only I can see bclosed icon.
what is wrong here??
Thanks a lot
Good weekend
Maybe you are looking for
-
Error while running the Grid display
Hi Experts, I got one problem. I created an Z-report, the output type is as Grid display. After viewing the output and pressing back button, it is going to dump. Thanks in Advance, Srinivas
-
My account was deleted for security issues. I made a new account, but I can't syncronise my apps with this new account. I bought a new Iphone and would like to transfer the apps ans music on this new one. Can somebody help me?
-
Open PDF Slow Problem and Edit Registry to Disable "Display PDF in Browser"
There is around 400 users who were installed Acrobat Reader 9. But it is found that they open our intranet pdf very slow due to NETBIOS problem. The alternative solution is to disable the browser integration feature. But how can I set Group Policy or
-
Hi SApers, can u let me know about SCR in functional specs. wat does it mean and wen i am doing func specs ,wat r the importance to see and check . Thnx in adv. Regards shiva<b></b><b></b>
-
I'm looking for the read out loud feature for my Adobe the iPad
I'm trying to find a read out loud feature for Adobe that is installed on my iPad