‎2006 Jun 20 8:51 AM
hi all including RAM,
i've declared'DATA: LVBDKA TYPE TABLE OF VBDKA' IN THE INITIALIZATION TAB OF GLOAL DEFINITIONS OF SMARTFORM BUILDER.
BUT IT IS RETURNING AN ERROR MSG. L_VBDKA IS NOT AN STRUCTURE OR INTERNAL TABLE WITH HEADER LINE.
PLZ HELP TO SOLVE THIS PROBLEM ASAP.
THNKS IN ADVANCE.
KIND REGARDS,
VINAY.
‎2006 Jun 20 9:08 AM
Hello Vinay,
DATA: LVBDKA TYPE TABLE OF VBDKA.
If you are using this variable in otherwindows and pages of same form, you should declare it in the global definations.
If you simply used it in local routines like FORM routines, then you should declare them in the FORM ROUTINES only.
You might needed it just for work area. So just create as below
DATA: LVBDKA TYPE VBDKA.
let me know if you have any questions.
ram
‎2006 Jun 20 8:55 AM
IF you need a variable you should declare the internal table in the Global Data tab. If you want to have table, then you should refer it to a table type in the data dcitonary. So, search if VBDKA is used in a table type, if yes use that to declare a table type.
Regards,
Ravi
‎2006 Jun 20 8:58 AM
Hi
The declaration you're using creates an internal table without header line, if you need it you should use the options WITH HEADER LINE.
DATA: LVBDKA TYPE TABLE OF VBDKA WITH HEADER LINE.
Max
‎2006 Jun 20 9:08 AM
Hello Vinay,
DATA: LVBDKA TYPE TABLE OF VBDKA.
If you are using this variable in otherwindows and pages of same form, you should declare it in the global definations.
If you simply used it in local routines like FORM routines, then you should declare them in the FORM ROUTINES only.
You might needed it just for work area. So just create as below
DATA: LVBDKA TYPE VBDKA.
let me know if you have any questions.
ram
‎2006 Jun 20 9:15 AM
hi
you should declare it in the global data declaration..
have you done it?
Cheers,
Abdul Hakim
‎2006 Jun 20 9:16 AM
Hi Vinay,
Do not do any declaration in initialization tab.Do the declaration as types in the type tab and after that declare it in global definiton.
Example :
types:
BEGIN OF it_list_type,
PAYER_name1 LIKE IDWTFIDOC-US_PAYER_NAME1,
END OF it_list_type.
types:
it_list_table type it_list_type OCCURS 0.
in the global definition declare your internal table as type of this it_list_table.Use this format.
Regards,
Mukesh Kumar