on 02-07-2007 6:21 AM
Dear All,
Hi,
I have requirement to add some field from VBRK table. But when I copy standard program (i.e. RFITEMAR) into cutomize program on my own package, it will appear following error message.
*************************************************************
Runtime errors SYNTAX_ERROR
Occurred on 07.02.2007 at 11:18:06
Syntax error in program "SAPLZFICO ".
What happened?
The following syntax error occurred in the program SAPLZFICO :
"The type "SLIS_LAYOUT_ALV" is unknown."
Error in ABAP application program.
The current ABAP program "ZSTS_FI_RFITEMAR_RPT" had to be terminated because
one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
What can you do?
Please eliminate the error by performing a syntax check
(or an extended program check) on the program "SAPLZFICO ".
You can also perform the syntax check from the ABAP/4 Editor.
If the problem persists, proceed as follows:
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
The following syntax error was found in the program SAPLZFICO :
"The type "SLIS_LAYOUT_ALV" is unknown."
How to correct the error
Probably the only way to eliminate the error is to correct the program.
-
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
-
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
*************************************************************
may any body help how to correct it.
Thanks & regard,
Syed Tayab Shah
Hi
The problem is you haven't used the type-pools SLIS in your function-group ZFICO or it's not active.
Anyway you should consider you don't need to create a copy of RFITEMAR in order to add new fields in the output, because there are some std user-exit (BTE) to do that.
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
To add new fields in FBL5N:
- to enhance the structures RFPOSX and RFPOS in order to add the new fields;
- to run the report RFPOSXEXTEND in order to update the structure std for ALV RFPOSXEXT';
- Active the BTE 00001650 to fill the new fields
To active the BTE:
- Create a function Z_INTERFACE_00001650 as copy of SAMPLE_INTERFACE_00001650;
- Run trx BF24 to create an own product;
- Run trx BF34 to assign the fm Z_INTERFACE_00001650 to event 00001650 and create the link with your product.
U can find the trx BF* in trx FIBF
Max
Hi
Sorry! The trx BF24 and BF34 run some tools you can run by trx FIBF
- BF24: run FIBF and go to: Setting->Product->....of a customer
- BF34: run FIBF and go to: Setting->P/S Function Modules->....of a customer
So u need to display some partners (payer and sold to party), so u should insert two fields (like KUNNR) in the structure RFPOSX and RFPOS.
Insert the code to get those partner in the function module you should have created
Max
Hi
U have to use an append structure:
- go to SE11 insert the structure (RFPOS and RFPOSX) and press display;
- Press Append Sturcture icon
- Create the append structure and here insert your new fields.
I think the best thing is to create a Z<STRUCTURE> where you insert your news fields and then insert this structure in the APPEND structure of RFPOS and RFPOSX.
In this way you'll need to manage only your Z<STRUCTURE>, and automatically RFPOS and RFPOSX will be updated together.
Max
Dear Max,
I have done all you adviced and it success to meet the requirement. Thanks alot and pray for your good health. I had learnt alot with your help. I have received so many ideas but I was comfortable with your thought.
Once again Thanks to you.
Beside this I have following questions if you reply me on my e mail address (ish502@yahoo.com) or same platform.
1. how can we find the sample_Function number of concern t code.
2. how can we find the report program to update structure i.e. RFPOSXEXT.
Thanks
Tayab
ive copied da program u mentioned into a zRFITEMAR program and its fine.
've u copied all da includes as well.
wen da pop up window apperars asking da components u want to copy, check all da check boxes and press enter
rgds.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
activate all Copied Includes , then u will come to know .
Regards
prabhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.