Post data into Ajax function for Item type plugin

Please advise how to post data into Ajax function for item type plugin
Edited by: Casufi on Jan 16, 2013 7:44 AM

Casufi wrote:
Casufi wrote:
Please advise how to post data into Ajax function for item type plugin
Edited by: Casufi on Jan 16, 2013 7:44 AMI used the following code
var get = new htmldb_Get(null, html_GetElement(''pFlowId'').value, ''NATIVE='||apex_plugin.get_ajax_identifier||''', $v(''pFlowStepId''));
get.addParam(''x01'', node.data.key);
gReturn = get.get();You should use this published true ajax API instaed. apex.server.process( pAjaxIdentifier, pData, pOptions )

Similar Messages

  • Procedure to Purge data from WF tables for Item Type POERROR

    Hi,
    I have executed concurrent program "Purge Obsolete Workflow Runtime Data" to purge old data for Item Type "REQAPPRV". After execution of the concurrent program i re-query to WF_ITEMS table to get the count of the records for "REQAPPRV" but all records did not get purged as "REQAPPRV" is present as PARENT_ITEM_KEY for Item Type "POERROR" in WF_ITEMS table.
    Now to purge records of "REQAPPRV" i need to first Purge records of "POERROR". Now the problem is END_DATE of those POERROR records is NULL at WF_ITEMS table that is why concurrent program "Purge Obsolete Workflow Runtime Data" does not able to purge them. How can i resolve this issue?? Please guide..
    Regards,
    Priyanka

    Hi,
    I have already gone thorugh MOS doc, cross checked the queries provided in document and found that status of PARENT_ITEM_TYPE [REQAPPRV] is "COMPLETE" and the status of Chilld ITEM_TYPE [POERROR] is "ACTIVE". I want to close or Purge the child ITEM_TYPE. Can you guide how can we achive that ??
    Regards,
    Priyanka

  • Error message "Data cannot be maintained for set type COMM_PR_PUR_1

    Hi
    While replicating the material master through R3AS I am getting an error for which the details to be checked in SMW01. In SMW01 when I selected the record for error details I am getting above error message.  How to resolve ? Pls guide me stepwise. For your information I has cleared SMQ1 in R3 & SMQ2 in SRM
    For curioisity next I selected all such error logs & deleted. It gave me one warning (some inconstinecies error) which I ignored. After that I checked SMQ1 of R3 & SMQ2 of SRM. No log
    But I observed a strange thing. Whatever material codes I am creating it is going straightway to SRM without running R3AS transaction. I checked R3AM1, selected the row and cancelled. But still going without any interferrance. Why ? How shall I stop this.
    Thanks

    Hello,
    >
    BNR wrote:
    > Hi
    > While replicating the material master through R3AS I am getting an error for which the details to be checked in SMW01. In SMW01 when I selected the record for error details I am getting above error message.  How to resolve ? Pls guide me stepwise. For your information I has cleared SMQ1 in R3 & SMQ2 in SRM
    >(...)
    Have a look at OSS note 1049693 - Data cannot be maintained for set type COMM_PR_PUR_1.
    Regards.
    Laurent.

  • Changing posting date at usage decision for handle units. How?

    Does anybody know how to change posting date at usage decision for handle units (HU)?
    If the material is not managed by HU, SAP allows this modification (there's a button with a hat on it referring the material document header).
    For HU I cannot seem to change posting date!
    Seba

    Yes it's possible! Well,...unless for versions 4.6C, 4.7 and ECC 5.
    I've found SAP Note #752131 by which SAP declares that you can create the pushbutton from the Screen Painter referring the document header.
    That's all,.....so simple, and it works fine!
    This note applies ONLY to version 4.6C, 4.7and ECC 5 (which is the version the customer I am with has installed).
    Thanks anyway.
    Sebas

  • Data size SQL Exception registering item types for UWL (patch 29)

    Hi,
    we have installed UWL without KM as described in note 688830. We tried this at our initial patch level with success (ep60 sp2 patch2). However now we are on patch 29 and things are not going that well. The installation works fine but when we perform the step "Register Item Types for New Systems Only" we get the following exception: "uwlExceptionID: 1107851895419 (Database):java.sql.SQLException:Data size bigger than max size for this type: 48699". We used the SDA from CM patch 29.
    Does anyone have a clue on how to solve this?
    Thanks,

    Hi Erik,
    do you have the workplace plugin WP-PI installed in your backend R/3? UWL needs this plugin to work, I think it also contains the function template which is missing.
    -Mikko

  • ResultSet date into JavaScript Function HELP!!

    I am developing an auction web site for a end year project in college, it is all done except this countdown thingy. I got the 'endDate' of an auction in a table. I can get the date out no problem at all, where im stuck is where i gotta pass the date from the result set into the javascript countdown function so it can countdown to the end of the auction. Code below
    <%@ page language = "java" contentType = "text/html"%>
    <%@ page language = "java" import = "com.sybase.jdbcx.SybDriver" %>
    <%@ page language = "java" import = "java.sql.*" %>
    <%@ page language = "java" import = "java.util.*"%>
    <% Connection dbConn = null;
    try
    Class.forName("com.sybase.jdbc2.jdbc.SybDriver");
    dbConn = DriverManager.getConnection("jdbc:sybase:Tds:compserver:5000/syb3044","
    syb3044", "syb3044");
    Statement b = dbConn.createStatement();
    ResultSet bid = b.executeQuery("select * from bid where carID=1");
    if(bid.next()){}
    %>
    <HTML>
    <HEAD>
    <SCRIPT LANGUAGE="JavaScript">
    mDate = new Date("20 April 2004 16:45") //Hard Coded Date Here, Want ResultSet Date Passed Here
    function countdown()
         var now=new Date()
         var diff=mDate.getTime()-now.getTime()
         if (diff <= 0)
         document.bid.mseconds.value = 0
         return 0;
         document.bid.days.value = Math.round(diff/(24*60*60*1000))
         document.bid.hours.value = Math.round(diff/(60*60*1000))
         document.bid.minutes.value = Math.round(diff/(60*1000))
         document.bid.seconds.value = Math.round(diff/1000)
         document.bid.mseconds.value = diff
         var id=setTimeout("countdown()",0)
    </SCRIPT>
    </HEAD>
    <BODY onLoad="countdown()">
    <BR>
    <form name="bid" method="post" action="">
    <p>Timeleft</p>
    <TABLE BORDER=0>
    <TD width="79">Days: </TD>
    <TD width="81">
    <INPUT TYPE="text" NAME="days" SIZE=15></TD> <TR>
    <TD width="79">Hours: </TD>
    <TD width="81">
    <INPUT TYPE="text" NAME="hours" SIZE=15></TD> <TR>
    <TD width="79">Minutes:</TD>
    <TD width="81">
    <INPUT TYPE="text" NAME="minutes" SIZE=15></TD> <TR>
    <TD width="79">Seconds: </TD>
    <TD width="81">
    <INPUT TYPE="text" NAME="seconds" SIZE=15></TD> <TR>
    <TD width="79">Milliseconds:</TD>
    <TD width="81">
    <INPUT TYPE="text" NAME="mseconds" SIZE=15></TD> <TR>
    </TABLE>
    </form>
    </BODY>
    </HTML>
    <%     
    bid.close();
    catch (SQLException sqle)
    out.println(sqle.getMessage());     
    catch (ClassNotFoundException cnfe)
    out.println(cnfe.getMessage());
    catch (Exception e)
    out.println(e.getMessage());
    finally
    try
         if(dbConn != null)
         dbConn.close();
    catch (SQLException sqle)
         out.println(sqle.getMessage());
    %>
    ...........................................................SQLTable.......................................................................................................................
    create TABLE bid
    bidID     integer primary key,
    carID     numeric NOT NULL,
    seller     varchar(50) NOT NULL,
    username varchar(50),
    startDate varchar(25) not null,
    endDate datetime not null
    PS, tried putting endDate as varchar but same result
    Please note I am a computer science student
    Regards Don Colvin

    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 19 in the jsp file: /Test.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    C:\Tomcat\work\Catalina\localhost\Mess\org\apache\jsp\Test_jsp.java:55: cannot resolve symbol
    symbol : class SimpleDateFormat
    location: class org.apache.jsp.Test_jsp
    out.print( new SimpleDateFormat("dd MMMM YYYY hh:MM").format(bid.getDate("endDate")) );
    ^
    1 error
    It throwing back this error, any suggestions

  • Restriction of posting date in transaction CO11N for partial confirmations

    Hi all,
          I am trying to restrict(by checking thru an exit)  the posting date in co11n , for this i m using enhancement CONFPP04.
         Import parameter AFRUD_IMP IS USED.
         Now when i m putting  production order no , operation activity no.(for e.g 10 , 20 etc ) and posting date IN SEL SCREEN OF CO11N
        AFRUD_IMP-BUDAT( POSTING DATE )  CONTAINS VALUE  in debugging mode , hence i m getting the value of posting date
        and in that case check is written in code.  This is the case of full confirmation.
                                     But in case of partial confirmation  i have to give   production order no , operation activity no , *Partial confirmed qty * and posting date , in this case the posting date value changes to 0 in the debug mode ie.
      AFRUD_IMP-BUDAT is showing 0 and hence no calculation can be done base on the date.
          Our requirement is such that if there is a prd order no say X,
    then in CO11N if user enters prd no X  , operation activity no 10 , post date say D1
    then again for  prd no X  , operation activity no 20 , post date  of activity 20 should not be less than D1
    SIMAILARY for  X,  ACTIVITY 30 ,  post date should not less than that of  activity  20. and so on.
        But if partial quantity is mentioned value of  AFRUD_IMP-BUDAT is becoming null.
          If anyone knows about this scenario please share.
      Thanks and regards
    Pankaj Gupta

    Hi, In the T-code Mb31 
    The Posting Date which is used  is when entering the document in Financial Accounting or Controlling. The fiscal year and the period for which an update of the accounts specified in the document or cost elements is made, are derived from this posting date.
    When entering documents, the system checks whether the posting date entered is allowed by means of the posting period permitted.But this posting date can differ from both the entry date (day of entry into the system) and the document date (day of creation of the original document).This is for the practical purpose .
    So its for the Monthly permitted and not for a day or range .
    Secondly when you are saying :
    "We want this <b>default date to get freeze</b> the moment you enter
    the transaction (MB31). If you are opting for second option we want
    <u><i><b>some flexibility to change the date as required</b></i></u>."
    Both freezing and opting for changes is not possible , either one can occur .
    You can freeze/display mode only  the field for the T-code and the document type, but that will not solve your problem .
    What i understand from the description is you want to Do GR on A particular date or GR should be allowed after a particular date . <u><b>Please let me know</b></u> if this is the case then there's a way around to do this that is you can do GR and Post on the dates near to your desirable dates .
    cheers KP

  • Core Data: "Allows external storage" for Transformable type?

    When I create a Core Data attribute, and set its type to "Transformable", the "Allows external storage" option is unavailable. I only see it available for Binary type.
    How can I use "Allows external storage" with Transformable type?

    I wanted to post an update and let everyone know what I decided on and how well it works.
    I went with the following setup.
    eSATA Express Card
    http://www.newegg.com/Product/Product.aspx?Item=N82E16839200006
    eSATA enclousure
    http://www.newegg.com/Product/Product.aspx?Item=N82E16817173043
    eSATA drive
    http://www.newegg.com/Product/Product.aspx?Item=N82E16822136218
    All of this cost me a total of $159.57 for about 600gigs of high performance storage after being formated! I did some benchmarks and the drive is performing faster than my internal 7200rpm drive. It is not much faster but it is faster.
    So I would have to say that if you really want some fast performing drives for just about anything eSATA is probably the way to go.
    About the items,
    The eSATA card looked used when i got it. The seal was broken and the item was dirty and had finger prints on it. It was however very easy to install. I just downloaded the newest drivers from rosewill.com plugged it in and it worked.
    The hard disk enclosure seems well made and was a breeze to setup and install. It also does usb 2.0 if you need it. It has as a big cooling fan and includes a usb and sata cable as well as a eSATA bracket for your desktop pc.
    All in all a great buy. So thank you again for all the info

  • Stock on posting date with storagelocation,batch and stock types informatio

    Hi,
    I'm needing a report (similar funtion of MB5B) which must reveal the stock postion (closing balance) of the materials on a particular date alongwith storage loactions, batches and stocktypes (Unres/Q/Blkd).As such MB5B either gives the output either by storage location or by batch, not the combination of both.
    Else provide any possibilty means( Database tables) from where i could arrive these mention outputs.
    I could be able to get the information by collecting the values from MKPF & MSEG tables. But this information only suffice the material movements carried on that particular date.. And i will be not having the closing balance as a whole.
    I even wonder to get any such a kind of information in which i could able to get the stock with stock types(Unres/Q/Blkd).
    Any light on this matter is highly appreciable.
    Regards
    Prasanna

    Hi Amit Bakshi,
    Thanks for the reply..
    I executed the suggested program but i found the same kind of information aslike in MB5B..
    The information all i'm looking is to get the closing balance of the given material with storagelocations, batches and stock types on a given posting date.
    For eg.
    On 15 / 03 / 2011
    Material A
    Batch       Slocation       Stock type               Closing balance Qty.
    A1              S001               Unres.                             50
    A1              S002               Unres                            120
    B1              S001               Quality                             15
    C1              S003               Blocked                            30
    In MB5B i could able to get the values of closing balance either Storage location level or by batch level but is it possible to get the combination of both along with stock types?
    Reg
    Prasanna

  • Different FM posting dates in PO or PR item with multiple accoun. assignmen

    Hi,
    I'd like to know if there´s a way to assign different FM posting dates, for each line of a distributed item in a PO or PR.
    Example:
    Purchase Requisition 4500000010
          Item 1 (has 2 different account assignments or is distibuted by percentage)
                   50% goes to fund center XXXX, etc.
                   50% goes to fund center YYYY, etc.
    Right now we have the update profile for the PR set to delivery date, but it will assign the same FM posting date to the two different account assignments of item 1, because delivery date is on Item level. What I need is to know if there's a way to indicate the system to take different posting dates for each account assignment within the Item 1.
    I hope that I was clear enough to make understand.
    Thanks in advance.
    Kind regards,
      Víctor

    Hi Victor,
    I do not think, it's possible in standard...
    Regards,
    Eli

  • Data Import from Excel for Items

    I have used the data import for items, in the past , to import the prices for existing item. I am using this for the first time in SAP version 9.0. There are new fields due to the additional currencies. In an running a test with two items and two price list codes, code 1 and code 10. When I run the import gets stuck in a loop and keeps giving me errors on line 1 with invalid price code.
    I want to import two price lists Price List 1 and Price List 10. For example I want price list 1 to be $10.00 and price lit 10 to be $5.00
    In the import from excel I have the following fields
    A  Item Number
    B  Price List Code
    C  Unit Price - Primary Currency
    D  Primary Currency
    E  Unit Price - Additional Currency 1
    F  Additional Currency 1
    G  Unit Price - Additional Currency 2
    H  Additional Currency 2
    I  UoM Code
    J  Price List Code
    K  Unit Price - Primary Currency
    L  Primary Currency
    M  Unit Price - Additional Currency 1
    N  Additional Currency 1
    O  Unit Price - Additional Currency 2
    P  Additional Currency 2
    Q  UoM Code
    I am using the following columns
    A item number
    B 1
    C 10.00
    J 10
    K 5.00
    This is the way I use this function in SAP versions 2007 and 8.8
    Any suggestions
    Dennis

    Hi Gordon,
    I tried what you suggested, but does not work. I tried with two items, when I run the import SAP gets stuck in a loop displaying error lines. The only way to stop is to restrt SAP.
    I attched a screen shot of the error

  • How to create "moveUp" and "moveDown" functionality for items in a TileList

    I want to create "Move Up" and "Move Down" buttons for items in a TileList. They should have the same functionality as if they were dragged and dropped, except only moving one position up or down (and thus switch places with the item above/below). I have tried this using this code for the moveUp button:
    private function moveItemUp(){
         var moveFromPos:Number = myTileList.selectedIndex;
         if(myTileList.selectedIndex > 0){
              var moveToPos:Number = myTileList.selectedIndex-1;
              var tempItem:Item = myTileListDataProvider.removeItemAt(moveFromPos);
              myTileListDataProvider.addItemAt(tempItem, moveToPos);
                    trace("New selected Index: "+ moveFromPos - 1);
                    myTileList.selectedIndex = moveFromPos - 1;
                    trace("New selected Index: "+ myTileList.selectedIndex);
    But my problem is that the selectedIndex of myTileList isn't correctly set. For instance; if I have a list of three items and I move the last item up this is what happens:
    1. Item three (selectedindex is 2) switches places with Item two (So far, so good)
    2. Item two is shown in GUI as selected (has Halo around it - so far, so good)
    3. If i click "MoveUp" again, the same two (item three and two) switces places, instead of the intended item two and one.
    The traces tell me that myTileList.selectedIndex variable isn't set correctly as the trace shows this:
    New selected Index: 1
    New selected Index: 2
    Any idea on how to solve this problem?

    I found a partial solution at http://www.ultrashock.com/forums/flex/tilelist-selected-element-removed-124313.html and modified it a bit. The answer was using the callLater() method as in this example:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="initApp()" layout="vertical">
      <mx:Script>
      <![CDATA[
          import mx.events.FlexEvent;
          import mx.collections.ArrayCollection;
          var arr:ArrayCollection = new ArrayCollection();
          var temp:Number;
          var temp2:String;            
          private function initApp():void{                   
              arr.addItem("A");
              arr.addItem("B");
              arr.addItem("C");
              arr.addItem("D");
              arr.addItem("E");
              arr.addItem("F");
          public function traceEvent(event:FlexEvent):void{
              trace(event);
              trace(mtl.selectedIndex);
              if(mtl.selectedIndex==-1){
                  callLater(setInd);
          private function setInd():void{
              trace("Changing selected index..");
              mtl.selectedIndex = temp;
          public function removeItem():void{
                temp = mtl.selectedIndex - 1;
                temp2 = arr.removeItemAt(mtl.selectedIndex) as String;  
                arr.addItemAt(temp2,temp);                
          public function notifyChange(e:Event):void{
              trace("CH mtl.selectedIndex:" + mtl.selectedIndex);
      ]]>
      </mx:Script>
      <mx:TileList id="mtl" width="100" height="200" dataProvider="{arr}" columnCount="1" change="notifyChange(event)" updateComplete="traceEvent(event)"/>
      <mx:Button id="mbt" label="delete" click="removeItem()"/>
      </mx:WindowedApplication>

  • Change posting date on Reverse Entry for Payment

    Scenario:
    I entered an outgoing payment cheque run > printed cheques > posting date 31.05.09
    Now i want to cancel this cheque run, so i voided the cheques.(under banking > ougoing payments > void checks for payment). I entered today as the posting date. This was incorrect. I should have entered posting date 31.05.09.
    Can i now change the posting date to 31.05.09 on the reverse journal entry?

    HI Maeve,
    The intention is to transfer the balance to May 31. Then yes.
    Had the 2 dates been in the same posting period (which I believe they are not) it could have been done in one posting.
    In Document Settings -> Per Document -> Journal Entry -> untick 'Block Posting Date Editing per Row'.
    Then by changing the posting date on the row you could have done it all in one JE. No big difference.
    Thanks,
    Jesper

  • How to pass parameter into extract function (for XMLTYPE)

    I have a table PROBLEMXML with XMLTYPE field xml_column. In this column there are several deffinitions for the problem. There is no max amount of deffinitions and it can be no definition at all. I need to return all definitions for every problem as a string wirh definitions separated by ";".
    Query
    SELECT extract(prob.Def,'/Definitions/Definition[1]/@var') || ';'|| extract(prob.Def,'/Definitions/Definition[2]/@var')
    FROM PROBLEMXML j ,
    XMLTABLE (
    '/problem'
    PASSING j.xml_column
    COLUMNS probid VARCHAR (31) PATH '/problem/@id',
    Def XMLTYPE PATH '/problem/Definitions') prob
    where PROBLEM_ID =1;
    returns exactly what I want a;m.
    But
    declare
    my_var varchar2(2000) :=null;
    n1 number;
    n2 number;
    begin
    n1:=1;
    n2:=2;
    SELECT extract(prob.Def,'/Definitions/Definition[n1]/@var') || '|'|| extract(prob.Def,'/Definitions/Definition[n2]/@var') into my_var
    FROM ETL_PROBLEMXML_STG_T j ,
    XMLTABLE (
    '/problem'
    PASSING j.xml_column
    COLUMNS probid VARCHAR (31) PATH '/problem/@id',
    Def XMLTYPE PATH '/problem/Definitions') prob
    where PROBLEM_ID =1;
    dbms_output.put_line(my_var);
    end;
    returns NULL.
    Is there is a way to pass parameter into extract function?

    I need to return all definitions for every problem as a string wirh definitions separated by ";".In XQuery, there's the handy function "string-join" for that.
    For example :
    SQL> WITH etl_problemxml_stg_t AS (
      2   SELECT 1 problem_id,
      3  xmltype('<problem id="1">
      4   <Definitions>
      5    <Definition var="var1"></Definition>
      6    <Definition var="var2"></Definition>
      7    <Definition var="var3"></Definition>
      8   </Definitions>
      9  </problem>') xml_column
    10   FROM dual
    11  )
    12  SELECT j.problem_id,
    13         prob.probid,
    14         prob.def
    15  FROM etl_problemxml_stg_t j,
    16       XMLTable(
    17        'for $i in /problem
    18         return element r
    19         {
    20          $i/@id,
    21          element d { string-join($i/Definitions/Definition/@var, ";") }
    22         }'
    23        passing j.xml_column
    24        columns
    25         probid varchar2(30)  path '@id',
    26         def    varchar2(100) path 'd'
    27       ) prob
    28  ;
    PROBLEM_ID PROBID               DEF
             1 1                    var1;var2;var3

  • How to upload data into Classification-MM02 for each MATNR By using BAPI

    Hi all
          How to upload data into characterstic value in  classification- MM02 for each MATNR by using BAPI.

    Hi Siva,
    Please try BAPI BAPI_OBJCL_CHANGE.
    The object key should be material number and object table should be MARA.
    Regards
    Hiren K.Chitalia

Maybe you are looking for

  • Subtype Validity Start date Check

    Hi All, For one of the infotype we created a new subtype with the validity in future date say 01102010. Now if i go to infotype i am able to create the record for this new subtype with the start date as 01042010 which should not be allowed. I checked

  • File Dialog (Details View and Multiple Selections for View File Type)

    I would like to use the generic windows dialog box found in the toolbar under: File I/O/Advanced File Functions/File Dialog What I would like to do is have multiple selections for the file type, for example one menu selection is *.txt, another is *.r

  • [Flex 4] getElementById equivalent?

    Is there a JavaScript getElementById equivalent in ActionScript? I've been searching the net and I found this["elementName"] but it just gives me the error (at runtime): Property X not found on Y and there is no default value The element is placed in

  • Maybe bug in Aperture GUI

    Hi, I will be very appreciate if anyone can help me with this problem. After i upgraded from Aperture2to3. Some parts GUI were missing. I make screenshot for better understanding of my problem. http://qkpic.com/fce7f It doesnt matter which type of Vi

  • T410 Low Voume with Nero Showtime 8.0 DVDs

    Moderator edit; empty post; please refer to announcement on zhe forum home page Users of Internet Explorer 9 are experiencing problems creating posts and private messages. The content is lost and appears blank when posted. While this is being investi