Statement not accessible error - Any ideas please.

Hello all:
          We were using macro from TRMAC table in 4.6C version and it used to give a warning but after upgrading to ECC6.0 it is syntax error! Please look at the code below:
*SELECTION SCREN / PARAMETERS                                          *
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-s01.
PARAMETERS: p_mode(1) TYPE c DEFAULT 'N' OBLIGATORY,
            p_grp     LIKE apqi-groupid DEFAULT 'SKF_POST' OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN SKIP 1.
unix_pc_path text-001 text-002 text-003.
*Intialization                                                         *
*INITIALIZATION.
*At selection screen                                                   *
AT SELECTION-SCREEN OUTPUT.
  PERFORM format_unixpath(yunixctrl) USING 'YHOME_UX' yhome_ux.
AT SELECTION-SCREEN.
  IF ( rdb_pc = 'X' AND yhome_pc IS INITIAL ) OR
     ( rdb_ux = 'X' AND yname_ux IS INITIAL ).
    MESSAGE e000 WITH 'A filename is required'.
  ENDIF.
AT USER-COMMAND                                                      *
AT USER-COMMAND.
*Start-of-selection                                                    *
START-OF-SELECTION.
  IF NOT rdb_ux IS INITIAL.
    unix_getname yhome_ux yname_ux v_file_in.
    PERFORM upload_parse_unix_file.
  ELSEIF NOT rdb_pc IS INITIAL.
    v_file_in = yhome_pc.
    PERFORM upload_parse_pc_file.
  ENDIF.
  PERFORM skf_posting.
*End-of-selection                                                      *
END-OF-SELECTION.
The program does not like the line "unix_pc_path text-001 text-002 text-003." and gives an error "Statement not accessible". I went through some discussion forums on this here but nothing related to macro. Could anyone please give me an idea how I could resolve this? All the answers will be rewarded.
Thanks.
Mithun

You cannot put it in START-OF-SELECTION a you need the unix path in the
AT SELECTION-SCREEN FOR OUTPUT event.. move the statement from the selection-screen block to the INITIALIZATION event.
~Suresh

Similar Messages

  • The "edit in" menu is completely inactive. All plug-ins are visible but in light grey; i.e. not accessible. Any idea how to solve the issue? Fyi: I am using LR 5.7.1 on MacBook with Mawericks.

    The "edit in" menu is completely inactive. All plug-ins are visible but in light grey; i.e. not accessible. Any idea how to solve the issue? Fyi: I am using LR 5.7.1 on MacBook with Mawericks.

    Jim, that sounds like a good hypothesis. Yes, I am using smart previews. I have my originals on an external drive which is connected. Still, LR can not find them. Do you know how to tell LR where to find the originals? I would like LR to identify the source automatically: if external drive is connected LR should show "original and smart preview" not only "smart preview". Thanks for your help.

  • "Statement not accessible" error in Implicit enhancement - SAPMF05A

    Hi,
      I am trying to implement Implicit Enhancement in program SAPMF05A, in module transaktions_init. When I click on Edit -> Enhancement Option -> Show implicit enhancement, it displays implicit enhancement at end of module ( after ENDMODULE) statement. When I click " Enhancement" icon, write code and it gives error statement not accessible.
    Please suggest.
    Regards,
    Priya

    You will have to put the code in a module and then call that module.
    Rob

  • Statement not accessible error in Implicit Enhancement of  SAPMPE03

    ENDMODULE.
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1 ) Include MPMKMO00, End                                                                                S
    *$*$-Start: (1)---------------------------------------------------------------------------------$*$*
    ENHANCEMENT 1 ZENH_PE03.
    MESSAGE 'hi' TYPE 'I'.
    ENDENHANCEMENT.
    *$*$-End:   (1)
    As shown above i added a line MESSAGE 'Hi' Type 'I' in the implicit enhancement portion. But it gives me error "Statement not accessible"
    Thanks

    Hi Amber,
    just in case you have to do something similar again: ABAP Code must always be between MODULE ... ENDMODULE or FORM ... ENDFORM. In the example in this post the statement
    MESSAGE 'hi' TYPE 'I'.
    is just after an ENDMODULE. statement and so this code can never be reached (or is not accessible ). The implicit enhancement option outside the existing modularization units is used to define completely new MODULEs or FORMs.
    Hope this helps!
    Regards
    Oliver

  • Hi cannot link up my e mail account i am with virgin just will not link up any ideas please?

    Hi unable to link up my e mail address i have contacted Virgin my provider and tried everything any ideas PLEASE !!!!!!!!!!!

    Tell us what you have done, how far you get and what message you receive? Is your email (do not quote it here) working OK on another device/computer?

  • Statement not accessible error

    Hi, we have upgraded the project from 46c to ecc version.
    In one standard include MV45AFZZ , one statement is added  IMPORT itab1chk FROM MEMORY.
    In MV45AFZB , the value for itab1chk is getting exported.
    In 46c , we r not getting any error when we run the VA01 transaction.
    But in ECC, this transaction going for Dump giving error 'The statement is not accessible ' referring to the statement IMPORT itab1chk FROM MEMORY which is in MV45AFZZ include.
    I tried by adding ID <KEY> to the IMPORT AND EXPORT statement. But still getting same error.
    Can any one please suggest the solution.
    Thanks,
    laks.

    Hi,
    You get this Error normally when you are doing a syntax check on the Includes in which the code lines are not between FORM and ENDFORM.
    I dont think this is a serious error atleast till 4.7 as the system will allow you to activate the Include. May be the ECC is a bit more stringent on this issue.
    I think your problem will be solved if you try to include all the code lines only in the FORM and ENDFORM.
    regards,
    Mahesh

  • My iPhone 4 is locked with the apple logo displayed it will not turn off - any ideas please

    My iPhon4 is screen locked and will not turn off for me to start over. I have connected to iTunes and held down the button but to no effect. It does appear to be connected to I tunes because IT IS LISTING MY MUSIC. any ideas please

    Try Recovery Mode... http://support.apple.com/kb/HT1808
    Note you'll lose everything since the last sync, thus the reason to sync often.

  • Mavericks was fine for a while but now it will not start up, any ideas please?

    I get a white screen with apple logo, revolving disc and bar. once the bar reaches the end the MacPro switches off. ican do a safe start, the HD appears to be OK so I have tried to re install Mavericks but I get as far as selecting disk , the alternatives are HD and startup but both are locked. There is anEPI disk but that needs journaling via Utilities which does not seem to work. Where am I going wrong? Has anyone else had this problem?
    I upgraded from Snow Leopard.
    Thanks for that
    TA

    Thank you I have just tried this and after the attempted repair, I got an error and alert message that Live file system repair is not supported. Tried to repair the HD, volume was repaired, it stopped at Boot with the message: disk Utility can't repair this disk back up files, reformat disk and restore files. I guess this my answer.
    Thank you for your help
    TheresaAlexandra

  • Dreamweaver cs3 fresh install from download area not working. Any ideas please?

    Hello
    I need to reinstall dreamweaver CS3 on my Mac. I have tried to do this in the Adobe download area but I am getting a 404. I have the original Dreamweaver CS3 disk but my CD ROM is broken. I have got the serial numbers but the download are won't let me get that far. Any help would be gratefully received. thanks.
    Paul

    Paul where exactly are you attempting to download Dreamweaver Creative Suite 3 from?  Is it Download CS3 products?  If so then please try utilizing the steps listed at Download Adobe CS4 and CS3 Free Trials Here (incl. After Effects) | ProDesignTools.  Please make sure to complete the Very Important Instructions prior to clicking on the download links.

  • Statement not accessible - Syntax error

    Hi all,
    There is a form within a standard include. The form has an include within it. Its a custom include. So its an exit i suppose. Now i have a problem in the custom include. There is "statement not accessible" error. Find below the code in the custom include.
    *&  Include           ZZIMOVEKVGR4                                     *
    DATA: r_vkorg TYPE RANGE OF vkorg.
    CONSTANTS: c_z_salesorg_zzkvgr4 TYPE rvari_vnam VALUE
                                                    'Z_SALESORG_ZZKVGR4'.
    * Get the values from variant Z_SALESORG_ZZKVGR4 of TVARVC tavle
    CALL FUNCTION 'Z_FILL_RANGE_TABLE_FROM_TVARV'
    EXPORTING
    name                 = c_z_salesorg_zzkvgr4
    *   INITLINE             = ' '
    *   LINE_SEPARATOR       = ','
    TABLES
    rngtab               = r_vkorg.
    * Check for the sales orgranisation in TVARVC table
    IF vbrk-vkorg IN r_vkorg.
    * Move field Customer group 4 to KOMPCV structure
      MOVE vbrp
    ENDIF.
    Please help me understand how to overcome the same. The function module called has a select query. Does it have something to do.
    Pasting here the form that calls this include.
    FORM USEREXIT_ACCOUNT_PREP_KOMPCV.
    *  KOMPCV-zzfield = xxxx-zzfield2.
    *{   INSERT         TSTK9B000H                                        1
    * TSTK9A05ZS-Begin of changes For scr 7060
    * Only for the sale organisation S096
        INCLUDE ZZIMOVEKVGR4.                                "TSTK9A05ZS
    * TSTK9A05ZS-End of changes
    *}   INSERT
    ENDFORM.
    Thanks & Regards,
    Selvakumar M.

    Hi,
    this form in RV60AFZZ is to modify KOMPCV fields.
    I can't see any attempts to change those fields in your include.
    You can either move your code directly into form routine USEREXIT_ACCOUNT_PREP_KOMPCV, or correct your code in your include to make it work (as Sudhi told before).
    Regards.
    Klaus

  • The cooling fan comes on just after switching on and does not switch off any ideas

    The cooling fan on my iMac comes on just after switching on and does not go off any ideas please?

    Do a smc and pram reset,  See if those fix it.

  • I am trying to open my iTunes on a Windows XP laptop and get the error message 42404 "iTunes application could not be opened.  Please repair or reinstall QuickTime".  I did that and it did not help.  Any ideas?

    I am trying to open my iTunes on a Windows XP laptop and get the error message 42404 "iTunes application could not be opened.  Please repair or reinstall QuickTime".  I did that and it did not help.  Any ideas?

    Let's see if a more rigorous uninstall/reinstall procedure gets us past that, nancy. See the following troubleshooting document:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • IOS 7 ugrade failed " Error:Device disappeared during timed transition". Phone will not now turn on or sync with itunes, any ideas please?

    iOS 7 ugrade failed " Error:Device disappeared during timed transition". Phone will not now turn on or sync with itunes, any ideas please?

    if a Mac OSX Computer is in near - try iBackup Viewer.
    This is free of charge and can read your backup.
    and thats the main difference. Those tools are reading the saved Data in the backup
    but itunes attempts to restore the data from the backup on your iphone. if there are any corrupted data in the backup - the backup restore goes wrong. this can happen during security software or wrong corrupt data already stored on the iphone.
    if itunes messed up to restore from backup try this one :
    - restore your iphone to factory settings using HT1808 or reset all settings and content direct from iphone
    - rename your iPhone (e.g. iPhone Test)
    - setup your iPhone as new device -> attempt to make a new backup - if successful -
    - click in itunes on restore from backup... and choose your desired backup
    or go to:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    Windows XP: \Documents and Settings\(Username)\Application Data\Apple Computer\MobileSync\Backup\
    Windows Vista - Windows 7: \Users\(Username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    Pull your complete BackupFolder and try a different PC - copy the BackupFolder on this different PC in the same Path above - start iTunes and see if your Backup is there - attempt to restore from Backup again

  • I have been sent a secure CD of zip folders but double clicking only comes up with the message unable to unarchive, error 1 - operation not permitted, any ideas please?

    I have been sent a secure CD of zip folders but double clicking only comes up with the message unable to unarchive, error 1 - operation not permitted, any ideas please?

    First thing coming to mind:
    do you double-click on the zip files on the CD ?
    Maybe the "unzip" tries to write in-place to the CD which of course is not possible.
    Have you tried to copy one of them to your OSX volume/harddisk and thhen double-click the copy ?
    Stefan

  • Photoshop v7.0 I get the error "missing or invalid personalization information"  This used to run, I'm now on Windows 7 64 bit.  Anyone have any ideas please?  Thanks.

    I get the error "missing or invalid personalization information"  This used to run, I'm now on Windows 7 64 bit.  Anyone have any ideas please?  Thanks.

    Hi,
    If my memory serves me right (it’s some while since I changed and I have not used Photoshop for some years…) I was running it on XP.  I upgraded to Win 7 on  a new machine but ported across files, programmes etc.  I cannot recall if Photoshop ever ran on Win 7.
    I have tried to reinstall but the CD is warped and despite applying pressure to it neither of my drives likes it.  I have Photoshop 7 on my third hard drive, a portable drive, which came from the XP machine.
    Sorry, long-winded but I hope it helps.

Maybe you are looking for

  • Updates to aliases seems not to be taken into account

    Hello, After having re-installed my email server on a macosx server snow leopard leopard, I tried to setup again my use emails accounts by modifying the aliases files, re-generate the aliases.db file, restarting the email service. Initially, I have a

  • Export a column to bibtex.bib with jquery

    Hi, Is it possible to create a link or button with jquery inside my content type(for example in the welcome page of the content type) that export the content of a column of this content type to a .bib file(for example bibtex.bib) ? user click on this

  • Lightroom mobile - where's the cloud

    i don't have the cloud icon in the right corner of lightroom mobile.  i have a cc subscription for photoshop and lightroom.  i have synced a collection to lightroom mobile from my laptop, but it has synced to the ipad ...and its been 2 days.  what am

  • InDesign CS5.5 Export Error: Small fonts

    When exporting to a PDF I get a Background Task alert: Small Fonts: This font could not be embedded because it is missing its font outline file. Adobe Acrobat requires the outline file to be installed for correct viewing and printing of this file. Ca

  • Html viewer

    Hi all I am trying to understand how this object works. I believe that this is a way to write my own html page and see it in a dynpro. This is the code I wrote: " declaration of object DATA html_viewer TYPE REF TO cl_gui_html_viewer. " container DATA