Functionality of Start macro

Hello All,
         When I use the start macro it's getting triggered when I load the values in the planning book as well as when I save the data.
But the SAP help says it will trigger only when the value is loaded. Please confirm.
Thanks,
Siva.

Hi Siva,
The sytems always reloads data after the user saves the data.
This means that start macros are also carried out after saving.
When a user selects the value in shuffler, this works with
start macro
Regards
R. Senthil Mareeswaran.

Similar Messages

  • How do I get at a variable set in the On Start macro?

    Within the On Start macro of an Access Web App, I set the variable CurrentUserEmailAddress to =UserEmailAddress.  I would like to be able to access this variable somehow from a table On Update event macro.  How can I pass this variable along?

    For those following this thread, some of the suggestions don't apply to Access Web Apps, unfortunately.
    Access Web Apps have an On Start macro (accessible from the 'Advanced' button on the Home ribbon), which runs when the app is launched in the browser.  This is a UI Macro.
    The OnUpdate event is a table event, and runs a data macro.
    As you've noticed, you can't access the UserEmailAddress() function in a data macro, and you also can't access variables set in a UI Macro.
    UI Macros and data macros run in different contexts (the former locally in the browser, and the latter on the server) so the sharing available between them is limited.
    There may be alternatives, but one possibility is to keep a table to hold variables (in this case just CurrentUserEmailAddress, but if you have more, you could use the same table).
    I would try creating a table called Vars, with a column called CurrentUserEmailAddress.  Add a single row to it (the value for CurrentUserEmailAddress is not critical, since we will override it in the OnStart macro).
    Create a data macro called SetEmailVar, that takes a Value as a parameter.  It will set the value in the Vars table.
    <?xml version="1.0" encoding="UTF-16" standalone="no"?>
    <DataMacros xmlns="<DataMacro><Parameters><Parameter">http://schemas.microsoft.com/office/accessservices/2010/12/application"><DataMacro><Parameters><Parameter
    Name="Value" Type="Text" Description="Value"/></Parameters><Statements><LookUpRecord><Data><Reference>Vars</Reference><WhereCondition><Expression><Original>[ID]=1</Original><FunctionCall
    Name="="><Identifier Name="ID" Index="0"/><IntegerLiteral Value="1" Index="1"/></FunctionCall></Expression></WhereCondition></Data><Statements><EditRecord><Data/><Statements><Action
    Name="SetField"><Argument Name="Field">CurrentUserEmailAddress </Argument><ExpressionArgument Name="Value"><Expression><Original>[Value]</Original><Identifier Name="Value"/></Expression></ExpressionArgument></Action></Statements></EditRecord></Statements></LookUpRecord></Statements></DataMacro></DataMacros>
    Then create a corresponding GetEmailVar macro that will fetch the value and return it:
    <?xml version="1.0" encoding="UTF-16" standalone="no"?>
    <DataMacros xmlns="<DataMacro><Statements><LookUpRecord><Data><Reference>Vars</Reference><WhereCondition><Expression><Original>[ID]=1</Original><FunctionCall">http://schemas.microsoft.com/office/accessservices/2010/12/application"><DataMacro><Statements><LookUpRecord><Data><Reference>Vars</Reference><WhereCondition><Expression><Original>[ID]=1</Original><FunctionCall
    Name="="><Identifier Name="ID" Index="0"/><IntegerLiteral Value="1" Index="1"/></FunctionCall></Expression></WhereCondition></Data><Statements><Action Name="SetReturnVar"><Argument
    Name="Name">Value</Argument><ExpressionArgument Name="Value"><Expression><Original>[Vars].[CurrentUserEmailAddress ]</Original><Identifier Name="Vars.Email"/></Expression></ExpressionArgument></Action></Statements></LookUpRecord></Statements></DataMacro></DataMacros>
    Now in the OnStart macro you can call SetEmailVar and pass it =UserEmailAddress(), and in the tables OnUpdate macro, you can call GetEmailVar to get the value.
    Note that there is a limitation to this solution, which is that if multiple users are using the app at the same time, the variable will reflect the most recent user, so any user which gets the value will get that value, which may not be what you want.
    Another potential approach is to remove the built-in Save button from the action bar, and to write data macros to do update/insert, and call them from a custom action bar button and pass in the value from the UI macro for the button.  However, that
    solution is somewhat complicated, and won't work at all for datasheets since you can't force users to save only through the action bar button since just changing the current row will trigger a record save.

  • Call Function'BAPI_USER_CHANGE' starting new task 'TEST'

    Hi All,
    I have problem with starting new task statement, I am using one FM after that am using starting new task 'TEST'
    statement but its not working in one system its working fine in other systems, Please help me who this works.
    Thanks in Advance.
    Eg: Call Function'BAPI_USER_CHANGE' starting new task 'TEST'
    Regar

    Thanks Lqueiroz  ,
    Now again i am getting a DUMP by saying ,
    "An error occurred when executing a REMOTE FUNCTION CALL.
    It was logged under the name "At least one entry could not be "
    on the called page."
    so what can be the reason for this
    call function 'ZRFC_PER_DIEM' starting new task lc_taskid performing subr on end of task
            exporting
              h_guid      = it_header_guid_n
              request_obj = lt_requested_objects_n.
          wait up to '1' seconds.
          read table gt_scl into ls_scl index 1.
          p_transaction_per_diem =  ls_scl-value.
          read table gt_scl into ls_scl index 2.
          transaction_currency_code = ls_scl-value.
      form subr   using task_id type clike.
      data: p_transaction_per_diem  type  char13,
            transaction_currency_code type  char3.
      receive results from function 'ZRFC_PER_DIEM'
                               tables
                                value = gt_scl.
    So basically i am getting dumo when receive statenment is running , by giving above dump.
    Regards
    PG

  • CALL FUNCTION func STARTING NEW TASK task

    hi,
    i developed rfc to extract data and send to xi
    as my interface is Async
    as per soem documents it was mentioned the syntax
    CALL FUNCTION func STARTING NEW TASK task
    wat is the task ? in the syntax
    and how do i use it
    jeff

    Hi suresh,
    this is the code of  RFC. if i execute without RFCDESTINATION it executes successfully. when i use RFC DESTINATION it shows error
    call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException
    i created RFC destination using TCP/IP and registered program. same parameters i am mentioning in XI.
    FUNCTION z_bank_reconciliation.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(COMP_CODE) TYPE  BUKRS
    *"     VALUE(HOUSE_BANK) TYPE  HBKID
    *"     VALUE(ACCOUNT_ID) TYPE  HKTID
    *"  TABLES
    *"      CHQDETAILS STRUCTURE  ZPAYR
      DATA: itab LIKE payr OCCURS 0 WITH HEADER LINE.
      DATA: jtab LIKE payr OCCURS 0 WITH HEADER LINE.
      DATA: it_bank LIKE zbankrecon OCCURS 0 WITH HEADER LINE.
      DATA: it_bank1 LIKE zpayr OCCURS 0 WITH HEADER LINE.
      TYPES :  BEGIN OF ty_bseg ,
                 bukrs LIKE bseg-bukrs,
                 hbkid LIKE bseg-hbkid,
                 belnr LIKE bseg-belnr,
                 zlsch LIKE bseg-zlsch,
                 kostl LIKE bseg-kostl,
                 hkont LIKE bseg-hkont,
                 bzdat LIKE bseg-bzdat,
             END OF ty_bseg.
      TYPES : BEGIN OF ty_t012 ,
                  bukrs  LIKE t012-bukrs,
                  bankl  LIKE t012-bankl,
                  bankn  LIKE t012k-bankn,
             END OF ty_t012.
      TABLES : payr, t012, t012k, bseg.
      DATA : itpayr LIKE zpayr OCCURS 0 WITH HEADER LINE,
             itt012 TYPE STANDARD TABLE OF ty_t012,
             itbseg TYPE STANDARD TABLE OF ty_bseg,
             wa_itt012 TYPE  ty_t012,
             wa_itbseg TYPE  ty_bseg,
             total TYPE n.
      SELECT * FROM zbankrecon INTO TABLE it_bank
                       FOR ALL ENTRIES IN itab
                       WHERE chequeno EQ itab-chect.
      SELECT  abukrs abankl b~bankn
                  INTO CORRESPONDING FIELDS OF TABLE
                  itt012 FROM t012 AS a
          INNER JOIN t012k  AS b ON bbukrs = abukrs AND b~hbkid =
    house_bank AND b~hktid = account_id
                WHERE abukrs = comp_code AND ahbkid = house_bank.
      DELETE ADJACENT DUPLICATES FROM itt012.
      SELECT  zbukr  hbkid hktid vblnr gjahr zaldt checf chect  znme1 rwbtr
      waers zaldt zbnkl FROM payr INTO CORRESPONDING FIELDS OF TABLE itpayr
        WHERE  ( zbukr = comp_code AND hbkid = house_bank ) AND hktid =
        account_id.
    SELECT bukrs hbkid belnr zlsch kostl hkont bzdat  FROM bseg INTO TABLE
    itbseg
      WHERE bukrs = comp_code AND hbkid = house_bank.
      SORT  itt012 BY bankl.
      SORT itbseg BY belnr.
      READ TABLE itt012 INTO wa_itt012 INDEX 1.
      LOOP AT itpayr.
        read table itbseg into wa_itbseg with key bukrs = itpayr-zbukr
    hbkid =  itpayr-hbkid.
        if sy-subrc = 0.
          itpayr-kostl = wa_itbseg-kostl.
          itpayr-hkont = wa_itbseg-hkont.
         itpayr-bldat = wa_itbseg-bzdat.
          itpayr-zlsch = wa_itbseg-zlsch.
        endif.
        itpayr-zbnkl = wa_itt012-bankl.
        itpayr-zbnkn = wa_itt012-bankn.
        MODIFY itpayr.
        APPEND itpayr TO chqdetails.
      ENDLOOP.
      LOOP AT chqdetails.
        READ TABLE it_bank WITH KEY chequeno = chqdetails-chect.
        IF sy-subrc NE 0.
          MOVE chqdetails TO it_bank1.
          APPEND it_bank1.
          CLEAR it_bank1.
        ENDIF.
      ENDLOOP.
      REFRESH chqdetails.
      chqdetails[] = it_bank1[].
      LOOP AT it_bank1.
        MOVE : it_bank1-chect TO zbankrecon-chequeno,
        sy-datum TO zbankrecon-check_date,
        sy-uzeit TO zbankrecon-check_time.
        INSERT zbankrecon.
        CLEAR zbankrecon.
      ENDLOOP.
    ENDFUNCTION.

  • CALL FUNCTION  WITH STARTING NEW TASK

    Hi All,
    i'm call a function module through
    CALL FUNCTION 'Y_WIN'  DESTINATION 'rfc_destination' then it's give right result but when i want to call with starting new task then
    CALL FUNCTION 'Y_WIN'  STARTING NEW TASK 'INFO' DESTINATION 'rfc_destination'
    it does nt provide me any data. i have check in debugger call fm is wkging fine so pls clear me why i'm nt geeting result.
    pls give ur suggestions,
    Anuj

    Did you use the PERFORMING <form> ON END OF TASK to get the results back; like in the following sample
              CALL FUNCTION 'SAPWL_STATREC_READ_FILE'
                   STARTING NEW TASK taskname
                   DESTINATION list-name
                   PERFORMING read_outtab ON END OF TASK
                   EXPORTING
                        read_start_date   = s_date
                        read_start_time   = '000000'
                        read_end_date     = s_date
                        read_end_time     = '235959'
                   EXCEPTIONS " failure when calling RFC
                        communication_failure = 1 MESSAGE msg_text
                        system_failure        = 2 MESSAGE msg_text
                        RESOURCE_FAILURE      = 3.
    and
    FORM read_outtab USING taskname.
    * Receive results back
      RECEIVE RESULTS FROM FUNCTION 'SAPWL_STATREC_READ_FILE'
        TABLES
          v2_normal_records = outtab
        EXCEPTIONS " from the called FM
          nodata    = 1.
    Regards

  • ABAP Dump when calling Function Module Starting New Task

    Hi all. I have a tricky situation now, I am doing a POC on parallel processing.
    I am getting an ABAP dump on the following Call Function line which is in class lcl_steer_114numc (See below for full program):
    METHOD start.
        CALL FUNCTION 'Z_ZZCLS_STEER_114NUMC'
          STARTING NEW TASK me->id
          CALLING me->finish ON END OF TASK.
      ENDMETHOD.                    "start
    However I get the following ABAP dump:
    Short text
        Statement "CALL FUNCTION .. DESTINATION/STARTING NEW TASK/IN BACKGROUND TASK"
    The function module only contains a wait statement to simulate parallel processing. It is strange that it dumps here, because when I change the FM call to another call that has been triggered successfully from other classes, it still produces the same ABAP dump.
    The background of the Proof Of Concept is to see if I can get an event to trigger the next process that depends on the outcome of the previous process. Parallel processes are run in the start methods by calling RFC.
    <Garbled code removed>
    Moderator Message: Please post relevant portions of the code only.
    Edited by: Suhas Saha on Jul 17, 2011 1:17 PM

    Well, the thing is I did manage to run 3 other Function Modules asynchronously succeesfully prior to that function call, with the same exact function call syntax. Further more, I have tried editing it with your suggestion but I get the exact same dump.
    The complete function group can be downloaded here (slinkee file):
    https://docs.google.com/leaf?id=0B3sua1Bw4XK4ZmFhNzcwMTgtYzQ0Mi00NzQ4LTg5YTMtNDNlNWUxYTM2NTg3&hl=en_US
    The complete program can be downloaded here (slinkee file):
    https://docs.google.com/leaf?id=0B3sua1Bw4XK4YWJmNjU3ODYtODRmMy00Nzg2LThkNTUtZjNkNDRhZGQ3MTUw&hl=en_US
    The complete ST22 dump can be found here:
    https://docs.google.com/leaf?id=0B3sua1Bw4XK4ZDU1YmFkZDAtOTU5MS00ZTgwLWFlZTktNWZhMDUxMzJlZWNl&hl=en_US
    Basically I ST22 gives me the following:
    Runtime Errors         RPERF_ILLEGAL_STATEMENT
    Date and Time          17.07.2011 05:29:54
    |Short text                                                                                |
    |    Statement "CALL FUNCTION .. DESTINATION/STARTING NEW TASK/IN BACKGROUND TASK"                 |
    |What happened?                                                                                |
    |    Error in the ABAP Application Program                                                         |
    |                                                                                |
    |    The current ABAP program "Z_ZZB1_CLOSE_PERIOD_TEST2" had to be terminated                     |
    |     because it has                                                                               |
    |    come across a statement that unfortunately cannot be executed.                                |
    And it explains it here (but is not helpful / relevant at all) as I ran the program from SE38.
    |Error analysis                                                                                |
    |    There is probably an error in the program                                                     |
    |    "Z_ZZB1_CLOSE_PERIOD_TEST2".                                                                  |
    |    The program was probably called in a conversion exit                                          |
    |    or in a field exit. These are implemented by                                                  |
    |    function modules called CONVERSION_EXIT_xxxxx_INPUT/OUTPUT or                                 |
    |    USER_EXIT_xxxxx_INPUT.                                                                        |
    |    Conversion exits are triggered during screen field transports or                              |
    |    WRITE statements, field exits during field transports from the                                |
    |    screen to the ABAP/4 program.                                                                 |
    |    In this connection, the following ABAP/4 statements are not allowed:                          |
    |                                                                                |
    I hope you try to download the slinkee files and you will notice the call function I performed was no different than the other call function RFC calls that really are working.

  • Behaviour of CALL FUNCTION fname STARTING NEW TASK DESTINATION 'NONE'

    As per ABAP help documentation, the statement CALL FUNCTION fname  STARTING NEW TASK DESTINATION 'NONE' should create a new main session in  same user session.The behaviour is wrong as per documentation.
    But  current behaviour:
    The statement CALL FUNCTION fname STARTING NEW TASK DESTINATION 'NONE'   is creating a new user session.
    Any reason?

    Hi Prakash,
    I'd agree with Suhas, that you're reading the documentation wrong. Here's your quote:
    As per ABAP help documentation, the statement CALL FUNCTION fname STARTING NEW TASK DESTINATION 'NONE' should create a new main session in current user session.
    If you look at the help, you can see that it says:
    When the destination NONE is used, a new main session is opened for the current user session.
    Do you see the difference? Also, note that in this context main session basically means that we're talking about a new external session:
    Each task ID defines a separate RFC connection with its own context, meaning that, in the case of repeated function module calls of the same task ID, the global data of the relevant function group can be accessed, if the connection still exists.
    In dialog processing, note that the maximum number of six main sessions cannot be exceeded, else an error message is displayed.
    If you're still in doubt, check out the online ABAP documentation for [CALL FUNCTION - STARTING NEW TASK|http://help.sap.com/abapdocu_70/en/ABAPCALL_FUNCTION_STARTING.htm]. So I'd say the documentation is in line with the actual behavior.
    Cheers, harald

  • Keys fn fn (or other) does not activate the dictation only functions "Edit" "Start Dictation .... on MacBook Pro, Please give me the solution Thanks.

    keys fn fn (or other) does not activate the dictation only functions "Edit" "Start Dictation .... on MacBook Pro, Please give me the solution
    Thanks

    Welcome to Apple Support Communities
    It's possible that Dictation is set up to be turned on with a different key. Open System Preferences > Dictation & Speech, and choose the key you want to use to activate Dictation next to "Shortcut". Read > http://support.apple.com/kb/ht5449

  • Pattern Matching functions in DP Macro

    Folks,
    Can anyone tell me if there are any pattern matching functions in DP Macros? Here is the requirement:
    If the time bucket is a quarter, then hide some rows. If the time bucket is  a month or something finer, then show the same row. Assume that all the time buckets in the data view will be the same (no telescoping buckets profile)
    So, suppose that I use BUCKET_DESCRIPTION and get the name of the bucket. If it is Q.* (using pattern matching lingo here), then I would like to set the row attributes accordingly. If it is M.* then set the row attributes to visible.
    Can you please throw some light on this? Would you do it some other way?
    Thanks,
    Satish

    Hi,
    You may try with the macro function BUCKET_DAYS(). This will find number of days in a given bucket.
    Then you can write condition, If bucket days is more than 1 and less than 7, then it is weekly.
    If bucket days is more than 7, then it is monthly.
    Please see if it is helpful for you.
    Regards,
    Manimaran M.

  • Function ROUND() in Macros with APO 4.0

    Hi,
    We are facing problems with using the Round Function in SNP Macros.
    As per SAP Documentation, ROUND( X ; Y ) rounds X to Y decimal places. The arguments can be numbers that you enter in Operator/function dialog boxes, as well as cell(s), row(s) or column(s) from the planning table or the auxiliary table.
    - Round Function is taking the constants as Argument X and giving the required output.
    - However, it doesnot give any results when used with Auxillary KF/KF given as Argument X. During the macro design, no error is provided. In the Planning Book on execution, It gives a dump with message - Unable to interpret "KF Name" as a number.
    In case anyone has worked with the function, inputs would be greatly appreciated and suitable awarded
    Thanks and Regards,
    regards,
    Sudhir

    In the first place, can you explain why you need the function through a macro when it can be done in dataview configuration. IN the transaction /SAPAPO/SDP8B, you can always enter the data view and click on edit and then right click on the auxilary KF to setup the decimal precision required. I am not sure if you are trying to achieve the same functionality through a macro.

  • I need a spreadsheet that  allow any advanced functionality such as macros and active x components. Any possibility of that ever happenning?

    I have spreadsheets that contain macros. Unless and until software producers change the programming or capability that allow any advanced functionality such as macros and active x components, I cannot use my ipad. So I am forced to lug my laptop and my ipad around when the ipad would be perfect for my work in insurance. The fact that this capability does not exsist in docs to go or numbers means there either is a major hang up or these software manufacturers don't feel the need is strong enough. Either way, it really puts people like me in a bind. Does anyone have a solution for this? Is it really that hard of a thing to do to be able to read and run macros?

    Unfortunately there is NONE. I have tried searching for a long time but never succeeded to find an app that can read Macros. I hope there must be a very strong limitation for developers to support macros.

  • Calling Function Module starting new job

    Hallo !
    I'm calling a 'Z' function module from a class method.
    I want the calling will start immediately a new job.
    (That I will see in SM37)
    (Like we can do with submit statement)
    Is there a way to this ?
    (I need the function will start a job - because
    I want to save the function log in the Job list.)
    Thanks in advance,
      N.S.

    step : 1
    Sample Program: Creating a Job with JOB_OPEN
    <b>explanation :</b>
    Use JOB_OPEN to create a background job. The function module returns the unique ID number which, together with the job name, is required for identifying the job.
    Once you have "opened" a job, you can add job steps to it with JOB_SUBMIT and submit the job for processing with JOB_CLOSE.
    Create your job with JOB_OPEN. The module returns a unique job
    number. Together with the jobname, this number identifies the
    job. Other parameters are available, but are not required.
    JOBNAME = 'Freely selectable name for the job(s) you create'.
    CALL FUNCTION 'JOB_OPEN'
    EXPORTING
    JOBNAME = JOBNAME
    IMPORTING
    JOBCOUNT = JOBNUMBER
    EXCEPTIONS
    CANT_CREATE_JOB = 01
    INVALID_JOB_DATA = 02
    JOBNAME_MISSING = 03
    OTHERS = 99.
    IF SY-SUBRC > 0.
    <Error processing>
    ENDIF.
    step 2;
    Sample Program: Adding an ABAP Job Step
    <b>explanation :</b>
    Use JOB_SUBMIT to add a job step to a background job that you have opened with JOB_OPEN.
    A job step is an independent unit of work in a job, the execution of an ABAP or external program. Each job step can have its own authorizations user and printer/optical archiving specifications.
    Add a job step: ABAP program
    CALL FUNCTION 'JOB_SUBMIT'
    EXPORTING
    AUTHCKNAM = SY-UNAME " Runtime authorizations
    " user
    JOBCOUNT = JOBNUMBER " Value from JOB_OPEN
    JOBNAME = JOBNAME " Value from JOB_OPEN
    REPORT = 'REPORT' " Report to be run
    VARIANT = 'VARIANT' " Variant to use with
    " report
    PRIPARAMS = USER_PRINT_PARAMS " User printing options
    ARCPARAMS = USER_ARC_PARAMS " User archiving options
    " Both sets of options
    " come from
    " GET_PRINT_PARAMETERS
    EXCEPTIONS
    BAD_PRIPARAMS = 01
    INVALID_JOBDATA = 02
    JOBNAME_MISSING = 03
    JOB_NOTEX = 04
    JOB_SUBMIT_FAILED = 05
    LOCK_FAILED = 06
    PROGRAM_MISSING = 07
    PROG_ABAP_AND_EXTPG_SET = 08
    OTHERS = 99.
    step 3
    Sample Program: Immediate Start with JOB_CLOSE
    <b>explanation :</b>
    Use JOB_CLOSE to pass a background job to the background processing system to be run. Once you have "closed" a job, you can no longer add job steps to it or change job/job step specifications.
    The function module returns an indicator as to whether the job was automatically released or not. A job is automatically released to run only if the user who scheduled the job has RELE release authorization for the authorization object Operations on background jobs.
    A job step is an independent unit of work in a job, the execution of an ABAP or external program. Each job step can have its own authorizations user and printer/optical archiving specifications.
    Submit job for processing: immediate start
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
    JOBCOUNT = JOBNUMBER " Job identification: number
    JOBNAME = JOBNAME " and name.
    STRTIMMED = 'X' " Schedules the job for
    " immediate start. The job
    " is started immediately
    " only if the user has the
    " RELE authorization to
    " release a job to run.
    IMPORTING
    JOB_WAS_RELEASED = JOB_RELEASED " If user has authorization
    " to release jobs to run, job
    " is automatically released
    " when it is scheduled. This
    " field is set to 'x' if the
    " job has been released.
    " Otherwise, the job is sche-
    " duled but must be released
    " by an administrator before
    " it can be started.
    EXCEPTIONS
    CANT_START_IMMEDIATE No longer used. Replaced by IMPORTING
    parameter JOB_WAS_RELEASED.
    INVALID_STARTDATE = 01
    JOBNAME_MISSING = 02
    JOB_CLOSE_FAILED = 03
    JOB_NOSTEPS = 04
    JOB_NOTEX = 05
    LOCK_FAILED = 06
    OTHERS = 99.
    IF SY-SUBRC > 0.
    <Error processing>
    ENDIF.
    in step 1  we will create a job with name etc..
    in step 2 we will assign work to this job
    step 3 : we will close the job inorder make it scheduled .
    Regards
    srikanth
    added descriptions to each steps

  • Advanced functionality such as macros and active x components

    Currently no app allows for advanced functionality such as macros and active x components on tablets. This seems incredibly crazy to me since tablets allow you to do so much without having to lug your laptop around. What is the reason why iworks, or for that matter, neither does docs to go leaves these features out? Is there hope that these features will be integrated in future versions and in the meantime, is there any program out there that can be purchased that reads and executes macros that were created in excel?

    Unfortunately there is NONE. I have tried searching for a long time but never succeeded to find an app that can read Macros. I hope there must be a very strong limitation for developers to support macros.

  • "esbapin" function in Excel Macro stopped working in essbase 11 plugin

    Hello All,
    We have an excel file with essbase macros that has been working fine in office 2007/essbase 7 client environment. We recently upgraded to essbase 11 and the file started crashing.
    Here is the line where it is crashing.
    Function EssbaseConnectAPI(strUserName As String, strPassword As String, strServer As String, _
    strApplication As String, strDatabase As String) As Boolean
    '## Function to log into Essbase server using API. Part of port cueing routine. Pass in username, password, server, _
    application and database. If first login, API function ESBInit is called to create a context handle. Using context _
    handle EsbAutoLogin is called. Return value on 0 is successful, other values unsuccessful. Error codes 1051027 and 1051080 _
    are trapped to allow port cueing until port frees up. Defined counter to prompt user if port congestion is extreme. Failure _
    returns a long integer. ##
    On Error GoTo errH
    Dim Init As ESB_INIT_T
    Dim intpAccess As Integer
    Dim intCounter As Integer
    Dim intResponse As Integer
    Dim intMultiplier As Integer
    Dim intRetryCounter As Integer
    intRetryCounter = ListVars.Range("LoginRetryCounter").Value
    If blnNew = True Then
    lngSts = EsbInit(Init, lngHInst)
    If lngSts = 1051027 Then lngSts = 0
    If lngSts <> 0 Then GoTo errH
    ListVars.Range("APIInst").Value = lngHInst
    End If
    lngHInst = ListVars.Range("APIInst").Value
    RetryLogin:
    lngSts = EsbAutoLogin(lngHInst, strServer, strUserName, strPassword, strApplication, strDatabase, ESBAUTO_NODIALOG, intpAccess, lnghCtx) _*
    If lngSts = 1051080 Or lngSts = 1051027 Then
    intCounter = intCounter + 1
    If intCounter = intRetryCounter Then
    application.ScreenUpdating = True
    intResponse = MsgBox("System is temporarily busy, Retry?", vbYesNo)
    If intResponse = vbYes Then
    intMultiplier = intMultiplier + 1
    intCounter = 1
    GoTo RetryLogin
    Else
    GoTo errH
    End If
    End If
    application.StatusBar = "Login Atttempted " & (intCounter + 1) + intRetryCounter * (intMultiplier) & " Times"
    GoTo RetryLogin
    ElseIf lngSts <> 0 Then GoTo errH
    MsgBox "Connection Failed", vbOKOnly
    GoTo errH
    End If
    application.StatusBar = ""
    EssbaseConnectAPI = True
    Exit Function
    errH:
    application.StatusBar = ""
    frmLogin.tbPassword.Text = ""
    frmLogin.tbPassword.SetFocus
    End Function
    The function "esbautologin" is delcared as:
    Declare Function EsbAutoLogin Lib "esbapin" (ByVal hInst As Long, ByVal Server As String, ByVal User As String, ByVal Password As String, ByVal AppName As String, ByVal DbName As String, ByVal opt As Integer, pAccess As Integer, phCtx As Long) As Long
    Edited by: user8762894 on Nov 16, 2009 1:39 PM
    Edited by: user8762894 on Nov 16, 2009 5:04 PM

    Just wondering if you have updated the Function definitions found in the esb32.bas file (found in Hyperion\products\essbase\essbaseclient\api\include)? if the definitions are wrong or you have the wrong version it is likely to crash

  • Problem in Call function .. starting new task

    Hi,
    I want to execute a dialog program in background. I am trying to use call function starting new task.
    I am facing some syntax issue. Can any one guide me how to use call function starting new task. The function module is RFC FM. Do we need to define task some where before use please guide.
    Thanks in advance. A sample program will be gr8.

    Hi,
    Incase you want to call a RFC FM in background you can call ity like this.
         call function 'Y_L_TO_CREATE_HUPAST' in background task
                 exporting
              venum   = y_v_venum
              backg   = 'X'
               buser   = y_lv_uname
              langu   = sy-langu
              objky   = y_lv_objky
              printer = y_lv_printer.
    Here Y_L_TO_CREATE_HUPAST is a RFC FM.
    Regards,
    Ankur Parab

Maybe you are looking for

  • Payment Status in PO

    Hi, How can I find out whether the vendor has received the payment for the PO Created by the particular user. I want to find out from the purchasing document such as PO. Because in PO we have the PO History which has the record such as GR and IR but

  • Doubt for internal table

    hi abap gurus,   Consider u have 2 internal tables (one for Header Data, other one       for Line Item)    How to transfer the Header & its corresponding Item data         to third Internal table thanks and regards, bala

  • What causes blank pages appearing suddenly in an autoflowed-text document?

    CS5.5, english version. The complete book was built-up and all master pages were applied . When reopening the file, several blank pages appeared at two places in the document. The text flow was not interrupted, but seamed «hidden» under a non-existin

  • B2B Credit card payment integration

    Hello Gurus, In B2C scenario, on successful payment through credit card, if internet fails before the user is redirected back to the webshop, order goes into error in CRM system and the business does not have details on payment receipt. Is there a st

  • Can I create folders within iWorks applications?

    How do you create folders within Pages or Number? I want to file documents locally by category.