Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8419

Calculation for subcontracting item of type N (non stock) as it for type L(Stock)

$
0
0

Hi Gurus,

 

I have a Requirement for calculating the cost for Subcontracting  Non stock items N as it is getting calculated in standard functionality for subcontracting items of Type L.

This will be done in CK11n ( used to calculate the standard cost estimate of the product) for header as well as component materials.

please suggest the user exit or Badi where i can change.

 

Please refer the below logic-

 

BOM for the material 2000500 as Header and 1LPL0835298AB as a component and this component has an assembly with 7008508 as a component and this component is an Sub contracted item and this has an assembly with component 1LBA182151-3.

Price calculation for the material 7008508 (Item Category as N). Since this is sub contracted item the price will picked from field EINE-NETPR.

 

  • In EINA, pass the material (MATNR=7008508) to fetch the list of info records (INFNR) created for that material.
  • Then it has to input those info records to EINE table along with Purchasing organization (EINE-EKORG=PT02).
  • From the output of EINE table, it should compare the price (EINE-NETPR) of the PIR and should take the least price from those PIR`s.
  • If the currency is other than PLN, then it should be converted to PLN based on conversion charges.
  • For Material (MATNR=1LBA182151-3), it should pass the material number to table MBEW along with valuation area (BWKEY = WERKS).
  • From the output, it should check the Price control (VPRSV) ‘V’ or ‘S’
    • If ‘V’ the price will be picked from the field “VERPR”
    • If ‘S’ the price will be picked from the field “STPRS”
  • Also from the output, it should check the Price unit (PEINH) ‘1’ or other than ‘1’. If it is other than ‘1’ it should divide the VERPR or STPRS by PEINH. Then this is the price of the Material “1LBA182151-3”.
  • The material (MATNR=1LBA182151-3) should be passed to table “MARA” and will take the Base unit of measure from that table “MEINS”.

 

Br,

Surya


Viewing all articles
Browse latest Browse all 8419

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>