Cfinvokeargument and trying to pass dates to a cfc/query

Hi
I have a situation where passing a date along to a cfc method
(which runs a basic SQL select query) fails. if i hardcode the
datevalue into the cfc file or hardcode the select statement into
the page with the , it works. so something in the passing of the
argument is wrong but i cannot tell what. i have tried the
preservesinglequotes() function to no avail. Attached is a sample.
error: You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax
to use near '2008-02-29 21:23:17''
it seems as though if I set a variable (a whereclause)
variable with a date in it, the sql doesnt run right. I cannot say
"select * where #whereclause#" if the whereclause has a date
comparison value in it (where 'ending event date greater than now'
for example). what is the right way for me to pass this datetime
comparison command/argument in my cfm page to the cfc method? My
best guess not being a software engineer is that the MYSQL database
doesnt recognize the date ts{} if it's encapsulated in a larger
string variable. argh.
Thanks for the help smart people!
Brina

I tested it and it works fine. Though I noticed your query is
cached. Perhaps that is causing a problem. Try removing that
temporarily.
You can still construct the where clause dynamically with a
variable number of arguments. Just use WHERE 0 = 0 and append extra
conditions based on which arguments are defined.
SELECT Columns
FROM Table
WHERE 0 = 0
<cfif structKeyExists(arguments, "theDate")>
AND Eeventdate >= <cfqueryparam
value="#arguments.theDate#" cfsqltype="cf_sql_date">
</cfif>
<cfif structKeyExists(arguments, "id")>
AND ID = <cfqueryparam value="#arguments.id#"
cfsqltype="cf_sql_integer">
</cfif>
I would also suggest reading up on cfcomponent and
cffunction. It is important to scope function variables properly
using "var". This includes query names too. Proper scoping prevents
threading problems for cfc's that are stored in a shared scope.
Also, it is good to get into the habit of including function return
types, argument types, etcetera. It improves readability and also
provides type checking.

Similar Messages

  • Hi there. I have 3GS and tried to up-date it today (19 Feb 2013) with iTunes and now I can't activate it! it shows the "Your iPhone could not be activated. tha activation server is unavailable...". The iPhone has never been jailbroken!!!

    Hi there. I have 3GS and tried to up-date it today (19 Feb 2013) with iTunes and now I can't activate it! it shows the "Your iPhone could not be activated. tha activation server is unavailable...". The iPhone has never been jailbroken!!!
    - have tried restor
    - have tried recovery mode
    - have tried on 2 PCs
    ... can someone tell me what to do! I'm tryin for 5hours now!

    no! i havent change my carrier still the same

  • Error while trying to retrieve data from BW BEx query

    The following error is coming while trying to retrieve data from BW BEx query (on ODS) when the Characters are more than 50.
    In BEx report there is a limitation but is it also a limitation in Webi report.
    Is there any other solution for this scenario where it is possible to retrieve more than 50 Characters?
    A database error occured. The database error text is: The MDX query SELECT  { [Measures].[3OD1RJNV2ZXI7XOC4CY9VXLZI], [Measures].[3P71KBWTVNGY9JTZP9FTP6RZ4], [Measures].[3OEAEUW2WTYJRE2TOD6IOFJF4] }  ON COLUMNS , NON EMPTY CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( CROSSJOIN( [ZHOST_ID2].[LEVEL01].MEMBERS, [ZHOST_ID3].[LEVEL01].MEMBERS ), [ZHOST_ID1].[LEVEL01].MEMBERS ), [ZREVENDDT__0CALDAY].[LEVEL01].MEMBERS ) ........................................................ failed to execute with the error Invalid MDX command with UNSUPPORTED: > 50 CHARACT.. (WIS 10901)

    Hi,
    That warning / error message will be coming from the MDX interface on the BW server.  It does not originate from BOBJ.
    This question would be better asked to support component BW-BEX-OT-MDX
    Similar discussion can be found using search: Limitation of Number of Objects used in Webi with SAP BW Universe as Source
    Regards,
    Henry

  • Passing data from JavaScript to Applets (Error when trying to pass data)

    Hi,
    I've wrote a small applet for lists but when I try to pass data from my
    JavaScript to my applet, I get an "Error: Object doesn't support this property or method". I get this error with a select other sites including the page I'm writing, leading me to believe I may not have installed requried files or set required options. I've included the listing of the code snippet where the error occurs.
    document.listApplet.testMethod()OR when I use:
    document.applet(listApplet).testMethod()The applet is loaded by this statement:
    <OBJECT CODE="CustomAppletList" NAME="listApplet" ID="listApplet" WIDTH="1000" HEIGHT="600"></OBJECT>and loads fine but no data is passed through it's public methods. Can anyone suggest ideas how I can successfully pass data from my JavaScripts to my applets?
    Devyn

    this should work for you. In your javascript do this.
    var myApplet=document.listApplet;
    myApplet.testMethod()
    If you need more help let me know.
    Paul

  • Start workflow with f. module to trigger event and how to pass data to BOR?

    Hi,
    I have a custom BOR object, with Event "Created". I have also an attribute in this BOR, just simple field Plant.
    I have prepared a custom Workflow which is triggered when event Created of that custom BOR business object is raised.
    To raise an event and to start a workflow I run f. module SAP_WAPI_CREATE_EVENT.
    I have a problem to pass a Plant value to the Workflow container. In the PFTC_CHG for my Workflow I made the container
    of BOR object, and the data binding &_EVT_OBJECT& => &MATREQ&  (symbol of my BOR).
    Below both of EVTOBJECT and MATREQ I can see my field Plant.
    Then I run f. module SAP_WAPI_CREATE_EVENT with tables parameter input_container.
    I try to fill the data in many ways, but the started workflow does not have Plant filled.
    I try to use '_EVT_OBJECT.WERKS' in field name for input_container parameters.
    Business Object is passed to the Workflow container, but I do not get the fields
    as attributes. Do I have to use the parameters for the event Created ?
    Thank you in advance
    Wojtek

    Hello,
    I've never used GUID as a key but I suppose the principles are the same - the object instance is equivalent to "something", say a widget.
    This widget has attributes, e.g. the factory where it was created, the day it was created, its weight etc.
    If you make a widget BOR object and you specify attributes then you're telling SAP how, given the key, it can deduce the value of the attributes. Widget 1234's weight can be looked up in table XXX by doing this select.
    If you pass an object instance to a workflow then all you need to pass is the type of object and the key, the rest can be done by the workflow (or any other program). It can instantiate the object, and the attribute values are immediately available.
    If you can instantiate the object in SWO1 and the attributes get values, then it should work in the workflow as well.
    If not, please provide the code of the attribute or describe how it finds the attribute value.
    regards
    Rick Bakker
    hanabi technology

  • Stuck trying to sort data from CONNECT BY query

    Hi,
    I am querying the Oracle E-Business Suiite menu tables.
    This query:
    #   MENU TREE WALK EXCLUDING FUNCTIONS
    SELECT     LPAD('_', (LEVEL - 1) * 10, '_') || fmev.prompt prompt
             , LEVEL
             , fmev.ENTRY_SEQUENCE
          FROM apps.fnd_menus_vl fmv
             , apps.fnd_menu_entries_vl fmev
         wHERE fmev.menu_id = fmv.menu_id
           AND fmev.prompt IS NOT NULL
    CONNECT BY fmev.menu_id = PRIOR fmev.sub_menu_id     
    START WITH fmv.menu_name = 'CN_SETUP';Generates this output:
    PROMPT                                   LEVEL     ENTRY_SEQUENCE
    Flexfields                              1     12
    __________Descriptive Flexfields               2     1
    Financials                              1     11
    __________Currencies and Rates                    2     5
    ____________________Rates                    3     10
    ______________________________Daily               4     5
    ______________________________Historical          4     10
    ______________________________Types               4     15
    ____________________Currency Rates Manager          3     5
    ______________________________Daily Rates          4     5
    ______________________________Historical Rates          4     10
    ______________________________Rate Types          4     15
    ____________________Define                    3     15
    __________GL Calendar                         2     2
    __________GL Period Types                    2     3
    __________GL Open and Close Periods               2     4
    Collections                              1     9
    __________Mappings                         2     1
    __________Runtime Values                    2     2
    External Table Mapping                         1     3
    Classification Rules                         1     4
    System Parameters                         1     1
    Payment Plans                              1     6
    Define Pay Groups                         1     14
    View Compensation Groups                    1     16
    Classification Rules                         1     22
    Credit Type Conversions                         1     21
    Credit Types                              1     20
    Interval Types                              1     19
    External Table Mapping                         1     18
    Define Security Profile                         1     17
    Define Payment Plans                         1     15
    Define Salesforce                         1     13
    Lookups                                   1     10
    Revenue Class                              1     8
    Dimensions                              1     7
    Revenue Class                              1     5
    Tables and Columns                         1     2I'd like to sort by fmev.entry sequence.
    However, if I do, I get this output:
    PROMPT                                   LEVEL     ENTRY_SEQUENCE
    System Parameters                         1     1
    __________Descriptive Flexfields               2     1
    __________Mappings                         2     1
    __________Runtime Values                    2     2
    Tables and Columns                         1     2
    __________GL Calendar                         2     2
    External Table Mapping                         1     3
    __________GL Period Types                    2     3
    __________GL Open and Close Periods               2     4
    Classification Rules                         1     4
    ____________________Currency Rates Manager          3     5
    ______________________________Daily Rates          4     5
    ______________________________Daily               4     5
    Revenue Class                              1     5
    __________Currencies and Rates                    2     5
    Payment Plans                              1     6
    Dimensions                              1     7
    Revenue Class                              1     8
    Collections                              1     9
    ______________________________Historical Rates          4     10
    ____________________Rates                    3     10
    ______________________________Historical          4     10
    Lookups                                   1     10
    Financials                              1     11
    Flexfields                              1     12
    Define Salesforce                         1     13
    Define Pay Groups                         1     14
    Define Payment Plans                         1     15
    ______________________________Types               4     15
    ______________________________Rate Types          4     15
    ____________________Define                    3     15
    View Compensation Groups                    1     16
    Define Security Profile                         1     17
    External Table Mapping                         1     18
    Interval Types                              1     19
    Credit Types                              1     20
    Credit Type Conversions                         1     21
    Classification Rules                         1     22That sort of works, except for where the tree-walking SQL has a parent/child scenario. I'd ideally like to get the output to look like this:
    PROMPT                                   LEVEL     ENTRY_SEQUENCE
    System Parameters                         1     1
    Tables and Columns                         1     2
    External Table Mapping                         1     3
    Classification Rules                         1     4
    Revenue Class                              1     5
    Payment Plans                              1     6
    Dimensions                              1     7
    Revenue Class                              1     8
    Collections                              1     9
    __________Mappings                         2     1
    __________Runtime Values                    2     2
    Lookups                                   1     10
    Financials                              1     11
    __________Currencies and Rates                    2     5
    ____________________Rates                    3     10
    ______________________________Daily               4     5
    ______________________________Historical          4     10
    ______________________________Types               4     15
    ____________________Currency Rates Manager          3     5
    ______________________________Daily Rates          4     5
    ______________________________Historical Rates          4     10
    ______________________________Rate Types          4     15
    ____________________Define                    3     15
    __________GL Calendar                         2     2
    __________GL Period Types                    2     3
    __________GL Open and Close Periods               2     4
    Flexfields                              1     12
    __________Descriptive Flexfields               2     1
    Define Salesforce                         1     13
    Define Pay Groups                         1     14
    Define Payment Plans                         1     15
    View Compensation Groups                    1     16
    Define Security Profile                         1     17
    External Table Mapping                         1     18
    Interval Types                              1     19
    Credit Types                              1     20
    Credit Type Conversions                         1     21
    Classification Rules                         1     22Where the pseudo order-by is like this:
    ORDER BY fmev.ENTRY_SEQUENCE for the lowest level, but where there is a submenu, then include those in the right place!
    Apologies for the fact I can't recreate the data here for use in testing, but as I'm using E-Bus tables, it's not so easy.
    Any advice much appreciated.
    Thanks

    ORDER SIBLINGS BY fmev.entry_sequence
    will help.
    roger

  • ICal sync- alert says will delete all past entries- Yes, I have my Keep Appointments set to "forever" AND I've tried changing the date range in desktop mgr- HELP

    I just did the update for the software on the 8530.  This is a new problem since the update.  I cannot lose my old entries, so I am unable to sync at all now until Blackberry addresses this bug.
    I have read through all of the "fixes" but none of them work.
    My Keep Appointments setting has always (and I verified is still) set to "forever"
    I went into the advance settings on the MAC desktop software from Blackberry and tried changing the date range to the suggested 14 days past and 365 days future.  I even tried changing the past days parameter to "1" in hopes it would simply ignore old entries... It still wants to delete 435 past entries.
    I have to keep these.
    Help, Blackberry!  Your "update" to the software is overriding my settings and has made the sync function unusable.

    Christina,
    Thanks for the reply. I unchecked all calendars in iCal and synced and it still gave me the same notice. So then I went into the iTunes window and checked the sync only certain calendars box (instead of the all calendars box) and left all the calendars unchecked and clicked apply but when I click on sync it automatically reverts to all calendars.
    When you say you unchecked all calendars did you mean in iCal? And what did you have your iCal settings at in your iTunes sync window?
    I appreciate your help,
    Andrea

  • TCP Callback function passing data to teststand

    Hi,
    I'm trying to pass data via a TCP Callback function to teststand using the TCP steptype that I downloaded from Ni.
    When I open a connection, container data is passed to the dll on which it creates a connection, the dll in part creates a TCP Callback function.
    The handle obtained from the connection is then passed back through the container data, and the dll returns back to the sequence editor which will execute the next steps.
    The problem is that when the TCP Callback function gets an TCP_READY event it can not pass data to TestStand because it can not access the container data.
    How can this TCP Callback function pass/alter data to/in Testand?
    Thank you...

    Yes ThiCop,
    That's exactly what I want to establish!
    Here is the example code:
    //Function needed by the TCP functions
    int CVICALLBACK MsgHandler (unsigned handle, int event, int error, void *callbackData)
        char receiveBuf[256] = {0};
        char displayBuf[7] = {0};
        char * tempLookup;
        int  dataSize = sizeof (receiveBuf) - 1;
       switch (event)
          case TCP_CONNECT:
             break;
          case TCP_DISCONNECT:
             break;
          case TCP_DATAREADY:
             if ((dataSize = ClientTCPRead (handle, receiveBuf, dataSize, 1000)) > 0)
                   //  Send data from receiveBuf to a variable in teststand ????
                   //  TS_PropertyGetValString (HandleObject, NULL, "Step.Result.Data", 0, &tempLookup);
                   //  TS_PropertySetValString (HandleObject, NULL, tempLookup, 0, receiveBuf);
             else
                   receiveBuf[dataSize] = '\0';
            break;  
     return 0;
    void __declspec(dllexport) TX_TEST TCPConnectF(tTestData * testData, tTestError * testError)
        int                 error = 0;
        int                 TCPerror;
        double           Port;
        double           Timeout;
        char              *HandleLookup;
        char              *ServerAdd;
        char              *CallbackData;
        ErrMsg           errMsg = {'\0'};
        ERRORINFO   errorInfo;
        tsErrChk (TS_PropertyGetValString (testData->seqContextCVI, &errorInfo, "Step.Result.Handle", 0, &HandleLookup));
        tsErrChk (TS_PropertyGetValNumber (testData->seqContextCVI, &errorInfo, "Step.Result.Port", 0, &Port));
        tsErrChk (TS_PropertyGetValString (testData->seqContextCVI, &errorInfo, "Step.Result.IP", 0, &ServerAdd));
        tsErrChk (TS_PropertyGetValNumber (testData->seqContextCVI, &errorInfo, "Step.Result.Timeout", 0, &Timeout));
        tsErrChk (TS_PropertyGetValString (testData->seqContextCVI, &errorInfo, "Step.Result.Data", 0, &CallbackData));
        TCPerror = ConnectToTCPServer (((unsigned int *) &ConnectionHandle), ((unsigned int) Port), ServerAdd, MsgHandler, 0, Timeout);
        if (TCPerror != 0)
         //Get TCP Error Message
           sprintf(errMsg,"%s",GetTCPErrorString ( TCPerror ));
           error = TCPerror;
           goto Error;
        tsErrChk (TS_PropertySetValNumber (testData->seqContextCVI, &errorInfo, HandleLookup, 0, ((double) ConnectionHandle)));
    Error: 
        // FREE RESOURCES
        CA_FreeMemory(HandleLookup);
        CA_FreeMemory(ServerAdd);
        // If an error occurred, set the error flag to cause a run-time error in TestStand.
        if (error < 0)
            testError->errorFlag = TRUE;
            testError->errorCode = error;
            testData->replaceStringFuncPtr(&testError->errorMessage, errMsg);
        return;   

  • Issue in passing data from PAge A to Page B

    Hi
    I have a scenario where I am trying to pass data from Page A to Page B. This data has to
    be passed on the click of a button. On the button's event, I have set the paramaters that
    I want to pass. I have passed these params in a hashmap in pageContext.forwardImmediately
    method.
    Page A has the requisition records. Clicking the radio button against one of these
    records and clicking the Lines button should take me to Page B with that Requisition VO's
    Row.
    In Page B, there are 2 parts..
    (1) A header which displays the requisition details like Req Number, Current Version,
    Previous Version etc
    (2) A table (Advanced Table) regiion which displays the Line details per that Requisition
    (Each Requisiton has 'n' lines).
    I am also getting the paramater value(s) in Page B's controller's processRequest.
    Here, I am calling the init methods on both the requisitionsVO and the linesVO which calls the executeQuery() methods. I thought that this will populate the Page B as the VO's columns are mapped to the
    respective fields in the Page. But I am not able to see any data on Page B. Am I missign anything here.

    reinitlize the VO
    By this do you mean the following :
    In the Controller:
    String reqNum = (String)pageContext.getParameter(PoConstants.PO_REQUISITION_KEY);
    if(!PoUtils.isEmpty(reqNum)) {
    Serializable[] param = {reqNum};
    Class [] paramTypes = {reqNum.getClass()};
    am.invokeMethod("initPoReqHeadersQuery",param, paramTypes);
    In the AM:
    public void initPoReqHeadersQuery(String criteria)
    OADBTransaction txn = this.getOADBTransaction();
    if ( txn.isLoggingEnabled(oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE))
    txn.writeDiagnostics(this, "initPoReqHeadersQuery.begin", oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE);
    PoReqPendingForAcceptanceVOImpl vo = getPoReqPendingForAcceptanceVO1();
    vo.initReqQueryAction(criteria);
    if(!PoUtils.isEmpty(vo)) {
    PoReqPendingForAcceptanceVORowImpl row = (PoReqPendingForAcceptanceVORowImpl)vo.first();
    if(!PoUtils.isEmpty(row)) {
    vo.setCurrentRow(row);
    if ( txn.isLoggingEnabled(oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE))
    txn.writeDiagnostics(this, "initPoReqHeadersQuery.end", oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE);
    In the VO:
    public void initReqQueryAction(String criteria)
    OADBTransaction txn = (OADBTransaction)getApplicationModule().getTransaction() ;
    if ( txn.isLoggingEnabled(oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE))
    txn.writeDiagnostics(this, "initReqQueryAction.begin", oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE);
    setWhereClauseParams(null);
    setWhereClause(null);
    setWhereClause("SEGMENT1 = :1");
    setWhereClauseParam(0,criteria);
    executeQuery();
    if ( txn.isLoggingEnabled(oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE))
    txn.writeDiagnostics(this, "initReqQueryAction.end", oracle.apps.fnd.framework.OAFwkConstants.PROCEDURE);
    }

  • Error when passing data from app server...

    Hello Experts,
    I am encountering an error when trying to pass data from application server
    to my internal table. Below is the error:
    "You cannot convert the character set"
    Hope you can help me guys.Thank you and take care!

    Hi  ,
    ABAP code for uploading a TAB delimited file into an internal table. See code below for structures. The code is base on uploading a simple txt file.
    REPORT  zuploadtab                    .
    PARAMETERS: p_infile  LIKE rlgrap-filename
                            OBLIGATORY DEFAULT  '/usr/sap/'..
    DATA: ld_file LIKE rlgrap-filename.
    *Internal tabe to store upload data
    TYPES: BEGIN OF t_record,
        name1 like pa0002-VORNA,
        name2 like pa0002-name2,
        age   type i,
        END OF t_record.
    DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
          wa_record TYPE t_record.
    *Text version of data table
    TYPES: begin of t_uploadtxt,
      name1(10) type c,
      name2(15) type c,
      age(5)  type c,
    end of t_uploadtxt.
    DATA: wa_uploadtxt TYPE t_uploadtxt.
    *String value to data in initially.
    DATA: wa_string(255) type c.
    constants: con_tab TYPE x VALUE '09'.
    *If you have Unicode check active in program attributes then you will
    *need to declare constants as follows:
    *class cl_abap_char_utilities definition load.
    *constants:
       con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    *START-OF-SELECTION
    START-OF-SELECTION.
    ld_file = p_infile.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    ELSE.
      DO.
        CLEAR: wa_string, wa_uploadtxt.
        READ DATASET ld_file INTO wa_string.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
                                          wa_uploadtxt-name2
                                          wa_uploadtxt-age.
          MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
          APPEND wa_upload TO it_record.
        ENDIF.
      ENDDO.
      CLOSE DATASET ld_file.
    ENDIF.
    *END-OF-SELECTION
    END-OF-SELECTION.
    *!! Text data is now contained within the internal table IT_RECORD
    Display report data for illustration purposes
      loop at it_record into wa_record.
        write:/     sy-vline,
               (10) wa_record-name1, sy-vline,
               (10) wa_record-name2, sy-vline,
               (10) wa_record-age, sy-vline.
      endloop.
    Reward  points if it is usefull ..
    Girish

  • Passing data from check FM

    Hi,
    Wanted to know how to pass data from check FM to workflow container?
    We are not able to add parameters for event container as it is standard event.
    Can we set attribute of object ? I could not find macro for setting property.
    Expecting urgent help.
    Regards,
    Akshay

    Hi Akshay,
    Trying to pass data from check FM to workflow container is the wrong approach to use.  The purpose of a check FM is ONLY to see if the workflow should be started by the event or not.  You cannot and should not even attempt to change the event container in a check FM.
    What you need to do is to take a step back and think about your options:
    1. "Not able to add parameters ... as it is a standard event".  Well you can extend the event parameters on a standard event by creating a delegated subtype of the standard object type.  However if the event is raised by standard code this may not help you anyway.   It's worth reading the SAP Library doco on this as some types of events do pass additional information provided you define the event parameter names correctly, e.g. change document events will automatically pass the old/new value of certain fields.
    2. Is the data you are trying to pass related to:
    a) The object - then use attributes of the object instead to calculate the value
    b) The person creating the event - then use attributes of the event creator, i.e. as soon as the workflow starts, add a step to instantiate an instance of an object representing the user such as USR01 or USR01DOHR.
    c) Other standard data in the event container such as the calling program id, the date/time - any of that info can be passed to your workflow container and then used to derive further info from there.
    3. If the data you are trying to pass is only available in the standard calling application, then you need to find another way to raise the event or raise a custom event.  E.g. in a user exit or BADI.
    4. And one final option of last resort - create your own RECEIVER function module - this does allow you to fill the workflow container during the event linkage.  But I would still consider this a "last resort" option.
    Regards,
    Jocelyn
    Message was edited by: Jocelyn Dart

  • Help: I am trying to pass a variable between classes

    I am trying to pass data in a variable inbetween two classes is there any suggestions as to how to do this? Here is a example of the code I am trying to pass MqMessage to the class MqLog.
    if(MqMessage.equals("END"))               
                                       finalize();
                                       System.exit( 0 );
                             else //else build flat file and launch docusolve
                                       MqLog tempMqLog = new MqLog();
                                       tempMqLog.levelThreeDiagnostic();
                                       aRuntime = null;
                                       aProcess = null;                                   
                                  }

    I don't really undestand what you are asking specifically. If you only want to transfer a value from one Object to another Object, then you should just use a set method:
    if (objectOne.getValue().equals("END"))
    end();
    else
    objectTwo.setValue(objectOne.getValue())

  • Integrated Planning - trying to load data from basic to realtime cube

    I have created a mulitprovider for my basic and realtime cube, and trying to copy data from basic to realtime using standard copy function in IP. It is not erroring out but data is not getting copied either. Both cubes having exactly the same structure. I can do a export datasource or a BPS multiplanning area..but I need a solution in IP..Any help would be appreciated...Thanks much..

    Infoprovider --> Multiprovider
    Agg Level --> Selected fields need to be copied
    Filter --> None selected, wanted to copy as is
    Pl. Fnc --> Standard Copy.
                    char usage: Selected infoprovider for 'changed'
                    to parameters: selected all key figs ( percent and amount)
                    from and to values: Basic to realtime
    Let me know.

  • Trying to import data from Flat file(csv)

    Hi,
    I am relatively new to ODI. While i try toimport data from a csv file in ODI and view the data, it gives an error ORA-00942: table or view does not exist. Actually where does it create the table is it in the Database associated with it?
    I have created a Logical Architecture, Physical Architecture and created a model and trying to import data into new data store through csv file.
    Thank You
    Edited by: VijayKank4610 on Oct 8, 2012 6:32 AM

    VijayKank4610 wrote:
    Actually where does it create the table is it in the Database associated with it?Your better off checking the Operator logs, you will see exactly which step failed and where it is trying to create the object (C$ table, I$ table, Target table) - The C$ and I$ tables will be in your work schema defined on your physical connection, remember you connecting user on the dataserver needs acccess to the work schema (able to create objects) and the target / data schema.

  • Does SAPlpd pass data to my printer driver?

    I am now using SAPGOF device type and trying to print data to my printer. I use "F:Printing on Front End Computer" on my Spool Administration setting.
    I expect the SAPlpd is sending data (SAPGOF data) to my printer driver, then the printer driver will be doing something before it sends the data to Windows Spooler to print.
    Is my understanding above correct?
    Someone told me actually SAPlpd will not use printer driver in this case, but the SAPGOF data is sent directly to the Microsoft Windows Print Manager. So the printer driver will not receive the SAPGOF data.
    Is the above statement correct?
    How to verify it?
    Please advice.
    Thanks and best regards

    Hi,
    SAPlpd is a transfer program for print output using a Microsoft Windows operating system. Generally, we use 'Remote printing with windows os'. In this case host spool system (Microsoft Windows spooler) and the spool system (application server with a spool work process) are on different hosts with remote printing using Microsoft Windows, the SAP spool system requires an external process that transfers the output requests from the SAP spool server to the Microsoft Windows spooler. This process is provided by the SAPlpd transfer program.
    SAPlpd doesn't know the underlying printer h/w including driver itself. It just transfers the data from SAP system to Windows OS spooler. Then windows host spooler will send the data to printer driver.
    Please reward with points, if it is helpful.
    Thanks,
    Mohan

Maybe you are looking for

  • SOA 11.1.1.6 startup error

    Installed SOA Suite 11.1.1.6 - all seemed to install with no issues and the server came up with no problem. Couple of days later came up with 'many errors'. Shut it down and bounced the database (XE10g Universal) then the server came up with no probl

  • Hibernate in Weblogic10 : class not found exception

    Hi All, I am using JPA/Hibernate in Weblogic 10. While running the application, I am getting the following exception. Can someone help on this. Exception caught is : java.lang.IllegalArgumentException : org.hibernate.QueryException : ClassNotFoundExc

  • Printout missing characters, Mac

    Hi we have a rather odd problem and as I am not too much into Macintosh and Adobe Acrobat I can't seem to find the solution. We have official school documents that needs to be printed out, the properties of affected PDFs are produced by Oracle PDF dr

  • /dev/sda8 on /home type ext4 (rw,noexec,node... to the Defualt option

    I am haveing the same error compiling a kernel :-https://bbs.archlinux.org/viewtopic.php?id=99089 Unable to understand what fiz he is applied here . "thanks a lot! i finally found out what's wrong. its my mount options in /home:           /dev/sda8 o

  • Please help with export issue with HD.

    I have a current project set at 1920x1080 HDTV 1080i (16x9) and my customer has decided to change his mind and not go HD 16x9 which I had shot in specifically for this reason. What settings could I use to export for 720x480 DVD 4:3? Please help. Than