Getting PO number in EXIT_SAPLEBND_002

Hello,
I've put code in EXIT_SAPLEBND_002 (include ZXM06U22), and in order to trigger my release strategy I need to pass a "Y" in I_CEKKO-USRC1 if the total net value price on the PO that has been changed has increased in value or percentage over a given tolerance in a control table.
My problem is that I need the PO number to be able to find the data I need using the CHANGEDOCUMENT_READ_HEADER FM.  CEKKO doesn't contain the PO number, and when I try to use IT_BEKPO I keep getting an error that it is not a table with a header record.
What is the best way to get the PO number within this exit?
Thanks in advance,
Angela

I've found an answer to my question outside the forums, so I'm closing this thread.

Similar Messages

  • SSRS how to get for number of months

    Hi All;
    below is my SSRS expression 
    =Cdate(Format(Cdate(Mid(Fields!createdon.Value,4,2) & "/" & Mid(Fields!createdon.Value,1,2) & "/" & Mid(Fields!createdon.Value,7,4)),"MMMM yyyy"))
    which gives me the month in MMMM yyyy format in Jan 2014, Feb 2014, Mar 2014... so on
    i need to remove a average of a month 
    i.e Months value/No of months
    I do i get number of months dynamically in SSRS
    Any help much appreciated
    Thanks
    Pradnya07

    Hi Pradnya07,
    In your scenario, it seems that the createdon is a string data type field with this format: 15/09/2014.
    If we want to get the number of the month in the createdon field, we can directly use the expression below:
    =cint(Mid(Fields!createdon.Value,4,2))
    If you also need to get the average data for a month like ‘Months value/No of months’, please refer to the following expression:
    = Fields!Amount.Value /cint(Mid(Fields!createdon.Value,4,2))
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • I have an iphone4 and my husband merge his numbers with mine and i think it was deleted can you tell me how can he get his number back on his phone

    have an iphone4 and my husband merge his numbers with mine and i think it was deleted can you tell me how can he get his number back on his phone

    Do you possibly mean the contacts have been merged?
    If so, where are each of you syncing contacts?  A supported application on the computer? iCloud or another cloud service? An Exchange server?
    WIthout details, it's difficult to offer specific resolutions.

  • How can you get your number back on the iphne

    I'm tryna get my number to my phne instead of my icloud email

    Sync is only oneway, from PC to your device. Unless you have the music on your PC, iTunes is going to wipe out what you have on your device if you are syncing to a new library.
    You can only transfer Purchased music over to Itunes on your PC.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/HT1848
    As for you own music, you may have to use a third party software. A good Free one is called Sharepod which you can download from Download.com here:
    http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2

  • How to get row number in the fetch row itself in Sql Query ?

    Hi,
    i am fetching some rows from a sql query . Is there any way to get row number as well in each row while all rows are fetched ?
    like this :
    RowNum data1 data2
    1 abc ere
    2 bnh ioi

    Hello
    Ofcourse you can get the rownum inside a query, just keep in mind that the rownum is the number of order in which the records were fetched from the table, so if you do an order by, the rownum will not be sequential, unless you query the information in a subquery first.
    SELECT rown, col1, col1
    FROM table
    Or
    SELECT rownum, col1, col2
    FROM (SELECT col_1, col_2 FROM table ORDER BY col1)
    Regards
    Johan

  • How  do i get my number files on my iPad from my iMac computer?

    How do I now get my Number 09 files up on my ipad so the will sync in the  cloud?

    If you are running OSX 10.5.7 you cannot use iCloud on your Mac since one of the requirements is that the Mac needs to be running Lion. However, if you are really running 10.5.7 - you can't sync the iPad either since the minimum for that is 10.5.8.
    I will assume that your tagline is incorrect and you can at least sync the iPad with your Mac. And .... you need to have Numbers installed on the iPad so I will assume that you have that installed as well.
    The text below is copied from the kb article below.
    iWorks for iOS: About iTunes File Sharing
    Copying Numbers files from your computer to the iPad using iOS file sharing (Title changed for Numbers)
    Connect your iOS device to your computer using the included Dock Connector to USB cable.
    Open iTunes on your computer.
    Select your iOS device from the Devices section on the left side of iTunes.
    Click the Apps tab and scroll down to the bottom of the page.
    Note: If you do not see the File Sharing section shown in the image below, your iOS device does not have any apps installed which support File Sharing, such as the iWork for iOS apps.
    Under the File Sharing section, you should find a list of apps currently installed on your iOS device that use File Sharing (such as Keynote, Pages, and Numbers for iOS). Select an app to view a list of the files associated with that app on your iOS device.
    You can drag and drop files into the Documents list to send them to the app on your iOS device. You can also click the Add button, locate the file or files you want to send from your computer, and then click the Choose. The files you select will be copied to the app on your iOS device immediately. Select only files that are supported by the iOS app. Once you’ve copied your file(s) to your iOS device from within iTunes, open Keynote, Pages, or Numbers on your iOS device.
    Navigate to the Document Manager screen
    Tap the plus icon in the upper-left corner, and then tap the iTunes icon:
    This will open the "Copy from iTunes" window:
    Tap the file you want to copy and the document will automatically be added to the Document Manager and open.
    (Any compatible file that you’ve copied to your iOS device using File Sharing will be listed in the "Copy from iTunes" window. If the file is not listed, confirm its file type is compatible with the iWork app.)
    Back to my own words now.... You can sync these documents to iCloud using your iPad as long as you set it up in the iCloud settings. If you make changes to this document on the iPad - it will not sync back to the Mac via iCloud. You can sign into your icloud.com account on the Mac - click on iWorks - click on Numbers - select the file - and download the file to the Mac to work on it again - but you can't upload it again unless you are running 10.7.2 on the Mac. You will have to get the file back onto the iPad via file sharing as described above.

  • How to get week number from date

    Hi,
       please mention how to get the number of week from a particular date using fn module?

    Hi Debarshi,
                       Use FM <b>DATE_GET_WEEK</b>
    Reward points if helpful.
    Regards,
    Hemant

  • How to get total number of nodes in a JTree?

    Hi,
    I am trying to get total number of nodes in a JTree, and cannot find a way to do it.
    The current getRowCount() method returns the number of rows that are currently being displayed.
    Is there a way to do this or I am missing something?
    thanks,

    How many nodes does this tree have?
    import java.awt.EventQueue;
    import javax.swing.*;
    import javax.swing.event.TreeModelListener;
    import javax.swing.tree.*;
    public class BigTree {
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    TreeModel model = new TreeModel() {
                        private String node = "Node!";
                        @Override
                        public void valueForPathChanged(TreePath path,
                                Object newValue) {
                            // not mutable
                        @Override
                        public void removeTreeModelListener(TreeModelListener l) {
                            // not mutable
                        @Override
                        public boolean isLeaf(Object node) {
                            return false;
                        @Override
                        public Object getRoot() {
                            return node;
                        @Override
                        public int getIndexOfChild(Object parent, Object child) {
                            return child == node ? 0 : -1;
                        @Override
                        public int getChildCount(Object parent) {
                            return 1;
                        @Override
                        public Object getChild(Object parent, int index) {
                            return node;
                        @Override
                        public void addTreeModelListener(TreeModelListener l) {
                            // not mutable
                    JFrame frame = new JFrame("Test");
                    frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
                    frame.getContentPane().add(new JScrollPane(new JTree(model)));
                    frame.pack();
                    frame.setLocationRelativeTo(null);
                    frame.setVisible(true);
    }But for bounded tree model using DefaultMutableTreeNode look at bread/depth/preorder enumeration methods to walk the entire tree. Or look at the source code for those and adapt them to work with the TreeModel interface.

  • How to get total number of days

    Hi All,
    how to get total number of days , for example if month eq 05 then need to get total number of days until MAY 31.
    and how to get total number of days in a month.
    Thank You,,
    Sriii..

    Hi Sridhar,
    Pls Try to search before posting general questions.
    Try this,
    CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
        EXPORTING
          i_datum_bis                   = p_lv_date1
          i_datum_von                   = p_lv_date2
       IMPORTING
         e_tage                        = p_e_date_difference
       EXCEPTIONS
         days_method_not_defined       = 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.
    Regards,
    Sunil kairam.

  • Query to  get  Week number  Pls help

    I need to get week number of the current year in the format 2008-W47 ( this is for sysdate
    when i try
    select to_CHAR(sysdate,'YYYY'||'-IW')
    FROM DUAL
    i get 2008-47
    but in the format 2008-W47
    Help
    s

    SQL> select to_CHAR(sysdate,'YYYY')||'-W'||to_char(sysdate,'IW') from dual
      2  /
    TO_CHAR(
    2008-W47

  • How to get the number of days in a month?

    hi all
    is there any way to get the number of days in a given month with a given year? for instance, if year is 2004 and the month is July or February, how can i get the number of days? thanks.

    Gee, I don't know ... Maybe this:
    Calendar cal = Calendar.newInstance();
    cal.set(Calendar.YEAR, 2004);
    cal.set(Calendar.MONTH, Calendar.FEBUARY);
    System.out.println("max days in month: " + cal.getActualMaximum(Calendar.DAY_OF_MONTH));
    Do you not bother reading what people have already posted? Read the API docs on the Calendar class.

  • Indesign CS3: How to get the number of the current layer?

    Hallo!
    How to get the number of the current layer in a page?
    Thanks,
    Alois Blaimer

    InterfacePtr<ILayerList> layerList(documentUIDRef, UseDefaultIID());          <br /><br />int32 layerCount = layerList->GetCount();<br /><br />To findout layer name use<br /><br />IDocumentLayer* documentLayer = layerList->QueryLayer(layerIndex);<br />                         <br />PMString layer=documentLayer->GetName();

  • How to get total number of days in current Fiscal period/year

    Hi,
    I need to get total number of days in current Fiscal period/year (current month) and assign it to an infoobject. I need a routine for this. Is there any function module to get this.If possible pls paste the ABAP code also for this task. Thanks in advance

    here is the FM:
    LAST_DAY_IN_PERIOD_GET
    KJ!!!

  • Date - how to get the number of the week

    I have a Date - string - w/e can be convered thats not the problem
    but how do I get the number of the week cuz the database holds events per week so I need to know the number of the week.
    I tried going true the api but I failed to find the right fuction, aldoh I recall seeing it somewhere a while ago.
    anyways got a deathline so easy dukies, first come first serve.

    how's this then?int weekOfYear = 0;
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd"); //your String format
    Date date = null;
    String dateString = "2003/06/16";
    try {
      date = sdf.parse(dateString);
    } catch (ParseException pe) {
      //hande bad date format
    if (date != null) {
      GregorianCalendar calendar = new GregorianCalendar();
      calendar.setTime(date);
      weekOfYear = calendar.get(Calendar.WEEK_OF_YEAR);
    Warning: Be careful of your locale settings when using week of year, you may need to investigate setFirstDayOfWeek(int value) and setMinimalDaysInFirstWeek(int value) to ensure you get the results you expect.

  • How to get the number of current active external modes?

    hi all,
    I need to get the number of currently active external modes. This can be done by calling function THUSRINFO. But this only works propperly, if you are logged on only once. If you are logged on more than one time then the function returns several entries in the parameter USR_TABLE. The entries mainly differ in the first parameter TID (type UTID, INT4) "terminal-identification" but how can I know which is the valid one for my current session. Functions TERMINAL_ID_GET, SPH_TERMINAL_IDENTIFY and SPH_TERMINAL_ID_GET dont work.
    Or is there another way to get the number of active external sessions?
    Thanks in advance,
    Michael

    Hi,
    tables: usr02, usr41.
    data: OPCODE_MODE_COUNT(1) TYPE X VALUE 3,
          modes like sy-index,
          u_MODES LIKE MODES.
    select * from usr02.
      select * from usr41 where BNAME = usr02-bname.
        CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE_MODE_COUNT
          ID 'TID' FIELD usr41-TERMID
          ID 'MODES' FIELD MODES.
        IF SY-SUBRC = 0.
          u_MODES = u_MODES + MODES.
        ENDIF.
      endselect.
      if sy-subrc = 0.
        write:/ usr02-bname, u_MODES.
      endif.
      clear u_modes.
    endselect.

Maybe you are looking for

  • How do i get my iphone 6 contacts to replace contacts in macbook pro?

    I made a whole bunch of changes to my contacts, on my iphone, and when I went to sync it to my laptop, the contacts from my laptop went onto my iphone! So now I'm back to square one! Is there anyway to set it so that my iphone overrides the macbook w

  • Help needed in mapping BI query output to use as input for BAPI

    Hi, After wrestling with it for quite some time I choose to ask yet another question here. I want to use the output of a BI query I use as input for a BAPI. I just can not get the mapping correctly: The query delivers: 104908BA092F7501F5E100800082900

  • How do I install Lion on new flash drive?

    How do I install Lion on new flash drive?

  • How to Capture SOAP Header in BPEL

    Hi All, I have a requirement to pass a value from SOAP Header to BPEL and has to capture the value in BPEL and manipulate the data. In the receive activity i created a variable and assigned Header to it, but iam getting NULL value when i check the in

  • ITunes default import setting

    Hi I am trying to set my iTunes default import setting to "Apple Lossless" with error correction, but each time I do this, iTunes switches back to iTunes Plus with no error detection.  Does anyone have any ideas how to solve this?  Thanks.