on 01-05-2010 11:11 AM
while running my form for Transfer order via LT31, It is showing error message like
'Element KOPF window KOPF is not defined for form ZLVSTAEINZEL'
my KOPF window has code:
/E KOPF
L1 ,,<H>&T333B-TRATX&</>,,&RLDRU-WIEDR&
/: IF <AK-BETYP& EQ 'L'
L2 TO NUMBER,,<AK-TANUM&,,<AP-TAPOS&,,&'Delivery,,'LTAK-BETYP(0)&,,
= <AK-BETYP&,,<AK-BENUM&,,&'Date,,'LTAK-BDATU&
L3 ,,<BC>&RLDRU-TAPLG&</> SHIPMENT,,&GV_SHIPNO&
/: ELSE <AK-BETYP& NE 'L'
L2 TO NUMBER,,<AK-TANUM&,,<AP-TAPOS&,,&'Rqmnt,,'LTAK-BETYP(0)&,,
= <AK-BETYP&,,<AK-BENUM&,,&'Date,,'LTAK-BDATU&
/: ENDIF
I deleted everything at one time but it showing same error.
Help me out. Where is problem?
Hi,
How many pages do you have in your script and just check whether you have specified the next page in the script layout.
if multiple then specify the next page
Eg : Page1 -> Page1
If single page then
Eg : Page1 -> Page1.
Hope this helps you.
Regards,
Ranjith Nambiar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
your driver program is doing this:
CALL FUNCTION 'WRITE_FORM'
EXPORTING ELEMENT = 'KOPF'
WINDOW = 'KOPF'.
Is your driver program a standard or a Z?.
1.- If it is a standard:
You need to have window KOPF and element KOPF even if it is empty.
2.- If it is a Z:
comment fm calls for window KOPF and element KOPF.
Best regards.
Edited by: Pablo Casamayor on Jan 5, 2010 12:45 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1.- go to program SAPLLTOP.
2.- search for "EXPORTING ELEMENT = 'KOPF"
and you will see that
CALL FUNCTION 'WRITE_FORM'
EXPORTING ELEMENT = 'KOPF'
WINDOW = 'KOPF'.
appears in three places.
3.- Put a break-point in those three calls and check what is going on
in window KOPF do this:
/E KOPF
/* ,,<H>&T333B-TRATX&</>,,&RLDRU-WIEDR&
/*
/* TO number,,<AK-TANUM&,,<AP-TAPOS&,,&'Rqmnt'LTAK-BETYP(0)&,,
/* <AK-BETYP&,,&''LTAK-BENUM&,,&'Date ,,'LTAK-BDATU&
/*
/* ,,<BC>&RLDRU-TAPLG&</>
/*
That is , in the tag column use only
/* Comment Line
Best regards.
Edited by: Pablo Casamayor on Jan 5, 2010 12:59 PM
In your driver program
check the function modules Open_form and Write_form
you will have these funtion modules so check where exactly it is calling the element which you have deleted..
so Please check the driver program of the script which you deleted the element in the script editor.
Regards
Satish Boguda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Here window element /E KOPF is deleted by you. So from the driver program it is checking for that window element. As it is not available, its giving error message.
Regards,
Dhanunjaya Reddy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.