Error using a call screen

Hi
I've a z program with two different screens (one made by copy of another), both with atribute "screen type subscreen" at my code
FORM mostra_cabecalho.
  CALL SCREEN 0002.
  call SCREEN 0001.
ENDFORM.                    "mostra_cabecalho
FORM esconde_cabecalho                                                *
FORM esconde_cabecalho.
  CALL SCREEN 0022.
  CALL SCREEN 0001.
ENDFORM.                    "esconde_cabecalho
and i've a system error
Erro tpo.exec.         DYNP_WRONG_SCREEN_TYPE                                                     
Data e hora            15.05.2009 18:00:10                                                                               
Texto breve                                                                               
Incorrect screen type: Screen is incorrectly defined or used.                                
Can somebody help me ?
Thanks

Hi ,
CALL SCREEEN ...  is for normal screen.
Make these two screen as normal screen .
Your issue will be resolved.
I f you do not want to make those subscreens to  normal screens, then you need to use
the proper syntax of subscreen  from the flow logic not from the program.
PROCESS BEFORE OUTPUT.
  MODULE status_0100.
  CALL SUBSCREEN  sub_area INCLUDING sy-repid  '0200'.
  CALL SUBSCREEN  sub_area1 INCLUDING sy-repid  '0300'.
As per your specified code , I suggest you to write like ---
FORM mostra_cabecalho.
CALL SUBSCREEN  <sub_area> INCLUDING sy-repid  '0002'.
CALL SUBSCREEN  <sub_area> INCLUDING sy-repid  '0001'.
ENDFORM. "mostra_cabecalho
* FORM esconde_cabecalho *
FORM esconde_cabecalho.
CALL SUBSCREEN  <sub_area> INCLUDING sy-repid  '0022'.
CALL SUBSCREEN  <sub_area> INCLUDING sy-repid  '0001'.
ENDFORM. "esconde_cabecalho
" But you need to write the CALL SUBSCREEN ... in the Flow logic of the screen only.
Regards
Pinaki

Similar Messages

  • What is the diffrence of 'call screen 100' and 'leave to screen 100'

    Thank u

    hi,
    You can insert a screen sequence. This adds another layer to a stack.
    You insert a screen sequence using the CALL SCREEN <nnnn> statement.
    Note: Layers created in this way must be removed afterwards. You can do this by setting the next screen
    statically or dynamically to the initial value (0) an the end of the inserted screen sequence.
    To interrupt processing of the current screen and branch to a new screen (or sequence of screens), use
    the CALL SCREEN <nnnn> statement. The screen <nnnn> must belong to the same program.
    In the program, the system constructs a stack. The stack has to be destroyed before the end of the
    program.
    To return to the statement following the CALL SCREEN statement, you can use either SET SCREEN 0.
    LEAVE SCREEN. or LEAVE TO SCREEN 0. The screen that called the other screen is then processed
    further.
    If you use the above statements outside a call chain, the program terminates, and control returns to the
    point from which it was called. You can also terminate a program using the ABAP statement LEAVE
    PROGRAM.
    To interrupt processing of the current screen and branch to a new screen (or sequence of screens), use
    the CALL SCREEN <nnnn> statement. The screen <nnnn> must belong to the same program.
    In the program, the system constructs a stack. The stack has to be destroyed before the end of the program.
    To return to the statement following the CALL SCREEN statement, you can use either SET SCREEN 0.
    LEAVE SCREEN. or LEAVE TO SCREEN 0. The screen that called the other screen is then processed
    further.
    To specify the next screen and leave the current screen in a single step, use the LEAVE TO SCREEN <nnnn> statement.
    Hope this helps, DO reward.
    Edited by: Runal Singh on Apr 3, 2008 3:11 PM

  • How to go back to calling screen???

    Hi experts,
    I had modified the Exit MV45AFZZ to display pop up message when we save a sales order.
    Now user after giving all the input in VA01 will go for SAVE button and after which pop up will occur.
    Now my problem is after displaying message it should come to same screen of sales order and with all the input data as user had mentioned.
    Please help as its very urgent for me.
    All the answers will be appreciated.
    Thanks.
    Saurabh.

    hi,
    You insert a screen sequence using the CALL SCREEN <nnnn> statement.
    Note: Layers created in this way must be removed afterwards. You can do this by setting the next screen
    statically or dynamically to the initial value (0) an the end of the inserted screen sequence.
    To interrupt processing of the current screen and branch to a new screen (or sequence of screens), use
    the CALL SCREEN <nnnn> statement. The screen <nnnn> must belong to the same program.
    In the program, the system constructs a stack. The stack has to be destroyed before the end of the
    program.
    To return to the statement following the CALL SCREEN statement, you can use either SET SCREEN 0.
    LEAVE SCREEN. or LEAVE TO SCREEN 0. The screen that called the other screen is then processed
    further.
    If you use the above statements outside a call chain, the program terminates, and control returns to the
    point from which it was called. You can also terminate a program using the ABAP statement LEAVE
    PROGRAM.
    Hope this helps, Do reward.

  • F4 on the called screen

    Hi,
    Ive created a screen in screen painter and its linked to the dictionary field of a ztable. When i call the screen thru a tcode, i can see the F4 help on the fields for which i hav created value tables in their domain.But when i call the same screen from alv list, i cannot see the F4 help that comes automatically from dictionary field.Why is this happening?
    Thanks,
    Nidhi.

    Hi,
    I think there is some confusion..Will giv an example.
    I have screen no suppose 100.On that screen there is a field username which is linked to dictionary field.That dictionary field has a value table.So when i call screen 100 using a tcode, i get F4 help on the field username.Ive not written any code for this F4 help.Its coming directly from the dictionary field.Now, in the same program i generate an alv list.On that list there is a button. When i click that button, it calls that same screen 100 using syntax call screen <scr number>.I can see that field username on the screen but this time i cannot access F4 help.Why is this happening.
    As u told me to mention reftab name and ref fieldname, am already doing that.Still its not working.
    Nidhi.

  • Call screen and set screen

    hi experts ,
    whts the practical diff b/.w call screen and set screen in module pool?

    Call Screen: Calling a single screen can be used for embedding a screen sequence. If you want to prevent the called screen from covering the current screen completely (say u want 2 display both screen) you can use the CALL SCREEN statement with the STARTING AT and ENDING AT
    CALL SCREEN 500
    If we write this statement in screen 100 ,it will goto screen 500 and it will retain screen 100(ie u can come back)
    and moreover u have options using this
    CALL SCREEN 200 STARTING AT x1 y1 ENDING AT x2 y2
    If we use set screen first the processing blocks in the present screen will be executed and control goes to the screen which is called.
    in this control remains in that calling screen only, it doesnt come back to our screen.
    In screen 100,we call screen 500.The PBO and PAI of screen 500 is processed.Now in screen 500,if we use leave to screen 100,the processing starts from screen 100 after the call screen 500 statement.The PBO and the PAI of screen 100 need not be processed again from the beginning in this case.
    That is if we use leave to screen,the control goes back to the screen from which the present screen was called and continues with the processing.
    SET SCREEN 500
    With the above statement , it will goto screen 500 and screen 100 no more remains
    Screen No 0 : This special screen number causes the screen to jump back to the calling screen.
    set screen 0 used to go back to the previous screen.
    Reward All Helpfull answers

  • For a call screen when displaying error message screen become disable

    Hi,
    For a call screen when i am giving a error message all the other fields are getting disabled and by enter also they are not getting enabled.
    can you please suggest how to get this in enable mode with the error message.
    the error message is given if we are trying to save the duplicate record.
    Please suggest <removed by moderator>.
    BR,
    Rajesh
    Edited by: Thomas Zloch on Nov 18, 2010 4:18 PM - priority normalized

    Try:
    message 'blabla' type 'S' DISPLAY LIKE 'E'.
    Edit.
    But you should validate the key fields before even pressing the SAVE button. Use CHAIN..ENDCHAIN for the key fields.

  • Went to update my ipod,now I am not able to use itunes because of an error... I have downloaded itunes again, saying it is uploaded then click itunes get error 7! Called for support, they are a joke !! Need advice please ...

    Went to update my itunes upon request from apple, updated now I have an error 7.
    I went to apple site to download itunes get message saying it is uploaded successfully.
    Go to itunes unable to because of error message. Called apple... they are a joke you have
    3 months to use the "phone service" after 3 months you have to pay $19.99 to talk to someone.
    Apple says update.. ha ha dont do it.. you wont be able to use your itunes.
    Any one have any suggestions in how to fix this issue??

    Hello cindib77,
    We've an article that provides further information and steps that can help resolve this error.
    iTunes for Windows: "Error 7" message when opening iTunes
    http://support.apple.com/kb/TS3074
    Cheers,
    Allen

  • Blue Screen error using Boot Camp when installing XP on the MacBook Pro

    I have been trying to install Windows XP Professional (with SP2) on my MacBook and I keep encountering blue screen errors during the install. I successfully create the Windows partition with Boot Camp (v2.0) and then Windows install begins. However, during the setup process it hangs and then eventually throws an error showing a blue screen. There has been a different error each time I've tried to install. I've booted in OSX and then deleted the Windows partition through Boot Camp and then attempted the process from the beginning five separate times and each time I get an error during the initial install phase.
    Its not a matter of the installation CD because i borrowed 3 differnt copies from some friends and i still have the same issues.
    Once, I managed to actually start windows XP however it was full of errors probably as parts of it weren't properly installed due to the the blue screens that made me reboot several times.
    Am I the only one having this problem??
    Is this a matter of the hardware? Can you think of any possible solution?
    (I used NTFS did everything propperly I'm 100% sure)(I tried FAT as well)(still nothing)
    PLEASE HELP

    Can you read and write from your optical drive? I would have it checked by burning something to it and seeing if it can be read.
    I have noted a link, with some information that may be helpful, for you to check out.
    http://discussions.apple.com/message.jspa?messageID=7872477#7872477
    I would repair permissions before your next attempt too.
    If this fails, I would contact Apple.

  • Errors when using the Call statement for MS SQL Server

    I've tried executing a Stored Procedure using the Call method of Portal 2 Go. But it gets an internal error b/c of it. Any Ideas why and how to resolve?

    Hello,
    Which version of SAP BOBJ XI3.1 you are using?
    What I am aware is BEGIN_SQL was very well working for SQLServer2005 in case of ODBC connection.
    Can you try one thing for SQLServer2008 have a Native driver installed on your client machine and use ODBC connection rather than OLEDB connection.
    If that works fine, its good
    Otherwise you can raise a message for resolving this problem with the support team.
    Thanks,
    Vivek

  • Why do I get error -17500 when calling a batch file using the call executable step type?

    I am calling a batch file using the call executable step type. If the path to the batch file contains a space I get error -17500 and a message stating there was an error in "Post". For example the path to the batch file is "c:\TestWin\Test Files\...\Program.bat" When I run this I get the above mentioned error, however if I change my directory structure so the path is now "c:\TestWin\TestFiles\...\Program.bat" it runs fine. I use the browse feature to find my batch file so it is not me typing in a path incorrectly. I have removed the batch file and I get a different error stating that it couldn't find the file so it appears that for my error it can find the file but can't run it. I am
    sure that this has something to do with the fact that batch files are written in DOS but really don't want to resort to changing my directory structure on all my test stations. Is there any way to fix this problem so I can leave a space in my path?

    It appears I have figured it out. This was on another computer so I was unaware of how they used their computer. I like you got it to work in the temp directory and in fact got the program.bat file to work as long as I put it under the temp directory, but when I switched out to my TestWin directory it wouldn't work, so I removed everything from the directory except the batch file it self and it work. What I found out after adding files in one at a time is that the person had a file called "Test" with no file extension in there "c:\TestWin\" directory. Removing this file made it work. Putting the file back broke it. So it appeares that when teststand was running it followed the path saw a space and attempted to grab the "Test" file instead of bro
    wsing into the "Test Files" directory. If you create a file in your temp directory called "temp" with no file extension you will see the same problem. Thank you for your help.

  • Error trying to call channel using accessor

    Hello All,
    Messages are failing while accessor is trying to call channel
    Please help me figure out a fix for the problem. Hope that the following trace information helps.
    <Trace level="1" type="T">Interface Mapping http://imprintlabs.com/I33A_Goods_Receipt/XI IM_A1_ZWMMBIDMASS01_to_SCPM_ZWMMBIDMASS01</Trace>
      <Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>
      <Trace level="1" type="T">ValueMapping Exception - List ID 44 not found in the Integration Directory Value Mapping Table.</Trace>
      <Trace level="1" type="T">Turn on Logging.</Trace>
      <Trace level="1" type="T">Hash is null - need to lookup values from DB</Trace>
      <Trace level="1" type="T">Exception: trying to get System Accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">Exception: error trying to call channel using accessor</Trace>
      <Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
    <Trace level="1" type="T">Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_A1_ZWMMBIDMASS01_to_SCPM_ZWMMBIDMASS01_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ZWMMBIDMASS01/IDOC/EDI_DC40/SERIAL. The message is: Exception:[java.lang.RuntimeException: stdLookup- Unable to get lookup values] in class
    com.sap.xi.tf._MM_A1_ZWMMBIDMASS01_to_SCPM_ZWMMBIDMASS01_ method
    Trace level="1" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
    - <Trace level="1" type="B" name="interface activity determination">
      <Trace level="1" type="T">Version 006</Trace>
      <Trace level="1" type="T">Message status 012</Trace>
      <Trace level="1" type="T">Interface action ARCH</Trace>
      <Trace level="1" type="T">(must be INIT for a new determination)</Trace>
      <Trace level="1" type="T">Set interface action ARCH into MAST</Trace>
      </Trace>
      </SAP:Trace>
    regards,
    Roshni

    Hello Ramesh/Satish
    The payload was processed and this time the message got through. The value mapping exception did occur, but it there was no System Accessor Error.
    Trace level="1" type="T">*** START APPLICATION TRACE ***</Trace>
      <Trace level="1" type="T">ValueMapping Exception - List ID 44 not found in the Integration Directory Value Mapping Table.</Trace>
      <Trace level="1" type="T">Turn on Logging.</Trace>
      <Trace level="1" type="T">Hash is null - need to lookup values from DB</Trace>
      <Trace level="1" type="T">Content Type text/xml</Trace>
    Although the problem has been resolved I still wonder what caused the accessor error.

  • Skip the selection screen using BDCTAB call transaction

    Hi experts,
    I am using BDCTAB for call transaction SWI1 I need to skip the selection screen. Can you please tell me how to skip the selection screen using BDC call transaction?
    Thank you in advance.....

    hi,
    the first step is to pass some values to the selection screen, at least Date From and Date To; otherwise, it´ll take a long time. The second step is to emulate the Execute button, which is done with '/08'.
    PERFORM fields USING 'BDC_OKCODE'   '/08'.
    Third step is to catch the programme and screen number.

  • Called Screen using BDC Call and Submit

    Hi there
    while returning back from the Called Screen using BDC Call , i am not able to get the Basic Screen. It displays The Selection Screen of the called Transaction.
    Kindly plz help me regarding this problem
    Thanks
    Saurabh

    Which Transaction are you calling?
    Regards,
    Deepa Kulkarni

  • "baby" example of using call screen

    Can anyone give me an "baby" example of using call screen(including hoew to generate this simple screen.
    e.g in screen to choose airline from spfli and  then in continuation of the progrim select all flight nr from that table

    Define a screen of normal type..
    In the layout create one input field.. for the airline name.. create a button to display and give it type E exit function..
    In the PAI.. in the module
    AT EXIT COMMAND, pass the value entered in the airline name to a global variable w_airline.
    In the main program..
    In the start of selection event.. CALL SCREEN 'xxx' and RETURN.
    After this statement, write the select query and fetch the data and display the report.
    Thanks and Best Regards,
    Vikas Bittera.

  • How can i share contact from recent call screen?  Used to go to right side of number and it would pull up your options, but share contact is not there anymore

    how can I share contact from the recent call screen?  Used to be able to touch right side of number and have that option.  It is no longer there.

    Touch the cirle i and then scroll down to share contacts.  I just tested this out myself.

Maybe you are looking for

  • Planned delivery time in Scheduling agreement and MRP

    Hello, Do you know is it possible to determine system so that MRP run will consider the planned delivery time from the scheduling agreement line instead of material master? Now the system read planned delivery time from material master when creating

  • How we can sent the payslip through email

    Dear Guru We are implementing SAP Payroll, We are under testing phase Can any body suggest how we can send payslip through assigned email ID Pl suggest the same We are in ECC 6.0 ehp 4 Regards Santosh

  • Trouble with streaming audio on firefox 4 - mac intel 10.6 with quictime plug-in 7.6?

    recently having trouble playing streaming audio from these sites: 1. merriam webster pronunciation popup link: http://www.merriam-webster.com/audio.php?file=puissa01&word=puissance&text=\%3Cspan%20class%3D%22unicode%22%3E%CB%88%3C%2Fspan%3Epwi-s%3Csu

  • Convert RAW to jpeg

    Hello, I'm using Aperture to organize my photos and have been shooting in RAW. I'd say that out of 100 pics, I might take advantage of the RAW format to edit 5 of them. I'm new to photography and during the learning process have taken a lot of pics o

  • Msg says "itunes library cannot be read because it was created by a newer version of itunes". Help!!!

    ITunes won't open because it says "Itunes library cannot be read because it was created by a newer version of itunes".  I believe this message first appeared when i downloaded the latest version of ITunes (this occurred several months ago...I haven't