HOW TO USE BAPI_PO_CHANGE TO SET 'EKPO-ELIKZ' = 'X'

HI!
I.M NOW USING THE BAPI "BAPI_PO_CHANGE"  TO REALIZE CHANGING PO order batchly,when the user modifies the EKPO-MENGE AND LET IT EQUAL TO THE SUM OF EKET-WEMNG,THE PROGRAME WILL SET 'EKPO-ELIKZ' = 'X'.
BUT WHEN IT DOES,THE SYSTEM GIVES THE FOLLOWING ERROR MESSAGES: THE ITEM 0010 STILL HAS A WRONG SCHEDULE LINE AND THE ITEM 0010 ORDER 5800012450 HAS BEEN FINISHED.
WHEN I CANCELED SETTED 'EKPO-ELIKZ' = 'X',THE PROGRAMM RUNS NORMALLY,SO HOW COULD I DO IT CORRECTLY?
THANKS IN ADVANCE!

Hi,
Maybe you should check the data.
To allow the PO to be set Delivery Completed, certain condition must be met.
However, in your case, I assume this condition does not met so it will cause error.
If you set EKPO-ELIKZ to 'X', that means you set the PO status to delivery completed.
Hope it help.

Similar Messages

  • How to use open data set in SAP

    Hi SAP Gurus,
            Could anyone help, how to use open data set in SAP.
          I need to upload a file from Application server (ZSAPUSAGEDATA) to internal table (IT_FINAL).
    Thanks & Regards,
    Krishnau2026

    Hi Krishna.
    These are the steps you need to follow.
    tables: specify the table.
    data: begin of fs_...
            end of fs_    " Structure Field string.
    data: t_table like
            standard table
                      of fs_...
    data:
    w_file TYPE string.
    data:
      fname(10) VALUE '.\xyz.TXT'.
    select-options: if any.
    PARAMETERS:
      p_file LIKE rlgrap-filename.
    w_file = p_file.
    select .... statement
    OPEN DATASET fname FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    *OPEN DATASET fname FOR OUTPUT IN BINARY MODE.
    LOOP AT t_... INTO fs_....
    write:/ .....
    TRANSFER fs_... TO fname.
    or
    TRANSFER t_... TO fname
    ENDLOOP.
    CLOSE DATASET fname.
    Reward points wisely and if you are benefitted or ask for more detailed explanation if problem not solved.
    Regards Harsh.

  • How to use AppleScript to set "character fill color" in Pages 5.2?

    For Pages 5.2 on OSX 10.9.3, what is the correct applescript for changing the "character fill" of text in pages. 
    If you highlight text, you do this via your mouse in the inspector by clicking "style," "advanced option (the gear wheel to the right of bold, italics, and underline), "character fill color (clicking on the multi-color circle, not the dropdown menu), and then choosing a color that comes up in the "colors" dialogue box.
    I've looked all over and cannot find how to use applescript to set the character fill color in pages. 
    In some examples (not directly related) I see "character fill" used. 
    In others, I see "colorfill." 
    Basically, I want to use applescript, embedded in a keyboard maestro macro, to change the background color of the text (not the text color itself) to particular colors. 
    Given the changes and updates to Pages this year, and to applescript, what's the easy way to do this?
    Thanks!
    Chuck

    Pages v5.2 still does not include selection-object, or character background color entries in its AppleScript dictionary, as does Pages ’09. Indirectly, using System Events, you can get the text selection in Pages v5.2, but then you can do nothing to change the selection. No assurances as to if or when Apple will mature the AppleScript dictionary support for Pages v5 series.

  • How to use "Reference Structure" setting in analysis grid item

    Hello expert,
            in Bex analyzer, how to use "Reference Structure" setting in analysis grid item by example?
    Many thanks,

    The variable needs assigned a value, that's why you're getting prompted. When you execute the statement, it's not executing the variable and exec lines.
    Having script output available in a grid would be an enhancement request.

  • How to use Special value set with Column clause to display addtional column

    hi
    can anyone tell me
    How to use Special value set with Column clause to display addtional column
    how can i use FND POPID and with COLUMN clause ?

    Dear Yaseen,
                To get the value in formula cumulative,after you have created the formula for that particular key figure,go to edit and click on tab "calculations".
    In that select overall result as 'count all values not equal to zero' and single result as 'count all values not equal to zero' .
    And mark the cumulative check box underneath.
    I hope you get the desired result and please do me favour .
    Sumit goomber

  • How to use open Row set in sql server 2014

    Hello All,
    How to open the row set using sql server 2014 using link server connection.

    Hi  denyy,
    Are you referring to the OPENROWSET function in SQL Server 2014?
    The OPENROWSET method is an alternative to accessing tables in a linked server and is a one-time, ad hoc method of connecting and accessing remote data by using OLE DB. The examples below demonstrate how to use the OPENROWSET function:
    A. Using OPENROWSET with SELECT and the SQL Server Native Client OLE DB Provider
    SELECT a.*
    FROM OPENROWSET('SQLNCLI', 'Server=Seattle1;Trusted_Connection=yes;',
    'SELECT GroupName, Name, DepartmentID
    FROM AdventureWorks2012.HumanResources.Department
    ORDER BY GroupName, Name') AS a;
    B. Using the Microsoft OLE DB Provider for Jet
    SELECT CustomerID, CompanyName
    FROM OPENROWSET('Microsoft.Jet.OLEDB.4.0',
    'C:\Program Files\Microsoft Office\OFFICE11\SAMPLES\Northwind.mdb';
    'admin';'',Customers);
    GO
    C. Using OPENROWSET to bulk insert file data into a varbinary(max) column
    USE AdventureWorks2012;
    GO
    CREATE TABLE myTable(FileName nvarchar(60),
    FileType nvarchar(60), Document varbinary(max));
    GO
    INSERT INTO myTable(FileName, FileType, Document)
    SELECT 'Text1.txt' AS FileName,
    '.txt' AS FileType,
    * FROM OPENROWSET(BULK N'C:\Text1.txt', SINGLE_BLOB) AS Document;
    GO
    D. Using the OPENROWSET BULK provider with a format file to retrieve rows from a text file
    SELECT a.* FROM OPENROWSET( BULK 'c:\test\values.txt',
    FORMATFILE = 'c:\test\values.fmt') AS a;
    Reference:
    OPENROWSET (Transact-SQL)
    Using the OPENROWSET function in SQL Server
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.

  • How to use same RESULT SET for two different events

    hello friends,
    I need to use same result set for two different events. How to do it.
    here My code,
    private void jComboBox1ItemStateChanged(java.awt.event.ItemEvent evt) {
    // TODO add your handling code here:
    try
    String selstate,selitem;
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:tourismdatasource","sa","");
    selstate="select * from tab_places where state=?";
    PreparedStatement ps=con.prepareStatement(selstate);
    ps.setString(1, jComboBox1.getSelectedItem().toString().trim());
    ResultSet rs=ps.executeQuery();
    if(rs.next())
    jTextField1.setText(rs.getString("place_ID"));
    jTextField2.setText(rs.getString("place_name"));
    jTextField3.setText(rs.getString("category"));
    byte[] ba;
    ba=rs.getBytes("image");
    ImageIcon ic = new ImageIcon(ba);
    jLabel6.setIcon(ic);
    in=true;
    catch(ClassNotFoundException cfe){JOptionPane.showMessageDialog(null, cfe.getMessage());}
    catch(SQLException sqe){JOptionPane.showMessageDialog(null,sqe.getMessage());}
    Now i need the same Result Set(rs), in another event(jButton6ActionPerformed),
    private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {
    // TODO add your handling code here:
    }  how do i get dat resultset,
    help me out

    One post wasn't enough?
    {color:0000ff}http://forum.java.sun.com/thread.jspa?threadID=5246634{color}
    db

  • How to use BAPI_OBJCL* to set classification data for Techn. Objects - PM ?

    Good afternoon !
            I´m working in a project to integrate some legacy system with the ECC 6.0, and I need to do some activities like, create functional locations and equipments in SAP PM, I have done this creating Z RFC modules that call bapis like BAPI_FUNCLOC_CREATE and BAPI_EQUI_CREATE, but these BAPIs doesn´t fill classification data, so, in a first moment, I solved this using BDC, but I would like to solve these needs using standard BAPIs if possible.
            To solve the classification, I tried to do it using the BAPI_OBJCL* BAPIs(BAPI_OBJCL_GET_KEY_OF_OBJECT, BAPI_OBJCL_CREATE_KEY), but I didn´t find any example of using these bapis with technical objects, so I tried to test the BAPI_OBJCL_GET_KEY_OF_OBJECT in a first moment and, when I call it passing '003' as classtype(003 is the classtype for the functional locations), this bapi returns me "Class type 003 requires additional objects"(the same occurs if I try it with 002, for equipment). What means this message ? Need I to do some customization in img/spro, or cannot these bapis be used with PM technical objects ?
            Thank you for your attention,
            Wilson

    Hi all !
            I have found the solution for this problem, I found that I was trying to use the wrong functions for my case, so, to solve my needs here, I will use BAPI_OBJCL_CREATE to set the classification data for Functional Locations and Equipments, and I can use BAPI_OBJCL_GETCLASSES to list all classes assigned for a Technical Object, and BAPI_OBJCL_GETDETAIL to get all characteristics assigned to a Technical Object for a specific class.
            Thank you all for your attention !
            Wilson

  • How to use currency format set

    Hi All,
    I have to use currency format set to mask the amount values to their respective currencies ,
    i reviewed the Oracle XML Publisher Administration and Developer's Guide and followed all the steps mentioned there ,i m also quoting the same over here
    To define a Currency Format Set:
    1. Navigate to the Currencies page under the Administration tab. Select Create
    Currency Format Set.
    2. Enter a Name and a Code for the set. The Code is a unique identifier and cannot be
    changed later. Select Apply.
    3. The Currency Formats page will display for your newly created set.
    To add currency formats to the Currency Format Set:
    1. Select Add Currency Format to add a format to your set.
    2. Select a Currency Name from the list.
    Note: This list is generated from the FND currency table and
    should include all ISO currencies. Additional currencies can be
    added from the System Administrator responsibility.
    3. Enter the Format Mask you wish to use for this currency and select Apply.
    The Format Mask must be in the Oracle number format. The Oracle number format
    uses the components "9", "0", "D", and "G" to compose the format, for example:
    9G999D00 where
    9 represents a displayed number only if present in data
    G represents the group separator
    D represents the decimal separator
    0 represents an explicitly displayed number regardless of incoming data
    See Using the Oracle Format Mask, Oracle XML Publisher Report Designer's Guide for
    more information about these format mask components.
    After a currency format has been created, you can update or delete it from the Currency
    Formats page.
    i followed all the above step ,i need to use germany currency ,i have also used the format-currency command in my RTF template,but still its not working ,i used 9G999D00 for masking .
    Any hint would be very helpful ,thanks in advance .Please let me know if my question is not clear
    Thanks
    Pratap

    hi all
    Thanks ,this is resolved ,i just missed clearing cache ,after clearing the cache its working .
    thanks
    Pratap

  • How to use Powershell to set delegate for user mailbox in Exchange 2010 and Office 365

    Hello,
    Can you please tell me if I can set delegate for user mailbox in Exchange 2010 or Office 365 using Powershell?
    If I can, then how can I do that? (which Powershell commands for setting the delegate?)
    Many thanks, and have a good day!

    Hi,
    If you wanted to add a delegate to possiblly a large number of users or you do this during mailbox provisioning. So the following script will use
    impersonation to access another users mailbox and add a delegate.
    $mbtoDelegate = "[email protected]"
    $delegatetoAdd = "[email protected]"
    $dllpath = "C:\Program Files\Microsoft\Exchange\Web Services\1.0\Microsoft.Exchange.WebServices.dll"
    [void][Reflection.Assembly]::LoadFile($dllpath)
    $service = new-object Microsoft.Exchange.WebServices.Data.ExchangeService([Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2007_SP1)
    $windowsIdentity = [System.Security.Principal.WindowsIdentity]::GetCurrent()
    $sidbind = "LDAP://<SID=" + $windowsIdentity.user.Value.ToString() + ">"
    $aceuser = [ADSI]$sidbind
    $service.AutodiscoverUrl($aceuser.mail.ToString())
    $service.ImpersonatedUserId = new-object Microsoft.Exchange.WebServices.Data.ImpersonatedUserId([Microsoft.Exchange.WebServices.Data.ConnectingIdType]::SmtpAddress,
    $mbtoDelegate);
    $mbMailbox = new-object Microsoft.Exchange.WebServices.Data.Mailbox($mbtoDelegate)
    $dgUser = new-object Microsoft.Exchange.WebServices.Data.DelegateUser($delegatetoAdd)
    $dgUser.ViewPrivateItems = $false
    $dgUser.ReceiveCopiesOfMeetingMessages = $false
    $dgUser.Permissions.CalendarFolderPermissionLevel = [Microsoft.Exchange.WebServices.Data.DelegateFolderPermissionLevel]::Editor
    $dgUser.Permissions.InboxFolderPermissionLevel = [Microsoft.Exchange.WebServices.Data.DelegateFolderPermissionLevel]::Reviewer
    $dgArray = new-object Microsoft.Exchange.WebServices.Data.DelegateUser[] 1
    $dgArray[0] = $dgUser
    $service.AddDelegates($mbMailbox, [Microsoft.Exchange.WebServices.Data.MeetingRequestsDeliveryScope]::DelegatesAndMe, $dgArray);
    Hope this helps.

  • How to use resStr() to set name of custom Type

    OK say I create a copy of Action step type (from NI_Types.ini)  and rename it Mycustomstep and put this in my own Type Palette, "MyCustTypes", folder(MyCustTypes.ini). The Step Type context menu shows "MyCustTypes | Action" instead of "MyCustTypes | Mycustomstep"  nomenclature. When you look in Step Type Menu Editor everything looks the way I expect, MyCustType | Mycustomstep...
    Thus to update the custom type with my own name I see the resStr() needs to be changed in my custom type properties. Not sure where to navigate to find the nomenclature using the Expression Browser for Default Step Name Expression, property menu. Since the ini is binary I can't read the ini directly...
    thanks ahead of time

    Hello richjoh!
    There are a couple places to "rename" your custom step type, and they
    all affect different areas.  To get a meaningful name in the .ini file,
    you actually have to right click on the custom type and rename it.  To
    customize the name of the type as it appears in the insertion palette,
    you must right click the custom step type, go to properties, and then
    to Menu tab.  Here, you can set the name of the step as it will appear
    in the insertion palette (Item Name Expression) and select or create
    which folder it will reside in (Group).  Finally, if you change the
    "Default Step Name Expression" on the General tab, you will be changing
    the name of the step as it appears when you place the step into your
    sequence.
    For all of these entry fields, you can simply put a literal string. 
    You do not need to use the resStr() function.  However, if you would
    like to, you can find where these strings returned from the resStr()
    function are defined in the
    <teststand>/components/NI/language/english directory, and add
    your own entries.
    NickB
    National Instruments
    Applications Engineering

  • How to use FlashVars to set the default option on a combobox

    We are using XCelcius to display data in an XML file that is populated by another program using the Web Services approach.
    On our widget, there is a combobox that allows the user to select a specific range of data.  In Xcelcius, the value of this combobox can be defaulted using the Behavior->Default Options->Combo.
    This is good, but this also means hardcoding a particular value.  What we'd like to do is set the Default Option on the combobox via a FlashVar.
    Is this level of behavior exposed via the FlashVars so we can define the default option in our HTML file?
    Thanks for reading.

    unfortunately you cannot dynamically set the default option in 'Any' selector - so your Flash Vars approach will not work

  • Can someone show me how to use sorted/tree set

    i have a server program, and i want to create a sortedset, then everytime a client connects an element(nickname) is added to the sortedset.. i have to create a syncronized one
    i need to know how to add elements, and read elements one-by-one into a string.. thanks in advance..
    -adam

    i have this so far, can someone show me where i have gone wrong plz
    public class Server
      // ServerSocket used for accepting new connections
      private ServerSocket serverSocket;
      // A mapping from sockets to DataOutputStreams. This stores all
      // Dataoutput stream information so it can easily send to all clients
      private Hashtable outputStreams = new Hashtable();
      static SortedSet nicktree;
      static Iterator i;
      // Constructor, while-accept loop
      public Server( int port ) throws IOException {
         nicktree = Collections.synchronizedSortedSet(new TreeSet());
         listen( port );
      }this is the method that stores one value, then has a loop reading each value one-by-one and sending it..
      void storenick(String nick){
         synchronized(nicktree) {            
            Iterator i = nicktree.iterator();
            nicktree.add(nick);
            while (i.hasNext())  {  
               String sendnext = (nicktree) i.next();
               sendToAll(sendnext);
      }thanks in advance
    --Adam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to use "By Experssion" setting Expiration Date "

    I'm trying to use the "By Expression" choice under the Expiration and Escalation Policy of BPEL Human Task Editor to set the expiration time stored in a global variable, as shown below:
    <globalConfiguration>
    <expirationDuration duration="bpws:getVariableData('Review_1_globalVariable', 'payload', '/task:task/task:systemAttributes/task:expirationDuration')" type="XPATH"/>
    </globalConfiguration>
    But this is not working for me.
    Additional info related to this follows:
    The 'Review_1_globalVariable' holds an expiration duration time of 'PT1H' (one hour from current time), which I provide as input from the console when I run the instance, and I copy it to this globalVariable as part of the AssignTaskAttributes phase of the Human Task.
    The big picture of what I'm trying to set up in the expiration policy is that after the expirationDuration for the "Group Vote" expires, the task gets assigned back to the initiator. I have this policy working when I use the "Fixed Duration" of say, 5 minutes at the global routing policy and 2 minutes for the assignees of the "Group Vote" (under advanced). But the problem I'm having is to use a XPATH expression to set the duration times given by the front end application.
    Can anyone help me with the use of an expression to set this policy?
    Thanks,
    Message was edited by:
    call

    Use a JFormattedTextField with a SimpleDateFormat in parameter.
    Denis

  • I do not fully understand how to use the "Feature Sets" of "General 1" through 5

    I recently upgraded and aparently the printer driver was included in this. When printing through Photoshop Elements 10 a new drop down menu appears for printing with my Epson Stylus Photo 1400. I now have "Printer Features" and when that is selected from a drop down menu "Feature Sets" appears with "General 1" through 5 as drop down menu items. I can not find a user manual for operating all the options I now have. No matter what combo I set up however, my prints have a band in them. The printer now prints an inch of the image, runs the printer heads over the paper 4 times and scoots the paper forward an inch to repeat. Its this part of the print that gets the band. Its as if I am printing on regular paper when in fact it happens with both the matt and glossy. I select the right paper options (you have to select it in 3 different places) and yet the banding continues. PLEASE HELP ME.

    I recently upgraded and aparently the printer driver was included in this. When printing through Photoshop Elements 10 a new drop down menu appears for printing with my Epson Stylus Photo 1400. I now have "Printer Features" and when that is selected from a drop down menu "Feature Sets" appears with "General 1" through 5 as drop down menu items. I can not find a user manual for operating all the options I now have. No matter what combo I set up however, my prints have a band in them. The printer now prints an inch of the image, runs the printer heads over the paper 4 times and scoots the paper forward an inch to repeat. Its this part of the print that gets the band. Its as if I am printing on regular paper when in fact it happens with both the matt and glossy. I select the right paper options (you have to select it in 3 different places) and yet the banding continues. PLEASE HELP ME.

Maybe you are looking for

  • EJB Finder View Links and CMR

    Hi, Can someone please give me some input on the following warning in the JDeveloper online help! "Warning: You cannot create an EJB finder view link that expresses the same relationship as a CMR." I'm new to EJB, BC4J and JDeveloper. I created conta

  • Error raising exception in user-exit for idoc_output_delvry.

    Hi All,    When I try to raise an exception from the user exit (idoc_output_delvry), I get an error message 'Assign Measurement unit to ISO code'.     Can you help me solve this issue. Thanks in avance, Disney.

  • How do I sync pdf files from my desktop of my iMac to good reader in my iPad 2?

    I'm trying to move pdf files from my desktop to my iPad 2 onto the Goodreader App.  How do I get this done.  I thought I would go through itunes, however, I'm not able to drag and drop these there.

  • How to plug a 5.1 surround system on a imac

    Hello, i have a mac 24' and a medion 5.1 surround system. the problem is that exually i don't now how to plug in in my mac?! i'v red about the Griffin Firewave (http://www.griffintechnology.com/products/firewave) but they say it doesn't work anymore

  • RE: Start-up disc full!

    I am receiving msg. "start up disc full" and am unable to do updates, download i-tune purchases, etc....  I went into finder and did the command i on "library".  Looks like this is my problem.  Any suggestions on how to clean it out?  Thx!