cancel
Showing results for 
Search instead for 
Did you mean: 

Vendor code in FBL3N

Former Member
0 Kudos

hello,

In FBL3N, could we get the vendor code and description in the output of this report after executing with G/L account?

if no, and we go for zreport then wat are the tables we should use to fetch the output. BSEG and BKPF are the tables we can use but these tables are bulky and heavy and make the report annd server slow.

so what are other options to get vendor name in corespondence with a/c document no. in FBL3N

Accepted Solutions (0)

Answers (2)

Answers (2)

emoke_suto
Employee
Employee

Hi Prem,

FBL3N is the transaction for G/L Account line item display.

For Goods Receipt documents, line items will populate with Vendor LIFNR, but for Invoice Receipts only the vendor line item would populate LIFNR, the G/L lines for IR documents do not populate LIFNR.

You can see this yourself by looking in SE16 at table BSEG for the GR and IR accounting documents. For GR document, BSEG-LIFNR should be filled for all line items. For IR document, BSEG-LIFNR should be filled only for the vendor line item.

The line item display can't display any value, because there is no value on the database.

The relevant tables for the G/L Line Item Display is BSIS/BSAS and BSEG. In BSIS/BSAS you will not find the fields Vendor number (LIFNR) and Vendor name (NAME1), and in BSEG Vendor number is only stored in the Vendor Line Item and not in the G/L line item, and you will not find Vendor name in BSEG. Therefore, you are not able to add the fields to the Line Item Display as a standard field or as a special field in the normal way.

Hence, this is SAP standard design and it is not possible to have vendor number in the G/L line item display.

There is a workaround for this, which should work in both 46* and Enterprise versions :

The fields LIFNR and NAME1 do not exist in the structures RFPOS and RFPOSX. If you need these fields to be shown in the Line Item Display then you need to add the fields to the structures RFPOS and RFPOSX.

When the structure has been extended with the fields then you need to run the reports RFPOSXEXTEND and BALVBUFDEL (in the same way as seen in the solution part in note 215798).

After that you need to use the Open FI Exit 1650 to fill the fields. You will find a function group FI_ITEMS from transaction SE80. In this function group you will find a function module FI_ITEMS_DISPLAY where the form ITEMS_DISPLAY_INIT includes the exits 1610 to 1650. The important one for your problem is 1650 (OPEN_FI_PERFORM_00001650_E).

This exit is used if you want to display fields in e.g. FBL3N which do not exist in the tables BSIS/BSAS and also not in the G/L Line in BSEG.

Through this user exit it should be possible to get the value from the relevant tables e.g. from the vendor items from BSEG or the value from BSIK into structure RFPOSXEXT if there is a relation between the relevant tables e.g. BSEG/BSIK to RFPOSX/BSIS.

Please also have a look at the notes 112312 and 217189.

Hope it helps.

Regards,

Emoke

Former Member
0 Kudos

Hi Sharma,

Please follow below scenario.

SPRO>Financial Accounting>General Ledger Accounting>G/L Accounts->Line items>Line items Display-->Define special fields for finding and sorting data..

Put Table name BSEG and Field name LIFNR then save

After go to FBL3N and select Changelay out button and select VENDOR field..

If you need anyclarifcation touch with me...

Thnaks

Purna Nalluri

Former Member
0 Kudos

thanks for replying

but i want vendor name too in the same screen of fnl3n . could i get this?

plz help.