BAPI_ALM_ORDERHEAD_GET_LIST to select two different order at a time (urgent

hello all ,
Using BAPI_ALM_ORDERHEAD_GET_LIST i want to select two different orders at a time . As we do in IW38 using select single vaules(1) .
i want to know how to pass the selection .
Up to know i have tried like this :
FIELD_NAME                     S OP LOW_VALUE
OPTIONS_FOR_ORDERID            I EQ 500460
OPTIONS_FOR_ORDERID            I EQ 500400
But i am getting only the first order . But i want both order numbers .
So please help me on this .
Thanks are regards ,
Prem

Just for information. The following IT_RANGES fields map to the IW38 checkboxes at the top of the selection-screen:
SHOW_DOCUMENTS_IN_PROCESS      IW38 - Outstanding (CRTD)
SHOW_OPEN_DOCUMENTS                  IW38 - In process (REL)
SHOW_COMPLETED_DOCUMENTS       IW38 - Completed (TECO and CLSD)
SHOW_HISTORICAL_DOCUMENTS       IW38 - Historical
If you want to select TECO/CLSD orders, then you would use the following in IT_RANGES:
SHOW_DOCUMENTS_IN_PROCESS      I EQ
SHOW_OPEN_DOCUMENTS                  I EQ
SHOW_COMPLETED_DOCUMENTS       I EQ X
SHOW_HISTORICAL_DOCUMENTS       I EQ
As you then said, you need to filter out the CLSD statuses using:
OPTIONS_FOR_STATUS_INCLUSIVE I EQ TECO
I suspect this would be a more efficient way of selecting the data, but you'd need to check.
PeteA

Similar Messages

  • How to load data from a flat file to two different tables at a time.

    I am not aware of Sql Loader so Please any body suggest me that is there any way to load data from excel sheet to two different tables at a time its very urgent.
    with regards,
    Srinivas.R

    Read Utilities Guide from the Oracle Documentation Library. See
    <br>
    Oracle Database FAQs
    </br>

  • Selecting two JText Area at a time

    Hi All,
    I am creating an GUI application for diff'ing two text files. For showing the two text files I am using the JTextArea and now the problem is when I show difference between two fields I have to select text in the two JTextArea Simultaneously so that we can see the differences between two lines. but I don't know how to select two Jtext area at a time.
    Please help me doing this.
    If not possible somebody please suggest me some alternative for this.
    Regards,
    Anoop

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class HighlightText extends JFrame {
        private JTextArea textarea1;
        private JTextArea textarea2;
        private JButton pressJButton;
        public HighlightText() {
            super( "Highlight Text" );
            Box box = Box.createHorizontalBox();
            final String s = "Here is the first line.\n" +
                    "Here is the second line.\n" +
                    "Here is the third line.\n" +
                    "Here is the fourth line.\n";
            textarea1 = new JTextArea(s);
            box.add( new JScrollPane( textarea1 ) );
            textarea2 = new JTextArea(s);
            box.add( new JScrollPane( textarea2 ) );
            pressJButton = new JButton( "Press" );
            box.add(pressJButton );
            highlight(textarea1, 12,17);
            highlight(textarea2, 12,17);
            pressJButton.addActionListener(
                    new ActionListener() {
                public void actionPerformed( ActionEvent event ) {
                    highlight(textarea1, 36,42);
                    highlight(textarea2, 36,42);
            getContentPane().add(box);
            setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
            setSize( 600, 300 );
            setLocationRelativeTo(null);
        public static void main( String args[] ) {
            new HighlightText().setVisible(true);
        // Creates highlights
        private void highlight(JTextComponent textComp, int selectionStart, int selectionEnd) {
            // First remove all old highlights
            removeHighlights(textComp);
            try {
                Highlighter hilite = textComp.getHighlighter();
                // Add highlight using private painter
                currentHilite = hilite.addHighlight(selectionStart, selectionEnd, textPainter);
            } catch (BadLocationException e) {
        private Object currentHilite;
        // Removes only our private highlights
        private void removeHighlights(JTextComponent textComp) {
            Highlighter hilite = textComp.getHighlighter();
            Highlighter.Highlight[] hilites = hilite.getHighlights();
            for (int index=0; index<hilites.length; index++) {
                if (hilites[index].getPainter() instanceof TextPainter) {
                    hilite.removeHighlight(hilites[index]);
        // An instance of the private subclass of the default highlight painter
        private Highlighter.HighlightPainter textPainter = new TextPainter(Color.yellow);
        // A private subclass of the default highlight painter
        private class TextPainter extends DefaultHighlighter.DefaultHighlightPainter {
            public TextPainter(Color color) {
                super(color);
    }

  • Can you move files between two different user accounts in Time Capsule?

    I copied a bunch of stuff from my old NAS (which used FAT) to Time Capsule under one user account... I then reformatted the NAS to HFS+ so I could just use it as a USB drive connected to the TC. Now I realized that I want to have one of those folders in another user directory. I cannot open two different sessions of the TC on the computer...at least I have not figured out how to do this. Is there a way to accomplish this without copying the folder to my computer, then copying it back to the other user directory? It is several gigs.

    you can crop files from one account to another using the Public Dropbox which every user account has.  Log into the user that has the files you want to move, then drag the folder you want to the new users' dropbox:
    I suggest a small scale test on a few files first before moving gigabytes of files.

  • How to select two things at the same time ?

    Hey guys, i'm French and I need your help !
    I'm working everyday on iWork and especially Pages.
    How to select two parts of a text at the same time ?
    Before we only need to select one, to press the "cmd" button and then to select another part. It doesn't work anymore!
    Thanks for you help
    and sorry for the mistakes !

    Hey guys, i'm French and I need your help !
    I'm working everyday on iWork and especially Pages.
    How to select two parts of a text at the same time ?
    Before we only need to select one, to press the "cmd" button and then to select another part. It doesn't work anymore!
    Thanks for you help
    and sorry for the mistakes !

  • Play two different sounds at same time  from Split Keyboard?

    Is it possible to configure the Logic Environment so that one can play or record, from a split keyboard, two different EX24/Audio Instrument sounds on two different tracks AT THE SAME TIME... (and/or: combinations of Audioinstrument + Midi)
    EG: From C3 down the left hand plays an EX24 bass sound and from C3 upwards the right hand plays an EVP 88 Rhodes sound
    Case 1: with the same keyboard
    Case 2: play the second sound from another keyboard.
    and/or: combinations of Audioinstrument + Midi
    Some years back I tried this on a live gig with an iBook and MOTU 828 mixing the EVP88 but was frustrated that I could only access one sound at a time.
    Any ideas appreciated..
    Adam

    Yes, there are lots of posts that document this in detail, including several from myself.
    Do some searches and you should turn them up.
    If you suck at searching and can't find them, post back and I'll search for you.
    In short, you either need to do some post Physical Input environment cabling, and/or use Logic's multirecord facility, which is documented in the manual.

  • Container appearing  in two different colors at same time screenshot attached .

    Hi ,
    I am very much impressed with this site Look , as you can observer that
    in this the Container is showing in two different colors at the same time as shown in screenshot attached .
    Please tell me how to achieve this ??
    One Part is Loading Advertisement and other View is their business Rules .
    Please tell me how to get this behaviour
    Because when i use Application container background color="black" it displays the whole container in Blackm color.
    Please help
    Thanks in advance.

    There are many ways of achieving this. One can be to use background image for the application. Other ways can be to use various containers (panel, canvas etc. with background images) to get this look and feel. Think of it in HTML way. The way you can use div tags to layout your page, you can use various containers of Flex to layout your page.

  • Selecting two different Names using the same table with same field

    Hello,
    I am trying to display several fields from different tables. Here are some of the fields that I need: The instructor needs to go after the social.
    WESL | ENGR-1101-SW1 | Hinojosa | Ashley | Social | Instructor |
    I am using a table where they have the social and I need to get both the student and the instructor. How do I select the instructor when the instructor's id is on a different table. example
    CLASS PERSON CLASS_ASSIGN
    student_id student_id: name facutly_id
    Here is the code that I have so far and it works.
    rem ----------------
    rem Filename: cer.sql
    rem Purpose: to get data from banner and put into flat file
    rem Date: August 17, 2006 4:51 P.M.
    rem Author: Robert Hernandez
    rem ---------------
    rem Notes: Need to add the Instructor - having problems
    rem using the same spriden_id.
    rem Also need to have admissions enter the grad date for
    rem several students: Procedure is working as is.
    declare
    l_output utl_file.file_type;
    grad_month varchar2(2);
    buffer varchar2(1000);
    cursor cursor1 is
    select ssrmeet_bldg_code,
    ssbsect_subj_code,
    ssbsect_crse_numb,
    ssbsect_seq_numb,
    spriden_last_name,
    spriden_first_name,
    spriden_id,
    scbcrse_title,
    ssbsect_term_code,
    sfrstcr_grde_code,
    sorhsch_graduation_date,
    decode(substr(sorhsch_graduation_date,4,3),'JAN','01',
    'FEB','02',
    'MAR','03',
    'APR','04',
    'MAY','05',
    'JUN','06',
    'JUL','07',
    'AUG','08',
    'SEP','09',
    'OCT','10',
    'NOV','11',
    'DEC','12') as grad_month,
    sorhsch_sbgi_code
    from ssbsect,ssrmeet,sfrstcr,spriden,scbcrse,sorhsch
    where rownum < 200
    and ssbsect_seq_numb like 'S%'
    and (ssrmeet_term_code = ssbsect_term_code
    and ssrmeet_crn = ssbsect_crn)
    and (ssbsect_crn = sfrstcr_crn
    and sfrstcr_pidm = spriden_pidm
    and length(spriden_id) = 9
    and substr(spriden_id,1,1) <> 'A')
    and (ssbsect_crse_numb = scbcrse_crse_numb
    and ssbsect_subj_code = scbcrse_subj_code)
    and spriden_pidm = sorhsch_pidm
    and sorhsch_graduation_date is null
    order by ssbsect_crse_numb;
    begin
    l_output := utl_file.fopen('CER','rbfpce.txt','W');
    for cur1_rec in cursor1 loop
    buffer:= cur1_rec.ssrmeet_bldg_code||'|'||
    cur1_rec.ssbsect_subj_code||'-'||
    cur1_rec.ssbsect_crse_numb||'-'||
    cur1_rec.ssbsect_seq_numb||'|'||
    cur1_rec.spriden_last_name||'|'||
    cur1_rec.spriden_first_name||'|'||
    substr(cur1_rec.spriden_id,1,3)||'-'||
    substr(cur1_rec.spriden_id,4,2)||'-'||
    substr(cur1_rec.spriden_id,6,4)||'|'||
    cur1_rec.scbcrse_title||'|'||
    cur1_rec.ssbsect_term_code||'|'||
    cur1_rec.sfrstcr_grde_code||'|'||
    '20'||SUBSTR(cur1_rec.sorhsch_graduation_date,8,2)||
    cur1_rec.grad_month||'|'||
    cur1_rec.sorhsch_sbgi_code;
    utl_file.put_line(l_output,buffer,false);
    end loop;
    utl_file.fclose(l_output);
    exception
    when no_data_found then
    utl_file.fclose(l_output);
    end;
    /

    Can you be more precise , please :
    - which table stores the people identities ? (I call this one Identity)
    - which table gives the class where the student works in (I cal l this one Claa_attendees)
    - which table gives the instructor of a class (I call this one Class)
    If your issue is that you have one table which stores Itendities , and you need to display Student identity and Instructor Identity, you have to call this table twice in your query , using table aliases . I mean :
    Select Stud_iden.name, Instr_iden.name
    From Identity Stud_iden, Identity Instr_iden, Class_attendees, Class
    Where Class.clas_id = class_attendees.class_id
    and class.instructor_id = Instr_iden.people_id
    and class_attendees.student_id = Stud_iden.people_id
    Is this what you need to do ?

  • Headphone preferences (selecting two different headphones simultaneously)

    Is it possible to select 2 separate headphones on the 1 iMac? All OSX Mountain Lion

    Hmmm, not sure, but...
    Open Audio Midi Setup in Applications>Utilities, see the input & output options & KHz setting there, see if you can add output devices.

  • Can I back up two different computers in one Time Capsule?

    I have two 15" MacBook Pro Intel Core 2 Duo, a first generation and a more recent one linked to a 500G Time Capsule.
    First question:
    Can I back up the two computers in the TC in separate "partitions", as in separate units like storage #1 and storage #2, so that the data from each computer is only stored in that assigned location? 
    Second question
    In case that should be doable, will it be also possible for each computer to access the data stored in either storage #1 or storage #2?

    Second question
    In case that should be doable, will it be also possible for each computer to access the data stored in either storage #1 or storage #2?
    The best way to see the backups for a different Mac is via the Browse Other Time Machine Disks option, per #17 in  Time Machine - Frequently Asked Questions.

  • Two different users.  One Time Machine Backup?

    I have two user profiles on my iMac. I'm just wondering if Time Machine backs up both profiles when I'm logged into one or do I have back up each profile individually?
    Thanks.

    B.C
    It will backup virtually the whole contents of your internal hard disk, so no worries. That's whether you are logged into a specific user account or not.
    Cheers!
    Message was edited by: Glenn Carter

  • Time Capsule--can I back up Two different Laptops on the Time Capsule?

    It's just about that easy. I just got the Time Capsule. I backed up my MacBook Pro. Now I'd like to use the same Time Capsule to back up my wife's MacBook. Can this be done? If so, how? I keep getting the failed message from the Time Machine Backup.
    Thanks for the help.
    Dave

    No question that it can be done. I just got a new MacBook a couple of weeks ago and I am backing it up to our TC alongside my son who has been using it since last Sept. with his MacBook. There was no problem setting it up. I just clicked on TimeMachine in the Dock and it asked me where I wanted to back my files up to. The only choice was the existing Time Capsule. I clicked and away it went. I took the advice of others and connected my Mac directly to the TC for the initial backup instead of relying on the wireless. It only took a couple of hours.
    What specific error do you get?

  • One apple id on two different ipads at one time?

    for my friend. owns an iPad 3, won an iPad Air. Can one itunes store account, aka apple id be used on both iPads?

    Of course. Moreover, that's what your friend has to do if he is the owner of both devices, so he can have the same purchases and information in both iPads

  • Two renewal orders and charges showing every month for one account and same renewal package, WHY

    Why am I charged twice with two different orders every month for one package of 800 mins. Are they giving me 1600 minutes! I need only 800 minutes please, so please refund these extra order charges please. I just noticed this thing month today and on checking order history find that same practice has been followed for all my previous months transcations!

    Hello and welcome to the Skype Community.
    The duplicate charge has been reversed and the funds will be returned to you.

  • Diversity and trying to conver two different areas

    So the whole purpose of diversity is to provide/improve coverage in a same area.  Basically two antennas placed with a reasonable distance from each other and the concept is that one antenna might receive a better signal than other and then both signals can be combined to get a single stream.  End result better communication.
    Now something I have noticed that people are doing is taking the two antennas and putting them like 25 to 50 feet apart with diversity enabled trying to cover two different areas.  At times two different rooms so like one antenna is in one room and second one is in another room with a concrete wall between them.  Apparently they are saying that it is working for them.  I'm trying to understand the logic behind that how something like that wouldn't cause issues unless they have clients only on one side?

    I've seen set-ups like this before and people at the site can (and will) say that it's "working".  
    Until I get a wireless sniffer out or do some scanning, it seldom works.  They will say that it's working purely for political (don't want to get themselves into trouble) and/or financial (they can't afford to put two APs) or both.  
    This may work (somewhat) in 802.11a/b/g but stick 802.11n/ac and I'm certain it won't work.  When I mean it won't work, I mean you won't see the full benefit of connection speeds of >155 Mbps. 

Maybe you are looking for