Layout - not recognize the element when i call the function write_form

Hi experts,
I got a layout(se71) that not recognize the element that i add in the MAIN window when i call the layout from a program.
what could it be?
i add the element in se71.
any help will be appreciated.
Michal.

Hi!
the write form that u are calling should be as below....
CALL FUNCTION 'WRITE_FORM'
   EXPORTING
      element                  = 'ELEMENT'
      window                   = 'MAIN'
    EXCEPTIONS
      element                  = 1
      function                 = 2
      type                     = 3
      unopened                 = 4
      unstarted                = 5
      window                   = 6
      bad_pageformat_for_print = 7
     spool_error              = 8
      codepage                 = 9
      OTHERS                   = 10.
  IF sy-subrc <> 0.
    MESSAGE 'MAIN window not called properly'(006) TYPE 'E'.
  ENDIF.                               " IF SY-SUBRC NE 0
in the layout see if the code there with data element is proper as...
/E  ELEMENT
   &var&
Also this write_form FUNCTION MODULE should be called  b/w OPEN_FORM and CLOSE_FORM Function Modules.
Regards

Similar Messages

  • What is an element,when we call a function write_from?

    what is an element,when we cal a function write_from what to assign for ELEMENT  and WINDOW...?
    Edited by: Alvaro Tejada Galindo on Feb 20, 2008 4:37 PM

    Hi shekar,
    The main reason of specifying the Function module Write_Form is to make the values visible in the particular window of the form.
    For Ref, see the Below Function Module:
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
        ELEMENT = 'HEADER'
        WINDOW =  'MAIN'
    EXCEPTIONS
        ELEMENT = 1.
    In the above example, I need to declare a element in the Main window. So I have passed 'MAIN' in window and 'HEADER' in element.
    REASON OF SPECIFYING:
    Suppose you want to display the values the internal table say suppose it_itab. If you specify this in the sap script like &it_itab-f1& or &wa_itab-f1& without using write_form wont work.
    So this will be specified as,
    SE38:
    Loop at it_itab into wa_itab.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
        ELEMENT = 'HEADER'
        WINDOW =  'MAIN'
    EXCEPTIONS
        ELEMENT = 1.
    endloop.
    Inside Script:
    Inside the Main window:
    /E     HEADER
          &wa_itab-f1&
    what happens is after the loop statement as soon as it encounters the write_form, it searches for the element 'HEADER' in the Main window and values become visible in the form.
    If u need any more details, please tell.
    <REMOVED BY MODERATOR>
    Thanks,
    karthik
    Edited by: Alvaro Tejada Galindo on Feb 20, 2008 4:36 PM

  • I bought Studio MX in 2006. I have the CD and the serial Num. but when I tried to reinstall it, it would not recognize the serial number. I registered the product in 06. Back then it was called macromedia.

    I bought Studio MX in 2006. I have the CD and the serial Num. but when I tried to reinstall it, it would not recognize the serial number. I registered the product in 06. Back then it was called macromedia. 

    MX 2006 is so old it's no longer supported.  See if this helps you.
    Error: Unable to Activate | Macromedia products
    Nancy O.

  • Premiere elements 11 does not recognize the external ASUS Blu-ray burner

    Premiere elements 11 does not recognize the external ASUS Blu-ray burner

    More on what Hunt talked about...
    Things and Software to AVOID when authoring/burning a disc... says Encore, but also applies to Premiere Elements and disc burning
    Start --> http://forums.adobe.com/thread/608660
    #2 has WHY Explained http://forums.adobe.com/thread/607390
    Plus http://forums.adobe.com/thread/562941
    And a solution... to try even if you do not have the problems described above
    Set your DVD output to a folder on your hard drive and then use the FREE http://www.imgburn.com/index.php?act=download to write files or folders or ISO to disc for DVD or BluRay (send the author a PayPal donation if you like his program)

  • Do not recognize the exact Serial Number when Setup.

    Do not recognize the exact Serial Number when Setup.
    Invalid Serial Number. This is not a valid serial number.
    Prease go Back and re-enter your serial number.
    I am a old Korean.
    I can not speak and write English well.
    So I write this letter, as translated by Google Translator.
    I ordered the PremiereElements 11 July 2, 2013.
    I received an email from Adobe after I paid the price.
    Serial number is
    [personal information removed... Mod - https://forums.adobe.com/docs/DOC-3731]
    [This is an open forum, not Adobe support, please do not post personal information]
    I have downloaded the "PremiereElements_11_WWEFDJ_win64.exe".
    And I installed the program and I made some movie clips.
    I used the PremiereElement11 well until this morning.
    When I click a button for importing a clip, PremiereElement11 show me a error message.
    "Cannot find a file", "Reinstall".
    So I reinstalled.
    In the "AdobePremiereElements11-Setup popup window" I wrote my name and select my Country and wrote serial Number exactly.
    And clicked next button.
    But "AdobePremiereElements11-Setup popup window" said
    "Invalid Serial Number".
    and
    "Invalid Serial Number. This is not a valid serial number.
    Prease go Back and re-enter your serial number."
    I have tried many times.
    As a result, I did not install.
    How can I fix this?

    marusot
    Google Translate from English to Korean
    당신이 프리미어 요소 (11)와 현 버전이 아닌 12을 가지고 있기 때문에 어도비 채팅 당신을 도울 경우, 나는 확실하지 않다. 그러나, 그것은 것입니다 있는지 확인하기 위해 어도비와 어도비 채팅에 도달하기 위해 시도하십시오.
    http://helpx.adobe.com/contact.html?step=PRE_adobe-ID 서명 - in_stillNeedHelp
    어도비 채팅이 도움이되지 않을 경우, 우리는 여기에 우리가 할 수있는 최선으로 도움을 시도 할 수 있습니다.
    당신은 1 사용중인 컴퓨터 운영 시스템?
    2 당신이 프로그램을 다시 설치하는 경우 비활성화 바이러스 백신 프로그램과 컴퓨터의 방화벽 (들)이 있습니까?
    우리는 당신의 결과를보고 할 것이다.
    감사합니다.
    ATR
    English Version of the Above
    Since you have Premiere Elements 11 and not the current version 12, I am not sure if Adobe Chat will help you. But, please try to reach Adobe and its Adobe Chat to find out if it will.
    http://helpx.adobe.com/contact.html?step=PRE_adobe-id-signing-in_stillNeedHelp
    If Adobe Chat does not help you, we can try to help here as best we can.
    1. What computer operating system are you using?
    2. Do you have the antivirus program and firewall(s) of the computer disabled when you are reinstalling the program?
    We will be watching for your results.
    Thank you.
    ATR

  • Iphoto will no longer recognize my camera, says it does not recognize the format....they are jpegs? And now it will not even open when I plug my Canon Eos Camera in to download. I have checked everything on the camera and it is working perfectly....

    Iphoto will no longer open when attaching my Canon Eos Camera. I have checked the camera and everything is working perfecty. When I open it myself, Iphoto is working perfectly too. But now when I attach the camera, Iphoto no longer opens at all. Yesterday it did open after a really long wait but it kept saying that it did not recognize the "format" of the images....they were jpegs??? Then it flashed on and off and if I hit download at just the right second they would download. But today it won't work at all. Any suggestions.
    thanks

    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • How do I sync my iPhone 5 to my new PC? iTunes will not recognize it even when plugged in the USB port. Settings General iTunes wifi sync is still my old laptop. Any help is appreciated.

    How do I sync my iPhone 5 to my new PC? iTunes will not recognize it even when plugged in the USB port. Settings>General>iTunes wifi sync is still my old laptop. Any help is appreciated.

    See also Recover your iTunes library from your iPod or iOS device.
    tt2

  • I recently moved and had to disconnect my WD My Pro Edition II 2TB external drive I had been using for backup.  Its been several months and now when i try to reconnect the external dire (Use a firewire cable) it does not recognize the drive is there.  I a

    I recently moved and had to disconnect my WD My Pro Edition II 2TB external drive I had been using for backup. 
    Its been several months (many upgrades to the iMac software during this time), and now when I try to reconnect the external dire (Use a firewire cable) it does not recognize the drive is there.  I also tried "reloading" software from the Western Digital site, but after following all the instructions, it looks like my iMac doesn't support this software (I can't even locate it after I follow all the instructions.
    Thnaks,  for anyones ideas on how I can get this working again.....

    First of all, you do not really want to use their software; if you want a bootable clone, use either Carbon Copy Cloner or SuperDuper. If you simply want to drag and drop some files, you don't need software to do that. The important thing on any external drive is that you format/partition it correctly (Mac OS Extended (Journaled) and using GUID partition scheme). 
    Unfortunately, I don't know anything about WD drives or their software, so I don't have any idea what kind of backup you did. Having said that, it should still recognize the external even if it's outdated. Have you tried mounting it manually in Disk Utility? If you can get it to mount, you could (worst case scenario) just drag your stuff off onto your internal and then reformat the external.

  • HT1918 I have changed my new apple email address at the itunes store but when I try to buy an app on my iPad my old apple id (email) comes up and will not recognize the password. How do I change this? I tried going in through settings/tapping apple ID to

    I have changed my Apple ID when I got a new email address and confirmed it. However when I go to my iPad to buy an app my old Apple ID comes up and will not recognize the password. I tried going into the settings on my iPad and tapping on the old Apple ID to go in to change it but it will not recognize it and I cannot get in on the iPad to change it. How do I change this ID on my iPad for the iTunes store?
    Jaylsworth

    How did you fix this??

  • My iphone 5 is frozen on the screen that shows a cable and itunes symbol.  I can not get the phone to enter DFU mode and itunes does not recognize the phone when plugged in to itunes.  The phone was mid update when it was disrupted....

    I plugged my iphone in to do an update and it was mid way through the update when the phone was accidentally disconnected.  Now the phone is stuck on the screen that shows a cable and the iTunes image suggesting the phone needs to be plugged in to iTunes.  I have plugged it in, powered on and off, attempted to enter DFU mode numerous times all with no success.  ITunes does not recognize the phone and I continue to only receive the screen saying I need to plug in to iTunes..  Please help!

    Hold Sleep Button with Home Button toghether until it restarts Always it takes 8 to 15 seconds, after it restarts leave the sleep button and remember do not leave the home button it automaticlly switches to DFU mode.

  • When I try to click on a download link for a .pdf file Firefox does not recognize the MIME type and tries to download the file as "index.php"

    When visiting a site I frequent I tried to download a linked .pdf file. Previously I've used Firefox 7.0.1 to download the link with no problem. Using Firefox 8 however I the browser does not recognize the .pdf link's mime type. Instead of recognizing the download link as a .pdf file Firefox 8 tries to download it as "index.php". Firefox 8 does this with .doc files and .txt files as well. When I downgrade to 7.0.1 again the problem disappears.

    Hi hakmacpace,
    I'd try starting Firefox in [[Safe Mode]]. If you don't have the issue while all of your add-ons, extensions, and themes are disabled, you can try adding them back in one by one until you find the culprit. You should look at the [https://support.mozilla.org/en-US/kb/Troubleshooting-extensions-themes Extensions and Themes troubleshooting guide ] and the [[Troubleshooting plugins]] article as well.
    You could also try [https://support.mozilla.org/en-US/kb/Managing-profiles?s=create+a+new+profile&r=2&e=es&as=s#w_creating-a-profile Creating a new profile].
    Hopefully this helps!

  • How can I get my iMac to reconize my LG Optimus 5 phone so I can transfer itunes. When I plug it in it does not recognize the phone

    I have an iMac that I want to transfer stored itunes to my Optimus LG 5 android phone. When I plug my phone into the computer the computer does not recognize the phone. What can I do to so I can then transfer my tunes?

    The screen is all black, so it's not the backlight. It's weird because when I get the computer off of sleep mode, it shows the log in screen really quickly. So my LCD isn't broken either. It just switches back to the wrong resolution I guess. Which makes the screen black again.

  • When I connect video projector via mini VGA to MacBook Air, the projector will not recognize the computer.

    I have no problem projecting PPT but when I try to project a video in whatever format, the projector does not recognize the computer.  Suggestions?

    Sorry I'm no help. I'm just here to say that I'm having the same issue and add a bit of info. I've always projected DVDs, with no problem, until I upgraded to OS X Mavericks. I'm teaching in the same room this semester, and now as soon as I plug in the VGA cord the DVD shuts down and I get a message saying "disc not supported." (The DVDs play fine on my computer--the problem arises when I plug in the cord.) Like you, I have no problem projecting my PowerPoints or images from the web. It's just the DVDs. Anyone? Help!

  • When I choose external editor in iPhoto on my iMac it does not recognize Aperture. When I do the same on my laptop it works? Any ideas?

    When I choose external editor in iPhoto on my iMac it does not recognize Aperture. When I do the same on my laptop it works? Any ideas?

    No idea, but Aperture is not an external editor. Like iPhoto, Aperture is a Photo Manager. It's a database. There is no way to round trip a shot from iPhoto to Aperture and back again like you can with Photshop or an image editor.
    Given that Aperture does pretty much everything that iPhoto does - and a whole lot more -  it begs the question: why not just use it to manage your photos?

  • Trying to install old PhotoShop Elements 2.0 but site does not recognize the serial number. Help?

    I am trying to install an old PhotoShop disk Elements 2.0 but during installation the site does not recognize the serial number I have on my registration form. Help?

    Does your serial number show on your account page?
    https://www.adobe.com/account.html for serial numbers on your Adobe page... or
    Lost serial # http://helpx.adobe.com/x-productkb/global/find-serial-number.html

Maybe you are looking for