Runtime Error - No Component Exist with the name "FLAG"

This is an issue I am having from chapter 5 exercise 2 from the ABAP Basics book.
Moderator message - Welcome to SCN.
Please note that there is a 2,500 character limit to posts in the forums. Please post only the relavant portions of your code..
Also, Please read Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!! and How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
Rob
Edited by: Rob Burbank on Jun 16, 2010 3:12 PM

Declare variable flag in the top include

Similar Messages

  • LSMW using IDoc Method *Error :No partner exists with the name '', type ''*

    Hi All,
    I am a newbie. I am trying LSMW using IDoc Method.
    I got an error when i executed Start IDoc Generation step: No partner exists with the name '', type ''
    Could anyone tell what wrong I might have done,
    Thank you,
    Shiv Ram

    Hi,
    You have to setup your IDoc configuration in LSMW:
    1) Enter the menu \Settings\IDoc Inbound Processing
    2) Create a FILE port by clicking "Maintain Ports"
    3) Create a logical system (LS) partner number by clicking "Maintain Partner Numbers"
    4) Be sure your partner profile that you create is "Active" by clicking "Classification"
    5) In the end click "Activate IDoc Inbound Processing" bottom.
    Run your LSMW again. This time it shoud run wothout any problem.
    Hope it helps.
    Chang

  • No Component exists with the name /bic/zplant2

    Hi,
    i am getting the error for this abap code
    this code is written in Start routine in BW.
    but it is giving error while running or checking the program..
    the same start routine works fine in Production, but it gives error in Quality.
    r_plant    like /BI0/MPLANT-/BIC/ZPLANT2,
    WHAT IS WRONG HERE ???

    the info object ZPLANT1,ZPLANT2 exists and is active in both quality and production.
    but there is no data in master data tables for zplant1,2 in production/quality.
    the requirement was to fill up the  Key and text values into custom info objects
    FOR e.g.
    there exists hierarchy on 0plant
    0plant has 2 sub nodes ...east and west
    east has 3 subnodes east1,2,3
    west has 4 sub nodes west1,2,3,4
    now zplant1 should show east and west, key and text
    zplant2 should show east1,east2,east3,west1,west2,west3,west4
    so there was code written by previous Consultant who left company.
    now the value doesnot populate in info objects zplant1 and zplant2 correctly
    so i found it gives error in Development environment.
    code exists in production and quality but no effect as those objects has no values in production and quality.
    Basically , 0plant is attribute of 0MAT_PLANT and exists in transfer rules &  update rules.
    and i am trying to fill up the hierarchy off of 0plant nodes into Zobjects

  • Create an object with the name passed in as a string argument to a method

    Hi,
    I am sorry if it's too trivial for this forum , but I am stuck with the following requirements.
    I have a method
    void abc(String object_name, String key, String value)
    method abc should first check if there exists in memory a hashmap object with the name passed in as argument object_name.
    If yes ..just put the key and value there.
    if not , then create the hashmap object called <object_name> and insert the key/value there.
    Can anybody help me in the first step i.e, how to check if an object exists with the name passed in and if not then create it.
    Will getInstance method be of any help?
    Thanks in advance for your response.
    -Sub-java

    Dear Cotton.m,
    Thanks for your suggesstion. I will remember that.
    But somehow I have a strong belief that you still need to consult dictionary for exact meaning of the words like "upset" , "frustration" etc. Not knowing something in a language , that too as a beginner, does not yield frustration, but increases curiosity. And people like petes1234 are there to diminish that appetite.
    To clarify above, let me compare jverd's reply to my doubt with petes1234's.
    jverd said it cannot be done and suggested a work around (It was perfect and worked for me) While petes1234 , having no work in hand probably, started analysis of newbies mistakes.
    jverd solved my problem by saying that it cannot be done. petes1234 acted as a worthless critic in my opinion and now joined cotton.m.
    Finally, this is a java forum and I do not want to discuss human characteristics here for sure.
    My apologies if I had a wrong concept or if I chose a wrong forum to ask, where people like petes1234 or Cotton.m show their geekdom by pointing out "shortfalls" rather than clearing that by perfect examples and words.
    Again take it easy and Cotton.m , please do not use this forum to figure out others' frustration but be a little more focussed on solving others "Java related" problems :)
    -Sub-java

  • Cannot backup my files / copy my files and folders due to error message " The operation can't be completed because an item with the name ".DS_Store" already exists. "

    Hi Apple community!
    I have a [rather worrying] problem.
    When I try to copy all my files from my documents on my mac [or the entire documents folder] into an external drive, I get this error message
    " The operation can’t be completed because an item with the name “.DS_Store” already exists. "
    I am not given an option to skip this file or anything else.
    But I simply cannot complete the operation!
    I have tried deleting a few of the .ds_store files, [both in the original and in the destinations]
    but no success.
    The same thing keeps happening.
    At first, this was just happening when I was trying to backup to my dropbox folder [the one on my mac's harddrive, which gets synced to the cloud],
    but then I tried to back up my documents to my external hard drive, and I realized it is giving me the same error message.
    So effectively, it seems I cannot backup my files anywhere!
    Any help or advice would be greatly appreciated.
    Thank you.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Error message "The operation can't be completed because an item with the name .DS_Store already exists"

    Major headaches with copying files and folders between drives. I constantly (and I mean constantly) have to resort to copying files across in small batches (fewer than 10 works best) because anytime I try to copy lots of files and folders from my mac to an external hard drive (or from one external HD to a second external HD), I ALWAYS get the error message  "The operation can't be completed because an item with the name .DS_Store already exists".
    The files and folders are all Mac-generated, so hint or trace of foreign OSs in the mix.
    All file types are susceptible
    the HDs are all Mac OS X formatted, no foreign file formats involved
    the HDs are all journal-enabled, OS X extended formats
    have looked on here for previous posts, past suggestion was to disable creation of DS_Store files - not really a solution and realistically, defeats the purpose of their creation
    any ideas anyone?
    would appreciate any thoughts or sugestions, this has got me beat
    the context is that I have a lot of image files that I am copying (trying to...) new external 3TB drives for backup and the job appears endless if I have to do this in batches of 10 or so..!
    many thanks for any suggestions

    This is definitively a nuisance. When copying large amounts of files between volumes  try opening a terminal window and use use ditto. You need to type the directory paths of the source and the destination volume. When it starts ditto just coupes and optionally overwrites anything on the destination. You can get a verbose mode where it lists all activities.
    gunnars-mac-mini-i7:Volumes gunnar$ man ditto
    NAME
         ditto -- copy directory hierarchies, create and extract archives
    SYNOPSIS
         ditto [-v] [-V] [-X] [<options>] src ... dst_directory
         ditto [-v] [-V] [<options>] src_file dst_file
         ditto -c [-z | -j | -k] [-v] [-V] [-X] [<options>] src dst_archive
         ditto -x [-z | -j | -k] [-v] [-V] [<options>] src_archive ... dst_directory
         ditto -h | --help

  • Error when creating a user - IAM-3010183 : An error occurred while checking if a user already exists with the Common Name generated.

    Error when creating a user - IAM-3010183 : An error occurred while checking if a user already exists with the Common Name generated.

    in OIM 11g R2
    Message was edited by: 2b3c0737-074f-48d0-a760-e24e3ed9a37c

  • SharePoint 2007 Content deployment Error: 'A folder with the name already exists.

    Hi, In SharePoint 2007 one Content deployment job is failed with below error:
    Content deployment job 'Remote import job for job with sourceID = some id' failed.The exception thrown was 'Microsoft.SharePoint.SPException' : 'A folder with the name PublishingImages/AEI-2014/Blue already exists.'
    From last 3 days I am getting this error and previously this Job was running without any Error.
    In Import Log file getting message: "FatalError: A folder with the name PublishingImages/sg-2015/yellow already exists."
    Please tell me how to resolve the issue.

    Hello,
    It seems same folder exist in destination server that's why job is failing. You need to check destination server and remove the same name/GUID from site then try again.
    See this technet for more info: (see "Conflicting content on source and destination" section)
    http://technet.microsoft.com/en-us/library/dd795107%28v=office.12%29.aspx
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Have published iweb site for five years with no problems and just opened a new site and get - 404: Page not found  This error is generated when there was no web page with the name you specified at the web site.-is the problem with iweb or with hosting?  T

    I am sorry if thie is republished-My first time doing this and I am not sure what goes where and where to hear feedback.
    Have published iweb site for five years with no problems and just opened a new site and get -
    404: Page not found 
    This error is generated when there was no web page with the name you specified at the web site.-
    Troubleshooting suggestions:
    Ensure the page you are linking to exists in the correct folder.
    Check your file name for case sensitivity . Index.htm is not the same as index.htm!
    Temporarily disable any rewrite rules by renaming your .htaccess file if it exists
    is the problem with
    iweb or with hosting?
    One Apple tech started to fix Iweb and had to end session and the next said problem with hosting at Network Solutions as it published
    to local folder. NWS has checked sttting a few times-
    Any help would be extremely appreciated as trying to fix this for about five weeks
    Thanks VG
    <Email Edited by Host>

    It's a really bad idea to post your email address - it's an invitation to spam - and I've asked the Hosts to remove it. (Even though I've now noticed you mis-spelled it! - anyway, never post your address in a forum.)
    You have a site here: http://virginiagordon.com/www.virginiagordon.com/WELCOME.html
    If that's not the page you are having trouble with, what is that page's URL?

  • Program related ENHANCEMENT-POINT/SECTION with the name LMEPOF8D_02 exists

    Hello
    In an upgrade, after finishing with the SPAU task we got the following error in the standard object LMEPOF8D:
    A program related ENHANCEMENT-POINT/SECTION with the name "LMEPOF8D_02" already exists.
    Anyone knows which cause could be generate this kind of error?
    Thanks in advance for your help
    Best Regards,
    Leonardo

    Hello Sandra,
    We have finished with SPAU. Regarding LMEPOF8D include, we kept with the ECC6 standard code. Therefore, from a point of view of code, it should be ok. However, we have this sintax error.
    As you said, the include contains the enhancement point LMEPOF8D_02 which generates the sintax error, but we couldn't find if this enhancement is used in another place.
    We also found note 1331844 and tried to fix the issue by using the 2nd solution propose in the note. But, it didn't work neither.
    Do you have any idea about what cause could generates this error?
    Thanks in advance for your support.
    Best Regards,
    Leonardo

  • BI Platform: Parameter object with the name "URL_PARAM"... does not exist

    Hi,
    I'm facing this issue with only one dashboard in BI4 Platform. When trying to view it through the BI Launch Pad, I get the following error:
    "Parameter object with the name "URL_PARAM" and the index "0" still does not exist in the parameter 1[...]".
    I've seen this thread where a similar thing was reported with NetWeaver platform.
    My client as well as server versions are Release 1.4 SP0 Patch2 (14.0.5).
    Also, although some of the pictures referenced in the dashboard are not in the Public Folders on BI4. Could it be that it's not able to reference the images and hence not be displaying the whole dashboard?
    Please let me know if anyone has a solution to this.
    Thanks!
    - Sakshi Dhakad

    Hi,
    So here are the versions we currently have:
    SAP BO Design Studio (64 bit) - 14.1.0
    SAP BO Design Studio 1.4 for BI Platform - 14.1.0.349
    And on checking on Central Management Console, I get this:
    SAP BO BI Platform 4.1 Support Pack 5 Patch 2
    Version: 14.1.5.1568
    Also, I'm not sure if I installed an add-on or the patch. Based on these versions, could you tell me how to fix the issue ?
    Thanks!

  • Planning 9.3 Duplicate member error: An object with the name 0000 already e

    Hi All
    I have 5 dimensions in my Planning applications namesly, Company, State, Product, Entity and Account
    Company hase members called 0000(default) and 1000, 1001 etc
    I also want add my Entity default member as 0000, but when I tried to add the memeber in my entity dimension I'm getting the Error : An object with the name 0000 already exists: Please help me to fix this
    Thanks in Advance

    U won`t be able to add the duplicate item name to planning application untill it would be the 9.5 version.
    By the way, NotPlanning App`s nothing like as scanty - they has already an option "Allow duplicate item names" in 9.3 version..

  • Problem with copying to external drives 10.8.3 "the operation can't be completed because an item with the name .ds_store exists"

    After upgrading from 10.7.5 to 10.8.3 I cannot copy certain folders to any external drive. the operation can't be completed because an item with the name .ds_store exists. I have seen this problem in discussions for many years with no real solution. Does anyone have a resolution? Please help. This is very frustrating as I work in two locations and copy folders back in forth all the time.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Error generating report job with the task name 'FSRM_Report_Task

    Since this morning we have been having a problem with FSRM on Windows Server 2008 R2, it is no longer running storage reports (both scheduled and on-demand).
    We get the following in the event logs:
    Log Name:      Application
    Source:        SRMREPORTS
    Date:          09/06/2014 08:09:55
    Event ID:      752
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      FILESERVER2.curriculum.riddlesdown.local
    Description:
    Error generating report job with the task name 'FSRM_Report_Task{3add1760-4e79-4141-baba-cb53391bef3e}'.
    Context:
     - Exception encountered = Invalid argument: StorageType = '101'
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="SRMREPORTS" />
        <EventID Qualifiers="0">752</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-06-09T07:09:55.000000000Z" />
        <EventRecordID>42920</EventRecordID>
        <Channel>Application</Channel>
        <Computer>FILESERVER2.curriculum.riddlesdown.local</Computer>
        <Security />
      </System>
      <EventData>
        <Data>Error generating report job with the task name 'FSRM_Report_Task{3add1760-4e79-4141-baba-cb53391bef3e}'.
    Context:
     - Exception encountered = Invalid argument: StorageType = '101'
    </Data>
      </EventData>
    </Event>
    We have uninstalled and reinstalled the FSRM role service but are still having the same problem.
    Anybody have any ideas?

    Hi,
    From the error message, it failed because of "invalid argument: storagetype = '101' ".
    101 means the storage type is "system" + "cache". Is there any change on your storage before the issue occurs? For example whether the source storage is changed?
    FsrmStorageModuleType enumeration
    http://msdn.microsoft.com/en-us/library/dd392346(v=vs.85).aspx
    If you have any feedback on our support, please send to [email protected]

  • The operation could not be completed because an item with the name xyz already exists

    I am trying to make a click and drag backup on an external FAT 32 drive to compliment my Time Machine backup (long story) and I've done this each time by dragging my critical folders into the drive. I get a message asking me to stop, replace or skip, and whether to apply to all items. i click replace, apply all, and let it go.
    however, one stubborn folder refuses to comply. every single time I click and drag a group of folder that includes that one, I get a message saying "the operation could not be completed because an item with the name xyz already exists" even after I selected the the "apply all" prompt. at which point, the Mac stops transferring ALL the other files.
    I figured, OK, i'll just transfer the other folders individually and then deal with this folder later. so I do that, and once I get to the offending folder, I try to transfer just that one folder into the drive. no good; I get the operation message again. I decide to just transfer the contents of the folder, rather than the folder itself. No good, I just get the operation message about one of the folders within the main folder.
    anyone know the cause, or at least a fix?

    If you've installed a system modification called "TotalFinder," remove it according to the developer's instructions after backing up all data. Log out, log back in, and try again.
    Otherwise, open the Info dialog on both the source and the destination volumes. What is the Format of each? For example, it might be "Mac OS Extended (Journaled)".
    For some other possible solutions, see:
    operation can't be completed because an...: Apple Support Communities

Maybe you are looking for

  • Error when installing 10.2.0.3 agent on solaris 8

    I've installed the agent successfully on other solaris 8 servers but on this one machine, i get the "Heap at VM Abort" error. I've seen this in the past when doing oracle installations and the trick was to use a different size for jre_memory_options.

  • ITunes won't sync my Calendar or Contacts with my new iPod

    I cannot get iTunes (V7.0.1) to Sync my Calendar and Contact info to my iPod. When I check the box and open the relevant item (ICal or Address Book) I am told that there are no items available to synchronise even though I can see them on my screen! I

  • (OMS) java.lang.NegativeArraySizeException

    Running RedHat 7.2 RDBMS 9.2 When I start the OMS (oemctl start oms) about 1 minute later I see the following in the oms.nohup: The OMS is now started and ready. java.lang.NegativeArraySizeException: at java.lang.String.(String.java) at java.lang.Str

  • HL7 Outbound runtime error: "Mandatory attribute missing: Standard"?

    I am trying to develop an outbound HL7 v2 solution. I have a composite that picks up an XML message, transforms it to a HL7 v2 XML, popuates b2b. properties and hads the payload over to teh B2B. The partners and partnerships are, seemingly, OK. Yet,

  • DMVPN behind an ASA5520

    I'm trying to create a mesh network using dmvpn, and everything works great until I put an ASA5520 in front of the hub router (2801). The ASA initially blocked all communication to the spokes, but after browsing the forms I found the following comman