cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with TLB

Former Member
0 Kudos

Welcome!

I'm using the SNP heuristic for procurement planning. Using Note 514947 (Direct processing of SNP stock transfers with the TLB), I configured the use of SNP as input for TLB planning. After that, when planning transportation load in a transaction / SAPAPO/SNP04 I see this error:

"Purchase orders cannot be processed in the active version

Message no. / SAPAPO/SDP_TLBGUI031"

How can I avoid this situation?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

In the source code I found the condition after which the error message. Maybe someone can comment on it:

CALL FUNCTION '/ SAPAPO/MSDP_CUS_SDP10_GET'

EXPORTING

iv_appl = gc_dep_app

IMPORTING

ev_nvorder_status = lv_ordstat.

IF lv_ordstat = gc_ordstat_purchase_order.

messagethrow '/ SAPAPO / SDP_TLBGUI' 'E' '031 '

space space space space.

  • Bestellungen können in aktiver Version nicht bearbeitet werden

savelog_and_exit.

ENDIF.

Function / SAPAPO/MSDP_CUS_SDP10_GET lv_ordstat returns the value "2" (Shipment). After that condition is met and an error message.

This FM, as I realized that something checks the setting up SPRO - APO - Supply Chain Planning - SNP - Configure Transfer to OLTP System

Perhaps in this setting, there is an option I need?