Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

File does not contain ascreen error

Former Member
0 Kudos

Hello everyone,

I am trying to copy a screen from 4.7 to ECC 5.0.

I downloaded the screen from 4.7 and while when i am trying to upload to ECC5.0, i am getting the error 'File does not contain a screen'. How to rectify this. Are there any additional setting to be carried out to copy from 4.7 to ECC 5.0?. ( created the screen containing table control using wizard). This is working fine if i copy the same screen into different client in 4.7.

Regards.

15 REPLIES 15

Former Member
0 Kudos

Hi Rahul,

Please check in ECC5.0

Have you created the program with the same name as in 4.7.

Then you have to create a screen with the same screen no.

Then u should upload the file.

U will not get any error.

******Always reward Useful Answers *********************

0 Kudos

The program name in 4.7 is yform and associated screens in it are 100 200.

i named the program name as y_form with associated screens as 100 and 200.

The program logic is copying fine. its only when iam trying to copy the screen logic(download from 4.7 and upload to ECC5.0) , its showing an error.

regards.

Former Member
0 Kudos

Any suggestions??

regards.

0 Kudos

Hi,

Try by keeping the program name also Same.

0 Kudos

hello Vaibhav,

I tried it but is of no use. I am still getting the same error.

Any more suggetions.

Regards

0 Kudos

Hi,

Please tell me how have you downloaded a screen from a program in 4.7 server.

0 Kudos

hello Vibhav,

<u>In 4.7</u>

The program i downloaded from se38.

Utilities->More Utilities->Upload/Download---->Download.(this is fine)

Now this program has two screens in it 100 200.

I used Tcode SE51

program name; Y_form

screen number: 100.

and i am downloading the flow logic and screen.

Utilities->More Utilities->Upload/Download---->Download.(this is also fine)

same fro screen 200.

<u>Now in ECC5.0</u>

I created the progrm with same name and upladed the logic(thts fine too)

and for screen...

created the new screen 100 for the program y_form.

and here iam uploading the downloaded file (from 4.7)

Utilities->More Utilities->Upload/Download---->Upload.

At this point its throwing a error " File does not contain a screen "

How to sort it out

Regards.

0 Kudos

Hi,

This is fine.....at my side its working absolutely fine.

u can try this: first create the program then screen

then upload the screen & then upload the prog file

or

Can u send the contents of the screen file or just paste it over here?

0 Kudos

hell Vibhav,

This is flow logic...----



PROCESS BEFORE OUTPUT.

MODULE PBO.

*&spwizard: pbo flow logic for tablecontrol 'ZCFORM_TAC'
  module ZCFORM_TAC_change_tc_attr.
*&spwizard: module ZCFORM_TAC_change_col_attr.
  loop at   IT_CFORM
       with control ZCFORM_TAC
       cursor ZCFORM_TAC-current_line.
*&spwizard:   module ZCFORM_TAC_change_field_attr
  endloop.

* MODULE STATUS_0100.
*
PROCESS AFTER INPUT.

MODULE PAI.

*&spwizard: pai flow logic for tablecontrol 'ZCFORM_TAC'
  loop at IT_CFORM.
    chain.
      field IT_CFORM-LIFNR.
      field IT_CFORM-BLDAT.
      field IT_CFORM-BUDAT.
      field IT_CFORM-KSCHL.
      field IT_CFORM-MWSKZ.
      field IT_CFORM-BELNR.
      field IT_CFORM-WERKS.
      field IT_CFORM-GJAHR.
      field IT_CFORM-FORMNO.
      field IT_CFORM-FORMAMT.
      field IT_CFORM-WRBTR.
      field IT_CFORM-REFNO.
      field IT_CFORM-ISSDATE.
      field IT_CFORM-SENTBY.
      field IT_CFORM-ATLDATE.
      field IT_CFORM-CONC.
      field IT_CFORM-NORMAL.
      field IT_CFORM-REMARK.
      field IT_CFORM-FORME1.
      field IT_CFORM-NAME1.
      field IT_CFORM-BELNR1.
      module ZCFORM_TAC_modify on chain-request.
    endchain.
  endloop.
*&spwizard: module ZCFORM_TAC_change_tc_attr.
*&spwizard: module ZCFORM_TAC_change_col_attr.

* MODULE USER_COMMAND_0100.

This is the download file....

****************************************************************

  • THIS FILE IS GENERATED BY THE SCREEN PAINTER. *

  • NEVER CHANGE IT MANUALLY, PLEASE ! *

****************************************************************

%_DYNPRO

ZCFORM

0100

620

40

%_HEADER

ZCFORM 0100 0100 27134192 36 0 0 27135 0G E 20060728164122

%_DESCRIPTION

C Form Screen 100

%_FIELDS

LBL_HEADING 0 CHAR 24 00 00 00 38 00 1 48 0 0 0 0 0 0 C_Form_Data_Entry_Screen

ZCFORM_TAC 134 F4 F0 00 00 00 3 2 E 101 1 1 23 T 5 14

LBL_INV_NO 0 CHAR 10 00 00 00 30 80 1 1 T 101 1 1 10 0 0 Invoice_No

LBL_YEAR 0 CHAR 4 00 00 00 30 80 1 2 T 101 1 1 4 0 0 Year

LBL_ACC_DOC 0 CHAR 12 00 00 00 30 80 1 3 T 101 1 1 10 0 0 Accoutng_Doc

LBL_AMT 0 CHAR 6 00 00 00 30 80 1 4 T 101 1 1 12 0 0 Amount

LBL_PLANT 0 CHAR 5 00 00 00 30 80 1 5 T 101 1 1 4 0 0 Plant

LBL_VENDOR 0 CHAR 6 00 00 00 30 80 1 6 T 101 1 1 10 0 0 Vendor

LBL_NAME 0 CHAR 4 00 00 00 30 80 1 7 T 101 1 1 25 0 0 Name

LBL_REFERENCE 0 CHAR 9 00 00 00 30 80 1 8 T 101 1 1 12 0 0 Reference

LBL_POSTING_DT 0 CHAR 12 00 00 00 30 80 1 9 T 101 1 1 10 0 0 Posting_Date

LBL_DOC_DATE 0 CHAR 8 00 00 00 30 80 1 10 T 101 1 1 10 0 0 Doc_Date

LBL_CONDITION 0 CHAR 14 00 00 00 30 80 1 11 T 101 1 1 4 0 0 Condition_type

LBL_TAX 0 CHAR 8 00 00 00 30 80 1 12 T 101 1 1 2 0 0 Tax_Code

LBL_FORM_NO 0 CHAR 7 00 00 00 30 80 1 13 T 101 1 1 15 0 0 Form_No

LBL_FORM_AMOUNT 0 CHAR 11 00 00 00 30 80 1 14 T 101 1 1 21 0 0 Form_Amount

LBL_ISSUE_DT 0 CHAR 10 00 00 00 30 80 1 15 T 101 1 1 10 0 0 Issue_Date

LBL_SENT_BY 0 CHAR 7 00 00 00 30 80 1 16 T 101 1 1 30 0 0 Sent_By

LBL_ACTL_DT 0 CHAR 11 00 00 00 30 80 1 17 T 101 1 1 10 0 0 Actual_Date

LBL_CONC 0 CHAR 6 00 00 00 30 80 1 18 T 101 1 1 6 0 0 Conc_%

LBL_NORMAL 0 CHAR 8 00 00 00 30 80 1 19 T 101 1 1 6 0 0 Normal_%

LBL_REMARK 0 CHAR 7 00 00 00 30 80 1 20 T 101 1 1 100 0 0 Remarks

LBL_E1 0 CHAR 2 00 00 00 30 80 1 21 T 101 1 1 15 0 0 E1

IT_CFORM-BELNR C CHAR 10 80 00 80 30 00 1 1 T 101 1 1 10 0 0 __________

IT_CFORM-GJAHR N NUMC 4 80 00 80 30 00 1 2 T 101 1 1 4 0 0 ____

IT_CFORM-BELNR1 C CHAR 10 80 00 80 30 00 1 3 T 101 1 1 10 0 0 __________

IT_CFORM-WRBTR P DEC 16 80 20 80 30 00 1 4 T 101 1 1 12 0 0 ________________

IT_CFORM-WERKS C CHAR 4 80 00 80 30 00 1 5 T 101 1 1 4 0 0 ____

IT_CFORM-LIFNR C CHAR 10 80 00 80 30 00 1 6 T 101 1 1 10 0 0 __________

IT_CFORM-NAME1 C CHAR 35 81 00 80 30 00 1 7 T 101 1 1 25 0 0 ___________________________________

IT_CFORM-REFNO C CHAR 30 81 00 80 30 00 1 8 T 101 1 1 12 0 0 ______________________________

IT_CFORM-BUDAT D DATS 10 80 00 80 30 00 1 9 T 101 1 1 10 0 0 __________

IT_CFORM-BLDAT D DATS 10 80 00 80 30 00 1 10 T 101 1 1 10 0 0 __________

IT_CFORM-KSCHL C CHAR 4 80 00 80 30 00 1 11 T 101 1 1 4 0 0 ____

IT_CFORM-MWSKZ C CHAR 2 80 00 80 30 00 1 12 T 101 1 1 2 0 0 __

IT_CFORM-FORMNO C CHAR 15 80 00 80 00 00 1 13 T 101 1 1 15 0 0 _______________

IT_CFORM-FORMAMT P DEC 21 80 00 80 00 00 1 14 T 101 1 1 21 0 0 _____________________

IT_CFORM-ISSDATE D DATS 10 80 00 80 00 00 1 15 T 101 1 1 10 0 0 __________

IT_CFORM-SENTBY C CHAR 30 80 00 80 00 00 1 16 T 101 1 1 30 0 0 ______________________________

IT_CFORM-ATLDATE D DATS 10 80 00 80 00 00 1 17 T 101 1 1 10 0 0 __________

IT_CFORM-CONC P DEC 6 80 00 80 00 00 1 18 T 101 1 1 6 0 0 ______

IT_CFORM-NORMAL P DEC 6 80 00 80 00 00 1 19 T 101 1 1 6 0 0 ______

IT_CFORM-REMARK C CHAR 100 80 00 80 00 00 1 20 T 101 1 1 100 0 0 ____________________________________________________________________________________________________

IT_CFORM-FORME1 C CHAR 15 80 00 80 00 00 1 21 T 101 1 1 15 0 0 _______________

SAVE CHAR 12 00 00 00 30 00 27 49 0 0 0 9 P 0 0 104 @2L@_Save___ SA

CLOSE CHAR 12 00 00 00 30 00 27 59 0 0 0 9 P 0 0 102 @0W@_Close__ CLS

OK_CODE CHAR 20 80 10 00 00 00 255 1 O 0 0 0 0 0 0 ____________________

%_FLOWLOGIC

PROCESS BEFORE OUTPUT.

MODULE PBO.

*&spwizard: pbo flow logic for tablecontrol 'ZCFORM_TAC'

module ZCFORM_TAC_change_tc_attr.

*&spwizard: module ZCFORM_TAC_change_col_attr.

loop at IT_CFORM

with control ZCFORM_TAC

cursor ZCFORM_TAC-current_line.

*&spwizard: module ZCFORM_TAC_change_field_attr

endloop.

  • MODULE STATUS_0100.

*

PROCESS AFTER INPUT.

MODULE PAI.

*&spwizard: pai flow logic for tablecontrol 'ZCFORM_TAC'

loop at IT_CFORM.

chain.

field IT_CFORM-LIFNR.

field IT_CFORM-BLDAT.

field IT_CFORM-BUDAT.

field IT_CFORM-KSCHL.

field IT_CFORM-MWSKZ.

field IT_CFORM-BELNR.

field IT_CFORM-WERKS.

field IT_CFORM-GJAHR.

field IT_CFORM-FORMNO.

field IT_CFORM-FORMAMT.

field IT_CFORM-WRBTR.

field IT_CFORM-REFNO.

field IT_CFORM-ISSDATE.

field IT_CFORM-SENTBY.

field IT_CFORM-ATLDATE.

field IT_CFORM-CONC.

field IT_CFORM-NORMAL.

field IT_CFORM-REMARK.

field IT_CFORM-FORME1.

field IT_CFORM-NAME1.

field IT_CFORM-BELNR1.

module ZCFORM_TAC_modify on chain-request.

endchain.

endloop.

*&spwizard: module ZCFORM_TAC_change_tc_attr.

*&spwizard: module ZCFORM_TAC_change_col_attr.

  • MODULE USER_COMMAND_0100.

%_PARAMS

#################################################################################################################################### # #### ### ## ## ## ## ## ### ### # ### ### ### ### ### # # #################### ##### ### ### ### #################################################################################################################################### #################################################################################################################################### ### ### ### ### ######################################

Former Member
0 Kudos

Any Suggestions??

Regards

0 Kudos

Hi,

I dont know whats going wrong at your side as at my side its working fine.

Can u mail me all the files which u have downloaded fron 4.7.

My mail id vaibhavmodi@hotmail.com

0 Kudos

I have sent you the files please check it out.

Regards

0 Kudos

Hi,

This is amazing !!!!

Your files are getting uploaded properly into my 5.0 system, w/o any errors!!!!!

Except syntax error for the Z-table

Please delete everything related to this prog in 5.0

Start fresh. First create an executable prog ZCFORM

then create screen 100 , then upload the screen 100, then upload the main prog.

Hope this solves ur problem !!

0 Kudos

Hello Vibhav,

I tried they way you have mentiond.But the problem still exists.

Thanks for your helpful suggestions.

Regards

nathanbaes
Explorer
0 Kudos

When uploading the file, try changing the <I>Parameter</I> dropdown. I encountered the same issue you describe, but when I chose <I>(Default - ANSI for Unicode Systems)</I>, the issue was resolved.