cancel
Showing results for 
Search instead for 
Did you mean: 

fbl5n tcode.

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Dear bianchi,

Would you please let me how to resolve that problem with BTE anyway.

Thanks & regards

Tayab Shah

Former Member
0 Kudos

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

Former Member
0 Kudos

Thanks alot Max.

I had created link with my product (zproduct), but I cant understand U can find the trx BF* in trx FIBF.

Although I had run trx FIBX but can't find BF* trx.

Kindly do me favour more to add columns payer and sold to party into FBL5N.

Regards

Former Member
0 Kudos

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

Former Member
0 Kudos

Addition of fields in standard structure RFPOSX and RFPOS are not possible. Should I copy them to zRFPOSX and zrfpos.

regards

Former Member
0 Kudos

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

Former Member
0 Kudos

Dear Max,

I had done all you advice, but when I run trx FBL5n then empty record display and inserted field are not view in layout.

Thanks

Tayab

Former Member
0 Kudos

Hi

Read my first post:

If you have created the APPEND structure, you have to run the report RFPOSXEXTEND, after running in the structure RFPOSXEXT (for ALV report) will be updated and so you can see your fields in FBL5N.

Max

Former Member
0 Kudos

Dear Max,

I have done all but empty all fields are appears including append fields. How to display them?

Thx

Tayab

Former Member
0 Kudos

Hi

Yes of course, because you have to create the fm Z_INTERFACE_00001650 (as copy of fm std SAMPLE_INTERFACE_00001650) for BTE 1650.

In this fm you have to insert the code to fill the new fields.

Max

Former Member
0 Kudos

Hi,

Other statndard fields are also blank. If these fields are filled as FBL5n than i can update the inserted filled.

thx.

Tayab

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Max,

I have requirement to add posting date in MMBE transaction code. Is it possible to enhance MMBE report.

How can i find the function module number of this code.

regards.

Tayab Shah

Former Member
0 Kudos

Hi, i have a problem with bte, i need to insert the field ARKTX from table VBRP, i have done all steps but if you help me with the correct code i will give you thanks.

This code shoul be in the bte in ZSAMPLE_INTERFACE_00001650, THANK YOU

former_member181995
Active Contributor
0 Kudos

Read All replies of Max.

Answers (2)

Answers (2)

former_member188827
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

activate all Copied Includes , then u will come to know .

Regards

prabhu