cancel
Showing results for 
Search instead for 
Did you mean: 

Field appears in purchasing document FBL1N.

Former Member
0 Kudos

Good Afternoon

Here at my company we have several documents in the field where fbl1n purchasing document is coming empty. The document type is RE or purchase order has yet not been on this transaction.

Somebody could explain how to configure SAP to come filled this field of purchasing document?

any hint is welcome

hugs

Accepted Solutions (1)

Accepted Solutions (1)

former_member479672
Participant
0 Kudos

Hi Antonio,

Please let me know if I misunderstood something regarding this, but as I could see, the current requirement would be displaying the 'PO Number' on vendor line item report (FBL1N).

Currently it is not possible because an invoice might have several Purchase Orders as reference.

In this case, if I understood correctly, there is a way to achieve such requirement by implementing a BTE, which allows the display of ofsetting account information in line item reports.

You can use function module 'LINE_ITEMS_GET_GKONT'.

---------------------------------------------------------

  E_POSTAB = I_POSTAB.

  CALL FUNCTION 'GET_GKONT'

       EXPORTING

            BELNR           = I_POSTAB-BELNR

            BUKRS           = I_POSTAB-BUKRS

            BUZEI           = I_POSTAB-BUZEI

            GJAHR           = I_POSTAB-GJAHR

            GKNKZ           = '3'

       IMPORTING

            GKONT           = E_POSTAB-GKONT

            KOART           = E_POSTAB-GKART

       EXCEPTIONS

            BELNR_NOT_FOUND = 1

            BUZEI_NOT_FOUND = 2

            GKNKZ_NOT_FOUND = 3

            OTHERS          = 4.

  IF SY-SUBRC <> 0.

  * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

  ENDIF.

---------------------------------------------------------

Meaning of parameter: GKNKZ

  *1 Display offsetting account if clearly specified

  *2 Always display offsetting account with the highest amount

  *3 As case 2, but including line items generated automatically

You can find all the steps you need to perform in order to get the BTE activated through SAP Note 112312.

Best Regards,

Leo

Answers (1)

Answers (1)

Marssel700
Active Contributor
0 Kudos

Hi,

it´s no longer possible.

Please check SAP note below

Note 152335 - Field EBELN in line layout variant for cust./vendor

The display of the purchasing document number for customers/vendors via the line item display is not possible. However, you can branch from the vendors/customers line item display into the document overview and there display the purchasing document number for the individual G/L account line items.