cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong Final Invoice Flag in SRM PO

Former Member
0 Kudos

Hi Gurus,

We have an issue with Final invoice flag in SRM PO...

For some PO's we have observed the "Item final invoice " as "B" and for some as "C"...not sure why we have these indicators for Item final invoice....

We have checked in EKPO for item final invoice flag...there is no issue from MM side... I feel we have this issue from SRM side..

When the Invoice is created for PO that invoice information will be updated in PO history and SRM backend tables (BBP_PDIGP)...

Can someone please let me know what are the programs/BADI's/FM's used to update PO history data into BBP_PDIGP table in SRM...

(OBSERVED NO ISSUE FROM ECC SIDE)

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

laurent_burtaire
Active Contributor

Hello,

your issue questionned me...

I checked values for BBP_PDIGP table and i also found "B" and "C"...

After some researches, i found those values are the one used for fields FINAL_ENTRY and FINAL_INV for (only closed?) change versions PO when you set or unset them manually...

Constants from BBP_PD_CON include are used. Do not know where exactly, but they are used !


* constants for follow doc indicators in extended/ DP szenario
CONSTANTS:
      gc_unchecked_manually VALUE 'B'"blank
      gc_checked_manually   VALUE 'C'"checked
      gc_to_set             VALUE 'S'"set
      gc_to_delete          VALUE 'D'"delete

Regards.

Laurent.

Former Member
0 Kudos

Hi Laurent,

Thanks for the reply... our code is replaced with SAP standard code which have "X" and " " values for Checked and blank values...

Before the sap standard code, we have 'B' and 'C' in our old code... issue is that after updating the sap standard code also on few PO's we have this 'B' and 'C' values captured....

We have checked the code and we didnt find any values 'B' or 'C' as hard coded.

Thanks in advance

laurent_burtaire
Active Contributor
0 Kudos

Hello,

did you read what i wrote in my last message?

It seems not...

Check LBBP_PDIGPF14 include.

For me, this thread is closed.

Regards.

Laurent.

laurent_burtaire
Active Contributor

Hello,

if you are talking about fields FINAL_INV and FINAL_ENTRY, it is not possible to have values as "B" or "C" in standard (update is done by BBP_PDIGP_DB_DIRECT_UPDATE function module).

Indeed, their data elements have an XFELD domain value.

You should have a specific development...

Regards.

Laurent.