Deleting Retrieval Argument generates DW Error

When attempting to delete a retrieval argument company_num from a report query which looks successful then generates an error: DataWindow Error "Line 22 Column 22834:incorrect syntax".
Then DataWindow "Unable to run 'C:\......xyz.pbl(dw.....pblname) attempt to rerun the report brings up DataWindow Error "Line 22...... again and again.
You finally have to say "No" to save and nothing has changed.
Any help would be appreciated.
Thanks,
Wayne

Hi,
Your report has some corruption in the datawindow source.
Could be something with the retrieval argument but could also be something else.
The error says:
DataWindow Error "Line 22 Column 22834:incorrect syntax".
Try to export the source and then open the file in PowerBuilder in the File Editor.
Then go to line 23 (The line $PBExportHeader$ is extra to the 22 above).
And go to the character 22834 with the cursor. You should see the line and column number in the lower right corner of PowerBuilder in the bar. The error it encountered is the keyword or syntax just before that.
Change the name of the object on the first line to get a duplicate or working copy (The line with $PBExportHeader$).
If the corruption is not too bad you might still be able to correct the syntax by comparing with similar datawindows or an old backup if you still got one and import the object back in until it is accepted.
I have done this a few times to re-import datawindows into an earlier version by removing keywords that did not existed yet in the earlier version and changing the release number on the second line,
Ben

Similar Messages

  • I have deleted some texts messages in error, can I retrieve them

    I have deleted some texts messages in error, can I retrieve them

    By restoring from a backup that contains the deleted messages.

  • It generates an error when trying to import a version apex 4.0 production.

    It generates an error when trying to import a version 4 application to production. The copy was made as an apex 4 EA 2, (I have backups of different times in July). The error:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 4, column 1: PLS-00306: wrong number or types of arguments in call to 'CREATE_PAGE_ITEM' ORA-06550: line 4, column 1: PL/SQL: Statement ignored <pre>declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>298101103038895115 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 45, p_name=>'P45_PRODUCTBACKLOG'

    This is the response that sends the team apex.
    Production is very different than our EA versions. On our EA site, we explicitly stated that an export from there may not work against 4.0. From your error, it looks as if the create_page_item procedure changed between EA2 and production. The only recommendation is to take an export from production and compare the statements used for create_page_item. If you can update your EA export to match the new format, you might be able to import but again, that action is unsupported.
    -- APEX Support Team

  • Exchange 2013 - Mailbox Setup Failed "The following error was generated when "$error.Clear()" 7 of 14

    I am getting the following error when I'm setting up the mailbox server as I'm currently doing a test virtual machine throughHyper-V, it seems to happen during the transport service phase of the installation which is 7/12
    Do i know need a D:\ drive for the mailbox server to work? as in my test i only have a c:\ drive but no d:\ drive
    Error:
    The following error was generated when "$error.Clear();
                if ($RoleProductPlatform -eq "amd64")
                    $useAttachMode = $false;
                    $fastInstallConfigPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\Installer";
                    $command = Join-Path -Path $fastInstallConfigPath -ChildPath "InstallConfig.ps1";
                    $fastDefaultDataFolderPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\HostController\Data";
                    $dataFolderPath = $fastDefaultDataFolderPath;
                    if ([System.IO.Directory]::Exists($fastDefaultDataFolderPath))
                        $useAttachMode = $true;
                    else
                        if ($RoleIsDatacenter -eq $true)
                            $preferredDataFolderPathRoot = "D:\";
                            if ([System.IO.Directory]::Exists($preferredDataFolderPathRoot))
                                $dataFolderPath = Join-Path -Path $preferredDataFolderPathRoot -ChildPath "ExchangeSearchData";
                                if ([System.IO.Directory]::Exists($dataFolderPath))
                                    $useAttachMode = $true;
                    if ($useAttachMode -eq $true)
                        &$command -action a -dataFolder $dataFolderPath -silent;
                    else
                        try
                            &$command -action i -dataFolder $dataFolderPath -silent;
                        catch
                            $errorMsg = "Failure running SearchFoundation installconfig.ps1 - " + $_.Exception.Message;
                            Write-ExchangeSetupLog -Error $errorMsg;
                            &$command -action u -silent;
                            try
                                if ([System.IO.Directory]::Exists($dataFolderPath))
                                    [System.IO.Directory]::Delete($dataFolderPath, $true);
                            catch
                                $deleteErrorMsg = "Failure cleaning up SearchFoundation Data folder. - " + $dataFolderPath
    + " - " + $_.Exception.Message;
                                Write-ExchangeSetupLog -Error $deleteErrorMsg;
            " was run: "Couldnít attach the data folder 'C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data'. Path doesnít contain old nodes belonging to the system 'Fsis'.".
    Warning:
    An unexpected error has occurred and a Watson dump is being generated: The following error was generated when "$error.Clear();
                if ($RoleProductPlatform -eq "amd64")
                    $useAttachMode = $false;
                    $fastInstallConfigPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\Installer";
                    $command = Join-Path -Path $fastInstallConfigPath -ChildPath "InstallConfig.ps1";
                    $fastDefaultDataFolderPath = Join-Path -Path $RoleBinPath -ChildPath "Search\Ceres\HostController\Data";
                    $dataFolderPath = $fastDefaultDataFolderPath;
                    if ([System.IO.Directory]::Exists($fastDefaultDataFolderPath))
                        $useAttachMode = $true;
                    else
                        if ($RoleIsDatacenter -eq $true)
                            $preferredDataFolderPathRoot = "D:\";
                            if ([System.IO.Directory]::Exists($preferredDataFolderPathRoot))
                                $dataFolderPath = Join-Path -Path $preferredDataFolderPathRoot -ChildPath "ExchangeSearchData";
                                if ([System.IO.Directory]::Exists($dataFolderPath))
                                    $useAttachMode = $true;
                    if ($useAttachMode -eq $true)
                        &$command -action a -dataFolder $dataFolderPath -silent;
                    else
                        try
                            &$command -action i -dataFolder $dataFolderPath -silent;
                        catch
                            $errorMsg = "Failure running SearchFoundation installconfig.ps1 - " + $_.Exception.Message;
                            Write-ExchangeSetupLog -Error $errorMsg;
                            &$command -action u -silent;
                            try
                                if ([System.IO.Directory]::Exists($dataFolderPath))
                                    [System.IO.Directory]::Delete($dataFolderPath, $true);
                            catch
                                $deleteErrorMsg = "Failure cleaning up SearchFoundation Data folder. - " + $dataFolderPath
    + " - " + $_.Exception.Message;
                                Write-ExchangeSetupLog -Error $deleteErrorMsg;
            " was run: "Couldnít attach the data folder 'C:\Program Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data'. Path doesnít contain old nodes belonging to the system 'Fsis'.".
                     

    Hi 
    Most likely for these kind of issues its better you can  delete the hyper-v machine and create a new  os , ensure all the prerequisite are met and install the Exchange since this is a new installation.
    But as a try you can try giving full access to the admin account to the data folder  'C:\Program
    Files\Microsoft\Exchange Server\V15\Bin\Search\Ceres\HostController\Data'. which is giving the error and rerun the setup 
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com

  • How to delete lock entries generated by the function module "BAPI_OBJCL_CHANGE"

    Hi experts,
    I'm now trying to make an add-on program
    which updates material master information by the background job.
    To update the "Classification" view of material master,
    the program calls the function module "BAPI_OBJCL_CHANGE".
    If the "RETURN" information is valid,
    then the program calls "BAPI_TRANSACTION_COMMIT" (with the "wait" parameter 'X').
    Contrary to my intention,
    lock entries generated by the function module "BAPI_OBJCL_CHANGE" remains after "BAPI_TRANSACTION_COMMIT".
    As a result, the material updated remains locked until the add-on processing ends.
    To shoot this trouble, I read some SCN discussions below:
    <<lock unlock record>>
    ⇒ As I wrote above, I checked the parameter for "BAPI_TRANSACTION_COMMIT".
    <<BAPI_OBJCL_CHANGE Lock Error !>>
    ⇒ I cannot call the function module "BAPI_OBJCL_CHANGE" with "IN UPDATE TASK" option
    because of "BAPI_OBJCL_CHANGE" attributes.
    ("BAPI_OBJCL_CHANGE" is not a "Update Module".)
    How can I delete lock entries generated by the function module "BAPI_OBJCL_CHANGE" ?
    Thanks in advance.
    Tom

    I quess/hope you want to remove locks in you caller program and not locks required by the update task processing to insure database consistencies...
    Did you use the WAIT option in the commit FM, else if there are no other locks in your called program a call of FM DEQUEUE_ALL could solve your problem.
    Regards,
    Raymond

  • PAPI-Add/Delete/Retrieve BPM Instance's data and attachment for an instance

    Could you please me tell me how to Add/Delete/Retrieve BPM instance's data and attachment for a new as well as running instance using PAPI. Is it possible to have
    a sample code.
    Thanks,
    Ben.

    Hi Ben,
    Start with this thread that shows you how to create a new work item instance in a process and pass in input argument variables to the new instance as it is created:
    Creating a new work item instance in a process using PAPI
    Here's a thread that shows how to retrieve variables from an instance:
    Re: Instance info using PAPI in studio
    Here's a thread that shows
    1. how to run an activity in the process and pass in arguments using the "runActivity()" method,
    2. How to run a Global activity and pass in arguments (runGlobal() and
    3. How to send in a notificationto a notificationWait activity using the "sendNotificationInstance()" method:
    Re: Acces Oracle BPM Process through Standalone Java Program
    Finally, you can use the session.instanceAttach() method to attach a file to an instance.
    Hope this helps,
    Dan

  • "Open Vi Reference" generates a Error 7

    Hello,
      I am getting "Error 7" from the "Open VI Reference" vi, the name of the vi is wired vi path input. The "Error 7" means that the vi cannot be found. So I went to "Tools ===> Options ===> Paths" and modified the Path so that Labview can find it. But for reasons I do not understand the vi I want to get a reference for cannot be found. So it leads me to beleive that the "Open vi Reference" does not use the path option to find a vi. Any ideas what is going on?
    Regards,
    Kaspar
    Solved!
    Go to Solution.

    Hello,
      Thanks for getting back to me. I have attached a file fo the screenshot of the Block diagram. The "Open Vi Reference" is in the upper left hand corner, which generates a error when I have updated the path options to point to where the file exists.
    Regards,
    Kaspar
    Attachments:
    vi_error.GIF ‏21 KB

  • I recently got a new computer because my old one wouldn't let me open creative suite 3 after it generated a error and now I can't deactivate the key to activate it onto my new account.

    I recently got a new computer because my old one wouldn't let me open creative suite 3 after it generated a error and now I can't deactivate the key to activate it onto my new computer. Any help would be appreciated. Thank you.

    You are allowed to have two activted installations, so if the first machine is the only machine with an activated installation there is nothing prohibiting you from installing and activating on the new machine.
    You can contact Adobe Support thru chat to have the old installation deactivation.
    Serial number and activation support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • While deleting the PO the below error is coming

    Hi All,
    While deleting the PO the below error is coming..
    "Invoice pending of delivery costs(function not possible)".
    Since it was 2006 PO,Is there any possiblity to close the invoice verification without impacting the vendor payment account.
    clarify us how to solve the issue..

    Flag check box "Final Invoice" and try.
    If this doesn't work, then one option could be to post the Invoice, Set deletion flag to PO, then post FI credit memo to clear the vendor.

  • SQL Server 2012 Developer Edition will not install. Setup files don't even get copied completely. Win 8.1. ACT instance is loaded & can't be deleted. From log file: Error: Action "PreMsiTimingConfigAction" failed during execution.

    SQL Server 2012 Developer Edition will not install.  Setup files don't even get copied completely.  Win 8.1.  ACT instance is loaded & can't be deleted. From log file: Error: Action "PreMsiTimingConfigAction" failed during execution.

    Hello,
    I am glad it worked.
    Thank you for visiting MSDN forums!
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Generate an error message that Adobe Reader 8 or later is required

    Afternoon all,
    I have created a form (in Acrobat 10 Pro) with a lot of scripts and we have determined that they do not all work as desired in Adobe Reader 7 and earlier.
    Is there a way to generate an error message if a user opens this form with Adobe 7 or earlier?
    We would like a message to pop up advising the user that Adobe 8 or later is required for this form.
    It does not have to lock them out or anything, we just want to advise them.
    Thanks much,
    Steve

    Thanks,
    This is how my bosses want this done. For one part, some of the functionality we are using just doesn't exist in Reader prior to version 8. For others, the users don't really have an option to go elsewhere.
    As for thescript, i am not sure how to apply it. Where do i access the initial page's open event?
    I do know how to enter document level scripts (this form has several) but what does "outside of a function definition" mean and how do i do that?
    Thanks everyone,
    steve

  • Final cut pro generated an error or unexpectedly quit

    final cut pro generated an error or unexpectedly quit
    This message appears everytime i want to share my video
    Any suggestions please

    The Following is what I did and it worked for me... Thank You
    Chakravarthy Cuddapah
    Re: Share Monitor error 
    Jun 27, 2011 3:10 AM (in response to Chakravarthy Cuddapah)
    Not sure about this 'solution'. But after a few tries, I noticed that FaceBook feature works only when "Background Rendering' is selected to 'This Computer'. Screen shot:

  • Conversion program generated with errors

    in lsmw idoc method at the step 11 convert data iam getting error as conversion program generated with errors can some body help me .i assigned port ,partnertype and partner number and activated inbound processing but still getting this error.somebody pls help me its urgent.

    Hi Mamidi,
    Go to the LSMW you have choosen and if it is Recording Method you are getting this error.
    Select Goto-->Recordings.
    Select the Recording you have choosen in the Edit Mode.
    Click on the Defaults All Button and save the recording.
    Now go to the option Convert Data and check .
    You will receive a message ..Conversion program successfully generated.
    Thanks,
    Sri

  • Could not open error log file ''. Operating system error = 5(failed to retrieve text for this error. Reason: 15105).

    Hello
    When I try to start the SQl server service i get the following error:
    Event id 17058
    Could not open error log file ''. Operating system error = 5(failed to retrieve text for this error. Reason: 15105).
    As a test I have made sure the errorlog file ,and the entire drive it is, has everyone full control permissions, but to no avail. Does anyone have any ideas to resolve this issue?
    Thank you

    Hi,
    Try running:
    SELECT SERVERPROPERTY('ErrorLogFileName')
    Then verify that the account being used to run the SQL Server service account has access to the path output above.  If possible, you could try logging onto the server with the same account used to run SQL Server then navigate to the errorlog folder.
    Thanks,
    Andrew Bainbridge
    SQL Server DBA
    Please click "Propose As Answer" if a post solves your problem, or "Vote As Helpful" if a post has been useful to you

  • Troubles generating an error message in WebDynpro ABAP

    Good evening guys.
    I set the following code in enhancement method (pre-method) of ONACTIONNAVIGATE method, which is triggered after push the "Review" button in WebDynpro Application FITE_REQUEST:
    method PRED78YJIDJ8M8KXTC2MXQI1XK5O . "Exit of ONACTIONNAVIGATE (in ZENH_FITV_FPM_02 )
      data: L_CURRENT_CONTROLLER type ref to IF_WD_CONTROLLER,
            L_MESSAGE_MANAGER    type ref to IF_WD_MESSAGE_MANAGER,
            TEKSTO TYPE STRING.
      IF NAVIGATION_TYPE = 'FORWARD'.
        L_CURRENT_CONTROLLER ?= WD_THIS->WD_GET_API( ).
        call method L_CURRENT_CONTROLLER->GET_MESSAGE_MANAGER
          receiving
            MESSAGE_MANAGER = L_MESSAGE_MANAGER.
    report message
    CALL METHOD l_message_manager->REPORT_T100_MESSAGE
      EXPORTING
        MSGID                     = '00'
        MSGNO                     = '398'
        MSGTY                     = 'E'
        P1                        = 'Test'
        P2                        = 'Test2'
       P3                        =
       P4                        =
       MSG_USER_DATA             =
       IS_PERMANENT              = ABAP_FALSE
       SCOPE_PERMANENT_MSG       = CO_MSG_SCOPE_CONTROLLER
       VIEW                      =
       SHOW_AS_POPUP             =
       CONTROLLER_PERMANENT_MSG  =
       MSG_INDEX                 =
         CANCEL_NAVIGATION         = 'X'
       ENABLE_MESSAGE_NAVIGATION =
    RECEIVING
       MESSAGE_ID                =
    ENDIF.
    endmethod.
    Unfortunately, this code is not working, because the message is not appearing. I generated this piece of code with the WebDynpro Code Wizard, but even so is not working.
    The standard application generates standard messages an places them in WDR_MESSAGE_AREA WD component, in the View MESSAGE_AREA, regarding blanks in text fields that are located on another WebDynpro component (FITE_VC_GENERAL_DATA, view GENERAL_DATA_VIEW). I put my own code in WD component FITV_FPM, in the LAYOUT_VIEW. But I wanna the messages also appear at WDR_MESSAGE_AREA WD component, MESSAGE_AREA view.
    Do you know why I am having trouble generating an error message in this standard Webdynpro? It is not possible to generate an error message to appear in another Webdynpro component, but the same WD application?
    Regards guys!

    Hi
    you can store message ID, message no and message type in the context node in ur exit and make this context node interface enabled. Map this node to the component where you want todisplay the message. read the context node .
    Call the method for displaying the messages and pass message id, no and type from context node.
    invalidate this context node using method "invalidate" from interface if_wd_context_node.
    Regards
    Vishal kapoor

Maybe you are looking for

  • Show file type in iPhoto

    I'm sure I used to be able to see the file extension in iPhoto 9.4.3 e.g. .jpg or .tif  etc. Is there a way to turn this off or on in Photos view?

  • Errors creating indexes on Binary XML Tables

    Hi, Oracle details are as follows: Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production PL/SQL Release 11.2.0.2.0 - Production "CORE 11.2.0.2.0 Production" TNS for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production NLSR

  • Strange behavior in Adjustment Brush Module

    In the Adjustment Brush module of ACR 5: Adjusting Exposure with the plus or minus signs on an image after any mask is applied has the following effect: No further adjustments of any kind can be applied. This only applies to plus or minus *Exposure*

  • How to make most recent messages appear at the top of the list?

    I can not find a place in Mail preferences to make my messages in each mailbox ALWAYS appear with the most recent at the top of the list. They seem to revert to the reverse order, even though I laboriously change the order in each mailbox via clickin

  • Subtotal Text not displaying in ALV

    Hi All, Text Sub total is not displayed in my ALV output. Below is my code snippet. Edited by: Manas@SAP on Jul 22, 2010 3:08 PM