How ODI will reduce the source data to process?
By using ODI we can get High efficiency of integration by reducing the volume of source data processed in the flow. How ODI will reduce the source data to process?
Hi ramana,
See the example.
DO.
READ DATASET s_filename INTO I_TEMP.
IF SY-SUBRC <> 0.
EXIT.
ELSE.
move I_TEMP to I_FINALTAB.
append I_FINALTAB.
clear I_FINALTAB.
ENDIF.
ENDDO.
In the above code we are moving the data form file to i_temp and i_temp to I_FINAL.
Here before moving to i_FINAL.
use TRANSLATE i_temp to UPPSERCASE.
Then move to i_final.
Pls. reward if useful.
Similar Messages
-
How we will display the header data and item data seperately in lists
how we will display the header data and item data seperately in lists
REPORT z_alv_list_block.
TYPE-POOLS: slis. " ALV Global types
SELECTION-SCREEN :
SKIP,
BEGIN OF LINE,
COMMENT 5(27) v_1 FOR FIELD p_max. "#EC NEEDED
PARAMETERS p_max(2) TYPE n DEFAULT '02' OBLIGATORY.
SELECTION-SCREEN END OF LINE.
DATA:
1st Table
BEGIN OF gt_kna1 OCCURS 0, " Data displayed
kunnr LIKE kna1-kunnr, " Customer number
ernam LIKE kna1-ernam, " Name of Person who Created
erdat LIKE kna1-erdat, " Creation date
name1 LIKE kna1-name1, " Name 1
END OF gt_kna1,
2nd Table
BEGIN OF gt_mara OCCURS 0,
ernam LIKE mara-ernam, " Name of Person who Created
matnr LIKE mara-matnr, " Material number
ersda LIKE mara-e rsda, " Creation date
brgew LIKE mara-brgew, " Gross weight
END OF gt_mara,
3rd Table
BEGIN OF gt_vbak OCCURS 0,
vkorg LIKE vbak-vkorg, " Sales organization
kunnr LIKE vbak-kunnr, " Sold-to party
vbeln LIKE vbak-vbeln, " Sales document
netwr LIKE vbak-netwr, " Net Value of the Sales Order
waerk LIKE vbak-waerk, " SD document currency
END OF gt_vbak.
INITIALIZATION.
v_1 = 'Maximum of records to read'.
START-OF-SELECTION.
Read data
SELECT * FROM kna1
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_kna1.
SELECT * FROM mara
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_mara.
SELECT * FROM vbak
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_vbak.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'.
PERFORM list_append TABLES gt_kna1
USING '1'
'GT_KNA1'.
PERFORM list_append TABLES gt_mara
USING '2'
'GT_MARA'.
PERFORM list_append TABLES gt_vbak
USING '3'
'GT_VBAK'.
PERFORM f_list_display.
FORM USER_COMMAND *
FORM user_command USING i_ucomm LIKE sy-ucomm
is_selfield TYPE slis_selfield. "#EC CALLED
CASE i_ucomm.
WHEN '&IC1'. " Pick
CASE is_selfield-tabname.
WHEN 'GT_MARA'.
WHEN 'GT_KNA1'.
WHEN 'GT_VBAK'.
READ TABLE gt_vbak INDEX is_selfield-tabindex.
IF sy-subrc EQ 0.
Sales order number
SET PARAMETER ID 'AUN' FIELD gt_vbak-vbeln.
Display Sales Order
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDCASE.
ENDFORM. " USER_COMMAND
----< /div>
Form list_append
FORM list_append TABLES ut_table
USING u_no TYPE char1
u_tabname TYPE slis_tabname.
Macro definition
DEFINE m_fieldcat.
ls_fieldcat-fieldname = &1.
ls_fieldcat-ref_tabname = &2.
append ls_fieldcat to lt_fieldcat.
END-OF-DEFINITION.
DEFINE m_sort.
ls_sort-fieldname = &1.
ls_sort-up = 'X'.
append ls_sort to lt_sort.
END-OF-DEFINITION.
DATA :
ls_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat TYPE slis_t_fieldcat_alv, " Field catalog
ls_sort TYPE slis_sortinfo_alv,
lt_sort TYPE slis_t_sortinfo_alv. " Sort table
DATA:
lt_events TYPE slis_t_event,
ls_event TYPE slis_alv_event,
ls_layout TYPE slis_layout_alv.
ls_layout-group_change_edit = 'X'.
ls_layout-colwidth_optimize = 'X'.
ls_layout-zebra = 'X'.
ls_layout-detail_popup = 'X'.
ls_layout-get_selinfos = 'X'.
ls_layout-max_linesize = '200'.
CASE u_no.
WHEN '1'.
Build field catalog and sort table
m_fieldcat 'KUNNR' 'KNA1'.
m_fieldcat 'ERNAM' 'KNA1'.
m_fieldcat 'ERDAT' 'KNA1'.
m_fieldcat 'NAME1' 'KNA1'.
m_sort 'KUNNR'.
WHEN '2'.
m_fieldcat 'MATNR' 'MARA'.
m_fieldcat 'ERNAM' 'MARA'.
m_fieldcat 'ERSDA' 'MARA'.
m_fieldcat 'BRGEW' 'MARA'.
m_sort 'MATNR'.
WHEN '3'.
m_fieldcat 'VBELN' 'VBAK'.
m_fieldcat 'VKORG' 'VBAK'.
m_fieldcat 'KUNNR' 'VBAK'.
m_fieldcat 'NETWR' 'VBAK'.
m_fieldcat 'WAERK' 'VBAK'.
m_sort 'VBELN'.
ENDCASE.
IF u_no CA '13'.
MOVE 'TOP_OF_PAGE' TO ls_event-name.
CONCATENATE 'TOP_OF_PAGE' u_no INTO ls_event-form.
APPEND ls_event TO lt_events.
ELSE.
MOVE 'TOP_OF_LIST' TO ls_event-name.
CONCATENATE 'TOP_OF_LIST' u_no INTO ls_event-form.
APPEND ls_event TO lt_events.
ENDIF.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = lt_fieldcat
is_layout = ls_layout
i_tabname = u_tabname
it_events = lt_events
it_sort = lt_sort
i_text =
TABLES
t_outtab = ut_table
EXCEPTIONS
program_error = 1
maximum_of_appends_reached = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " LIST_APPEND
Form f_list_display
FORM f_list_display.
DATA ls_print TYPE slis_print_alv.
ls_print-no_print_selinfos = 'X'. " Display no selection infos
ls_print-no_print_listinfos = 'X'. " Display no listinfos
ls_print-reserve_lines = 2. " Lines reserved for end of page
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
EXPORTING
i_interface_check = ' '
is_print = ls_print
EXCEPTIONS
program_error = 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.
ENDFORM. " F_LIST_DISPLAY
FORM top_of_page1 *
FORM top_of_page1. "#EC CALLED
PERFORM top_of_page.
ENDFORM.
FORM top_of_page3 *
FORM top_of_page3. "#EC CALLED
PERFORM top_of_page.
ENDFORM.
FORM top_of_page *
FORM top_of_page.
ULINE.
WRITE : sy-uname, sy-title(56) CENTERED, sy-datum.
ULINE.
ENDFORM.
FORM top_of_list2 *
FORM top_of_list2. "#EC CALLED
WRITE 'TOP OF LIST2'.
ENDFORM.
END OF PROGRAM Z_ALV_LIST_BLOCK *********************** -
My Macbook Pro is using 320GB on "Backups" and Time Machine is using 640GB. It just seems ridiculous, considering I everything else only takes up 77GB combined. How to I get rid of a good chunk of it from Macbook HD and also how can I reduce the Time Machine parameters, maybe so it starts deleting back up data sooner?
If you run TM you don't really need local snapshots so if you need the disk space you can disable them in Terminal by copying & p;asting this command at the prompt
sudo tmutil disablelocal
Press return. You will be prompted for your password, it will be invisible.
To undo this, rerun it with "enablelocal" instead of "disablelocal".
In TM preferences you can choose to exclude items to the backup.
EDIT: See these helpful hints from Pondini. -
How we will change the lowercase data in flat file to uppercase
How can i change the lowercase date in flat file after uploaded, out put should be uppercase.
Hi ramana,
See the example.
DO.
READ DATASET s_filename INTO I_TEMP.
IF SY-SUBRC <> 0.
EXIT.
ELSE.
move I_TEMP to I_FINALTAB.
append I_FINALTAB.
clear I_FINALTAB.
ENDIF.
ENDDO.
In the above code we are moving the data form file to i_temp and i_temp to I_FINAL.
Here before moving to i_FINAL.
use TRANSLATE i_temp to UPPSERCASE.
Then move to i_final.
Pls. reward if useful. -
How to handle duplicate Primary Key entries in the Source data
This is my first experience with ODI.
I receive Source data from the customer that includes a one letter designation, ACTION_CODE, in each record of data as to the disposition of the record:
‘R’ represents Re-issue in which case I’m to modify the corresponding Target record based on the Primary Key.
‘N’ represents an Insert in which case I’m to insert a new record into the Target.
‘D’ represents a delete in which case I’m to delete the record with the corresponding Primary Key from the Target.
The Source data comes in an XML file and the Target is an Oracle DB.
I have chosen the IKM Oracle Incremental Update (MERGE) Knowledge Module.
I filter ACTION_CODE to just collect records that are ‘N’ or ‘R’ and I exclude the ACTION_CODE from the mapping but since within the same Source
set there may be an ‘N’ and ‘R’ with the same primary key I receive Primary Key errors.
Should I alter CKM to not check for duplicates in the Source?
Is there a better way?Ganesh,
Identifying Duplicates is a logical activity. More or less it need Manual intervention to judge both the records means common. if few unique paramenters like Telephone, Pincode, SSN, passport no etc can be used on filters for searching the records. Currently there are no automatic method to identify the duplicates. In MDM 5.5 SP04 which is next release there will be auto de-duplicate facility based on tresholeds and matching criteria that you will setup.
I hope i have answered your query transparently. if you have any queries futher you can reply here.
Regards
Veera -
How can i change the source code of current date in oracle reports
Hi All,
How can i change the source of the current date to the sysdate of the database in oracle reports. I have more than 300 reports. is there any way to change quickly with opening each reports. I am working on reports11g on windows enviornment.
Thanks in advance.benz wrote:
Hi All,
How can i change the source of the current date to the sysdate of the database in oracle reports. I have more than 300 reports. is there any way to change quickly with opening each reports. I am working on reports11g on windows enviornment.
Thanks in advance.You have to use Reports Trigger named BEFORE PARAMETER FORM and write the following sql
select sysdate into :Parameter_name from dual;
give your format mask at Parameter_name.
Hope this will help you
If someone's response is helpful or correct, please mark it accordingly. -
I'm moving an internal hard drive from an old computer to a new computer. (My new compute runs Windows 8.1) How do I transfer the catalog data to my new computer so the Organizer of Photoshop Elements 6 will find the data on the hard that has been moved to the new computer? Is this possible or do I have to use the procedure of copying the catalog along with the photos to a back up hard drive and then restore them on the new computer?
The 'normal' procedure is to do a PSE organizer backup (not a copy or a backup from external tools) to an external drive, then a restore to the new location.
The advantage is that you have a backup of both catalog and media files and you don't have all disconnected files, which would happen with external backup tools. Also, if you restore with a more recent elements version, the catalog will be automatically updated to the new format.
The drawback in your situation is that you'll have either to overwrite all your files or restore to a custom location, creating a duplicate photo library (which supposes you have enough free space).
It would be possible to simply use the organizer in the old PC to move the catalog to a new 'custom' folder just under your C: root drive. The catalog would be accessible once the drive will be installed in the new PC. Then you would have all files 'disconnected' due to the fact that all your media files are now on a drive with a different letter. Reconnecting a whole library is a hard job with PSE6, less so with PSE11/PSE12.
If the idea of fiddling with the sqlite database with external sqlite manager tools is ok for you, I can describe the process more in detail. You only copy your catalog folder (as suggested above) to another location. Instead of trying the 'reconnection' way, you install the sqlite utility on the new computer. When the old drive is installed in the new computer, you simply edit a given record in the catalog database, catalog.psedb, and start the organizer with your copied catalog by simply double clicking the 'catalog.psedb' file.
Even if the last solution is much, much quicker, I would still create a new PSE backup : you have never too much safety . -
i have deleted all contacts in icloud but still have them on my iphone (which is backed up as well to iTunes) how can i restore the iphone data to the iCloud so it will resend it to my mac book and iPad? I have switched my iphone to airplane mode so it is not connected to the internet and so icloud can not wipe it at the moment.
thanks royThere's a menu choice (I think under "Files") that lets you sync purchased items on a device back to itunes. Look for that.
iCloud does not store music. If you want to do that you'd have to subscribe to itunes Match, but to get music to the match servers, you need the music in the itunes library on your computer. -
Hi SAP Gurus,
Could you help me on this, How system will automatically populate clearing date field for invoices paid similar to when payments are made to the vendors.
Regards
MohanHi Ramakrishnappa,
If you clear the invoice against payment, then the invoice clearing date would be payment document posting date.
Regards,
Mukthar -
How we will pull the data from Sap-Bi to sap-Bpc
Dear Experts,
Thanks for watching this thread.The whole data is available in SAP-BI.
My system environment is SAP-BPC MS7.5.
Now i want to load the data from Sap-Bi to Sap-Bpc ms.For that we need any Interfaces.
How we will pull the data from SAP-BI to BPC-MS for Master data and Transaction Data.
could you please provide me step by step guide.
Please guide me what should i do.
Regards,
Srinivasan.
Edited by: srinivasan.singari on Jul 22, 2011 8:20 AMTough Ask..
Because i have done dashboarding thru scritping (Dyanamic fashion tough) ..It is very good ..But when, coming to the one you asked i have the idea how it works but cannot really tell you wich would be better.
Each Route has its own limitations.That really depends on what exaclty your client is looking after..
So if you new to xcelsius and eager to learn ..I suggest you to give a go at all those..May be you can let me know wich is the best one..
1. QAWS,
2. Bex Query --> Crystal Reports --> Live office --> DashBoard.
3. Bex Query --> WebI --> Live Office --> Dashboard..
4. Webservices consuming BI Query,
5. Xcelsius SAP Netwever Connector.
But i suggest as of now use Xcelsius SAP netweaver Connnection... -
How To Create the source data in the destination part of Shuttle in APEX?
Hi,
I create a shuttle in a region, and I can specify the source list value in the left part of the shuttle, and how can I create the original data in the right part(destination field).
Now the destination part alwasy is null at first when open the page.
So any idea? or Shuttle in Apex just can set the source data in the left part?
Edited by: PPMonkey on Jun 18, 2009 10:10 PMRe: How do you populate right side of Shuttle control
-
How will get the source code of all the tables in a given schema using SQL?
Hi All,
How can we get the source code of all the tables in a given schema using SQL?
Thanks in Adv.
JunuTry something like...
set heading off
set pagesize 0
col meta_data for a96 word_wrapped
set long 100000
SELECT DBMS_METADATA.GET_DDL(object_type, object_name, owner) ||';' AS meta_data
FROM dba_objects
WHERE owner = '<SCHEMA NAME>'
AND object_type not in (<list of stuff you do not want>); -
How can I reduce the size of a pdf file for emailing?
I want to send a pdf file which is 8 mb, it has bounced in an email because it is too big, how can I reduce the size of the pdf file for emailing?
Sometimes a simple "Save As" will reduce the file size slightly, but probably not enough to pass the <8 mb threshold of your recipient, as you need.
You've probably seen it, try the next option in the Save As menu, "Reduced Size PDF," and make it compatible with the latest version possible, again considering the recipient. This suggestion assumes Acrobat X. You don't say which version you're using, but this tool was available at least going back to Version 8, but in a different place, you'll have to hunt.
If all that doesn't work, you could remove some images from the source document, which also will reduce the overall size.
Best luck. -
How can I reduce the size of IPhoto ?
I have tested IPhoto with a few hundred pictures.
I do not find this software very user-friendly, in particular because I can no longer locate the files of these pictures. I kept fortunately a copy of my complete set of my photo collection.
I removed all pictures from IPhoto, but the application shows a size of 600 Mb.
How can I reduce the size of IPhoto and recover this storage space?patrick
in particular because I can no longer locate the files of these pictures.
There are three ways (at least) to get files from the iPhoto Window.
1. Drag and Drop: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
2. File -> Export: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
3. Show File: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
Rolls in the iPhoto Window (View -> Film Rolls) correspond exactly with the Roll Folders in the Originals Folder in the iPhoto Library Folder. You can move photos between Rolls, you can rename rolls, edit them, create them, as long as you do it via the iPhoto Window. Check out the Info Pane (wee 'i', lower left) the name and date fields are editable. Edit a Roll Name using the Info Pane, the Roll Folder in iPhoto Library Folder/Originals will also have the new name.
You might also like to explore the iPhoto tutorials at http://www.apple.com/ilife/tutorials/iphoto/index.html
Use the Get Info window to remove unwanted language resources.
Regards
TD -
How can I reduce the size of some of the key apps likeTwitt Facebook, whatsup etc..I have a iphone 4s 7 GB?
Its frustrating. I also have this problem with Dropbox, a great service but they dont have a 'delete cache' button. Dropbox told me to log out and back in again but nothing. If i delete the Dropbox app (And Facebook app and Twitter) and then re-install its back to its original size
If you go into settings/general/usage and see all the apps, press the app for Twitter (Or Facebook) and you'll see how much extra the app is keeping under 'Documents & Data'
Delete those apps and re-install and the documents and data will be 0 and the app back to normal.
Its frustrating as some of these apps can get huge, after viewing a video my facebook app went up to 450 meg ! Same for twitter. I tend to use 'Twiterrific' as the app size doesnt get silly unlike the official Twitter app
Maybe you are looking for
-
When I buy iTune's music, do I have the rights to put it in my videos ? ?
I have a contest with my city and I need to put music in my video. The problem is that I have to have rights to the music. When I buy iTune's music, do I have the rights to put it in my videos ? ?
-
XI 3.0 Import SCW and importing IR Objects issues
Hi, I am working on SAP XI 3.0. I imported IR objects in the repository through .tpz file and all the objects were imported successfully. I was able to view all the objects. Then I manually created the SCW in the SLD. I had delete the IR objects and
-
Help with custom code in ZTIGather.wsf
To pick up WMI "version" info to deal with Lenovo computer models I found this code and integrated it by adding these lines to ZTIGather.wsf: ABout line 542: oEnvironment.Item("LenovoModel") = sLenovoModel About line 383 ' Get the Lenovo Mode
-
MacBook Pro slow shutdown after installing SSD drive
Hi, Just got a new 256GB SSD drive and installed it in my Macbook Pro, super super fast might I add. Startup in a couple of seconds, and apps open very fast. The only problem is the shutdown time, it takes over a minute to shutdown, really strange. I
-
Vista x64 support; Core duo usage; SLI or Crossfire
With all the new hardware and OS advantages out there, it would be nice to speed more time doing than waiting . . . 1. Vista x64 support! 2.duo or quad processor: Lightroom could benefit from multi-threaded or distributed processing for speed or comp