cancel
Showing results for 
Search instead for 
Did you mean: 

Req. Class Setting for Valuated Sales Ord Stock with PS as an Acct. Assg. Object

atul_rajmane
Participant
0 Kudos

Dear All,

I am having an scenario where I need to configure my requirement class for below case

I am creating a Sales Order Account assigned to Project WBS. I am creating a Production Order from sales order and on confirmation of this Order Good Receipt of FG will be done in Sales Order Stock. PGI for Sales Order will be done from Sales Order Stock.

During this, after production confirmation if I check Cost Analysis report from Production Order its show Good Receipt 0(Zero). The Req. Class setting for this are Valuated Sales Order Stock (M) with Account Assignment E, Special Stock E with Consumption P

I have executed below scenarios.

1. Valuated Sales Order Stock (M) with Account Assignment Q, Special Stock Q with Consumption P : With this setting I am able to get Good Receipt Cost Production Order report. But, issue is, at time of Production Order the good receipt for Production Order will be done in Project stock and not in Sales Order stock.

2.Valuated Sales Order Stock (M) with Account Assignment D, Special Stock E with Consumption P : Account assignment cat. D is not permitted for evaluated sales order stock (Message No : VT813)

3.Valuated Sales Order Stock (M) with Account Assignment G, Special Stock E with Consumption P : Account assignment cat. G is not permitted for evaluated sales order stock (Message No : VT813)

4.Valuated Sales Order Stock (M) with Account Assignment M, Special Stock E with Consumption P : After production confirmation, Cost Analysis report from Production Order its show Good Receipt 0(Zero).

5.Valuated Sales Order Stock (M) with Account Assignment P, Special Stock E with Consumption V : After production confirmation, Cost Analysis report from Production Order its show Good Receipt 0(Zero).

Let us know exact which setting we should have for having delivery from sales order stock after production confirmation with account assigned object is project wbs and also, good receipt in production order update with value.

regards,

Atul Rajmane


Accepted Solutions (0)

Answers (3)

Answers (3)

Matthias038
Participant
0 Kudos

Dear Atul,

SAP restricts the combinations because of the huge impact it might have when there is a wrong setting in T459K. The check is hard coded in the following include:

main program: SAPL080C

include: L080CF0V

form:     v_t459k_k-knttp_check

have  a look at the coding I attached down below  and you will see the combinations that can be used. I might be different, the coding below is from ECC6.0 EHP6

all the best

Matthias

---------------------------------------------- Coding starts -------------------------------------------------------

*&      Form  V_T459K_K-KNTTP_CHECK
*&---------------------------------------------------------------------*
*       text                                                           *
*----------------------------------------------------------------------*
*  -->  p1        text
*  <--  p2        text
*----------------------------------------------------------------------*
FORM v_t459k_k-knttp_check.

  IF NOT V_T459K_K-KNTTP IS INITIAL.
    PERFORM T163K_SELECT USING V_T459K_K-KNTTP 'X' SY-SUBRC.
  ENDIF.

  IF NOT V_T459K_K-MNTGA IS INITIAL.
    IF  ( T163K-KZVBR NA 'EP' OR      "Kundenauftrags-/Projektabrechnung
          T163K-SOBKZ NA 'EQ' OR
          ( T163K-KZVBR = 'E' AND
            T163K-SOBKZ = 'Q' ) )  AND
        v_t459k_k-kzbws IS INITIAL.    "Bewerteter Einzelbestand
      MESSAGE ID 'VT' TYPE 'E' NUMBER 363.
    ENDIF.
  ENDIF.

* Zulässigen Bereich prüfen
  IF NOT v_t459k_k-knttp IS INITIAL.

    IF t163k-kzvbr <> 'E' AND
       t163k-kzvbr <> 'P' AND
       t163k-sobkz <> 'E'.
      MESSAGE ID 'VT' TYPE 'E' NUMBER 809 WITH v_t459k_k-knttp.
    ENDIF.
* Sonderbestandskennzeichen ohne Verbrauchskennzeichen nur bei
* bewertetem Einzelbestand
    IF t163k-kzvbr = space AND
       t163k-sobkz = 'E'   AND
       v_t459k_k-kzbws NA 'AM'.
      MESSAGE ID 'VT' TYPE 'E' NUMBER 812 WITH v_t459k_k-knttp.
    ENDIF.
* Bewerteter Einzelbestand geht nicht bei Projektkontierung
    IF t163k-kzvbr = 'P' AND
       t163k-sobkz = 'E' AND
       v_t459k_k-kzbws CA 'AM'.
      MESSAGE ID 'VT' TYPE 'E' NUMBER 813 WITH v_t459k_k-knttp
                                               t163k-kzvbr.
    ENDIF.
  ENDIF.

* Einzelplanung
  IF NOT v_t459k_k-autpl IS INITIAL.
    IF v_t459k_k-knttp IS INITIAL.
      MESSAGE ID 'VT' TYPE 'E' NUMBER 371.
    ELSE.
      IF t163k-sobkz NE 'E'.
        MESSAGE ID 'VT' TYPE 'E' NUMBER 372 WITH v_t459k_k-knttp
                                                 t163k-sobkz.
      ENDIF.
    ENDIF.
  ENDIF.

* Funktionsbereich
  IF NOT v_t459k_k-fkber IS INITIAL AND
     t163k-kzvbr NE chare.
    MESSAGE ID 'VT' TYPE 'E' NUMBER 165 WITH v_t459k_k-knttp.
  ENDIF.

ENDFORM.                               " V_T459K_K-KNTTP_CHECK

---------------------------------------------- Coding ends -------------------------------------------------------

atul_rajmane
Participant
0 Kudos

The Correct Setting is

Valuated Sales Order Stock (M) with Account Assignment Q, Special Stock Q with Consumption ' ' (blank) or P.

sunil_yadav2
Active Contributor
0 Kudos

Try account assignment E and click on order costing.

hope this will help.

thanks

Sunil

atul_rajmane
Participant
0 Kudos

Dear Sunil,

Thank you for reply.

We are already using sales order costing for configuration material. The Order Costing Tick can be used only if we are having assembly order type '2' like assembly processing in PS.

If any other option than let me know.

regards,

Atul Rajmane