Need some sample alvs using merge

I need some sample alvs using merge

Hi!
data w_fieldcat type slis_fieldcat_alv.
type-pools : slis.
tables : sflight.
data : i_fieldcat type slis_T_fieldcat_alv.
data v_repid like sy-repid.
data : begin of i_sflight occurs 0,
carrid like sflight-carrid,
connid like sflight-connid,
fldate like sflight-fldate,
end of i_sflight.
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = v_repid
i_internal_tabname = 'I_SFLIGHT'
i_inclname = v_repid
changing
ct_fieldcat = I_fieldcatalog_TYPE.
Check this link
http://help.sap.com/saphelp_nw04/helpdata/en/22/a3f5fed2fe11d2b467006094192fe3/frameset.htm
Regards
Tamá

Similar Messages

  • Need some hints on using dbms_crypto

    Hello,
    I need some hints on using the dbms_crypto package to generate some password for the OID userpassword attribute. The passwordstring is stored in a format {CRYPT}dasdasdawdww, {SHA}jfsklefjskldjkdlkldf, {MD4}dfdsfgsdgdfewwe or {MD5}fsdfsdadsgdfg where the keyword in the curly brackets describes the encryption methods. I think CRYPT means DES, SHA means SHA-1.
    The key for the DES encryption for UNIX password authentification is in the first 2 letters of the encrypted string. I wanna have an encryption function which encrypts the clear type passwords in the right format like this perl script:
    #!/bin/perl
    print crypt($ARGV[0],"HS");
    #: crypt.pl Test123 # program fetch
    HSF0Sx2zdrLoQ
    Regards
    Holger

    Hello,
    meanwhile I made some investigations on the Problem
    I tried this code:
    DECLARE
    input_string       VARCHAR2 (200) :=  'Test123';
    output_string      VARCHAR2 (200);
    encrypted_raw      RAW (2000);             -- stores encrypted binary text
    decrypted_raw      RAW (2000);             -- stores decrypted binary text
    num_key_bytes      NUMBER := 256/8;        -- key length 256 bits (32 bytes)
    key_bytes_raw      RAW (32);               -- stores 256-bit encryption key
    encryption_type    PLS_INTEGER :=          -- total encryption type
                             DBMS_CRYPTO.ENCRYPT_DES
                           + DBMS_CRYPTO.CHAIN_CBC
                           + DBMS_CRYPTO.PAD_PKCS5;
    BEGIN
            DBMS_OUTPUT.PUT_LINE ( 'Original string: ' || input_string);
            key_bytes_raw := UTL_I18N.STRING_TO_RAW ( 'HS' );
            encrypted_raw := DBMS_CRYPTO.ENCRYPT
                            src => UTL_I18N.STRING_TO_RAW (input_string,  'AL32UTF8'
                            typ => encryption_type,
                            key => key_bytes_raw
    -- The encrypted value "encrypted_raw" can be used here
            DBMS_OUTPUT.PUT_LINE ( 'Encrypted string: ' || encrypted_raw);
            decrypted_raw := DBMS_CRYPTO.DECRYPT
                            src => encrypted_raw,
                            typ => encryption_type,
                            key => key_bytes_raw
            DBMS_OUTPUT.PUT_LINE ('Decrypted string: ' || UTL_I18N.RAW_TO_CHAR (decr
    ypted_raw, 'AL32UTF8'));
            DBMS_OUTPUT.PUT_LINE ('Encrypted Char string: ' || UTL_I18N.RAW_TO_CHAR
    (encrypted_raw, 'AL32UTF8'));
    END;
    /and got these error messages:
    ERROR at line 1:
    ORA-28234: key length too short
    ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 3
    ORA-06512: at "SYS.DBMS_CRYPTO", line 10
    ORA-06512: at line 15In the next try:
    DECLARE
    input_string       VARCHAR2 (200) :=  'Test123';
    output_string      VARCHAR2 (200);
    encrypted_raw      RAW (2000);             -- stores encrypted binary text
    decrypted_raw      RAW (2000);             -- stores decrypted binary text
    num_key_bytes      NUMBER := 256/8;        -- key length 256 bits (32 bytes)
    key_bytes_raw      RAW (32);               -- stores 256-bit encryption key
    encryption_type    PLS_INTEGER :=          -- total encryption type
                             DBMS_CRYPTO.ENCRYPT_DES
                           + DBMS_CRYPTO.CHAIN_CBC
                           + DBMS_CRYPTO.PAD_PKCS5;
    BEGIN
            DBMS_OUTPUT.PUT_LINE ( 'Original string: ' || input_string);
            key_bytes_raw := UTL_I18N.STRING_TO_RAW ( 'HS12345678901234' );
            encrypted_raw := DBMS_CRYPTO.ENCRYPT
                            src => UTL_I18N.STRING_TO_RAW (input_string,  'AL32UTF8'
                            typ => encryption_type,
                            key => key_bytes_raw
    -- The encrypted value "encrypted_raw" can be used here
            DBMS_OUTPUT.PUT_LINE ( 'Encrypted string: ' || encrypted_raw);
            decrypted_raw := DBMS_CRYPTO.DECRYPT
                            src => encrypted_raw,
                            typ => encryption_type,
                            key => key_bytes_raw
            DBMS_OUTPUT.PUT_LINE ('Decrypted string: ' || UTL_I18N.RAW_TO_CHAR (decr
    ypted_raw, 'AL32UTF8'));
            DBMS_OUTPUT.PUT_LINE ('Encrypted Char string: ' || UTL_I18N.RAW_TO_CHAR
    (encrypted_raw, 'AL32UTF8'));
    END;
    /I got some results which have nothing in common with the perl script:
    Original string: Test123
    Encrypted string: DE5668CD7762074C
    Decrypted string: Test123
    Encrypted Char string: ?h?bL
    PL/SQL procedure successfully completed.Come to think of it I doubt if DBMS_CRYPTO is the right way to solve my problem. Any further hints?
    Regards Holger

  • I need some sample customer data

    Hi all,
    I need some sample customer data along with order details (for any product) for a mining application. Can anyone help me in this regard....
    thanks,
    swathi.

    Hi all,
    I need some sample customer data along with order details (for any product) for a mining application. Can anyone help me in this regard....
    thanks,
    swathi.

  • Need some sample documents for DME development

    Hi,
    I need some sample documents for DME development. I expect any information covering developing DME formats and steps for downloading a DME file (this I need for checking my formats).
    please, send any relevant info you have to mail id mindaugas.kazlauskas at gmail.com
    Many thanks and reward points ahead!
    Regards,
    Mindaugas

    Hi,
    the main thing is that I need format with payment information structured in single column, like this:
    //separator//
    value1
    value2
    value3
    //separator//
    value1
    value2
    value3
    //separator//
    maybe there is any SAP format structured like this?
    Regards,
    Mindaugas

  • Need of a sample ALV using OO

    Hi all,
    I need to create an ALV using OO approach in which the user should change,insert,delete and save the values which should be reflected in the internal table also.
    Can u guys supply me with a sample program so i can refer it.

    Hello Sharan,
    Please refer to program BCALV_GRID_EDIT for your requirement.
    Hope this helps and please don't forget to reward points.
    Cheers,
    Sougata.
    p.s. if your Dev client has no flight model data already, first run program SAPBC_DATA_GENERATOR to create flight model data in your client.
    Edited by: Sougata Chatterjee on Jun 4, 2008 4:13 PM

  • Functional Module:Need  some sample source code.

    Hi All,
    I have created  a customized table   u2018ZStock_Order_Dealeru2019 with the following fields:
    Stock_Order_Dealer
    Dealer Number
    S2D order Number     
    Line item Number     
    Material Number     
    Ordered Quantity     
    Batch Number     
    Received Quantity     
    S2D from D2G     
    Receiving Date
    I need to  create a remote enabled function module in CRM system to fetch the u2018Batch Numberu2019 and u2018Received Quantityu2019 fields when the Material Number is fed to it.Please note that the input and output should be tables.
    Could some one please give some sample source code for this.

    I used table types and select queries to resolve this problem.

  • Need some samples to make Entity framework interact with WPF

    HI guys,
    I need to create an app which will query all details about customer from very big database for different search crieria. I don't have any sp to call individual section details of customer. so i planned to go with Entity framework and WPF. Both are new to
    me.
    Could someone please help me  with creating good WPF application (beautiful look and feel) & entity framework interaction with DB?
    or any other to make this requirement in an easy way with latest technologies.. All i need some good UI for searching customer details..
    thanks in advance
    Regards
    bala
    Balamurugan

    I (obviously) agree my sample is something to look at.
    Since it's the first in a series rather than a complete guide it cuts a number of corners.
    One to emphasise is that I almost never allow a user to edit in a datagrid directly.
    I either use popups so they are forced to work on one record at a time.
    Or I have a different usercontrol for a particular task a user does - like raising an order say.
    The second in the series is on the way.  Not sure when exactly but next month.  I have the code ready but I've not written the article for it yet.  Depending on your timescales you might find that useful.
    Also read this:
    http://social.technet.microsoft.com/wiki/contents/articles/26673.wpf-collectionview-tips.aspx
    That explains some dynamic filtering on the client and touches on a way to haul bits of a HUGE set of data onto the client.
    You definitely don't want to do that all at once.
    The thing to emphasis is you should always be looking to give the user a subset to look at.
    Think in terms of  a maximum of 200 to 300 records at a time in a datagrid.
    Linq with EF offers pass through queries.
    You will almost certainly want to use that feature in order to pick all the customers starting with the letter A or in town xyz or whatever.
    You use  linq on the client and it is turned into sql on the database.
    One thing which is sort of odd about linq is that the sql is generated when you iterate a collection.  That has an odd benefit which is great for flexible querying.
    You can base one linq query on another and chain your various criteria together.
    That only generates sql when you use that end result.
    Hope that helps.
    Recent Technet articles:
    Property List Editing;  
    Dynamic XAML

  • Need Help Can i use Merge command along with exist function in oracle?

    I am using Merge command to update the destination table and updating the rows which are already in the destination table.
    But what i want is to delete the existing rows from the destination table and insert fresh rows instead of updating the existing rows in the destination table.
    So can we use exist function to check the existing rows and delete them and use merge command to insert the rows in the table.

    You definitely need to do a DELETE then INSERT since MERGE will not delete rows, although I'm not really sure what that gets you since the net effect would be the same as a MERGE over the same pair of tables.
    If you really want to do it this way, then I would likely do something like:
    DELETE FROM target_table
    WHERE (columns_you_would_match_on) IN (SELECT columns_you_would_match_on
                                           FROM source_table
                                           WHERE predicate_you_would_use_in_using);
    INSERT INTO target_table (column_list)
    SELECT column_list
    FROM source_table
    WHERE predicate_you_would_use_in_using;John

  • Need some sample data for obiee practice

    Hi All,
    I installed OBIEE 11.1.1.5 using SQL SERVER 2005.
    Can someone help me out some sample data for practise purpose other than sampleapplite
    Thanks,
    SatyaB

    The full version of BI Sample Application (not the lite) has a pretty good amount of sample data for practice. Have you tried using it?
    http://www.oracle.com/technetwork/middleware/bi-foundation/obiee-samples-167534.html

  • Need some sample for parameters in used in default Reports of SCOM

    Hi ,
    I am running Performance report for 2008 Servers from the Reporting Server Link (http:\\reportserver\reports), instead of SCOM console. I see below fields for which there are no documentation and i am not sure what data to provide in those , and it is mandatory
    too. Can you please help me out in providing an sample data or an Link for the documentation to this reports. The same will be different in SCOM console though and i don't know why. The parameters what i find here are not i find in Console of SCOM.
    [Start Date Base]
    [Start Date Offset Type]
    [Start Date Offset]
    [Time Type]
    S.Arun Prasath

    Start Date Base: refer to Form this week, this month, previous month
    Start Date Offset Type: whether your from date is today plus three day/month/week/quarter/year
    Start Date Offset: whether your from date is today 3/-1/4 day/month
    Time Type: whether using business time or not
    Roger

  • I need some advice about using Leopard on a Power Mac G5

    I purchased a Power Mac G5 (Dual 2.3) in 2006. I have 2 internal hard drives and am currently running Tiger and Leopard. Some of my current apps that are outdated don't run on Leopard (such as Office 2004). I am thinking about switching over completely to Leopard, so I would have to upgrade my remaining apps that need to be updated.
    Is it worth it? Does Leopard (and modern applications) run smoothly on a G5 or are those really intended for Intel Macs? Would it be better for me as a PowerPC user to just stick with Tiger? Are the versions of iTunes and QuickTime available in Leopard the same available in Tiger?
    I really don't need Classic anymore, so that's not holding my back. But I don't want to spend the money to upgrade my applications if they aren't going to work that well on a G5 anyway.

    Actually, Office 2004 runs just fine on Leopard. That's what I'm running now, and I have no intention on going to Office 2008.
    I feel that Leopard runs smoothly on the G5. I've not really seen any issues with it as of yet.
    iTunes and QuickTime are the same version number under Leopard as they are under Tiger. However, there is a different download of QuickTime depending on if you're on Tiger or Leopard.
    What other applications are you using that you think you may need to upgrade?

  • Where can i find a complete course and some samples about using java card !

    hello !
    i am new to java card and i am seeking for complet course and samples of how i can use this new developement kit and to get familiarized with it !
    any help will be very appreciated
    thanks

    i have got t JCDevKit_User_Guide.pdf this file describes the using of jav card ! but when i tried to execute what it said on dos i did it succifully but i could not see the result? i mean is there an applet to se or to integrate in an html file or to use elswhere?
    i mean , how nomalaly can i use the files generated in the sample �? where to integrate them and where to use them?
    please help me and excuse my exhaustive questions!
    thanks

  • Need Some Help in Using Log4j for logging

    Hi
    I am using Log4j for logging in my application . i have problem some areas .
    I want to rotate my file on basis of Time. means if my log file name format is HH:MM then after every minute new log file should be created , i am using Size based rotation its working fine.
    Plz Tell me which propety i used to set my logfile name like DATeFormat
    i tried with this Property but failed
    log4j.appender.R.File=%d{HH:MM}
    Simlarly i dont want to bound BackupSize
    log4j.appender.R.MaxBackupIndex=1000
    i want that suppose after 2 Mb automatically start new file and there is no upper bound on that
    how can i do that or from where i can see all properties of Log4j Thanks

    Thanks
    But in this case i cannot do Size based rotation
    These properties not belong to DialyRolling.. class
    log4j.appender.R.MaxFileSize=1KB
    log4j.appender.R.MaxBackupIndex=1000
    what i want is if file size grow with in one minute i create new file using RollingFileApender and if size doesnt grow in one minute and minute cross then next minute file should be created , how can i acheive both of these

  • I'm in the process of creating a WiFi network from my IMac to my LG HDTV.  I am incorporating a LG WiFi capable Blu-ray player and will purchase an Apple Express or Apple Extreme router. I need some advise on using this aquipment.

    I need help in determining the best way to create a WiFi network from my IMAC to a WiFi capable LG Blu-Ray player that will connect to my LG HDTV.  Since I will only need one network I need to know which is the best Apple Airport router to use (Express or Extreme).  What is the correct way to connect these units?  It seem self explanitory,but I'm checking my thinking.  My HDTV is about 20' from where the airport router will be installed with a wall between them.  Has anyone created this network?  Is this the best way to create a WiFi network?

    I need help in determining the best way to create a WiFi network from my IMAC to a WiFi capable LG Blu-Ray player that will connect to my LG HDTV.  Since I will only need one network I need to know which is the best Apple Airport router to use (Express or Extreme).  What is the correct way to connect these units?  It seem self explanitory,but I'm checking my thinking.  My HDTV is about 20' from where the airport router will be installed with a wall between them.  Has anyone created this network?  Is this the best way to create a WiFi network?

  • I need some information about using multiple toggle groups??

    Hi,
    I am trying to implement multiple toggle groups in javafx(one for radio button and one for toggle buttons).
    On selecting one of the radio buttons , the toggle buttons appear and I need to perform some operation based on the selected toggle button value.
    But for me only the radio button toggling is working.
    The toggle button is coming as disabled.
    Please help me out.

    Can you post a short, self-contained, correct example demonstrating the problem? The following example works fine for me:
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.control.RadioButton;
    import javafx.scene.control.ToggleButton;
    import javafx.scene.control.ToggleGroup;
    import javafx.scene.layout.HBox;
    import javafx.scene.layout.VBox;
    import javafx.stage.Stage;
    public class MultipleToggleGroupExample extends Application {
      @Override
      public void start(Stage primaryStage) {
      final ToggleGroup radioButtonGroup = new ToggleGroup();
      final RadioButton rb1 = new RadioButton("Choice 1");
      final RadioButton rb2 = new RadioButton("Choice 2");
      rb1.setToggleGroup(radioButtonGroup);
      rb2.setToggleGroup(radioButtonGroup);
      final ToggleGroup toggleButtonGroup = new ToggleGroup();
      final ToggleButton tb1 = new ToggleButton("Choice A");
      final ToggleButton tb2 = new ToggleButton("Choice B");
      tb1.setToggleGroup(toggleButtonGroup);
      tb2.setToggleGroup(toggleButtonGroup);
      final HBox root = new HBox(10);
      final VBox radioButtons = new VBox(5);
      radioButtons.getChildren().addAll(rb1, rb2);
      final VBox toggleButtons = new VBox(5);
      toggleButtons.getChildren().addAll(tb1, tb2);
      root.getChildren().addAll(radioButtons, toggleButtons);
      toggleButtons.visibleProperty().bind(rb2.selectedProperty());
      primaryStage.setScene(new Scene(root, 600, 400));
      primaryStage.show();
      public static void main(String[] args) {
      launch(args);

Maybe you are looking for

  • Error message when downloading latest itunes version 4.3.5!!!

    Please help a blonde technophobe! I get an error message every time I try and download the upgrade, it just says cant connect - usually at about 80% complete and that it has timed out........

  • IPhoto doesn't see my photos

    I was in middle of editing newly loaded photos, when the computer locked up. I had to shut it off to regain control. Since then iPhoto opens but doesn't see any photos in my libraries. Photos are still there, I can see them in finder and preview, but

  • Diagnostic mode--battery or board?

    I have a first generation Nano with a short battery life. Is there a way of using the diagnostic mode to determine if it is due to a battery gone bad or if it is due to a hardware problem? What do the results mean in the power test?? The Nano seems t

  • How can Safari request HTML5 videos?

    Hi, Safari on my iPad plays HTML5 videos. When I go to the video with Safari on my Mac, I got the message Flash PlugIn missing. How can I configure Safari on my Mac that it requests HTML5 videos? Thanks

  • WD MyBook or My Book unmounting randomly

    I work for a Mac Support company in NYC, where we setup/teach/troubleshoot for homes or small businesses all over the city. However, I'm stumped by some recent issues with the WD 1TB My Book drives we've been purchasing for clients. In the past, WD h